instant_xml_parser 1.1.2 copy "instant_xml_parser: ^1.1.2" to clipboard
instant_xml_parser: ^1.1.2 copied to clipboard

Code generator for instant_xml_parser. Reads specially annotated Dart code an emits an XML parser/deserializer to match.

Changelog #

1.1.2 #

Adds @constructor annotation for designating which constructor to use when multiple exist.

Adds support for source files split into multiple parts using part and part_of.

1.1.1+2 #

Fixes error where subclasses might not be found when using a nullable reference.

1.1.1 #

Upgrades Analyzer to fix a corner case (attributes initialized in an optional positional constructor param); removes built_value due to Analyzer versioning confict.

1.1.0 #

Upgrade dependencies to null-safety. Minor code changes to implement null safety in the generator. Minor change to generated code to prevent spurious "skipping x, expected x" logs.

1.0.0+2 #

Text processing was (rightfully) throwing an exception when a text element was missing. Now the generator suppresses the exception if the corresponding field is nullable.

1.0.0+1 #

Allows use with both 0.1x runtime and 1.x runtime

1.0.0 #

Now reads null-safe sources and emits null-safe parsers. Note that the generator itself isn't null-safe yet due to unmigrated dependencies.

0.11.1+2 #

Backport from null-safe version.

0.11.1+2 #

Set use_null_safety by default in build.yaml. You shouldn't change it for now.

0.11.1+1 #

Pubspec fix (generator should depend on latest runtime)

0.11.1 #

Added use_null_safety generator option. Preserves legacy behavior (attributes are all optional) when false.

0.11.0 #

Backport from null safety work. Significantly better test coverage for the runtime, and generated parser improvements.

0.10.0 #

  • Added @custom annotation for attribute fields

0.9.1 #

  • Bugfix for boolean attribute generation

0.9.0 #

  • First release to pub.dev.
1
likes
130
pub points
0%
popularity

Publisher

unverified uploader

Code generator for instant_xml_parser. Reads specially annotated Dart code an emits an XML parser/deserializer to match.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

analyzer, build, build_config, code_builder, collection, dart_style, ixp_runtime, logging, meta, recase, source_gen, xml

More

Packages that depend on instant_xml_parser