Releases: platanus/angular-restmod
Releases · platanus/angular-restmod
v1.1.0
Bug Fixes
- test: fixes the preload plugin spec (502358d4)
Features
- common:
- docs: adds section about $resolve (036f9f7d)
- model: adds the dummy method to generate dummy resources. (a072ad32)
- plugins:
- plugins.dirty: makes $restore use $action (c704f425)
- plugins.shared: Adds the SharedModel plugin (a09888af, closes #124)
- record:
- serializer:
Breaking Changes
- Actions will now be chained and may not execute inmediatelly if called after an async action.
Affected actions:
- Record.$fetch
- Record.$extend
- Record.$save
- Record.$destroy
- Collection.$fetch
- Collection.$add
- Collection.$remove
- Record/Collection.$resolve
- Record/Collection.$reset
(e5942d0e)
v1.0.3
v1.0.2
v1.0.1
v1.0.0
Bug Fixes
- common: removes promise clearing in
$cancel
(7cb4ad5b) - tests: changes old notation (8c4c9d48, closes #33)
Features
- creates the extended api module that is included in collections and records. (c05a7b3c, closes #78, #115)
- builder:
- common:
- model:
- plugins.debounced: changes use of classDefine variables by configuration variables (14f76cff)
- plugins.paged: changes use of classDefine variables by configuration variables (5ddc1904)
- utils:
Breaking Changes
$then
and$asPromise
callbacks arguments have changed,$promise
as public property is deprecated.
$then and $asPromise callbacks will now always receive the related resource as first parameter. Last promise result/rejection reason
will be located in the $last
property of the resource.
Replace references to $promise
by calls to $asPromise()
.
(aab2e309)
- CommonApi methods are no longer available at static (class) level
(52b2591f) - define and classDefine no longer accept types other than functions.
Replace calls to define({ /* various methods */ })
by various calls to define
, same for classDefine.
Replace usage of classDefine
for type level config variables by proper configuration variables set
using setProperty
.
(2966a46d)
- Renaming has been disabled by default, removed setNameEncoder/setNameDecoder/disableRenaming methods
You must provide a custom renamer if you need renaming now, the idea is use a style.
Replace setNameEncoder/setNameDecoder/disableRenaming methods usage setRenamer method.