json-glib/json-glib.changes

501 lines
18 KiB
Plaintext

-------------------------------------------------------------------
Sat Sep 16 12:17:24 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.8.0:
+ Build fixes
+ Add current node accessor to JsonReader
+ Make xgettext optional
+ Avoid leaking memory in error paths
+ Update test suite to conform with TAP
+ Ensure valid output for exponential notation of numbers
+ Updated translations.
-------------------------------------------------------------------
Thu Sep 16 01:57:17 UTC 2021 - Stanislav Brabec <sbrabec@suse.com>
- Remove obsolete translation-update-upstream support
(jsc#SLE-21105).
-------------------------------------------------------------------
Wed Aug 25 17:06:23 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.6.6:
+ New release with the documentation and gi-docgen included in
the archive.
- Drop gtk-doc BuildRequires, no longer needed, nor used.
- Add docbook-xsl-stylesheets and libxslt-tools BuildRequires,
needed for building of manpages.
-------------------------------------------------------------------
Sat Aug 21 22:41:31 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.6.4:
+ Discover linker flags on all toolchains
+ Fix memory leak
+ Use gi-docgen instead of gtk-doc for generating the API
reference
+ Build against newer versions of GLib
- Pass gtk_doc=disabled to meson, no longer build API
documentation.
-------------------------------------------------------------------
Tue Feb 9 22:49:16 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.6.2:
+ Fix build reproducibility.
+ Fix parsing of UTF-16 surrogate pairs.
+ Ignore UTF-8 BOM.
-------------------------------------------------------------------
Fri Sep 11 17:43:59 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.6.0:
+ docs: Add missing index for 1.6 symbols.
+ Updated translations.
- Add gtk-doc BuildRequires and build gtk-doc api documentation and
manpages via passing man=true and gtk_doc=enabled to meson.
- Add check section and run meson_test macro during build.
- Drop obsolete nuking of .la files, no longer needed.
-------------------------------------------------------------------
Fri Sep 4 18:18:38 UTC 2020 - dimstar@opensuse.org
- Update to version 1.5.2:
+ Add getters with default fallback for JsonObject.
+ Clarify some expections of the json_object_get_*_member APIs.
+ Fix getting immutable root nodes from empty input.
+ Add `--output` option to json-glib-format.
+ Support loading files via memory mapping.
+ Add a symbol version to all exported symbols.
- Pass -Dgtk_doc=disabled to meson: keep the gtk-doc disabled for
now.
-------------------------------------------------------------------
Fri May 22 12:27:24 UTC 2020 - Daniel Molkentin <daniel.molkentin@suse.com>
- Require pkgconfig to create pkgconfig() provides
-------------------------------------------------------------------
Sat Jan 25 14:15:45 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- No longer recommend -lang: supplements are in use
-------------------------------------------------------------------
Wed Sep 26 18:18:57 UTC 2018 - bjorn.lie@gmail.com
- Update to version 1.4.4:
+ Fix memory leaks.
+ Fix behaviour of JsonParser with immutable nodes for empty
documents.
+ Clarify documentation.
+ Update autoptr macro for JsonNode to use json_node_unref().
+ Update the enumeration types template.
+ Perform fuzzy comparisons for floating point values in the test
suite.
+ Updated translations.
-------------------------------------------------------------------
Thu Apr 26 14:05:07 CEST 2018 - sbrabec@suse.com
- Set gettext domain explicitly in translation-update-upstream,
as it does not support complex meson.build expressions
(bsc#1087076#c21).
-------------------------------------------------------------------
Tue Mar 20 17:06:18 UTC 2018 - dimstar@opensuse.org
- Unconditionally enable translation-update-upstream: on
Tumbleweed, this results in a NOP and for Leap in SLE paid
translations being used (boo#1086036).
-------------------------------------------------------------------
Wed Feb 28 16:33:45 UTC 2018 - dimstar@opensuse.org
- Modernize spec-file by calling spec-cleaner
-------------------------------------------------------------------
Tue Sep 12 21:37:26 UTC 2017 - dimstar@opensuse.org
- Update to version 1.4.2:
+ Literally no change, just a re-released tarball. The tarball
generated for 1.4.0 and pushed to download.gnome.org comes from
a different commit.
-------------------------------------------------------------------
Tue Sep 12 10:00:44 UTC 2017 - dimstar@opensuse.org
- Update to version 1.4.0:
+ Update the linker flags on macOS (bgo#785053).
+ Change the build configuration options to better fit with
Meson.
+ Updated translations.
-------------------------------------------------------------------
Mon Sep 11 15:52:44 UTC 2017 - jengelh@inai.de
- Trim descriptions a little. Update summaries.
-------------------------------------------------------------------
Tue Jul 18 10:20:33 UTC 2017 - zaitor@opensuse.org
- Update to version 1.3.2:
+ Use Meson as the only build system.
+ Bugs fixed: bgo#773504, bgo##780550, bgo#769206, bgo#766281,
bgo#758580, bgo#768788, bgo#774688.
- Conditionally apply translations-update-upstream BuildRequires
and macro for non-openSUSE only.
- Add meson BuildRequires and switch autotools macros configure,
make and makeinstall to meson, meson_build and meson_install
following upstream switch to Meson build system.
-------------------------------------------------------------------
Sun Mar 19 06:59:19 UTC 2017 - zaitor@opensuse.org
- Update to version 1.2.8:
+ Add missing header in the Meson file listing.
+ Ensure that introspection scans all the headers.
+ build:
- Reduce the internal dependencies.
- Add missing argument to the introspection scanner.
- Ignore 'config.h' when building the API reference.
- Generate the config.h file under json-glib.
- Fix soversion for Meson builds.
- Require the same modules for Meson and Autotools.
- Sync the interface age with the version.
+ Fix the generated pkg-config file with Meson.
+ docs:
- Add links to online resources.
- Reference the JSON-GLib header.
- Override version macros.
- Use 'plain' language for JSON snippets.
- Update the README.
+ Move the reference build down one level.
+ Use the appropriate values to initialize Autotools.
-------------------------------------------------------------------
Mon Mar 13 16:10:14 UTC 2017 - dimstar@opensuse.org
- Update to version 1.2.6:
+ Brown paper bag release to re-generate the dist tarball
(bgo#779980).
- Modernize .spec file a bit: use make %{?_smp_mflags} and 'find'
to remove the libtool archives (*.la).
-------------------------------------------------------------------
Mon Mar 13 13:48:17 UTC 2017 - dimstar@opensuse.org
- Update to version 1.2.4:
+ Add Meson build system (bgo#773603).
+ Support Visual Studio 2017.
+ Allow using G_DECLARE_INTERFACE with JsonSerializable.
+ Allow empty strings as JsonObject member names (bgo#747279).
-------------------------------------------------------------------
Sat Jul 30 09:17:57 UTC 2016 - zaitor@opensuse.org
- Update to version 1.2.2:
+ Add support for g_auto* macros.
+ Allow making JSON types optionally immutable, in order to allow
efficient hashing and equality tests (bgo#756121).
+ Improve the build under MSVC.
+ Updated translations.
-------------------------------------------------------------------
Fri Apr 15 16:12:17 CEST 2016 - hpj@suse.com
- Update to GNOME 3.20 -- Fate#318572.
-------------------------------------------------------------------
Tue Mar 22 16:20:53 UTC 2016 - zaitor@opensuse.org
- Update to version 1.2.0:
+ node: Turn a g_debug() call into a JSON_NOTE.
+ debug: Add flag for debugging nodes.
-------------------------------------------------------------------
Tue Mar 1 22:22:29 UTC 2016 - zaitor@opensuse.org
- Update to version 1.1.2:
+ Add simple wrapper functions for JsonGenerator and JsonParser
to write and read a string from and to a JsonNode,
respectively.
+ Drop use of deprecated GIO API.
+ Bump the dependency on GLib to 2.46.
+ Do not create `null` nodes for empty strings (bgo#730803).
+ Documentation fixes (bgo#754384).
+ Avoid crashes in the test suite (bgo#755977).
+ Add simple iterator object for JSON objects (bgo#755509).
+ Detect missing commas in arrays.
+ Add support for g_auto* macros.
+ Allow making JSON types optionally immutable, in order to allow
efficient hashing and equality tests (bgo#756121).
-------------------------------------------------------------------
Mon Mar 16 08:52:05 UTC 2015 - dimstar@opensuse.org
- Update to version 1.0.4:
+ Build fixes.
+ Bugs fixed: bgo#711600, bgo#746143, bgo#724319, bgo#743475,
bgo#741824, bgo#725972.
+ Updated translations.
-------------------------------------------------------------------
Mon Jun 30 21:03:13 UTC 2014 - dimstar@opensuse.org
- Update to version 1.0.2:
+ Build fixes.
+ Bugs fixed: bgo#727593, bgo#727755, bgo#730425, bgo#730917.
+ Updated translations.
-------------------------------------------------------------------
Tue Mar 25 13:40:17 UTC 2014 - dimstar@opensuse.org
- Update to version 1.0.0:
+ Build fixes.
+ Bugs fixed: bgo#723813.
+ Updated translations.
-------------------------------------------------------------------
Tue Feb 4 17:17:01 UTC 2014 - dimstar@opensuse.org
- Update to version 0.99.2:
+ Use the -Bsymbolic-functions linker flag when available.
+ Bump the dependency on GLib to 2.38.
+ Use the TAP driver for the test suite.
+ Improve the syntax validation in JsonPath.
+ Validate the JsonParser input to be UTF-8.
+ Add command line tools for validating and formatting JSON.
+ Improve documentation.
-------------------------------------------------------------------
Sat Sep 21 17:36:09 UTC 2013 - dimstar@opensuse.org
- Update to version 0.16.2:
+ Use the -Bsymbolic-functions linker flag when available.
-------------------------------------------------------------------
Tue Apr 16 20:22:31 UTC 2013 - dimstar@opensuse.org
- Update to version 0.16.0:
+ docs: Fix xinclude fallback for annotation glossary.
+ variant: Fix documentation and annotations for deserialize().
+ Update Visual Studio Solution Files.
+ Visual Studio Builds: Support building introspection files.
+ path: Fix get all object members with wildcard.
+ build: Bump up the requirement for GLib.
+ build: Use the symbols file to generate our public ABI.
+ Use the new typed JsonNode initializers.
+ Consolidate null handling in JsonArray and JsonObject.
+ node: Add typed initializers.
+ Bugs fixed: bgo#660795, bgo#686096, bgo#691557, bgo#693575.
+ Updated translations.
-------------------------------------------------------------------
Thu Feb 28 18:10:37 CET 2013 - sbrabec@suse.cz
- Added support for translation-update-upstream.
-------------------------------------------------------------------
Wed Jul 18 11:14:15 UTC 2012 - dimstar@opensuse.org
- Update to version 0.15.2:
+ Fixes for building with VisualStudio
+ Allow out-of-tree builds
+ Bump the dependency on GLib to 2.31
+ Use the new deprecation system provided by GLib
+ Simplify the value handling inside JsonNode
+ Use lcov to generate coverage reports for the test suite
+ Check expected ABI when building
+ Drop dependency on gnome-autogen.sh when building from Git
-------------------------------------------------------------------
Thu Dec 8 20:06:52 UTC 2011 - dimstar@opensuse.org
- Split typelib file into typelib-1_0-Json-1_0 subpackage.
- Add typelib-1_0-Json-1_0 Requires to devel subpackage.
-------------------------------------------------------------------
Fri Oct 28 07:44:02 UTC 2011 - dimstar@opensuse.org
- Update to version 0.14.2:
+ Build fixes for compiling against the latest GLib
+ Documentation fixes
-------------------------------------------------------------------
Mon Sep 19 14:30:19 UTC 2011 - vuntz@opensuse.org
- Update to version 0.14.0:
+ Add translations.
- Create lang subpackage.
- Add json-glib-lang Recommends to libjson-glib-1_0-0, as well as a
json-glib Provides to make the lang subpackage installable.
-------------------------------------------------------------------
Fri Sep 9 16:20:36 UTC 2011 - vuntz@opensuse.org
- Update to version 0.13.90:
+ Make JsonReader perform a stricter validation especially when
using the strongly typed accessors.
+ Misc bug fixes.
-------------------------------------------------------------------
Wed Jul 27 15:47:19 CEST 2011 - vuntz@opensuse.org
- Add baselibs.conf.
-------------------------------------------------------------------
Wed Jun 15 14:12:26 CEST 2011 - dimstar@opensuse.org
- Update to version 0.13.4:
+ Remove all G_CONST_RETURN usage after the deprecation
+ Allow JsonSerializable to override the introspection and
modification of properties
+ Add i18n support for GError messages
+ Do not serialize GObject properties that match their default
values.
-------------------------------------------------------------------
Wed May 18 21:32:10 CEST 2011 - dimstar@opensuse.org
- Update to version 0.13.2:
+ Bump the dependency on GLib to 2.26
+ Allow building on Windows using VisualStudio
+ Add JSON ↔ GVariant translation
+ Improve sanity checks when (de)serializing GObject properties
+ Add missing introspection annotations
+ Add JsonReader.list_members()
+ Allow using JsonReader.read_element() on JSON objects
+ Documentation fixes.
-------------------------------------------------------------------
Wed May 4 10:32:17 CEST 2011 - vuntz@opensuse.org
- Update to version 0.12.4:
+ Fix a bug in JsonObject that led to memory corruption when
replacing members.
+ Fix introspection annotations.
+ Use AC_CANONICAL_HOST when building, to ease cross-compiling.
+ List GIO in the Requires: clause of the pkg-config file
-------------------------------------------------------------------
Fri Feb 11 12:16:25 UTC 2011 - fcrozat@novell.com
- Update to version 0.12.2:
+ Implement support for bare values in JsonGenerator
+ Do not require GLib 2.20 for the test suite
+ Do not lose precision when serializing floating point values
+ Improve introspection data
-------------------------------------------------------------------
Sat Sep 25 13:53:02 CEST 2010 - vuntz@opensuse.org
- Update to version 0.12.0:
+ Add JsonReader, a convenience API for cursor-based parsing of
JSON trees
+ Depend on GObject-Introspection 0.9.5
-------------------------------------------------------------------
Sun Sep 19 00:51:57 CEST 2010 - vuntz@opensuse.org
- Move gir files to devel subpackage.
-------------------------------------------------------------------
Mon Aug 2 19:56:29 CEST 2010 - dimstar@opensuse.org
- Update to version 0.11.2:
+ On the way to 0.12.0:
- Support surrogate pairs in JSON strings
- Update the test suite
- Add (optional) coverage reports
- Improve strictness of JsonParser
- Improve error reporting of JsonParser
- Add JsonBuilder, a convenience API for programmatic building
of JSON trees
- Add methods for JsonParser and JsonGenerator to handle
Input|OutputStream objects coming from GIO.
- Remove glib2-devel Requires from the devel package. RPM handles
this automatically by pkgconfig requires now.
-------------------------------------------------------------------
Fri Mar 19 20:57:45 CET 2010 - dimstar@opensuse.org
- Update to version 0.10.4:
+ Improve the strictness of the JsonParser code by refactoring a
large chunk of it
+ Fix JsonGenerator when dumping nodes with a floating point
value
+ Add negative conformance test cases
-------------------------------------------------------------------
Fri Feb 26 17:03:37 CET 2010 - dimstar@opensuse.org
- Update to version 0.10.2:
+ Documentation fixes for GBoxed transformation functions
+ Zero all fields of JsonObject on creation
-------------------------------------------------------------------
Sat Jan 2 16:10:03 CET 2010 - vuntz@opensuse.org
- Update to version 0.10.0:
+ Build fixes.
- Drop json-glib-fix-build.patch: fixed upstream.
-------------------------------------------------------------------
Sun Dec 27 01:38:37 CET 2009 - vuntz@opensuse.org
- Update to version 0.9.2:
+ Fix generation of doubles
+ Add more units to the test suite
+ Add JsonNode macros for quick type checking
+ Guarantee insertion order when parsing and generating JSON
Objects
+ Serialize GParamSpecObject properties
+ Add serialization and deserialization for GBoxed types
+ Add API for serializing GObjects to, and deserializing from,
JsonNode
+ Build environment fixes
+ Documentation fixes
+ Generate correct introspection data
+ Make JsonSerializable in complete control of deserialization
- Changes from version 0.8.0:
+ Remove the in-tree Vala bindings: they are part of Vala, now
+ Remove the in-tree Debian packaging
+ Fix: JsonGenerator does not escape special characters
+ Fix: Conditionally compile the test suite
+ Display the filename and line inside the error messages when
loading from a file
+ Fix: Correctly terminate a string array
+ Fix: Regression tests fail on OpenBSD
+ Do not leak memory on error code paths
+ Improve and clean up the build system
+ Make JsonNode completely opaque
+ Conditionally generate introspection data on build
+ Fix: Do not overwrite when copying
+ Deprecate json_object_add_member()
+ Add convenience accessors for JsonObject and JsonArray
+ Add convenience iteration functions for JsonObject and
JsonArray
+ Automatically promote integers to gint64, to compensate for the
lack of integer size in the JSON specificiation
+ Disallow the inclusion of single header files: only json-glib.h
and json-gobject.h can be included directly
+ Documentation fixes
+ Clean up and remove code duplication inside the Parser object
- Add gobject-introspection-devel BuildRequires.
- Add json-glib-fix-build.patch to fix build.
-------------------------------------------------------------------
Sat Jun 13 22:41:53 CEST 2009 - vuntz@novell.com
- Also package AUTHORS ChangeLog COPYING NEWS README.
-------------------------------------------------------------------
Tue May 19 18:12:15 CEST 2009 - dominique-obs@leuenberger.net
- Specfile cleanups.
-------------------------------------------------------------------
Wed Mar 25 11:08:15 CET 2009 - dominique@leuenberger.net
- Initial package of 0.6.2 for openSUSE