Annotaml

A library for reading/writing YAML files to/from Java classes using annotations

APACHE-2.0 License

Stars
11

Bot releases are hidden (Show)

Annotaml - Annotaml v2.0.7 Latest Release

Published by WiIIiam278 about 1 year ago

  • Fixed an artifact publishing issue with v2.0.6
Annotaml - Annotaml v2.0.6

Published by WiIIiam278 about 1 year ago

  • boosted-yaml is now bundled in the distributed jar; you no longer need to separately shade this (though you may still wish to relocate it if you want)
  • Marked internals with @ApiStatus.Internal
  • Added documentation to README.md
Annotaml - Annotaml v2.0.5

Published by WiIIiam278 about 1 year ago

  • Added support for more types of Maps
Annotaml - Annotaml v2.0.4

Published by WiIIiam278 over 1 year ago

  • Bumped dependencies
Annotaml - Annotaml v2.0.3

Published by WiIIiam278 over 1 year ago

  • Added support for looking up enums case-insensitively if an enum entered into a config file could not be precisely matched
    • This is useful for cases where users enter enum options in the wrong case
    • Note if you have two enums identical when case-sensitivity is ignored (which you should avoid) the enum with the lowest ordinal will be assumed as the users input if the input doesn't exactly match either of them
Annotaml - Annotaml v2.0.2

Published by WiIIiam278 over 1 year ago

  • Deprecated config file versioning (was unused in prior versions anyway)
  • Added the ability to use Annotaml as an Automatic Java Module
Annotaml - Annotaml v2.0.1

Published by WiIIiam278 almost 2 years ago

  • A private zero-args constructor is now valid
  • Private fields are now supported and can be mapped to config nodes
Annotaml - Annotaml v2.0

Published by WiIIiam278 about 2 years ago

A rewrite. The v1.0 codebase was sloppy and did some hacky stuff with SnakeYaml. v2.0 uses Boosted Yaml for better type handling. Documentation will need updating, but in the meantime check the new javadocs.

  • Uses & requires boosted-yaml for optimal parsing of yaml file data
  • Fix various cases where tags would be left over with enum maps, increased stability
  • Removed support for custom objects (not worthwhile given issues with having to track generated keys, tags, and lack of support with specifying key paths within them). Associated annotations for this have been removed.
  • Removed ability to automatically snake case keys (led to inconsistencies and other key mismatch issues)
  • Removed @RootedMap in favor of an option in the @YamlFile object annotation
Annotaml - Annotaml v1.0.3

Published by WiIIiam278 about 2 years ago

  • Fixed an issue that meant keyed maps of standard objects would not be read correctly
Annotaml - Annotaml v1.0.2

Published by WiIIiam278 about 2 years ago

  • Fixed standalone embedded objects (non-@EmbeddedCollection) not being read/saved correctly
  • Updated tests
Annotaml - Annotaml v1.0.1

Published by WiIIiam278 about 2 years ago

Fixed rooted maps not loading correctly

Annotaml - Annotaml v1.0

Published by WiIIiam278 about 2 years ago

Initial release

Badges
Extracted from project README
Build Status Discord Maven