Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (30m)  pkgsrc-2024Q1 (10d)  pkgsrc-2023Q4 (57d)  pkgsrc-2023Q2 (89d)  pkgsrc-2023Q3 (169d) 

2024-05-27 21:15:49 UTC Now

2024-01-06 09:40:40 UTC MAIN commitmail json YAML

py-generateDS: updated to 2.43.3

Version 2.43.3 (11/02/2023)
Added warning message that is printed when generateDS.py is asked to process an XML schema that has an xs:simpleType that contains an xs:union. generateDS does not handle that. Thanks to Alex Krizsan for suggesting this.
Added a unit test for type substitution (tests/type_substitution*) using xsi:type.
Version 2.43.2 (08/22/2023)
Fixes to the GraphQL support: (1) several issues that were related to substitutionGroup; (2) fixed missing access to character_content when an element has attributes or is "mixed"; (3) fixed an error that occurs when child.maxOccurs > 1.
Version 2.43.1 (08/07/2023)
Added two utility scripts:
./utils/gds_split_one_to_many.py
./utils/gds_join_many_to_one.py
The purpose of the first is to split a module generated by generateDS into smaller modules (in particular, one for each complexType definition) in order to facility easier viewing and editing. The purpose of the second is to enable you, if you have modified any of the split modules, to join back together into a single module that can be executed or imported.
Added the README file ./utils/README_split_join.rst containing notes on the these utility scripts.
Added a unit/regression test for the split-join capability.
Thanks to Amudha Duraisamy for suggesting this capability.
Version 2.42.2 (07/14/2023)
Added unit/regression test for the GraphQL support.
Added demo for generateDS GraphQL support to ./Demos/People/. See the ./Demos/People/README.txt and the two shell scripts ./Demos/People/run-*.sh. You will need to install Strawberry to run this demo. See http://www.davekuhlman.org/generateDS.html#graphql-support
Version 2.42.1 (07/14/2023)
Added support for generation of code containing an implementation of a GraphQL server that uses the Strawberry GraphQL package. For info, see -- http://www.davekuhlman.org/generateDS.html#graphql-support
Version 2.41.5 (05/06/2023)
Changed name of method "_hasContent" to "has__content" so that we both (1) avoid conflicts with XML complexType member names and (2) avoid warnings generated by pylint. Thanks to Amudha Duraisamy for reporting this.
Version 2.41.4 (04/25/2023)
Fix to formatting of floats. Thanks to Amudha Duraisamy for reporting this.
Version 2.41.3 (03/06/2023)
Fix for mixed content -- When mixed="true" was an attribute of complexContent element, instead of on the ``complexType that contained it, generateDS.py was not picking it up. Now it does, and it generates code for valueOf_, etc. Thanks to Edwin Matthijssen for help with this.
Version 2.41.2 (02/28/2023)
Fix to export of an element that has mixed/simpleContent. The character content (_valueOf) was not being exported. Thanks to Edwin Matthijssen for reporting this.
Version 2.41.1 (10/03/2022)
Added command line option "--use-regex-module". This option causes generation of modules that import the regex module instead of the re module. There are some regular expressions that regex handles but that re does not, for example "p{...}". See https://pypi.org/project/regex/ and https://github.com/mrabarnett/mrab-regex.

(adam)