jsonref is a library for automatic dereferencing of JSON Reference
objects for Python (supporting 2.6+ including Python 3).
This library lets you use a data structure with JSON reference objects,
as if the references had been replaced with the referent data.
This module converts a Python dictionary or other native data type into a
valid XML string.
Supported item are int, float, long, decimal.Decimal, bool, str, unicode,
datetime, None and other number-like objects. Supported collection are
list, set, tuple and dict, as well as iterable and dict-like objects.
Items with a datetime type are converted to ISO format strings. Items
with a None type become empty XML elements.
v8.8.2
Metadata changes:
- Updated phone metadata for region code(s):
CA, CR, EG, FI, HN, IS, KM, KR, LU, MV, PA, TW, UG, US, VN
- Updated short number metadata for region code(s): IE, IR, KE, TR
- New geocoding data for country calling code(s): 1223 (en)
- Updated geocoding data for country calling code(s): 84 (en, vi)
- Updated carrier data for country calling code(s): 20 (en)
Upstream changes:
1.0006 2017-09-27
- Fixed bug: https://rt.cpan.org/Public/Bug/Display.html?id=84546
where the code was failing to find the difference in this scenario
Before: <element>0</element> After: <element></element>
Changes in version 1.2.1
* Updated project homepage
Changes in version 1.2.0
* Implemented recursion limit check for encoding/decoding arrays and objects
* Updated copyright years and stripped licensing info from source code
Changes in version 1.1.0
* Use repr instead of str when encoding floats to preserve full preicision
* Fixed windows compilation problem introduced in 1.0.5
* Fixed float write test to work with latest high precision float encoding
* Fixed some list/dict decoding bugs. Use a state machine for decoding them.
* Improved decoding speed by using PyString_GET_SIZE instead of strlen
* Integrate modified 0001-fix-for-CVE-2010-1666 patch from Debian
Release 1.6.4:
Features added
* 3926: Add autodoc_warningiserror to suppress the behavior of -W option during importing target modules on autodoc
Bugs fixed
* 3924: docname lost after dynamically parsing RST in extension
* 3946: Typo in sphinx.sty (this was a bug with no effect in default context)
* pep: and :rfc: does not supports default-role directive (refs: 3960)
* 3960: default_role = ‘guilabel’ not functioning
* Missing texinputs_win/Makefile to be used in latexpdf builder on windows.
* 4026: nature: Fix macOS Safari scrollbar color
* 3877: Fix for C++ multiline signatures.
* 4006: Fix crash on parallel build
* 3969: private instance attributes causes AttributeError
* 4041: C++, remove extra name linking in function pointers.
* 4038: C, add missing documentation of member role.
* 4044: An empty multicolumn cell causes extra row height in PDF output
* 4049: Fix typo in output of sphinx-build -h
* 4062: hashlib.sha1() must take bytes, not unicode on Python 3
* Avoid indent after index entries in latex (refs: 4066)
* 4070: crashes when the warning message contains format strings
* 4067: Return non-zero exit status when make subprocess fails
* 4055: graphviz: the :align: option does not work for SVG output
* 4055: graphviz: the :align: center option does not work for latex output
* 4051: warn() function for HTML theme outputs ‘None’ string
0.7.10:
[Bug] 95: Independently ran across sphinx-doc/sphinx 3276, namely that parameter lists become squashed together if one is running on Sphinx 1.4.x. While that fix was merged in Sphinx itself, we felt it prudent to include it in our own stylesheet as well, for immediate relief.
[Bug] 96: admonition_xref had a template typo preventing it from receiving styling; this has been fixed. Credit: Kenzie Togami.
[Bug] 32: Update styling of various block-level elements such as admonitions (.. note::, .. warning::, etc) and code blocks (.. code::) so they are no longer ‘dedented’ outside the main column of text they’re embedded in. This is both a stylistic change and a bugfix, since e.g. nesting code blocks within note blocks looks actively broken.
2.14 2016/01/14 08:36:00 Europe/Oslo (cosimo)
No functional changes. Now Text::Hunspell depends on Alien::Hunspell
version 0.04. Should finally compile nicely on Win32 platform.
2.13 2016/01/11 10:59:00 Europe/Oslo (cosimo)
Win32 build support added (Graham Ollis, @plicease).
This should make Text::Hunspell build correctly on Windows. \o/
*** If you're using Win32, make sure you use a recent version of
Alien::Base (>= 0.024) and/or Alien::Hunspell (soon-to-be 0.04)
2.12 2015/12/18 10:35:00 Europe/Oslo (cosimo)
Replaced ExtUtils::PkgConfig with Alien::Hunspell. This should allow
Text::Hunspell to build on non-pkgconfig-enabled systems, even though
I'm not sure how reliably it works. Will have to evaluate from CPAN
testers results. Thanks to Alien* expert Graham Ollis for this
contribution.
1.2.25.0 Tue Sep 26 02:06:18 UTC 2017
[Changes contributed by Olly Betts]
- Wrap WritableDatabase::commit(), which is the preferred name for
WritableDatabase::flush().
- Fix long SEE ALSO lines by putting a newline after each comma in the
SEE ALSO lists, fixing warnings from man such as:
<standard input>:109: warning [p 1, 8.0i]: can't break line
- Backport some improvements to the POD documentation from the
SWIG-based bindings in xapian-bindings 1.4.x.
- Avoid perl -W in tests as that seems to break recent versions of
Test::More.
- Suppress dummy warning using undef value when building against
xapian-core 1.4.x.
0.1.4:
Fix
- ``rgb2hsl`` would produce invalid hsl triplet when red, blue, green
component would be all very close to ``1.0``.
Typically, saturation would shoot out of range 0.0..1.0. That could then
lead to exceptions being casts afterwards when trying to reconvert this
HSL triplet to RGB values.
2.18 Fri Mar 24 14:53:19 CDT 2017
====================================
ack 2.18 will probably be the final release in the ack 2.x series.
I'm going to be starting work on ack 3.000 in earnest. Still,
if you discover problems with ack 2, please report them to
https://github.com/petdance/ack2/issues
If you're interested in ack 3 development, please sign up
for the ack-dev mailing list and/or join the ack Slack. See
https://beyondgrep.com/community/ for details.
[INTERNALS]
Removed the abstraction of App::Ack::Resource and its subclass
App::Ack::Resource::Basic. We are abandoning the idea that we'll have
plugins.
2.17_02 Thu Mar 23 22:25:13 CDT 2017
====================================
[FIXES]
ack no longer throws an undefined variable warning if it's called
from a directory that doesn't exist. (GH #634)
[DOCUMENTATION]
Explain that filetypes must be two characters or longer. (GH #389)
[INTERNALS]
Removed dependency on File::Glob which isn't used.
0.66 Thu Aug 17 20:06:06 CEST 2017
- Apply PR#55 (@vti++)
- Dump() was modifying original data, adding a PV to numbers
- Added a test for this (TINITA++)
0.65 Thu 18 May 23:09:38 CEST 2017
- Prevent warning about unused variables (see issue#59)
- Clarify documentation about exported functions
Version 1.01: 2017-07-25
* Fix a deprecation warning about toFOLD_utf8 in 5.26 (this should also
prevent trouble when the current version is removed in 5.30).
1.14 Mon Nov 28 14:52:20 GMT 2016
- Fix typos in man page
1.15 Mon Nov 28 18:57:16 GMT 2016
- Fix spelling typos in POD
1.16 Mon Dec 5 10:58:14 GMT 2016
- Added META.json and META.yml to distribution
1.17 Thu Dec 8 11:18:24 GMT 2016
- Fix warning when calling reflow() with empty string
#------------------------------------------------------------------------
# Version 3.12
# -----------------------------------------------------------------------
* Declare minimum Perl version to be 5.10 (in Makefile.PL)
#------------------------------------------------------------------------
# Version 3.11
# -----------------------------------------------------------------------
* Enclose version number in quotes (3.10 was recognized as 3.1)
#------------------------------------------------------------------------
# Version 3.10
# -----------------------------------------------------------------------
* Fix spelling errors
* Fix rt.cpan.org#106894: Include path incorrectly determined with
coderef for INCLUDE_PATH
4.88 August 28th, 2017
[MAINTENANCE]
- Address "." being removed from @INC by using absolute filepaths - thanks Kent Fredric!
4.87 May 14th, 2017
[MAINTENANCE]
- Update cc routine to recognize new 2 series Mastercards
4.0.0:
Features added
--------------
* The ElementPath implementation is now compiled using Cython,
which speeds up the ``.find*()`` methods quite significantly.
* The modules ``lxml.builder``, ``lxml.html.diff`` and ``lxml.html.clean``
are also compiled using Cython in order to speed them up.
* ``xmlfile()`` supports async coroutines using ``async with`` and ``await``.
* ``iterwalk()`` has a new method ``skip_subtree()`` that prevents walking into
the descendants of the current element.
* ``RelaxNG.from_rnc_string()`` accepts a ``base_url`` argument to
allow relative resource lookups.
* The XSLT result object has a new method ``.write_output(file)`` that serialises
output data into a file according to the ``<xsl:output>`` configuration.
Bugs fixed
----------
* GH-251: HTML comments were handled incorrectly by the soupparser.
Patch by mozbugbox.
* LP-1654544: The html5parser no longer passes the ``useChardet`` option
if the input is a Unicode string, unless explicitly requested. When parsing
files, the default is to enable it when a URL or file path is passed (because
the file is then opened in binary mode), and to disable it when reading from
a file(-like) object.
Note: This is a backwards incompatible change of the default configuration.
If your code parses byte strings/streams and depends on character detection,
please pass the option ``guess_charset=True`` explicitly, which already worked
in older lxml versions.
* LP-1703810: ``etree.fromstring()`` failed to parse UTF-32 data with BOM.
* LP-1526522: Some RelaxNG errors were not reported in the error log.
* LP-1567526: Empty and plain text input raised a TypeError in soupparser.
* LP-1710429: Uninitialised variable usage in HTML diff.
* LP-1415643: The closing tags context manager in ``xmlfile()`` could continue
to output end tags even after writing failed with an exception.
* LP-1465357: ``xmlfile.write()`` now accepts and ignores None as input argument.
* Compilation under Py3.7-pre failed due to a modified function signature.
Other changes
-------------
* The main module source files were renamed from ``lxml.*.pyx`` to plain
``*.pyx`` (e.g. ``etree.pyx``) to simplify their handling in the build
process. Care was taken to keep the old header files as fallbacks for
code that compiles against the public C-API of lxml, but it might still
be worth validating that third-party code does not notice this change.