Skip to content

Latest commit

 

History

History
356 lines (152 loc) · 11.6 KB

CHANGELOG.md

File metadata and controls

356 lines (152 loc) · 11.6 KB

0.8.1 (2019-04-27)

Bug Fixes

  • upsert-edge-list: await the transaction.commit (55b4286)

0.8.0 (2019-04-13)

Features

  • src/*: change now in function names to commit (2f66e99), closes #11

BREAKING CHANGES

  • src/*: Any function that previously had the word now, has the word commit in it instead.

0.7.0 (2019-01-28)

Features

  • upsert-edge-list: rename xUpsertEdgeListTxn to xUpsertEdgeListCommitTxn remove commit from xUp (dd4a974)

BREAKING CHANGES

  • upsert-edge-list: xUpsertEdgeList no longer calls transaction.commit and the name of xUpsertEdgeListTxn was changed to xUpsertEdgeListCommitTxn

0.6.4 (2019-01-28)

Features

  • upsert-edge-list validate-node-exists: added upsert-edge-list and validate-node-exists functio (f42fa05)

0.6.3 (2019-01-21)

Features

  • docker-compose.test.yml get-schema-map.ts: update to the latest version of dgraph v1.0.11 (c7d5ca6)

0.6.2 (2018-10-18)

Features

  • validate-node-links: add an xValidateNodeLinks function (e093945)

0.6.1 (2018-10-17)

Bug Fixes

  • index: export the xSetJSONNow and xSteJSONNowTxn (cdb4fb1)

0.6.0 (2018-10-17)

Code Refactoring

  • src/*: re postfix functions from now to txn (3ff2f79), closes #8

Features

  • query: added an xQuery without vars function (86b0b9d)
  • query-with-vars-now & delete-json-now: split these functions up so there is a function that ju (6601f9e)
  • validate-node-predicates: add a validate node predicates function (0d5de8a)

BREAKING CHANGES

  • src/*: Function names have had the postfix changed. You will need to update your app.

0.5.4 (2018-09-12)

Features

  • delete-json-now: add a delete json now function (aaf059d)

0.5.3 (2018-09-11)

Features

  • query-with-vars-now: add a simple xQueryNow function (151f748)
  • test-helper setup: make schema an optional param for xSetupWithSchemaDataNow (7c5b6ed)

0.5.2 (2018-09-10)

Features

  • extract-named-uids: add an extract named uids function (37a7a7e)

0.5.1 (2018-09-10)

Bug Fixes

  • package.json: fix deletion step in build script (cd640ef)

0.5.0 (2018-06-07)

Code Refactoring

  • src/*: update all exports from capital X to lower case x (ac900c2)

Features

  • upsert-now: the upsert now nodeFoundFunction interface now optionally returns a function to cr (3a1af70)
  • XUpsertNow XUpsertMapNow: upsert now accepts a function not just a list of predicates so the s (8ca5a6e)

BREAKING CHANGES

  • src/*: All functions change from capital X to lowercase X
  • XUpsertNow XUpsertMapNow: XUpsertNow expects a function that resolves to a dgraph query, not a list of predicates.

0.4.1 (2018-04-26)

Features

  • package.json docker-compose: update to latest dgraph 1.0.5 and latest dgraph-js 1.2.1 (df8391f)

0.4.0 (2018-04-09)

Features

  • create-client: rename log port to log address to be more descriptive (5d9e609)

BREAKING CHANGES

  • create-client: option name has changed logPort is now logAddress

0.3.3 (2018-04-09)

Features

  • create-client: add an option to log the host and port without having to be in debug mode (0ad72e5)

0.3.2 (2018-03-27)

Features

  • extract-uids: improve error messaging (bb0b087)

0.3.1 (2018-03-27)

Bug Fixes

  • extract-uids: added a better isPromise check (e02b328)

0.3.0 (2018-03-26)

Features

  • extract-uids: XExtractFirstUid now returns a string not a string array (0ea4245)

BREAKING CHANGES

  • extract-uids: XExtractFirstUid now returns a string not a string array

0.2.1 (2018-03-26)

Features

  • extract-uids: added an extract uids function that can take an XSetJSONNow Promise or Result an (5f88880)

0.2.0 (2018-03-23)

Code Refactoring

  • js-set-now set-json-now: renaming js-set-now and associated functions to be more inline wi (f7db9d4)

BREAKING CHANGES

  • js-set-now set-json-now: XSetJs has been renamed XSetJSON and XTRXSetJSNow has been renamed XSetJSONNow

0.1.8 (2018-03-22)

Features

  • test-helpers: move test helpers into main library and expose them for use by the client code b (f750576)

0.1.7 (2018-02-24)

Features

  • index: export XUpsertMapNow from index for convenience (7779adb)
  • upsert-map-now: add upsert-map-now which allows you to provide a map of values and receive the uids mapped back on the original maps keys (69f92af)

0.1.6 (2018-02-21)

Features

  • upsert-now: add more context when upsert fails because it cannot created nested objects (36266a4)

0.1.5 (2018-02-21)

Features

  • upsert-now: add a spec checking that you can link nodes when upserting (cd3f57d)
  • upsert-now: upsert now returns uid (f54d23c)

0.1.4 (2018-02-16)

Bug Fixes

  • package.json: add a preoublishOnly step that builds the repository before publishing (4f7642b)

Features

  • upsert-now: remove the requirement for the upsert search predicates to be strings (1a41cd8)

0.1.2 (2018-02-16)

Features

  • index: export specific types to hopefully get better typecompletion (dee2190)
  • upsert-now: upsert now works for multiple search predicates (a0cde5d)

0.1.1 (2018-02-16)

Features

  • src/.: refator to include "now" naming convention (c6a1f8d)
  • upsert-now: refactored upsert to allow an array of search predicates (2909882)
  • upsert-now: rename find-or-create to upsert-now and add typings to package.json so the typescript tooling can find the types (64cc3fc)

0.1.0 (2018-02-15)

Features

  • create-client: created a create client function with tests (09b1971)
  • find-or-create: created a dgraph upsert helper (679da06)
  • find-or-create: upsert now works with arrays (5f2c1e0)
  • package.json: update build script and publish v0.1.0 (44caf88)