Skip to content

Releases: petejohanson/hy-res

v0.0.26

13 Sep 17:17
Compare
Choose a tag to compare

Bug fix release:

  • When we have a HTTP response that's an error, still process the response so extensions can still provide links, etc. even in the error scenario.

v0.0.25

10 Jun 16:44
Compare
Choose a tag to compare

Various enhancements:

  • #18 Add Resource#$followCurie function
  • #19 Add a TextExtension for processing text/* (e.g. text/plain) responses.

v0.0.24

10 Jun 16:32
Compare
Choose a tag to compare

Various enhancements:

  • #18 Add Resource#$followCurie function
  • #19 Add a TextExtension for processing text/* (e.g. text/plain) responses.

v0.0.23

06 Mar 05:01
Compare
Choose a tag to compare
  • Add new Form#getRequestData() function.
  • Merge PR #11 to implement Resource#$expandCurie.
  • Add Resource#$parent property for sub/embedded resources.

v0.0.22

05 Jan 05:22
Compare
Choose a tag to compare

The following additional functionality has been added:

  • Add access to raw response using Resource#$response. See Resource for details and petejohanson/angular-hy-res#8 for the discussion.
  • Add property for accessing media format specific information, e.g. Siren resource titles, using Resource#$formatSpecific property. See #4
  • Add filtering/matching for the various Resource accessor functions like $link, $links, $followOne, etc. For example, to check if you have a link in a HAL resource with a link relation of next and a name of profile, you can call resource.$has('next', { name: 'profile' }). See #8

v0.0.19

23 Jul 14:20
Compare
Choose a tag to compare
  • Bug Fix: Handle 201 Created responses that do not include a Location header.

v0.0.18

09 Jul 19:08
Compare
Choose a tag to compare
  • Accept header of requests now automatically generates based on registered extensions, and uses the Content-Type of the 'context' to set the qvalues to prefer the context Content-Type in the list of media types in the header.

v0.0.17

02 Jul 19:09
Compare
Choose a tag to compare
  • Initial support for Collection+JSON media format.
  • Support for following 201 Created responses when submitting Forms.