Releases: VisualGuruz/intaglio
Globally Defined Model Events
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
v0.4.5 Bumping to 0.4.5
Bug fix: Ember decorator now handles setting and getting properly
v0.4.4 Bumping to 0.4.4
Bug fix: jQuery rest driver no longer throws an AssertionException on deletes that return a 204
v0.4.3 Bumping to 0.4.3
Bug fix: properties with plural names were not found with Schema.Model#getProperty
v0.4.2 Bumping to 0.4.2
Bug fix: Property names are no longer singularized
Fixes issue #13.
Refactor and Testing
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
Reworked a couple things to make things compatible with the browser. Browser builds are done via browserify and are published to bower.
Model Reflection
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
Initial release of the project.