Releases: FacultyCreative/ngActiveResource
Releases · FacultyCreative/ngActiveResource
v0.6.1
Hotfixes
v0.6.0
Now built for easier distribution
v0.5.6
Fix bug where presence validator returned invalid if the value of the field was an object.
v0.5.5
Validate associated instances:
author: { association: 'author' },
comments: { association: 'comments' }
v0.5.4
RequiredIf allows a field to be required if certain conditions are met:
username: { requiredIf: { requiredIf: emailIsBlank, message: "Username required if email is blank." } }
function emailIsBlank(value, field, instance) {
return !instance.email || instance.email.length === 0;
}
v0.5.3
Add watched collections:
When collections are queried and assigned to pointers:
var posts = Post.all()
This collection is stored as a watched collection. When instances are deleted, they are removed from all watched collections, and thus on all scopes.
v0.5.2
Release v0.5.2
v0.5.1
Improve instance#update to work with push-style APIs appropriately.
v0.5.0
Fix falsy primary key value (0) failing to instantiate hasMany relati… …onship. Changed if (instance[primaryKey]) to if (instance[primaryKey] !== undefined)
v0.4.9
Release v0.4.9