Releases: Unnoen/UntypedJSON
Releases · Unnoen/UntypedJSON
Release list
v2.0.0
The Big Update
- Features
- You can now configure things!
- Use
@JsonOptionsor the new options argument inDeserializeObjectandSerializeObject - More information available in the README under the Configuration heading.
- Use
- Inferred types from default values!
- Types can now be inferred if you provide a default value.
- You can now use the built-in JavaScript constructors,
String,Number, andBooleanfor the types.
- You can now configure things!
Note: Support for Node 16 has been dropped.
Full Changelog: v1.3.0...v2.0.0
v2.0.0-beta.0
The First v2 Beta Release!
- Features
- You can now configure things!
- Use
@JsonOptionsor the new options argument inDeserializeObjectandSerializeObject - More information available in the README under the Configuration heading.
- Use
- Inferred types from default values!
- Types can now be inferred if you provide a default value.
- You can now use the built-in JavaScript constructors,
String,Number, andBooleanfor the types.
- You can now configure things!
Note: Support for Node 16 has been dropped.
Full Changelog: v1.3.0...v2.0.0-beta.0
v1.3.0
v1.2.2
v1.2.1
v1.2.0
Quality of Life
- Features
- On property not defined error, prints the JSON object.
- Optimized the file size by merging some exceptions.
- Build
- Switched from Rollup + SWC to Vite.
- Chore
- Bumped packages.
- Made the mapping process clearer in the README.
v1.1.0
Mixins!
You can now use @JsonMixin to inherit properties from multiple classes.
This has a huge advantage in letting you split up and modularise your classes a lot easier than with just inheritance.
Check the updated README for how to use it.