Skip to content

Releases: VisualGuruz/intaglio

Globally Defined Model Events

19 Mar 16:27

Choose a tag to compare

Intaglio now supports setting event handlers that will be assigned to all models. This allows you to hook into events at a global level to provide ORM wide functionality. Say for instance you'd like to register all of your models with something after they've been instantiated. You could do something like this:

var registry = require('some-registry');

// Register the global event handler
ORM.registerGlobalEvent('init', function () {
    registry.register(this.getModelName()+'.'+this.get('id'), this);
});

Bug fix: Ember decorator now allows setting multiple properties with set function

03 Feb 16:41

Choose a tag to compare

Bug fix: Ember decorator now handles setting and getting properly

03 Feb 16:15

Choose a tag to compare

Bug fix: jQuery rest driver no longer throws an AssertionException on deletes that return a 204

03 Feb 04:10

Choose a tag to compare

Bug fix: properties with plural names were not found with Schema.Model#getProperty

03 Feb 00:32

Choose a tag to compare

Bug fix: Property names are no longer singularized

03 Feb 00:10

Choose a tag to compare

Refactor and Testing

23 Jan 19:17

Choose a tag to compare

This release contains a decent amount of refactoring to how the ORM and the repository talk. Mostly code clean up, but some responsibility changes as well. The ORM is now responsible for translating the objects sent and received from the repository.

Wrappers have been removed in favor of decorators.

Bower and Browserify Integration

10 Nov 02:21

Choose a tag to compare

Reworked a couple things to make things compatible with the browser. Browser builds are done via browserify and are published to bower.

Model Reflection

08 Nov 19:07

Choose a tag to compare

Implemented reflection so that models with plural names in their repository will be singularized. Fixes #2. This is a breaking change:

The Original Way

// A model for the users table
orm.factory('users');

// A model for the people table
orm.factory('people');

// A model for the rugged_mountain_men table
orm.factory('ruggedMountainMen');

The New Way

// A model for the users table
orm.factory('user');

// A model for the people table
orm.factory('person');

// A model for the rugged_mountain_men table
orm.factory('ruggedMountainMan');

First Release

07 Nov 20:23

Choose a tag to compare

Initial release of the project.