Skip to content

Releases: lbovet/hybind

v1.7.0

11 Feb 10:10
Compare
Choose a tag to compare

Features:

  • Save and Delete should return the payload of the response if there is one

v1.6.0

12 Sep 08:08
Compare
Choose a tag to compare

Features:

  • Added hooks
    • $onBind(cb) called when object is bound.
    • $onLoadItem(cb) called when collection items are loaded.

Fixes:

  • Depth of objects in collections is limited in order to circumvent potential problems in backends (e.g. spring-data-rest)

v.1.5.0

20 May 15:20
Compare
Choose a tag to compare

Now can be used in modern browsers without framework (with the help of window.fetch and window.Promise).

v1.4.3

29 Mar 14:56
Compare
Choose a tag to compare

Do not bind properties that are explicitely set to null. Fixes #18.

v1.4.2

09 Jan 16:10
Compare
Choose a tag to compare

$bind uses now URL encoding. Fixes #17.

v1.4.1

27 Dec 12:09
Compare
Choose a tag to compare

$load also binds content of inline collections, e.g. those returned in Spring Data Rest projections.

v1.4.0

27 Dec 12:07
Compare
Choose a tag to compare

$create and $save can now save children associations in the same request.

  • $create passes all children associations of the object to create.
  • $save uses an optional array parameter to select which children associations must be passed. An empty array means all associations.

v1.3.2

06 Nov 15:02
Compare
Choose a tag to compare

Rebinding will now use a stored reference, not a constructed URL, to be fully HATEOAS.

v1.3.1

06 Nov 12:10
Compare
Choose a tag to compare

Fixed rebinding to not reuse previous reference

v1.3.0

31 Oct 22:46
Compare
Choose a tag to compare

Improved:

  • All promises revolving to objects
  • No more need to explicitely bind arrays
  • Optional query string parameters and HTTP options to all methods issuing requests