Releases: zazuko/cube-hierarchy-query
Releases · zazuko/cube-hierarchy-query
v2.2.2
v2.2.1
v2.2.0
Minor Changes
- b8fd9b7:
getHierarchy
: add options to forward to@hydrofoil/shape-to-query
Patch Changes
- b8fd9b7: Update
@zazuko/env
to1.10.1
- b8fd9b7: Update
@hydrofoil/shape-to-query
- allows extendingPropertyShape
(see example/hierarchy.ts)
v2.1.1
v2.1.0
v2.0.0
Major Changes
- 573ccd8: The
query
object returned bychildren
andexample
functions is now typed asDescribe
which has a slightly different signature fromConstruct
which was returned previously. (note that the actual query has not changed) - 573ccd8: The
getHierarchy
exported by the main module now generates aCONSTRUCT
query which should yield a great improvement in performance in some cases (closes #17)
Patch Changes
- 573ccd8: Removed dependency on
chai-snapshot-matcher
which should have been dev-only
v1.0.2
v1.0.1
v1.0.0
Major Changes
-
29db201: The children() method result now returns the children (still as an
array of GraphPointer) and the parent (as a GraphPointer).- const childrenResult = await children(...) + const { children: childrenResult } = await children(...)
-
1d4ac7e: First version
Minor Changes
-
f946c50: Getting entire hierarchy. See example in
examples/hierarchy.ts
. Run it likeyarn run example examples/hierarchy.ts \ --cube https://environment.ld.admin.ch/foen/fab_Offentliche_Ausgaben_test3/7
Patch Changes
- 6340c7f: Add
@zazuko/vocabulary-extras
as dependency - 6340c7f: Update
@tpluscode/rdf-ns-builders
to v2 - ac1db59: Missing type declarations in package
- b180146: Improve the query for example resources. Paging is now done in a
SELECT
subquery - b180146: Update dependencies on
@rdfjs/*
andrdf-ext
packages to use the ESM versions
v1.0.0-pre.2
Major Changes
-
29db201: The children() method result now returns the children (still as an
array of GraphPointer) and the parent (as a GraphPointer).- const childrenResult = await children(...) + const { children: childrenResult } = await children(...)