Skip to content

Releases: graphiti-api/spraypaint.js

Auto-encode values when IE

04 Jun 15:10
3ddc7b5
Compare
Choose a tag to compare
Merge pull request #31 from richmolj/master

Encode param values when IE

Properly send cookies in legacy browsers

19 May 18:13
Compare
Choose a tag to compare

Add onDeferredDestroy

17 Apr 15:29
06c8a4a
Compare
Choose a tag to compare

Add patchAsPost configuration

08 Apr 17:19
0b28e96
Compare
Choose a tag to compare
Merge pull request #25 from richmolj/method

Allow POST with _method PATCH

Add syncRelationships

23 Mar 14:17
de34db3
Compare
Choose a tag to compare
Merge pull request #20 from richmolj/master

Add syncRelationships()

Add basic jsonapi links support

27 Feb 18:54
e5c96c3
Compare
Choose a tag to compare
Merge pull request #17 from mqchau/JsonApiLink

Support links as indicated in JSON:API specification

v0.6.0: Merge pull request #15 from Dishwasha/master

26 Feb 16:45
800a2ed
Compare
Choose a tag to compare
Don't send relationships and includes not persisted and marked for deletion

Strip empty string values when attribute type is Number

29 Jan 16:20
4eef84d
Compare
Choose a tag to compare

When declaring a model, you can provide optional types to attributes:

class Person extends ApplicationRecord {
  @Attr firstName
  @Attr({ type: Number }) age
}

When saving a model, if a number field is equal to an empty string (often the result of form bindings and the like), it will get converted to null before save, which will prevent the backend from throwing type errors.

Add compatibility for TC39 Stage 2 Decorators

23 Jan 16:27
Compare
Choose a tag to compare