All notable changes to this project will be documented in this file.
v3.0.0 - 2024-06-13
- Remove cross fetch (#76) This is not a breaking change for users of Node 18+
v2.4.0 - 2023-11-07
v2.3.3 - 2023-10-12
v2.3.2 - 2023-10-11
v2.3.1 - 2023-09-26
v2.3.0 - 2023-01-27
v2.2.3 - 2023-01-06
v2.2.2 - 2022-11-09
v2.2.1 - 2022-09-09
v2.2.0 - 2022-07-14
v2.1.5 - 2021-08-17
v2.1.4 - 2021-08-09
v2.1.3 - 2021-07-29
v2.1.2 - 2021-04-16
- Set compilation target to es2017
- Don't deepcopy parentContext on minimal processing for better perf
- Improve performance for many scoped contexts, Closes #34
- Fix invalid baseIRI when parsing file via CLI
- Fix crash when parent context is a string
- Fix base failure on complex nested scoped contexts, Closes #35
v2.1.1 - 2020-09-25
v2.1.0 - 2020-09-16
v2.0.2 - 2020-07-09
v2.0.1 - 2020-06-03
- Fix contexts behind alternate links not being detected
- Throw error on invalid @type value in context
v2.0.0 - 2020-04-03
- Add support for JSON-LD 1.1 expansion and compaction features.
- Add Error class that exposes standard error codes
v1.3.4 - 2019-10-05
v1.3.3 - 2019-10-05
v1.3.2 - 2019-09-18
- Fix hash fragments being considerable as compact IRIs
- Allow @base in arrays to be relative to each other
- Fix @base being modified when it was set to null
- Fix context @base sometimes being modified when absolute
- Fix infinite term expansion loop on relative vocabs
- Fix relative context IRIs in array not being accepted
- Allow @base to be relative to document baseIRI
v1.3.1 - 2019-08-22
v1.3.0 - 2019-08-22
v1.2.0 - 2019-04-02
v1.1.4 - 2019-03-15
v1.1.3 - 2019-02-13
v1.1.2 - 2019-02-12
v1.1.1 - 2019-02-07
v1.1.0 - 2019-02-07
- Improve context validation to be spec-compliant
- Request remote contexts with proper accept header
- Pass parse parameters as hash
- Process external contexts in arrays in parallel
- Return null from expandTerm if the term has null as context value
- Remove @base entries from external contexts
- Depend on relative-to-absolute-iri for IRI resolving
- Don't unwrap @context in IDocumentLoader
- Fix remote array-based contexts not being retrieved from cache properly
- Allow @base to be set in null contexts
- Fix array context not inheriting from parent context
- Only expand term references in vocab-mode
- Fix @type: @vocab being expanded
- Make @type expansion fallback to @base
- Fix disabling context via @id: null not working
- Fix inner context expansion happening on @base instead of @vocab
- Fix context entries referencing themselves ignoring @vocab
- Blacklist @language value expansion
- Fix expansion loop stopping too soon when one term was unchanged
- Allow setting @context to null
v1.0.1 - 2018-10-08
Initial release