Releases: fluid-project/fluid-json-schema
Update to use [email protected].
Updates to use the 2.x version of kettle. There are minor changes to the test grades used in the package.
Made infusion options validation "opt in".
Previously, fluid.schema.modelComponent
was an instance of fluid.schema.component
, and attempted to validate all options against a schema that represents infusion concepts like listeners and invokers. That schema was incorrect with regard to model listeners, and would incorrectly prevent components using the this
option in a model listener from instantiating.
This release fixes the schema, but also disentangles the operation of the three types of validation components:
fluid.schema.modelComponent
only validates the model itself, and not any options.fluid.schema.component
only validates non-infusion options, i.e. your schema only indicates what options your component requires.- The new
fluid.schema.infusionOptionsValidatingComponent
grade adds schema rules that validate infusion-facing options such asinvokers
andmodelListeners
.
Consumers of these grades should not notice any functional difference, but if you want the old behaviour, you will need to explicitly add the grade for each type of validation to your components.
January 2021 dependency updates.
Notably, replaces the linting infrastructure.
Migrated to new name and updated dependencies.
v2.1.4 Tagging the 2.1.4 release
May 2020 dependency updates.
See GPII-4479 for details.
Updated to "schema holders" and "resource loaders".
This version adds the new "schema holder" concept to allow grades to extend and rework schema definitions inherited from parent grades.
This is the first version to use the new "resource loader" feature of later versions of the Infusion framework. It will only work properly with "potentia ii" versions of Infusion released after October 2019. Check the package.json for a known compatible version.
Fixed error binder issues when working with older versions of Infusion.
Added global validation component and caching.
See GPII-3899 for details.
Fixed options validation for pre-potentia-ii versions of Infusion.
May 2019 security update.
Updates handlebars dependencies to resolve an inherited security vulnerability. See GPII-3920 for details.