All notable changes to this project will be documented in this file.
v6.3.0 - 2024-10-23
v6.2.0 - 2024-09-27
v6.1.0 - 2024-09-17
v6.0.1 - 2024-03-05
v6.0.0 - 2024-03-04
- Allow multiple (major) versions of modules to co-exist
- Clarify error message on undefined component instances, Closes #108
v5.5.1 - 2024-01-11
v5.5.0 - 2024-01-09
v5.4.2 - 2023-06-07
v5.4.1 - 2023-05-23
v5.4.0 - 2023-05-15
- Allow hash keys to be URIs that dereference to a string
- Allow types to be replaced when using an Override
v5.3.2 - 2022-11-14
v5.3.1 - 2022-08-23
v5.3.0 - 2022-08-04
v5.2.0 - 2022-05-20
v5.1.0 - 2022-05-10
v5.0.1 - 2022-03-02
v5.0.0 - 2022-03-01
- Bump context URL to 5.0.0
- Add incorrect version number as possible cause for remote lookup failure (#67)
v5.0.0-beta.7 - 2022-02-21
v5.0.0-beta.6 - 2022-02-09
v5.0.0-beta.5 - 2022-02-08
v5.0.0-beta.4 - 2022-01-29
- Propagate original error messages to require calls, Closes #65
- Include config id in invalid param error message
- Update memberKeys to memberFields
v5.0.0-beta.3 - 2022-01-17
- Add support for wildcard parameter ranges
- Improve error reporting:
- Resolve several issues related to generics:
- Throw error on invalid ParameterRangeGenericComponent
- Fix generic components not accepting specific types
- Support generic type instantiation during component extension
- Support generic components in params with fixed generics
- Use GenericComponentExtension to refer to wrapped generic comp extensions
- Fix invalid range display with multiple generics
- Handle range merging if left or right is union
- Handle sub-types when merging param ranges
- Allow merging of generic component param types
- Allow param range merging with generic components
- Fix generics crash when doing repeated param type checking
v5.0.0-beta.2 - 2021-12-09
v5.0.0-beta.1 - 2021-12-07
- Handle generics in nested components
- Handle generics in parameter ranges
- Add generic vocabulary changes to context
v5.0.0-beta.0 - 2021-11-30
- Remove required and unique param flags in favor of parameter ranges: This allows more complex ranges to be defined, such as nested arrays, or arrays of union types. Because of this change, arrays now must always be explicitly defined within an RDF list (or @list in JSON-LD). If one param value is provided, it is considered a singular value. If the param value contains an RDF list, it is considered an array. If multiple param values are provided without RDF list, an error is thrown.
- Validate parameter values by type:
- Allow IRIs to be casted to string params
- Allow components to be registered to multiple modules
- Make relative IRIs make use of importPaths-based URLs if possible
v4.5.0 - 2021-08-30
v4.4.1 - 2021-07-26
v4.4.0 - 2021-06-30
v4.3.0 - 2021-06-14
v4.2.1 - 2021-05-26
v4.2.0 - 2021-05-19
v4.1.0 - 2021-04-27
v4.0.6 - 2021-01-27
v4.0.5 - 2021-01-18
v4.0.4 - 2021-01-15
v4.0.3 - 2021-01-15
v4.0.2 - 2021-01-15
- Fix instances being created multiple times, Closes #31
- Fix value inheritance happening multiple times
v4.0.1 - 2021-01-14
v4.0.0 - 2021-01-14
This release contains breaking changes in the programmatic API, but module and configuration files remain backwards-compatible.
- Developer convenience
- Allow
lsd:module
to be set to true in package.json - Emit warning when a remote context lookup is being done
- Emit warning on potentially invalid parameters in config
- Emit warning on potentially invalid IRIs
- Generate componentsjs-error-state.json on error
- Validate multiple key-value occurences in collectEntries
- Improve printing of Resources in error reporting
- Rewrite injection of custom JSON-LD document loader
- Migrate RDF loading logic to rdf-object
- Allow
- Use rdfs:seeAlso instead of owl:imports for importing
- Handle semver on multiple occurrences of module packages
- Improve performance of module state loading through parallelization
- Refactoring
- Accept loading from RDF/JS streams, Closes #1
- Add logger
- Split up Loader into ComponentsManager and loading classes
- Split parameter property handling into seperate handlers
- Create dedicated ParameterHandler component
- Reorganize relevant classes into construction package
- Split arguments creation into separate handlers
- Split constructor args handling into separate handlers
- Refactor component factories as config preprocessors
- Remove Util.PREFIXES in favour if Iris
- Decouple CommonJS instantiation and serialization into strategies
- Decouple instantiation logic from Loader class
- Rewrite RdfStreamIncluder as Transform stream
- Delay module registration until finalization phase
- Refactor module loading into ModuleStateBuilder
- Fix config compilation using wrong file path
- Fix mapped components only keeping first element of root arrays
v3.6.1 - 2020-11-25
v3.6.0 - 2020-09-14
v3.5.0 - 2020-09-11
v3.4.2 - 2020-08-27
v3.4.1 - 2020-07-01
v3.4.0 - 2020-04-06
v3.3.0 - 2019-10-21
v3.2.1 - 2019-02-21
v3.2.0 - 2018-11-13
v3.1.0 - 2018-11-13
Start tracking of changelog