Releases: fujaba/fulibYaml
Releases · fujaba/fulibYaml
fulibYaml v1.5.0
fulibYaml v1.4.0
fulibYaml v1.3.0
New Features
- Added support for enums in property values. #12
- Added support for
byte,short,charand corresponding wrapper types in property values. - Added the
YamlGenerator.quotemethods.
Improvements
- The
Reflector.getValueand.setValuemethods no longer silently ignore exceptions within the invoked methods. - The
Reflector.getValueand.setValuemethods now cache target methods to improve performance. - Changed the algorithm used by
ReflectorMap.setValue.It now tries to invoke all public
setandwithmethods in the order in which they are in the bytecode.
Coercions (varargs, string to primitives) are performed as needed.
Note that it does not perform full overload resolution, so results may differ from calling the appropriate setter normally. - The
Reflector.setValuemethod now supports thewithoverloads generated by Fulib v1.2. - The
YamlIdMap.encodemethod can now handle collections of values.
Bugfixes
- Fixed the
YamlGenerator.encapsulate(String, Appendable)method appending the value twice.
fulibYaml v1.2.1
Bugfixes
- The
ReflectorMap.discoverObjectsmethods now use breadth-first search.This restores the previous order in which
YamlIdMaps were serialized.
fulibYaml v1.2.0
New Features
- Added the
ReflectorMap.canReflectand.discoverObjectsmethods. - Added the
Reflector.getOwnPropertiesand.getAllPropertiesmethods. - Added the
YamlGeneratorclass, a more streamlined API for converting events to YAML. - Added the
IdMapclass.
Bugfixes
- Fixed an exception when
YamlIdMapdiscovers objects of unknown types. #15
Improvements
YamlIdMapno longer appends auto-incremented numbers to IDs if not necessary. #16
General
- Transitioned many APIs from concrete implementation types like
ArrayListorLinkedHashMapto their respective
interfaces likeListorMap.In places where this could not be done in-place, new APIs were added and the old ones deprecated.
See the respective Javadocs for migration info. - Deprecated some misplaced or accidentally public APIs.
Check for deprecation warnings and see the respective Javadocs for migration info.
- General code cleanup and minor optimizations.
fulibYaml v1.1.0
- Bumped version number.