Releases: javiercejudo/modelico
v24.1.0
v24.0.3
24.0.3
v24.0.0
24.0.0
v23.0.0
createModel
When an innerTypes
-returning function is passed as the first argument, that function will now receive the metadata as the first argument
getSchema
$ref
s are now used more often, resulting in reduced schemas for complex models, especially those with circular references or when the same metadata appears mulltiple times.
Recipes
Added recipe for reviving large arrays in batches.
Examples
Added binary tree example
Internal
Moved from standard --fix
to prettier
+ eslint
, extending the standard
v22.1.0
Base
Implementing static innerTypes
is now not necessary for models whose JSON representation is not an object
v22.0.0
Browser support
Dropped support of IE9 & 10 (they should still work, but the test suite is no longer run on them). Visit the browser suite on your target browser to be sure.
Maybe
Split Maybe
into Just a
and Nothing
. Maybe.of
still works the same way making null
, undefined
and NaN
be Nothing
Just.of(1) === Maybe.of(1)
Nothing === Maybe.of(null)
Schema generation
Fixed several bugs with caching and started using $ref
for repeated metadata, not just circular references.
v21.6.0
v21.5.0
21.5.0
v21.4.0
- exposed
ajvMeta
- added
ajvAnyOf
- metadata-returning functions are valid metadata everywhere
v21.3.0
21.3.0