Skip to content
This repository was archived by the owner on Jun 22, 2021. It is now read-only.

Releases: js-entity-repos/core

v9.1.1

14 May 15:08
1a8d753
Compare
Choose a tag to compare

9.1.1 (2018-05-14)

Bug Fixes

  • createPaginationFilter: Fixes cursors for sorts with multiple keys. (#15) (1a8d753)

v9.1.0

29 Mar 10:01
402cab3
Compare
Choose a tag to compare

9.1.0 (2018-03-29)

Features

v9.0.0

28 Mar 12:17
e9e670a
Compare
Choose a tag to compare

9.0.0 (2018-03-28)

Features

  • Adds support for loading new results. (#13) (e9e670a)

BREAKING CHANGES

  • Removes PaginationFilterError.
  • Removes createEndCursorResult.
  • Changes createCursorFromEntity params.
  • Changes createGetEntitiesResult return value.
  • Removes end from Cursor.
  • Changes the return type in the signature of getEntities.
  • Renames previousCursor to backwardCursor in getEntities result.
  • Renames nextCursor to forwardCursor in getEntities result.

v8.0.0

28 Mar 07:42
16be9e1
Compare
Choose a tag to compare

8.0.0 (2018-03-28)

Features

  • Adds utils for createEndCursorResult and createGetEntitiesResult. (#12) (16be9e1)

BREAKING CHANGES

  • Tests for getEntities now assert the cursors returned.
  • The Cursor type now has start and end to improve pagination behaviour.

v7.2.0

26 Mar 16:59
82180ff
Compare
Choose a tag to compare

7.2.0 (2018-03-26)

Features

  • Adds convertPropertyFilter util. (#10) (82180ff)

v7.1.0

19 Mar 17:31
Compare
Choose a tag to compare

7.1.0 (2018-03-19)

Features

  • Adds errors for pagination direction and sort order. (b81e257)

v7.0.0

18 Mar 22:10
561d0b9
Compare
Choose a tag to compare

7.0.0 (2018-03-18)

Code Refactoring

  • Changes pagination and sorting constants to improve readability. (#8) (561d0b9)

BREAKING CHANGES

  • In pagination forward was renamed to direction.
  • To paginate forward use 'forward' in pagination.direction instead of true in pagination.forward. Use import { forward } from '@js-entity-repos/core/dist/types/PaginationDirection'.
  • To paginate backward use 'backward' in pagination.direction instead of false in pagination.forward. Use import { backward } from '@js-entity-repos/core/dist/types/PaginationDirection'.
  • To sort in ascending order use 'asc' in sort instead of true. Use import { asc } from '@js-entity-repos/core/dist/types/SortOrder'.
  • To sort in descending order use 'desc' in sort instead of false. Use import { desc } from '@js-entity-repos/core/dist/types/SortOrder'.

v6.0.2

07 Jan 01:12
Compare
Choose a tag to compare

6.0.2 (2018-01-07)

Bug Fixes

v6.0.1

07 Jan 00:35
Compare
Choose a tag to compare

6.0.1 (2018-01-07)

Bug Fixes

v6.0.0

06 Jan 23:38
9dec0cb
Compare
Choose a tag to compare

6.0.0 (2018-01-06)

Features

  • Adds filter to entity functions. (#2) (9dec0cb)

BREAKING CHANGES

  • The filter, sort, and paginate options are now optional.
  • The upsertEntity function has been removed due to filter issues.
  • The overwriteEntity function was renamed to replaceEntity.