All notable changes to this project will be documented in this file. This change log follows the conventions of keepachangelog.com.
- Fix bug in Pattern cycle detection where non-cyclic paths were incorrectly flagged as cycles.
- Update GitHub CD and CI to remove deprecation warnings.
- Decouple Pan's
::activityDefinition
spec from that of the xapi-schema lib. - Change the JSON parse function to not keywordize keys containing
:
.- This change mainly affects IRIs, such as Activity extension keys.
- Move all
clojure.test.check.generators
requires to test namespaces.- Downstream cljs applications no longer have to include the
test.check
lib.
- Downstream cljs applications no longer have to include the
- Remove Loom dependency.
- Add instrumentation to graph util functions.
- Relax ID validation constraints to allow different versions of the same Profile to reuse IDs in certain cases.
- Add a
:multi-version?
flag to validation functions to toggle whether multiple versions can exist in a single Profile object or not. - Add the
validate-object
function to the top-level API to validate individual Concepts, Templates, and Patterns. - Add value generation capabilities for Profile syntax specs, including
::concept
,::template
,::pattern
, and::profile
. - Fix bugs when validating Pattern relations across multiple Profiles. (See #39 for details.)
- Fix bugs where external
contextCategoryActivityType
IRIs were not properly validated. (See #40 for details.)
- Fix bug where outgoing edges of profile-external StatementTemplates were incorrectly included in the Pattern graph.
- Add
:concept-rels?
,:template-rels?
, and:pattern-rels?
, keyword arguments.
- Add
json-profile->edn
API function.
- Add multi-profile support
- Extra API function
validate-profile-coll
that accepts a collection of Profiles to validate. :extra-profiles
keyword arg to reference Profiles with external Concepts, Templates, and Patterns.:extra-contexts
keyword arg to reference external, non-default JSON-LD contexts.
- Extra API function
- Replace
:print-err?
keyword arg to:result
, with options:spec-error-data
,:type-path-string
,:path-string
,:string
, and:print
. - Overhaul internal logic for identifier, graph and context validation.
- Rename various internal namespaces.
See Pull Requests #23 to #27 for more details.
- Upgrade to latest Expound version and clean up internal error logic.
- Made error messages more consistent across different error types.
- Rename certain spec names and simplify graph validation functions.
- Remove JSON Schema-related deps - no more downstream downloading of jitpack!
- Updated xapi-schema dep to reflect latest fixes.
- Add ClojureScript compatibility.
- Singleton sub-Pattern IDs now MUST be IRIs, not object maps.
- Initial alpha release.