Releases: graphiti-api/spraypaint.js
Releases · graphiti-api/spraypaint.js
Auto-encode values when IE
Merge pull request #31 from richmolj/master Encode param values when IE
Properly send cookies in legacy browsers
Add onDeferredDestroy
Add patchAsPost configuration
Merge pull request #25 from richmolj/method Allow POST with _method PATCH
Add syncRelationships
Merge pull request #20 from richmolj/master Add syncRelationships()
Add basic jsonapi links support
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
Don't send relationships and includes not persisted and marked for deletion
Strip empty string values when attribute type is Number
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
v0.4.0 Add linting to CI