Skip to content

v1.1.10

Compare
Choose a tag to compare
@blackjid blackjid released this 26 Oct 14:02
· 7 commits to master since this release

Bug Fixes

  • CommonApi: makes canceled request promises resolve to error (afcde0b4, closes #288)
  • DefaultPacker: fixes plural name not being infered from name. (e4c02a13, closes #224)
  • Relations: fixes hasMany and hasOne failing when inline property is null. (05ab5479)
  • Serializer: fixes decoder being called on mapped properties even if the parent object was nu (e8041b8d)

Features

  • CommonApi: adds $off method to unregister callbacks (591db81b, closes #257)
  • ModelApi: makes identity do the pluralizing if plural is not defined (b94b349b)
  • RecordApi:
    • adds $isNew method (104f3c25)
    • makes $decode throw if encoded value is null or not an object. (28636f69)
  • Serializer:
    • adds dynamic mask support (51905cb5)
    • mask now is passed to decoder/encoder as the second argument (9db02baf)