Skip to content

@dgraphium/[email protected]

Compare
Choose a tag to compare
@binier binier released this 26 Sep 15:59
· 25 commits to master since this release

0.3.0 (2020-09-26)

Bug Fixes

  • core: query.project(...) not accepting Field primitive (e55cea8)
  • core: QueryBuilder.withArgs(...) overrides func (dc29d35)
  • core: regression for test: "should not prefix nested EdgeBuilder if it has no autoType" (d9a2022)
  • core: setEdges and project not returning this (027042d)
  • core: shouldn't prefix nested elements if previous edge type is undefined (42c12ad)
  • core/edge-builder: constructor crashes if edges is undefined/null (b818968)
  • core/edge-builder: constructor signature - make edges optional (c3b8d78)

Features

  • core: add EdgeBuilder merging logic (1bf1680)
  • core: add a way to reference self in projection (2e831a7)
  • core: add auto type option. (de0e0f6)
  • core: add projection merging tests (1fa0e98)
  • core: allow combining already combined queries (eb2a5a8)
  • core: allow overriding edge name with: edge.name(...) (98ce338)
  • core: define refs in existing query if it exists in CombinedQuery (4611b4a)
  • core: imeplement edge vars (b717d19)
  • core: implement Field primitive (a87362e)
  • core: implement a way to extract used refs (74a4515)
  • core: implement a way to reference field in query (4a4ea08)
  • core: implement a way to return ref in a result as a field (3ee0300)
  • core: implement aggregations (39b7af2), closes #4
  • core: implement building Query when it contains Ref (48c2a5e)
  • core: merge projection instead of overwriting (728f17b)
  • core/operator/uid: accept ref (b8e28df)

BREAKING CHANGES

  • core: query.project(...) will now deep merge projections by default instead of
    overwriting them. to overwrite instead (previous default behavior): query.project({}, true).