- common: removes promise clearing in
$cancel
(7cb4ad5b) - tests: changes old notation (8c4c9d48, closes #33)
- 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:
$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.
Closes #111 (91ab4a33)
- utils: fixes iframe array type hijack for IE9-IE10 (ce553426)
- tests: adds separate karma configuration for sauce (32d8f815)
- utils: improves array type creation, prefers prototype replacement strategy before ifra (0b35aa04, closes #89)
- removes trailing slashes from generated urls (188a7f75)
- collection: unifies interface with record api. (7fa0b64c, closes #63)
- collection.$feed is called collection.$decode now.
Closes #63 (7fa0b64c)
- Gruntfile: couple of syntax errors (e5c3da47)
- default_packer: changes default links property to li linked (ad3fa2f9)
- relations: fixes default belongsToMany key property to use singularized attribute name (2d474dea)
- adds the default packer! (e790ef0b, closes #62)
- adds PackerCache service. (99d7639f)
- builder:
- docs: adds the integration guide! (153caf8e, closes #101)
- factory: adds default value fallback to $getProperty (da283132)
- model:
- packer_cache: changed to expect plural resource names (59305f5f)
- renames restmodProvider.pushModelBase method to restmodProvider.rebase
- moves the check for the $ prefix to after the nameDecoder is called. (c0c0f65)
- adds the belongsToMany relation. (8c368ff)
-
fixes wildcard mapping for decoding and adds missing test (db27cf1)
-
encoding failing for null values (4d515c8)
- Adds attribute mapping support
-
Adds packer support
-
Adds $wrap/$unwrap methods
-
Adds query parameter support to $find (193dedc)
-
Changes module name to 'restmod'
-
Changes service name to 'restmod' and provider name to 'restmodProvider'
-
Adds the
$reveal
method, this methods allows to display before a call to $save succeds. -
Adds the
$moveTo
method, this method is used to change the item position in parent collection even before it is revealed.
-
changes the way creation of object in collection work. (7803c90)
-
makes
$inferKey
only be called for raw data. (58a2378) -
changes $extend to only copy non-private properties. (5172aa9)
-
makes $build use $extend. (c00ea92)
-
replaces SyncMask by string mask. Use
attr: { ignore: 'CRU' }
in an attribute definition to specify if it should be considered when Creating, Updating or Reading (d6b39e2) -
makes properties that start with $ private. Private properties are not consideren when encoding/decoding an object (2549845)
-
makes $each method skip private properties (9d36bdd)
-
adds the setUrlPrefix builder method. (1cce503)
-
adds setPrimaryKey function. (59bc815)
- $build, it no longer allows a private key to be passed directly, for that use $new or $build({ id: X })
- adds the after-init hook. (f761fec)
- removes build hook shorcut methods (
afterCreate
,afterFeed
, etc ...). Useon('hook-name', function() {})
instead.
- Adds $restore method (652620e)
- adds ability to define class methods and hooks in the object definition using special prefixes. (7c26ed5)
- adds $indexOf method and makes $remove actually remove something. (0175ae8)
- adds belongsTo relation and improves url generation. (f3bb097)
- replaces the hasMany/hasOne modifiers parameter
alias
bypath
. - removes the restUrlBuilder and all related functions.
- Initial prototype.