-------------------------------------------------------------------------------- Fedora Update Notification FEDORA-2024-1bfb3ca7cb 2024-09-13 20:43:08.473770 -------------------------------------------------------------------------------- Name : php-netresearch-jsonmapper Product : Fedora 41 Version : 5.0.0 Release : 1.fc41 URL : https://github.com/cweiske/jsonmapper Summary : Map nested JSON structures onto PHP classes, version 5 Description : Takes data retrieved from a JSON web service and converts them into nested object and arrays - using your own model classes. Starting from a base object, it maps JSON data on class properties, converting them into the correct simple types or objects. It's a bit like the native SOAP parameter mapping PHP's SoapClient gives you, but for JSON. It does not rely on any schema, only your PHP class definitions. Type detection works by parsing @var docblock annotations of class properties, as well as type hints in setter methods. You do not have to modify your model classes by adding JSON specific code; it works automatically by parsing already-existing docblocks. Autoloader: /usr/share/php/netresearch/jsonmapper/autoload.php -------------------------------------------------------------------------------- Update Information: Version 5.0.0 - 2024-09-08 Christian Weiske BC break: Enforce bStrictObjectTypeChecking on arrays by @dktapps https://github.com/cweiske/jsonmapper/pull/225 BC break: Only objects implementing both ArrayAccess and Traversable are handled as arrays now. Previously classes implementing only ArrayAccess were used as arrays, which broke non-traversable objects providing array access. by @daniser https://github.com/cweiske/jsonmapper/pull/224 BC break: Reject NULL values in arrays unless explicitly allowed Set $bStrictNullTypesInArrays to get old behavior back. by @cweiske https://github.com/cweiske/jsonmapper/issues/233 BC break: Default $bStrictObjectTypeChecking to true Class constructors are not called automatically anymore. by @cweiske https://github.com/cweiske/jsonmapper/issues/226 -------------------------------------------------------------------------------- ChangeLog: * Mon Sep 9 2024 Remi Collet <remi@xxxxxxxxxxxx> - 5.0.0-1 - update to 5.0.0 - move to /usr/share/php/netresearch/jsonmapper5 -------------------------------------------------------------------------------- This update can be installed with the "dnf" update program. Use su -c 'dnf upgrade --advisory FEDORA-2024-1bfb3ca7cb' at the command line. For more information, refer to the dnf documentation available at http://dnf.readthedocs.io/en/latest/command_ref.html#upgrade-command-label All packages are signed with the Fedora Project GPG key. More details on the GPG keys used by the Fedora Project can be found at https://fedoraproject.org/keys -------------------------------------------------------------------------------- -- _______________________________________________ package-announce mailing list -- package-announce@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-announce-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/package-announce@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue