Skip to content

Releases: FacultyCreative/ngActiveResource

v0.6.1

13 Feb 14:02
Compare
Choose a tag to compare

Hotfixes

v0.6.0

13 Feb 13:51
Compare
Choose a tag to compare

Now built for easier distribution

v0.5.6

05 Feb 18:52
Compare
Choose a tag to compare

Fix bug where presence validator returned invalid if the value of the field was an object.

v0.5.5

05 Feb 16:48
Compare
Choose a tag to compare

Validate associated instances:

author: { association: 'author' },
comments: { association: 'comments' }

v0.5.4

03 Feb 19:12
Compare
Choose a tag to compare

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

31 Jan 20:41
Compare
Choose a tag to compare

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

31 Jan 20:40
Compare
Choose a tag to compare
Release v0.5.2

v0.5.1

28 Jan 19:30
Compare
Choose a tag to compare

Improve instance#update to work with push-style APIs appropriately.

v0.5.0

24 Jan 22:22
Compare
Choose a tag to compare
Fix falsy primary key value (0) failing to instantiate hasMany relati…

…onship. Changed if (instance[primaryKey]) to if (instance[primaryKey] !== undefined)

v0.4.9

23 Jan 20:20
Compare
Choose a tag to compare
Release v0.4.9