2015-01-15, Version 2.14.1 ========================== * Fix detection of `util.inspect` version (Miroslav Bajtoš) * fix recursive calls if create belongsTo model in beforeCreate hook (Clark Wang) 2015-01-14, Version 2.14.0 ========================== * Remove console.log (Raymond Feng) * Fix for #369 (Dallon Feldner) * Fix virtual id get function. (Berkeley Martinez) * Fix Model.prototype.inspect (Miroslav Bajtoš) * Include property value in the error message (Miroslav Bajtoš) * Update datasource.js (Rand McKinney) * Change Model to BaseModel for clarity (Fabien Franzen) * Don't coerce nested objects into Model instances (Fabien Franzen) 2015-01-07, Version 2.13.0 ========================== * added test for sorting undefined values (Christian Vette) * Fix the floating number comparison (Raymond Feng) * Fix bad CLA URL in CONTRIBUTING.md (Ryan Graham) * replace deprecated function __defineGetter__ (bitmage) * add a flag to callback of findOrCreate to indicate find or create (Clark Wang) * fix sorting of undefined values with multiple columns (Christian Vette) * code style (cvette) * fix sorting with undefined in memory connector (cvette) * Added support for inline parameters like: new GeoPoint(-34, 150) (Simo Moujami) * fix default include in default scope fails findById (Clark Wang) * Added test for toString() (Simo Moujami) * Additional formatting (Simo Moujami) * Fixed constructor parameters and added bdd tests for constructor validation (Simo Moujami) * Fixed indentation (Simo Moujami) * Added mocha tests for GeoPoint (Simo Moujami) * renamed intermediary variable (Simo Moujami) * Fixed the haversine formula to calculate distance between 2 points properly (Simo Moujami) 2014-12-08, Version 2.12.0 ========================== * Relax the id comparison (Raymond Feng) * Allow more flavors of nullable values from DB discovery (Raymond Feng) * Fix a typo (Raymond Feng) * docs.json: add lib/model.js (Miroslav Bajtoš) * Update README.md (Rand McKinney) * fix embedsOne error when embed instance is undefined or null (Clark Wang) * Be explicit: set RelationDefinition multiple flag (Fabien Franzen) * Allow hasOne relation to have a scope option (Clark Wang) * fix skipping async validator will always fail if condition is un-fulfilled (Clark Wang) 2014-11-13, Version 2.11.0 ========================== * Bump version (Raymond Feng) * handle relationship create with [array] (bitmage) * #350: Creating a batch via hasMany relation is failing. Added handling of array argument. (Alex Voitau) * #350: Creating a batch via hasMany relation is failing. Added context 'with scope' to allow individual execution of tests. (Alex Voitau) 2014-11-04, Version 2.10.3 ========================== * Bump version (Raymond Feng) * Add support for multiple includes that use relation syntax (Raymond Feng) * Tests for non standard id - hasOne and polymorphic (Pandaiolo) * Fix HasOne PK on modelFrom instead of modelTo (Pandaiolo) * Remove "Suite" (Rand McKinney) * Tiny fix: default __persisted to false (Fabien Franzen) * Don't apply defaults when fields are specified (Fabien Franzen) 2014-10-21, Version 2.10.2 ========================== * Bump version (Raymond Feng) * Fix the automigrate issue (Raymond Feng) 2014-10-15, Version 2.10.1 ========================== * Bump version (Raymond Feng) * Enable include scope for belongsTo (Fabien Franzen) * Call relation methods in the right context (Fabien Franzen) 2014-10-13, Version 2.10.0 ========================== * Bump version (Raymond Feng) * Don't inherit settings.base when extending a model (Miroslav Bajtoš) * Allow include syntax without scope param (Fabien Franzen) * Allow 'rel' and 'relation' (Fabien Franzen) * Refactored inclusion (Fabien Franzen) * Implement include scopes (Fabien Franzen) * Fix failing test (Fabien Franzen) * Allow `attributes` as an alias for `properties` (for LDL) (Fabien Franzen) * Cleanup, consistency: allow properties to be a function (Fabien Franzen) * applyProperties => properties (object/false) (Fabien Franzen) * Test default scope with relations (Fabien Franzen) * Allow default scope to be a function (Fabien Franzen) * Full test CRUD suite for default scope (Fabien Franzen) * Properly reset Memory connector cache on automigrate (Fabien Franzen) * Implemented collection setting for Memory connector (Fabien Franzen) * Extract mergeQuery and setScopeValuesFromWhere (Fabien Franzen) * Add contribution guidelines (Ryan Graham) * Fix camel-case issue where relation is 'hasAndBelongsToMany' #304 (Khashayar Hajian) * Test improvement, shows _targetClass camelCase bug (Khashayar Hajian) * Tidy up model building from data sources (Raymond Feng) 2014-09-12, Version 2.9.0 ========================= * Bump version (Raymond Feng) * Fix to handle new isNewRecord implementation (Fabien Franzen) * Add test case for Numeric ids (with optional forceId) (Fabien Franzen) * Allow embedsOne to use auto-generated id (from connector) (Fabien Franzen) * Implemented persistent: true option for embedsOne (Fabien Franzen) * Introduce embedsMany persistent: true option (Fabien Franzen) * More tests for embedsMany with persistent model (Fabien Franzen) * Only check id as part of embedsMany relation (Fabien Franzen) * Fix multi-property validation definitions (Fabien Franzen) * Tiny fixes (Fabien Franzen) * DAO save() now uses isNewRecord() (Fabien Franzen) * More fixes/tests (Fabien Franzen) * Enforce id (prevent user-set value), fix isNewRecord (Fabien Franzen) * Test .value() method - as used by scope getter (Fabien Franzen) * embedsMany - implement sync scope getter (Fabien Franzen) * hasAndBelongsToMany - test sync scope getter (Fabien Franzen) * polymorphic hasMany - test sync scope getter (Fabien Franzen) * hasOne - test sync scope getter (Fabien Franzen) * hasMany through - sync scope getter (Fabien Franzen) * Scope method should return cached relation value (sync) (Fabien Franzen) * Export RelationClasses (Fabien Franzen) 2014-09-04, Version 2.8.0 ========================= * Bump version (Raymond Feng) * Simplify the id lookup (Raymond Feng) * Remove legacy Schema references (Fabien Franzen) * getTransientSchema => getTransientDataSource (Fabien Franzen) * Re-use modelBuilder - correctly fixes lookup (Fabien Franzen) * Polymorphic lookup from all registered dataSources (Fabien Franzen) * Fix #283 (Fabien Franzen) * Isolate transient schema helper (Fabien Franzen) * tidy codes (Clark Wang) * Refector tests and codes (Clark Wang) * Refactor tests and codes (Clark Wang) * Refactor codes into same if condition (Clark Wang) * Remove only (Clark Wang) * Add tests for hasMany through between same model (Clark Wang) * Fix hasMany through can't custom relation name (Clark Wang) * Added a test case for neq (Raymond Feng) * Fix typo of keyThrough and get from params (Clark Wang) * Remove unnecessary console.log (Clark Wang) * Fix options for hasManyThrough doesn't apply (Clark Wang) * revert eof (Clark Wang) * Revert leading spaces (Clark Wang) * revert change to ReferencesMany.prototype.add (Clark Wang) * add jsdoc and fix add data to referencesMany.add (Clark Wang) * Allow to add connection with through data for HasManyThrough relation (Clark Wang) * fix polymorphicName var scope (Clark Wang) * Reset json when building model definition (Fabien Franzen) * Add hint, minor cleanup (Fabien Franzen) * Enable dynamic modelTo for scopes (Fabien Franzen) * Updated embedded relations to use transient connector (Fabien Franzen) * Implemented Transient connector (Fabien Franzen) * Fix error messages, should be lowercase (Fabien Franzen) * Add neq operator support for memory connector (Raymond Feng) * Remove iteration of config args (Fabien Franzen) * Validations configuration as object (Fabien Franzen) * Applied Coobaha's PR fix - prevents undefined values (Fabien Franzen) * Expose validation metadata (Fabien Franzen) 2014-08-27, Version 2.7.0 ========================= * Bump version (Raymond Feng) * Make sure timeout handle is cleared (Raymond Feng) * Make sure error events are emitted by data source (Raymond Feng) * Implement where arg on scoped count and destroyAll (Fabien Franzen) 2014-08-25, Version 2.6.1 ========================= * Bump version (Raymond Feng) * Tweak the model names used by tests to avoid mssql conflicts (Raymond Feng) * Use the correct dataSource for modelFrom/modelTo (Fabien Franzen) 2014-08-22, Version 2.6.0 ========================= * Bump version (Raymond Feng) * Emit deleted event on delete for embedsMany relations (Jaka Hudoklin) * Add ping() to test connections (Raymond Feng) 2014-08-21, Version 2.5.2 ========================= * Bump version (Raymond Feng) * Make sure falsy value is kept for properties not predefined (Raymond Feng) 2014-08-21, Version 2.5.1 ========================= * Bump version (Raymond Feng) * Fix side-effects of PR #237 - see #242 (Fabien Franzen) 2014-08-20, Version 2.5.0 ========================= * Bump version (Raymond Feng) * Save the instance even the callback is not present (Raymond Feng) * Fix the embedsOne test cases (Raymond Feng) * Fix test cases (Raymond Feng) * Validate embedded models by default (Fabien Franzen) * Implemented embedsOne (Fabien Franzen) * Coerce embedded model types (Fabien Franzen) * Implement DAO unsetAttribute (Fabien Franzen) * Implemented belongsTo update/destroy on scope (Fabien Franzen) * Implemented hasOne destroy() (Fabien Franzen) * Implemented hasOne update() (Fabien Franzen) * Implement update() on embedsOne scope (Fabien Franzen) * Fix relations for RDBMS connectors (mysql, postgresql) (Fabien Franzen) 2014-08-18, Version 2.4.2 ========================= * Bump version (Raymond Feng) * Prevent failure with null in List toObject (Fabien Franzen) * Fix ModelDefinition toJSON bug (Fabien Franzen) * Add ability to apply a plugin multiple times from LDL (Fabien Franzen) * HasMany exists should use internal findById (Fabien Franzen) * Tiny fix: obsolete i8n require (Fabien Franzen) * Properly handle LDL for polymorphic relations (Fabien Franzen) 2014-08-15, Version 2.4.1 ========================= * Bump version (Raymond Feng) * Check null (Raymond Feng) 2014-08-15, Version 2.4.0 ========================= * Bump version (Raymond Feng) * Fix the test cases to avoid hard-coded ids (Raymond Feng) * Add strict flag to sortObjectsByIds (Fabien Franzen) * Fix conflicts (Fabien Franzen) * Moved DataAccessObject.sortByIds to utils.js (Fabien Franzen) * Remove redundant test (Fabien Franzen) * Allow partial list of ids for sortByIds (Fabien Franzen) * Fixed duplicate code (Fabien Franzen) * Implement embedded.destroy() integration (Fabien Franzen) * Refactor embedsMany - auto-save parent (Fabien Franzen) * Refactor polymorphic relations, fix inverse #215 (Fabien Franzen) * Clarified tests, fixed BelongsTo.prototype.create (Fabien Franzen) * Handle toObject in updateAttributes (Fabien Franzen) * Fix formatting (Fabien Franzen) * Fix scopeMethods closure issue (Fabien Franzen) * Refactored embedsMany (relationName vs. propertyName) (Fabien Franzen) * Enable DL definition of embedsMany + referencesMany (Fabien Franzen) * Refactor modelTo logic into lookupModelTo (Fabien Franzen) * Allow runtime override of scope/relation order query param (Fabien Franzen) * Implement scope.defineMethod/relation.defineMethod (Fabien Franzen) * add count to relations (Jaka Hudoklin) * Fix links to confluence docs (Rand McKinney) * Tiny fix: use setAttributes (Fabien Franzen) * Cleanup mixin tests (Fabien Franzen) * Fix a name conflict in scope metadata (Raymond Feng) 2014-08-08, Version 2.3.0 ========================= 2014-08-08, Version 2.3.1 ========================= * Fix a name conflict in scope metadata (Raymond Feng) * Fix the test case so that it works with other DBs (Raymond Feng) * Bump version (Raymond Feng) * Pass options into scope (Raymond Feng) * Add scope definitions to the model class (Raymond Feng) * Clean up the mixin processing (Raymond Feng) * Fix bug when using multiple include keys (Laurent) * Unified plugins into mixins (Fabien Franzen) * Fix typo: loadPlugin(s) (Fabien Franzen) * Minor touch-ups (Fabien Franzen) * Basic plugin architecture (Fabien Franzen) 2014-08-07, Version 2.2.2 ========================= * Bump version (Raymond Feng) * Upgrade qs (Raymond Feng) * Upgrade qs version (Raymond Feng) 2014-08-04, Version 2.2.1 ========================= * Bump version (Raymond Feng) * Changed options.path to option.http.path (Fabien Franzen) * Removed normalization (see strong-remoting) (Fabien Franzen) * Emit dataAccessConfigured events during attach (Raymond Feng) * Changed normalization api - enabled hasOne remoting (Fabien Franzen) * Customize/Normalize class-level remoting http path (Fabien Franzen) * Add test to protect the use of include in related method (Laurent Chenay) * Do not overwrite inclusion but scope them. Needed in relation hasManyThrought (Laurent Chenay) 2014-07-30, Version 2.2.0 ========================= * fix datasources to support new model parameters (Jaka Hudoklin) * Bump version (Raymond Feng) * Correctly handle remoting of scope methods (Fabien Franzen) * Handle remoting of custom scope methods (Fabien Franzen) * ReferencesMany fixes after LB integration tests (Fabien Franzen) * Fixed embedsMany after LB integration (Fabien Franzen) * Fix the test failure for mongodb (Raymond Feng) * Allow custom scopeMethods option (obj/fn) for relation scopes (Fabien Franzen) * Renamed EmbedsMany 'reference' option to 'belongsTo' (Fabien Franzen) * Implemented referencesMany (Fabien Franzen) * Added option: reference to enable embedsMany add/remove (Fabien Franzen) * Implemented findByIds (Fabien Franzen) * Minor touchups (Fabien Franzen) * Tests for polymorphic embedsMany (Fabien Franzen) * Implemented more complex scenaro: embedsMany + relations (Fabien Franzen) * Convenience embedsMany accessors: at(idx), get(id), set(id, data) (Fabien Franzen) * Fix test cases (Raymond Feng) * Increase the max number of model listeners (Raymond Feng) * Remove unused data (Raymond Feng) * Export GeoPoint class (Raymond Feng) * Fix HEAD on relation hasMany (Laurent Chenay) * Updated remaining relations to use polymorphicParams (Fabien Franzen) * polymorphics can now be declared using object (Fabien Franzen) * typeTo => discriminator (Fabien Franzen) * Require unique ids for embedded items (Fabien Franzen) * Test build of embedsMany (Fabien Franzen) * Minor fix (Fabien Franzen) * Added validation for embedded items (optional) (Fabien Franzen) * Implemented embedsMany relation (Fabien Franzen) * Fix a regression where undefined id should not match any record (Raymond Feng) * Minor tweaks; pass-through properties/scope for hasAndBelongsToMany (Fabien Franzen) * Implemented polymorphic hasMany through inverse (Fabien Franzen) * More hasAndBelongsToMany tests (Fabien Franzen) * Minor cleanup (Fabien Franzen) * Implemented polymorphic hasOne (Fabien Franzen) * Implemented polymorphic hasAndBelongsToMany (Fabien Franzen) * Implemented polymorphic hasMany (Fabien Franzen) 2014-07-27, Version 2.1.0 ========================= 2014-07-27, Version 2.1.1 ========================= * Bump version (Raymond Feng) * Fix a regression where undefined id should not match any record (Raymond Feng) * datasource: support connectors without `getTypes` (Miroslav Bajtoš) * relation: add `scope._target` for `hasOne` (Miroslav Bajtoš) * Fix scoped destroyAll: only use 'where', not full 'filter' args (Fabien Franzen) * Added test for belongsTo scope/properties (Fabien Franzen) * Implement scope/properties for BelongsTo (+ fix foreign key matching) (Fabien Franzen) * add support for disabling relationship includes (Jaka Hudoklin) * add support for relationship options (Jaka Hudoklin) * Expose base model class as `base` property (Raymond Feng) * Move relation remoting to loopback (Raymond Feng) * Add missing inflection dep back (Raymond Feng) * 2.0.0-beta2 (Miroslav Bajtoš) * validations: support non-V8 browsers (Miroslav Bajtoš) * Remove remoting metadata (Raymond Feng) * Fix the forEach closure (Raymond Feng) * ModelBuilder: add `prototype.defineValueType` (Miroslav Bajtoš) * Replace connector base with loopback-connector (Miroslav Bajtoš) * Remove unsupported connectors (Miroslav Bajtoš) * 2.0.0-beta1 (Ritchie Martori) * Keep undefined/null values for the array type (Raymond Feng) * Remove JSDocs for scopeMethods.add(acInst) and scopeMethods.remove(acInst) (crandmck) * Copy info from api-model.md to JSDoc (crandmck) * !fixup Remove additional remoting (Ritchie Martori) * !fixup Require ._delegate for fn override (Ritchie Martori) * Remove relation remoting (Ritchie Martori) * Remove remoting metadata (Ritchie Martori) 2014-07-24, Version 1.7.2 ========================= * relation: add `scope._target` for `hasOne` (Miroslav Bajtoš) * Bump version (Raymond Feng) * Expose base model class as `base` property (Raymond Feng) 2014-07-22, Version 2.0.0 ========================= * add support for disabling relationship includes (Jaka Hudoklin) * add support for relationship options (Jaka Hudoklin) * Move relation remoting to loopback (Raymond Feng) 2014-07-21, Version 2.0.0-beta5 =============================== * Bump version (Raymond Feng) * Expose base model class as `base` property (Raymond Feng) 2014-07-16, Version 2.0.0-beta4 =============================== * Add missing inflection dep back (Raymond Feng) 2014-07-15, Version 2.0.0-beta3 =============================== * Bump version (Raymond Feng) * 2.0.0-beta2 (Miroslav Bajtoš) * validations: support non-V8 browsers (Miroslav Bajtoš) * Remove remoting metadata (Raymond Feng) * Fix the forEach closure (Raymond Feng) * ModelBuilder: add `prototype.defineValueType` (Miroslav Bajtoš) * Replace connector base with loopback-connector (Miroslav Bajtoš) * Remove unsupported connectors (Miroslav Bajtoš) * 2.0.0-beta1 (Ritchie Martori) * Keep undefined/null values for the array type (Raymond Feng) * Remove JSDocs for scopeMethods.add(acInst) and scopeMethods.remove(acInst) (crandmck) * Copy info from api-model.md to JSDoc (crandmck) * !fixup Remove additional remoting (Ritchie Martori) * !fixup Require ._delegate for fn override (Ritchie Martori) * Remove relation remoting (Ritchie Martori) * Remove remoting metadata (Ritchie Martori) 2014-07-15, Version 1.7.0 ========================= * Make sure related properties are defined for RDBMS (Raymond Feng) * Test instance or id by the model type (Raymond Feng) * Bump version (Raymond Feng) * Allow before hooks to pass arguments to next() (Raymond Feng) * Remoting methods for hasMany through (Raymond Feng) * Fix the error message (Raymond Feng) * Sign-off (Fabien Franzen) * Renamed mapping to properties (Fabien Franzen) * Fix validateUniqueness/nextTick (Fabien Franzen) * Handle custom error codes (Fabien Franzen) * More validations and tests (Fabien Franzen) * Don't check uniqueness of blank values (Fabien Franzen) * RelationDefinition applyScope/applyMapping (Fabien Franzen) * Allows default model class to be configured (Raymond Feng) * DAO.prototype.exists should return 'boolean' type. (Samuel Reed) 2014-07-03, Version 1.6.3 ========================= * Make sure 'deleteById' is used as the remote operation name (Miroslav Bajtoš) * Make sure 'upsert' is used as the remote operation name (Raymond Feng) 2014-06-27, Version 1.6.2 ========================= * Bump version and update deps (Raymond Feng) * Normalize filter.order and enforce more checks (Raymond Feng) * Make sure type of the foreign key match the primary key (Raymond Feng) * Add "hasOne" to relationTypes (Ritchie Martori) * Update link to doc (Rand McKinney) 2014-06-24, Version 2.0.0-beta2 =============================== * 2.0.0-beta2 (Miroslav Bajtoš) * validations: support non-V8 browsers (Miroslav Bajtoš) * Work around for Date default (Raymond Feng) * Synchronize with cachedRelations (Raymond Feng) * Remove remoting metadata (Raymond Feng) * Fix the forEach closure (Raymond Feng) * ModelBuilder: add `prototype.defineValueType` (Miroslav Bajtoš) * Replace connector base with loopback-connector (Miroslav Bajtoš) * Remove unsupported connectors (Miroslav Bajtoš) * 2.0.0-beta1 (Ritchie Martori) * Keep undefined/null values for the array type (Raymond Feng) * Remove JSDocs for scopeMethods.add(acInst) and scopeMethods.remove(acInst) (crandmck) * Copy info from api-model.md to JSDoc (crandmck) * !fixup Remove additional remoting (Ritchie Martori) * !fixup Require ._delegate for fn override (Ritchie Martori) * Remove relation remoting (Ritchie Martori) * Remove remoting metadata (Ritchie Martori) 2014-06-20, Version 1.6.1 ========================= * Bump version (Raymond Feng) * Fix the test case (Raymond Feng) * Use async for flow control (Raymond Feng) * Clean up comments (Raymond Feng) * Fix the error msg (Raymond Feng) * More clean up for the scope processing (Raymond Feng) * Add more jsdocs (Raymond Feng) * Optimize model instantiation and conversion (Raymond Feng) * Add hooks remove dao (Rand McKinney) * Add hooks and include mixins (crandmck) * Enhance the wildcard to regexp conversion (Raymond Feng) * Add like/nlike support for memory connector (Raymond Feng) * Add support for updating multiple instances with query (Raymond Feng) * Minor JSDoc cleanup (crandmck) * Initial JSDoc cleanup (crandmck) * Add ModelBuilder class (crandmck) * Allows skip or offset (Raymond Feng) * Adding back the remoting metadata (Raymond Feng) * Clean up scope implementation (Raymond Feng) * Add support for hasOne (Raymond Feng) * Fix the hasMany through connection (Raymond Feng) * Refactor relation into classes (Raymond Feng) * Add properties and other doc cleanup (crandmck) * Convert null to NotFoundError for remoting call to DataAccessObject.findOne. (Alberto Leal) * Fix the comparison for null/boolean values (Raymond Feng) * More JSDoc cleanup (crandmck) * Add boolean tests (Raymond Feng) * Fix the typo (Raymond Feng) * Make sure the records are sorted by seq (Raymond Feng) * Add more tests (Raymond Feng) * Enhance comparators for memory connector (Raymond Feng) * Update datasource.js (Rand McKinney) * Update docs.json (Rand McKinney) 2014-06-04, Version 1.5.5 ========================= * Bump version (Raymond Feng) * Fix the logical operator check (Raymond Feng) * Fix JS doc for private methods (Raymond Feng) * Normalize/validate the query filter object (Raymond Feng) * Use connector's buildWhere to implement count (Raymond Feng) * JSDoc improvements (Rand McKinney) * Keep undefined/null values for the array type (Raymond Feng) * Remove JSDocs for scopeMethods.add(acInst) and scopeMethods.remove(acInst) (crandmck) * Copy info from api-model.md to JSDoc (crandmck) * validations: include more details in `err.message` (Miroslav Bajtoš) * Add a path to show customer.orders(query, cb) (Raymond Feng) * Add support for logical operator (AND/OR) (Raymond Feng) 2014-05-27, Version 1.5.3 ========================= * Bump version (Raymond Feng) * Keep undefined/null values for the array type (Raymond Feng) * Remove JSDocs for scopeMethods.add(acInst) and scopeMethods.remove(acInst) (crandmck) * Copy info from api-model.md to JSDoc (crandmck) * validations: include more details in `err.message` (Miroslav Bajtoš) * !fixup Remove additional remoting (Ritchie Martori) * !fixup Require ._delegate for fn override (Ritchie Martori) * Remove relation remoting (Ritchie Martori) * Remove remoting metadata (Ritchie Martori) 2014-05-27, Version 1.5.4 ========================= * Bump version (Raymond Feng) * Keep undefined/null values for the array type (Raymond Feng) * Remove JSDocs for scopeMethods.add(acInst) and scopeMethods.remove(acInst) (crandmck) * Copy info from api-model.md to JSDoc (crandmck) * validations: include more details in `err.message` (Miroslav Bajtoš) * Add a path to show customer.orders(query, cb) (Raymond Feng) * Add support for logical operator (AND/OR) (Raymond Feng) 2014-05-20, Version 1.5.2 ========================= * validations: include more details in `err.message` (Miroslav Bajtoš) 2014-05-16, Version 1.5.1 ========================= * Bump version (Raymond Feng) * Add a path to show customer.orders(query, cb) (Raymond Feng) * Fix typo "Unkown" => "Unknown" (Adam Schwartz) * Updated JSDoc comments with content from .md file (crandmck) * Add support for logical operator (AND/OR) (Raymond Feng) 2014-05-15, Version 1.5.0 ========================= * validations: support multi-key unique constraint (Miroslav Bajtoš) * Update JSDoc comments with content from api-model.md (crandmck) * Add JSDoc for lat and lng properties. (Rand McKinney) * Add missing changed event (Ritchie Martori) * Local Storage (Ritchie Martori) * Do not .toObject if already Object (Ritchie Martori) * Fix bug where invalid relations in include filters would hang the server (Zack Bloom) * Update deps (Raymond Feng) 2014-05-13, Version 1.3.13 ========================== * Bump version (Raymond Feng) * Add test cases for updateOrCreate/save and fix related issues (Raymond Feng) * Remove undefined for the data to be saved (Raymond Feng) * Remove the undefined property to avoid mongodb upsert overwrite (Raymond Feng) * Make sure ObjectID type is not parsed as object (Raymond Feng) * Fix JSDoc - remove newlines from function alias declarations, etc. (crandmck) * Correct JSDoc for discoverModelDefinitions (Rand McKinney) * Fix remoting for IDs in URLs (Ritchie Martori) * Add hidden property support (Ritchie Martori) * scope-like remotable metadata for belongsTo (Miroslav Bajtoš) 2014-04-04, Version 1.3.10 ========================== * Bump version (Raymond Feng) * Fix the method for belongsTo with correct receiver (Raymond Feng) 2014-04-04, Version 1.3.9 ========================= * scope: improve description of shared methods (Miroslav Bajtoš) * Re-enable skipped test. (Miroslav Bajtoš) * scope: add _targetClass to scope property (Miroslav Bajtoš) 2014-03-27, Version 1.3.8 ========================= * Bump version (Raymond Feng) * Remove the disconnect to avoid race condition (Raymond Feng) * Fix the base sql connector to correct escape id values (Raymond Feng) * Set the relation property correctly (Raymond Feng) 2014-03-19, Version 1.3.7 ========================= * Bump version (Raymond Feng) * Simplify the inclusion processing (Raymond Feng) * Create scoped methods for belongsTo and improve docs (Raymond Feng) * Fix the connector resolver to make sure known connectors are used (Raymond Feng) * Refactor the serialize/deserialize into two functions (Raymond Feng) * Fix some small errors (crandmck) * Updates for JSDoc changes for API doc. (Rand McKinney) * Updates to JSDoc comments for API doc (crandmck) 2014-03-04, Version 1.3.6 ========================= * Bump version (Raymond Feng) * Use debug module for logging (Raymond Feng) * Fix the parameter name (Raymond Feng) * Allows scopes to be defined in LDL (Raymond Feng) * Check the Array type (Raymond Feng) * Make the belongsTo relation remotable (Raymond Feng) * Fix the example for scope (Raymond Feng) 2014-02-27, Version 1.3.5 ========================= * Bump version (Raymond Feng) * Fix, model builder setter will not try to cast value if already the proper type (Aurelien Chivot) 2014-02-25, Version 1.3.4 ========================= * Bump version (Raymond Feng) * Allows unknown properties to be saved for non-strict models (Raymond Feng) 2014-02-21, Version 1.3.3 ========================= * Bump version and update deps (Raymond Feng) * Refactor mixin and always redefine proxy/delegate methods (Ritchie Martori) * Override existing methods when mixing in DAO methods (Ritchie Martori) * Update license to dual MIT/StrongLoop (Raymond Feng) * Leave the item type introspection for List (Raymond Feng) * Rewrite the List class for typed array (Raymond Feng) * Fix the include with array value (Raymond Feng) 2014-02-13, Version 1.3.2 ========================= * Bump version (Raymond Feng) * Simplify the test case (Raymond Feng) * Add unit test for datatype handling in updateAttributes. (arlaneenalra) * Move new var into thunk. (arlaneenalra) * Use type converted data when writing back to database. (arlaneenalra) 2014-02-11, Version 1.3.1 ========================= * Bump version (Raymond Feng) * Revert the inflection version due to regression in camelize (Raymond Feng) 2014-02-11, Version 1.3.0 ========================= * Bump version and update deps (Raymond Feng) * Add a test case (Raymond Feng) * Clean up the options for model constructor (Raymond Feng) * Enhance the assertions (Raymond Feng) * Make sure own properties are copied by toObject for non-strict mode (Raymond Feng) * Use String[] for types and add test for supported types (Raymond Feng) * Add getType/getDefaultIdType from connectors (Raymond Feng) * Fix the write closure to use the correct task info (Raymond Feng) * Add a file option for the memeory connector to persist data (Raymond Feng) * Add tests for change / delete events (Ritchie Martori) * Add more comments (Raymond Feng) * Clean up lookupModel (Raymond Feng) * Handle hasMany.though (Raymond Feng) * Add change / delete events (Ritchie Martori) * Make sure __cachedRelations is not enumerable (Raymond Feng) * Add tests (Raymond Feng) * Promote the included relations as properties (Raymond Feng) 2014-01-27, Version 1.2.13 ========================== * Reformat the code (Raymond Feng) * Improve links to docs (Rand McKinney) * Use the primary key type for the generated foreign key (Raymond Feng) * Fill ModelClass.http.path (Miroslav Bajtoš) * Fix jsdoc code examples formatting (Giustino Borzacchiello) 2014-01-13, Version 1.2.12 ========================== * Bump version (Raymond Feng) * Make the code testable following the review comments (Raymond Feng) * Allows the full module name for connectors (Raymond Feng) 2013-12-20, Version 1.2.11 ========================== * Bump version (Raymond Feng) * Add more comments (Raymond Feng) * Fix the remote delegation (Raymond Feng) * Fix the remoting method with the current receiver (this) (Raymond Feng) * Add a EOL (Raymond Feng) * Add models to LDL options (Raymond Feng) * Fix a bug in merging ACLs (Raymond Feng) 2013-12-16, Version 1.2.10 ========================== * Bump version (Raymond Feng) * Make the identation consistent for now (Raymond Feng) * Split the tests (Raymond Feng) * Fix a regression in mongodb connector (Raymond Feng) * Add more comments (Raymond Feng) * Check for null & undefined values (Raymond Feng) * Fix the coercion issue related to GeoPoint near (Raymond Feng) 2013-12-14, Version 1.2.9 ========================= * Bump version (Raymond Feng) * Dedupe the alias methods during mixin (Raymond Feng) 2013-12-13, Version 1.2.8 ========================= * Always call inherits to ensure prototypes are setup (Ritchie Martori) 2013-12-10, Version 1.2.7 ========================= * Bump version (Raymond Feng) * Add more tests to address the PR comments (Raymond Feng) * Add a test case (Raymond Feng) * Coerce types for values of where clause (Raymond Feng) 2013-12-06, Version 1.2.6 ========================= * Enhance the test case with more assertions (Raymond Feng) * Fix belongsTo relation (Raymond Feng) * Attach models to the data source (Raymond Feng) * Make all methods proxied for DAO (Raymond Feng) * Clone shared methods so that they can be customized per model (Raymond Feng) 2013-12-04, Version 1.2.5 ========================= * Bump version (Ritchie Martori) * Improve properties of ValidationError (Miroslav Bajtos) * Removed most text that's in docs.strongloop.com (Rand McKinney) * REST call of DataAccessObject.findById returns 404 (Miroslav Bajtos) * Add .jshintignore (Miroslav Bajtos) 2013-11-20, Version 1.2.4 ========================= * Bump version (Raymond Feng) * Add properties/methods to DataSource from ModelBuilder (Raymond Feng) * Update docs.json (Rand McKinney) 2013-11-19, Version 1.2.3 ========================= * Bump the version (Raymond Feng) * Fix the model attachment to data source (Raymond Feng) * Replace all with find to make it consistent (Raymond Feng) 2013-11-18, Version 1.2.2 ========================= * Rename association to relation (Raymond Feng) * Bump version and remove blanket (Raymond Feng) * Fix the reference to modelBuilder/dataSource (Raymond Feng) * Separate the modelBuilder ref from dataSource (Raymond Feng) * Wrap README.md at 78 characters where possible (Ryan Graham) * Bump version (Raymond Feng) * Fix the relation lazy setup (Raymond Feng) * Stop overwriting the static methods (Raymond Feng) * Ensure the model is attached to DataSource for relations (Raymond Feng) * Remove inheritence from DataSource to ModelBuilder (Raymond Feng) * Update to 1.2.0 (Raymond Feng) * Add travis (Ritchie Martori) * Add more assertions (Raymond Feng) * Allow settings.base to specify the base model (Raymond Feng) * Extract the relation types (Raymond Feng) * Add a test case for relations during attach (Raymond Feng) * Refactor the relation handling and enable it with attach (Raymond Feng) * Redefine the existing class if it's resolved (Raymond Feng) * Add support for hasMany-through and more tests (Raymond Feng) * Enable deferred type/relation resolutions (Raymond Feng) * Add model.getDataSource() method (Ritchie Martori) * Fix removeUndefined to bypass non-plain objects (Raymond Feng) * Fix the regression when 1st arg is the connector module (Raymond Feng) * Improve the docs for model relations using diagrams (Raymond Feng) * Add a relation example following Ruby on Rails active records (Raymond Feng) * Honor the model plural name (Raymond Feng) * Support datasource/connector configuration using URL string (Raymond Feng) * Create remote functions for predefined scopes/relations (Raymond Feng) * Check undefined/null data (Raymond Feng) * Add 'plural' setting (Raymond Feng) * Add index to name prop (Raymond Feng) * Move resolveType to ModelBuilder (Raymond Feng) * Fix prototype mixin bug (Ritchie Martori) * Make sure model definition is built when attaching to a DS (Raymond Feng) * Remove undefined values from the query object (Raymond Feng) * Log more information for the connection failure (Raymond Feng) * Handle connection errors (Raymond Feng) * Fix EventEmitter mixin (Ritchie Martori) * Make sure foreign key properties are fully registered (Raymond Feng) * Use for-in loop to support properties from the super class (Raymond Feng) * Allow the id(s) to be redefined by subclass (Raymond Feng) * Allow to reference a model as type by name (Raymond Feng) * Code clean up (Raymond Feng) * Add more tests and fix toJSON (Raymond Feng) * Fix the foreign key definition (Raymond Feng) * Add settings property back to the model class (Raymond Feng) * Set name and settings (Raymond Feng) * Reset _ids for rebuild (Raymond Feng) * Fix the columnName (Raymond Feng) * Use super_ to call the base class (Raymond Feng) * Fix copy of model definitions (Raymond Feng) * Export Connector class (Raymond Feng) * Use ModelDefinition to access model name/properties/settings (Raymond Feng) * Refactor/cleanup the data source juggler implementation (Raymond Feng) * Add a ModelDefinition class (Raymond Feng) * Make sure schemaless property value is honored over __data (Raymond Feng) * Update LDL doc for the strict mode (Raymond Feng) 2013-09-12, Version strongloopsuite-1.0.0-5 =========================================== 2013-09-12, Version strongloopsuite-1.0.0-4 =========================================== * Allow connector to report failure during initialization (Raymond Feng) * Add error stack trace for ValidationError (Raymond Feng) 2013-09-11, Version strongloopsuite-1.0.0-3 =========================================== * Set up assets to support embedded diagrams (Raymond Feng) * Add keywords to package.json (Raymond Feng) 2013-09-10, Version strongloopsuite-1.0.0-2 =========================================== * Finalize package.json for sls-1.0.0 (Raymond Feng) 2013-09-09, Version strongloopsuite-1.0.0-1 =========================================== * Check the filter param to make sure we have a default value (Raymond Feng) 2013-09-04, Version 1.2.0 ========================= 2013-09-04, Version strongloopsuite-1.0.0-0 =========================================== * Tidy up package.json for LoopBack 1.0.0 (Raymond Feng) * Update license file (Raymond Feng) * Fix the conflicts between MongoDB _id & juggler's internal prefix (Raymond Feng) * Set default value (Raymond Feng) * Fix the property population for schemaless models (Raymond Feng) * Adjust the lines to fit into width of 80 (Raymond Feng) * Check the existence of id (Raymond Feng) * Allows custom name of the id property for the memory connector (Raymond Feng) * Mark id arguments to be required (Raymond Feng) * Update titles (Raymond Feng) * Clean up the test case based on PR reviews (Raymond Feng) * Set strict to false by default for non-relational data sources (Raymond Feng) * Disable remoting for reload (Raymond Feng) * Add descriptions for remote method paramters (Raymond Feng) * Fix the remote method descriptions (Raymond Feng) * Update guides (Raymond Feng) * Track the greatest id to prevent records from being overriden (Raymond Feng) * Update descriptions to use data source (Raymond Feng) * Refactor the shared method declaration and add descriptions (Raymond Feng) * Update docs (Raymond Feng) * Update header levels (Raymond Feng) * Fix the message (Raymond Feng) * Update LDL guide (Raymond Feng) * Fix the test description (Raymond Feng) * Use DEBUG or NODE_DEBUG env to override the debug flag (Raymond Feng) * Fix the where option for delete (Raymond Feng) * Update the remote methods (Raymond Feng) * Update ldl.md (Raymond Feng) * Start to add LDL guide (Raymond Feng) * Remove the deletion of property type as the instane is shared by the base model class (Raymond Feng) * Remove the semicov dependency as now we use blanket (Raymond Feng) * Add LICENSE (Raymond Feng) * Fix the id references to allow custom name other than 'id' (Raymond Feng) * Add missing declaration (Raymond Feng) * Update jsdocs (Raymond Feng) * Added blanket.js for code coverage (cgole) * Refactor the docs into one (Raymond Feng) * Add docs.json and jsdocs (Raymond Feng) * Add an optional models argument to automigrate/autoupdate (Raymond Feng) * Refactor introspection to ModelBuilder (Raymond Feng) * Rename 'loopback-data' to 'loopback-datasource-juggler' (Raymond Feng) * Allows connector property to be a string (Raymond Feng) * Add a diagram (Raymond Feng) * Add required validation (Ritchie Martori) * Add a schemaless example (Raymond Feng) * Bring up json object introspection to build models (Raymond Feng) * Fix the constructor (Raymond Feng) * Add precision/scale for sync discovery (Raymond Feng) * Add precision/scale (Raymond Feng) * Remove validations (Ritchie) * Remove old model documentation (Ritchie) * Fix typo (Ritchie) * Removed hooks documentation (Ritchie) * Refactor types out (Raymond Feng) * Rename the test case (Raymond Feng) * Fix the ref to dataSource (Raymond Feng) * Allows non-strict mode to accept unknown properties (Raymond Feng) * Fix id references (Raymond Feng) * Add root true to remote methods (Ritchie) * Update docs for loopback-data (Raymond Feng) * Rename adapters to connectors (Raymond Feng) * Set up connector from the data source (Raymond Feng) * Rename dataSource() to avoid conflicts with the property (Raymond Feng) * Fix schema references (Raymond Feng) * Set up connector/adapter when postInit is not called (Raymond Feng) * More renames: schema -> dataSource, adapter -> connector (Raymond Feng) * Clean up docs (Raymond Feng) * Update README (Raymond Feng) * ADL --> LDL (Raymond Feng) * Add the id arg (Raymond Feng) * Add static deleteById (Raymond Feng) * Fix the model prop lookup (Raymond Feng) * Allow queries to filter fields (Ritchie Martori) * Add filter.fields support to dao and memory connector (Ritchie Martori) * README updates (Ritchie Martori) * Rename jugglingdb to loopback-data (Raymond Feng) * README.md renames (Ritchie Martori) * Remove updateAttribute as remote method (Ritchie Martori) * Fix inherit bug (Ritchie Martori) * Fix extend by using util.inherits (Ritchie Martori) * Fix typos (Raymond Feng) * Only flatten array/object for relational DBs (Raymond Feng) * Add support for nesting objects with an array (Raymond Feng) * Add plain string array (Raymond Feng) * Fix the array data population (Raymond Feng) * Add http mapping for create/updateAttributes methods (Raymond Feng) * Fix the ref to getSchemaType (Raymond Feng) * Add support for nesting schema (Raymond Feng) * Add Object type (Raymond Feng) * Add support to use adapter constructor for initialization (Raymond Feng) * Change default create method from save to create for remoting (Ritchie Martori) * Add event emitter methods to models. (Ritchie Martori) * Add support for extending models (Ritchie Martori) * Revert adapter serialization. Remove geo point distance indicator. (Ritchie Martori) * Add properties to ModelClass during definition (Ritchie Martori) * Fix global leak and incorrect var (Ritchie) * Add alias to destroy/destroyAll (Raymond Feng) * Alias destroy/destroyAll (Raymond Feng) * Add in memory geo filtering. (Ritchie Martori) * Move geo filter creation into reusable module. (Ritchie Martori) * Rename long to lng (Ritchie Martori) * Add geo filtering for memory adapter (Ritchie Martori) * model.find => model.findById, model.all => model.find (Ritchie Martori) * Fix incorrect variable name in updateAttributes (Ritchie Martori) * Fix memory adapter updateAttributes issue. (Ritchie Martori) * Fix the schema building (Raymond Feng) * Normalize the schema definition (Raymond Feng) * Update the discover apis to take options (Raymond Feng) * Removed a stray log. (Michael Schoonmaker) * Move the _operations={} up (Raymond Feng) * Work around the JDB test coverage tool limitation. See https://github.com/1602/semicov (Raymond Feng) * Pass in the options (Raymond Feng) * Support string types when defining properties (Ritchie) * Rename discoverModels to discoverModelDefinitions (Ritchie) * Handle separate settings and adapter objects (Ritchie) * Remove console log (Ritchie) * Fix missing settings (Ritchie) * Fix missing connector alias (Ritchie) * Fixed memory adapter filtering + asteroid compatibility upddates (Ritchie Martori) * Update inflection (Raymond Feng) * Make sure options is present (Raymond Feng) * Fix remoteEnabled bug (Ritchie) * Revert "Asteroid 0.7 updates" (Ritchie Martori) * Asteroid 0.7 updates (Ritchie Martori) * Adjust the mixins (Raymond Feng) * Allow dao.find() and exists() to take any type for id (Ritchie Martori) * Fix the receiver (Raymond Feng) * Add discoverExportedForeignKeys (Raymond Feng) * Add sync versions of discovery (Raymond Feng) * Avoid duplicate connecting (Raymond Feng) * Improve connect/disconnect (Raymond Feng) * Add plural name to models (Ritchie) * Update buildModels and support associations via foreign keys (Raymond Feng) * Add support to discover related schemas by foreign keys (Raymond Feng) * Add more debugging info (Raymond Feng) * Enhance support for composite keys (Raymond Feng) * Update column type info (Raymond Feng) * Fix mixin (Raymond Feng) * Add options including default (Raymond Feng) * Add test cases for loading json doc (Raymond Feng) * Adding more tests (Raymond Feng) * Refactor more functions into mixins (Raymond Feng) * Update remoting signatures for dao. (Ritchie Martori) * Add pluralized name to model and remoting method signatures (Ritchie) * Add docs (Raymond Feng) * Rename adl to be ModelBuilder (Raymond Feng) * Add more methods to map column/property names (Raymond Feng) * Add data source attach example (Ritchie) * Add ability to attach data source to an existing model (Ritchie) * Fix the mapping (Raymond Feng) * Fix the column mapping (Raymond Feng) * Fix the id column name (Raymond Feng) * Start to add discoverSchema and name mapping (Raymond Feng) * Fix the capitalize (Raymond Feng) * Transform the names (Raymond Feng) * Add discoverSchema (Raymond Feng) * Fix the delegation for discover (Raymond Feng) * Fix the discover methods (Raymond Feng) * Bring up the schema loading from json docs (Raymond Feng) * Remove schema.js (Raymond Feng) * Fix the on-demand connection (Raymond Feng) * Fix the datasource.define (Raymond Feng) * Start to refactor ADL and DataSource (Raymond Feng) * 0.2.0-33 (Anatoliy Chakkaev) * Fail uniqueness check in case of db error (Anatoliy Chakkaev) * Refactor the CRUD operations to DataAccessObject (Raymond Feng) * Fix the discover keys (Raymond Feng) * Add discover primary/foreign keys (Raymond Feng) * Safer include (Anatoliy Chakkaev) * Fix Problem with DataType Text, closes #278 (Anatoliy Chakkaev) * 0.2.0-32 (Anatoliy Chakkaev) * Temp. disable test for validation (Anatoliy Chakkaev) * Add context info to validation error (Anatoliy Chakkaev) * Only save schema props (Anatoliy Chakkaev) * 0.2.0-31 (Anatoliy Chakkaev) * Fix tick (Anatoliy Chakkaev) * Safe connect call (Anatoliy Chakkaev) * Support define fk with class name (Anatoliy Chakkaev) * Fix find with NaN id in base-sql (Anatoliy Chakkaev) * Added skip/limit to memory adapter (Anatoliy Chakkaev) * Relations passed to belongsTo.add (Anatoliy Chakkaev) * Fix injection in ids (Anatoliy Chakkaev) * Adds test for limit and skip + limit on `all()` queries as in docs. (Currently not all adapters may pass.) (dgsan) * Accept related objects when creating instance #247 (Anatoliy Chakkaev) * Allow null properties for headless models (Anatoliy Chakkaev) * Check types of sync and async getters created by belongsTo, close #266 (Anatoliy Chakkaev) * Fix m2m: only add fk when hasMany have no "through" (Anatoliy Chakkaev) * Upd readme (Anatoliy Chakkaev) * Many-to-many relation (Anatoliy Chakkaev) * Some tests for scope (Anatoliy Chakkaev) * Organize model.js (Anatoliy Chakkaev) * 0.2.0-30 (Anatoliy Chakkaev) * Upd changelog (Anatoliy Chakkaev) * Datatypes casting (Anatoliy Chakkaev) * Add discover methods for model names and properties (Raymond Feng) * Only call the orginal method once (Raymond Feng) * Revert "Fix the test case so that it passes in the same filter" (Raymond Feng) * Set up the connected handler before connect (Raymond Feng) * The connecting flag should be set to false initially (Raymond Feng) * Fix the test case so that it passes in the same filter (Raymond Feng) * Update README.md (mhupman) * Do not assign enumerable schema to object #256 (Anatoliy Chakkaev) * Manually require init (Anatoliy Chakkaev) * Fix dates in memory adapter (Anatoliy Chakkaev) * Added datatypes tests (Anatoliy Chakkaev) * Fix merged schema test (Anatoliy Chakkaev) * Allow database.js to export function(compound) (Anatoliy Chakkaev) * ValidationError instead Error (Anatoliy Chakkaev) * Update README.md (Anatoliy Chakkaev) * 0.2.0-29 (Anatoliy Chakkaev) * Find on hasMany scope method (Anatoliy Chakkaev) * Added map-reduce and find methods to list (Anatoliy Chakkaev) * 0.2.0-28 (Anatoliy Chakkaev) * Return valid in case of sync validations (Anatoliy Chakkaev) * Test update (Anatoliy Chakkaev) * Fix validation issue (Anatoliy Chakkaev) * Transactions (Anatoliy Chakkaev) * Schemas switching (Anatoliy Chakkaev) * Automigrate before relation tests (Anatoliy Chakkaev) * Update makefile (Anatoliy Chakkaev) * Add more love to tests, pr #249 (Anatoliy Chakkaev) * 0.2.0-27 (Anatoliy Chakkaev) * Fix validations (Anatoliy Chakkaev) * Batch create (Anatoliy Chakkaev) * tests only: no afterCreate/afterUpdate on errors (Scott Nonnenberg) * afterDestroy not called on adapter error (Scott Nonnenberg) * 0.2.0-26 (Anatoliy Chakkaev) * Ignore npm-debug.log (Anatoliy Chakkaev) * Fix memory adapter: broken upd attrs (Anatoliy Chakkaev) * Return instance of object when create (Anatoliy Chakkaev) * Turn off ignoring tests (Anatoliy Chakkaev) * Upd tests (Anatoliy Chakkaev) * Validation amends (Anatoliy Chakkaev) * Test hooks and object lifecycle as per #242 (Anatoliy Chakkaev) * Tests for data manipulation (Anatoliy Chakkaev) * Rewrite save and create for correct hooks order (Anatoliy Chakkaev) * Rename validation hooks (Anatoliy Chakkaev) * Update hooks.md (Mansur S) * Upd node version for travis (Anatoliy Chakkaev) * Uncomment tests (Anatoliy Chakkaev) * Mongodb tolerance (Anatoliy Chakkaev) * Enable growl (Anatoliy Chakkaev) * 0.2.0-25 (Anatoliy Chakkaev) * Update attribute additional test (Anatoliy Chakkaev) * Fix memory adapter and test (Anatoliy Chakkaev) * Removed include test from common (Anatoliy Chakkaev) * Test destroy (Anatoliy Chakkaev) * Migration-friendly tests (Anatoliy Chakkaev) * Fixes in belongsTo relation definition syntax (Anatoliy Chakkaev) * Docs: hooks, footer fix (Anatoliy Chakkaev) * Include test (Anatoliy Chakkaev) * Update jugglingdb.md (Mansur S) * Query testing: findOne (Anatoliy Chakkaev) * Added test case for #238: password hashing before save (Anatoliy Chakkaev) * Added short syntax for belongsTo (Anatoliy Chakkaev) * Docs for hooks and model (Anatoliy Chakkaev) * Beautify things (Anatoliy Chakkaev) * Fix memory adapter to support lowercase desc order (Anatoliy Chakkaev) * Rewriting tests (Anatoliy Chakkaev) * Make tests importable (Anatoliy Chakkaev) * Docs amends (Anatoliy Chakkaev) * Another way to define belongsTo (Anatoliy Chakkaev) * 0.2.0-24 (Anatoliy Chakkaev) * Added man pages to package (Anatoliy Chakkaev) * Docs for models (Anatoliy Chakkaev) * Added footer (Anatoliy Chakkaev) * Upd readme and changelog (Anatoliy Chakkaev) * Fix test (Anatoliy Chakkaev) * Switch to mocha testing in travis (Anatoliy Chakkaev) * Rewrite validations in mocha (Anatoliy Chakkaev) * Rename files (Anatoliy Chakkaev) * Minor test amends (Anatoliy Chakkaev) * Remove old hooks tests (Anatoliy Chakkaev) * Upd memory adapter to work with undefined in dataset (Anatoliy Chakkaev) * Rename essentials (Anatoliy Chakkaev) * Rewrite hooks API (Anatoliy Chakkaev) * Started docs for model, changelog (Anatoliy Chakkaev) * Makefile for mocha testing (Anatoliy Chakkaev) * Defaults test and fixes (Anatoliy Chakkaev) * Added changelog (Anatoliy Chakkaev) * Added GA (Anatoliy Chakkaev) * Added docs (Anatoliy Chakkaev) * Added some initial docs (Anatoliy Chakkaev) * Makefile with man/html docs generation (Anatoliy Chakkaev) * Settings always set (Anatoliy Chakkaev) * Added json test (Anatoliy Chakkaev) * Added filter, fix [] as type (Anatoliy Chakkaev) * 0.2.0-23 (Anatoliy Chakkaev) * Upd gitignore (Anatoliy Chakkaev) * Initializer for compound 1.1.5-16 (Anatoliy Chakkaev) * http adapter: pre/postProcess, fix destroy and all (Scott Nonnenberg) * This is the smash with blunt object fix for #215, since the more flexible #213 was rejected. (dgsan) * 0.2.0-22 (Anatoliy Chakkaev) * FIxes in async validations (in sync case), closes 214 (Anatoliy Chakkaev) * 0.2.0-21 (Anatoliy Chakkaev) * Browserify-proof railway init (Anatoliy Chakkaev) * .version as getter (Anatoliy Chakkaev) * 0.2.0-20 (Anatoliy Chakkaev) * Add proper type registration (Anatoliy Chakkaev) * 0.2.0-19 (Anatoliy Chakkaev) * List support for non-object values (Anatoliy Chakkaev) * Coding style in helper (Anatoliy Chakkaev) * Fix package version exposing (Anatoliy Chakkaev) * Add some array methods for List (Anatoliy Chakkaev) * Absolute paths in README.md, fixes #208 (Anatoliy Chakkaev) * Eliminated global leak (Anatoliy Chakkaev) * Described custom validations (Anatoliy Chakkaev) * 0.2.0-18 (Anatoliy Chakkaev) * Remove logging (Anatoliy Chakkaev) * Organize test with Log and Dog (Anatoliy Chakkaev) * If property is array (List) need to convert it to JSON (Anatoliy Chakkaev) * FIxed test for belongsTo (Anatoliy Chakkaev) * Unit test for bug fix related to belongsTo relation. It declares a Schema, uses memory. If it should be run for ALL DBs it will need to be changed. (dgsan) * This fixes the apparent scope and comparison issues when calling a foreign key relation. (dgsan) * Fixing Railway Hoisting Issue (Dan Shultz) * Revert validatable fix (Anatoliy Chakkaev) * 0.2.0-17 (Anatoliy Chakkaev) * Add attr param to custom validator, closes #200 (Anatoliy Chakkaev) * Removed unused experimental stuff (Anatoliy Chakkaev) * 0.2.0-16 (Anatoliy Chakkaev) * Update broken test case (Anatoliy Chakkaev) * 0.2.0-15 (Anatoliy Chakkaev) * Make pathTo available in db/schema (Anatoliy Chakkaev) * 0.2.0-14 (Anatoliy Chakkaev) * Fix uniqueness validation (mongo ids) (Anatoliy Chakkaev) * Throw error when model is not configured for webservice (Anatoliy Chakkaev) * Update test for #128 (Anatoliy Chakkaev) * Return null when findOne could not find record, closes #128 (Anatoliy Chakkaev) * 0.2.0-13 (Anatoliy Chakkaev) * Work with cs-compound (Anatoliy Chakkaev) * One more fix in updateAttribute test with uniqueness validation (1602) * Update validations test (Anatoliy Chakkaev) * Implement schema.extendModel, closes #157 (Anatoliy Chakkaev) * Add adapter (memory-bogus) test (Anatoliy Chakkaev) * Make memory adapter async (Anatoliy Chakkaev) * Implement findOrCreate, requested in #190 (Anatoliy Chakkaev) * Added test for #191 (Anatoliy Chakkaev) * Revert hasMany change (Anatoliy Chakkaev) * Update readme: clienside, describe built-in adapters (Anatoliy Chakkaev) * 0.2.0-12 (Anatoliy Chakkaev) * Added schema::model::set for railway (Anatoliy Chakkaev) * 0.2.0-11 (Anatoliy Chakkaev) * Added http (WebService) adapter (Anatoliy Chakkaev) * 0.2.0-10 (Anatoliy Chakkaev) * Accept adapter as first argument of Schema constructor (Anatoliy Chakkaev) * fix lost callback (Erin Noe-Payne) * attempted to write a test for hasmany all function. this commit has it commented out (Robb Lovell) * added 'all' method to hasMany in abstract-class.js to correctly support a 'many' collection. added .idea to .gitignore to ignore WebStorm projects. (Robb Lovell) * Updated readme (Anatoliy Chakkaev) * fix typo :) (Asp3ctus) * app.enable('autoupdate') option support (Asp3ctus) * Travis env update, compare ids as strings (Anatoliy Chakkaev) * 0.2.0-9 (Anatoliy Chakkaev) * Fix for reading yml files (Anatoliy Chakkaev) * 0.2.0-8 (Anatoliy Chakkaev) * Only update id if it does not present in resulting dataset (Anatoliy Chakkaev) * 0.2.0-7 (Anatoliy Chakkaev) * Strict adapter checking (Anatoliy Chakkaev) * Do not throw on missing adapter, just display warning (Anatoliy Chakkaev) * updateAttributes data defaults to {} (Sascha Gehlich) * 0.2.0-4 (Anatoliy Chakkaev) * merge (Anatoliy Chakkaev) * 0.2.0-3 (Anatoliy Chakkaev) * Update railwayjs name, add ability to skip tests (Anatoliy Chakkaev) * allow database.js config (Sascha Gehlich) * remove unused (nano specific) files (Nicholas Westlake) * added filter on schema though I am not sure it will be used (Sébastien Drouyer) * added some documentation for include and all function (Sébastien Drouyer) * cleaned some old comments (Sébastien Drouyer) * Small copy-paste error :) (Sébastien Drouyer) * merged + removed preprocessdata callback as it seems it isn't usefull (Sébastien Drouyer) * removed unused console log and comments (Sébastien Drouyer) * small fix on relations (Sébastien Drouyer) * added tests for the include functionnality (Sébastien Drouyer) * added include functionnality to abstract class and mysql (Sébastien Drouyer) * add additional types stored in Schema.types to schema context (Sascha Gehlich) * let the adapter decide when to load the schema (Sascha Gehlich) * fixed railway integration (Sascha Gehlich) * Update readme (Anatoliy Chakkaev) * Added mysql icon (Anatoliy Chakkaev) * Added some adapters descriptions (Anatoliy Chakkaev) * Added coffee-script as dev dependency (Anatoliy Chakkaev) * Arrange contributors, remove coffee-script (Anatoliy Chakkaev) * Fix broken yml config, closes #159 (Anatoliy Chakkaev) * 0.2.0-2 (Anatoliy Chakkaev) * Allow extend tests (Anatoliy Chakkaev) * Package.json updated (Anatoliy Chakkaev) * added relations key (Sébastien Drouyer) * Remove sql adapters and tests (Anatoliy Chakkaev) * 0.2.0-1 (Anatoliy Chakkaev) * Remove sqlite3 adapter (Anatoliy Chakkaev) * Removed nosql adapters (moved to own repos) (Anatoliy Chakkaev) * allow socketPath for mysql config (Tim Griesser) * Fix cradle+railwayjs (Anatoliy Chakkaev) * added nano settings for travis-ci (Nicholas Westlake) * added nano adapter (Nicholas Westlake) * Fixed bug for CoffeeScript and MongoDB (Sebastian del Valle) * Log Redis connection errors instead of crashing (Dominik Krejcik) * Docs and style in lib/list (Anatoliy Chakkaev) * 0.1.27-3 (Anatoliy Chakkaev) * Namespace adapters (Anatoliy Chakkaev) * when using cradle if we don't wait for the schema to be connected, the models fails to load correctly. (Muneeb Samuels) * 0.1.27-2 (Anatoliy Chakkaev) * Better docs, no warning (Anatoliy Chakkaev) * update mongodb adapter (Nathan Cartwright) * Cast id to string before creation, fix #145 (Anatoliy Chakkaev) * remove commentouted source (taiyoh) * fixed type check strictly (taiyoh) * 0.1.27-1 (Anatoliy Chakkaev) * Fix id:null issue #98 (Anatoliy Chakkaev) * - fixed typo in updateOrCreate method. (Muneeb Samuels) * - added views to do .all queries, it speeds up the query. (Muneeb Samuels) * - fixed typo in updateOrCreate method. - added views to do .all queries, it speeds up the query. (Muneeb Samuels) * limited tests to the one I know (Sébastien Drouyer) * trying a fix for redis (Sébastien Drouyer) * fixed regression for postgres (Sébastien Drouyer) * fixed tests for mongodb (Sébastien Drouyer) * fixed issue for sqlite (Sébastien Drouyer) * added log to data (TEMPORARY) to debug on travis (Sébastien Drouyer) * fixed indentation + adapted to markdown syntax (Sébastien Drouyer) * corrected indentation issues (Sébastien Drouyer) * small sentence fixes + added usage examples in belongsTo comments (Sébastien Drouyer) * add test cases for caching in hasMany and fixed test cases for caching in belongsTo (Sébastien Drouyer) * fixed and enhanced caching in getters and setters in abstract-class (Sébastien Drouyer) * added test case for the cache of belongsTo (Sébastien Drouyer) * cradle adapter update (Muneeb Samuels) * using views speeds up the query by only fetching the documents for the model being queried. (Muneeb Samuels) * Globally published models for railway 1.0 (Anatoliy Chakkaev) * added caching functionnality (Sébastien Drouyer) * Models publishing for both railway stable and unstable (Anatoliy Chakkaev) * Fix railway 1.0 support (Anatoliy Chakkaev) * Fix instanceof checking (Anatoliy Chakkaev) * Remove globals, read yaml (Anatoliy Chakkaev) * added test cases for IN and NOT IN. Only in mysql and postgres for the moment (Sébastien Drouyer) * generalize escape on IN and NOT IN values (Sébastien Drouyer) * Fixed postgres adapter for IN and NIN when values are strings and where there is 0 value (Sébastien Drouyer) * Fixed IN and NOT IN when searching on strings (Sébastien Drouyer) * Fixed bug for IN on NOT IN - corrected (Sébastien Drouyer) * Fix inheritance (Anatoliy Chakkaev) * Fix broken mysql adapter after merging pull request (Anatoliy Chakkaev) * Ignored v8.log (Anatoliy Chakkaev) * Remove unused cached relations, closes #134 (Anatoliy Chakkaev) * Fixed bug (oversight ?) on alter table (Sébastien Drouyer) * Update lib/adapters/cradle.js (Muneeb Samuels) * limit + skip (Muneeb Samuels) * Fix typo, start new release preview (Anatoliy Chakkaev) * Print properly formatted object (Anatoliy Chakkaev) 2012-10-16, Version 0.1.23 ========================== * Remove lazy collections, remove unused caching stuff, unsupport node 0.4 (travis) (Anatoliy Chakkaev) * Further optimizations: remove hasOwnProperty backward compat (Anatoliy Chakkaev) * Switch test coverage reporting off for travis (Anatoliy Chakkaev) * Proper collection caching (Anatoliy Chakkaev) 2012-10-13, Version 0.1.21 ========================== * Specify collection length (Anatoliy Chakkaev) * Optimize collection (Anatoliy Chakkaev) * Better performance on big datasets read (Anatoliy Chakkaev) * Fix for redis adapter when finding records filtered with multiple attributes (Mikko Lehtinen) * Better safeRequire (Anatoliy Chakkaev) * Fix memory adapter tests (Anatoliy Chakkaev) * Update lib/adapters/postgres.js (clarktlaugh) * Added cradle adapter (Anatoliy Chakkaev) * Configure travis services (Anatoliy Chakkaev) * Update mysql to 2.0 (Anatoliy Chakkaev) * Fix redis2 indexes cleanup (Anatoliy Chakkaev) * Not strict equal when matching ids in embedded lists (Anatoliy Chakkaev) * Mongoose Adapter Single Index support-Spacing Fix (Nashad Alam) * Mongoose Adapter Single Index support (Nashad Alam) * Allow for IN, NOT IN, and != queries in postgres (Matt Huggins) * Prevent redis pussy riot (Anatoliy Chakkaev) * Fix standard_conforming_strings for postgres (Anatoliy Chakkaev) * Update lib/adapters/memory.js (Mikxail) * Make property configurable to pass tests (Anatoliy Chakkaev) * List API improvements (Anatoliy Chakkaev) * List improvements (Anatoliy Chakkaev) * Fix postgres (Anatoliy Chakkaev) * Added typed lists support (Anatoliy Chakkaev) * fix global leak in postgres adapter (Sam Taylor) * Revert sort-only indexes (Anatoliy Chakkaev) * Redis sort-only indexes (Anatoliy Chakkaev) * Fix in-memory adapter tests (Anatoliy Chakkaev) * Fix typo, tune redis2 (Anatoliy Chakkaev) * Rewritten redis (Anatoliy Chakkaev) * Refactored and optimized redis adapter (Anatoliy Chakkaev) * Fix postgres offset feature (Anatoliy Chakkaev) * Bump 0.1.14. Fix typo in redis adapter (Anatoliy Chakkaev) * Callback called only once + database selection (Anatoliy Chakkaev) * Changed validatable inheritance, fixed issue with belongsTo #113 (Anatoliy Chakkaev) * More information about alter in isActual (Anatoliy Chakkaev) * Fix autoupdate for mysql ; (Anatoliy Chakkaev) * Autoupdate multicolumn indexes (Anatoliy Chakkaev) * I put the delete in the wrong line, moved down.. (Mike P) * re-adding fix to not save id as a property on update (Mike P) * Update lib/adapters/neo4j.js (Mike P) * Update lib/abstract-class.js (Mike P) * Single-column indexes in mysql (autoupdate) (Anatoliy Chakkaev) * Unnecessary error on mongodb authentication. Skip checking (Anatoliy Chakkaev) * Fix typo, bump version (Anatoliy Chakkaev) * Provide additional info about collection (Anatoliy Chakkaev) * Freeze postgres version (Anatoliy Chakkaev) * Move to latest mongoose / fix api (Anatoliy Chakkaev) * Remove JSON serialization test case (Anatoliy Chakkaev) * Adds replica-set support to the mongodb native driver. (Timothy Marks) * Adds authenticate to db.open if a username and password are set. (Timothy Marks) * Update postgres (Anatoliy Chakkaev) * JSON in tests, Schema.JSON published (Anatoliy Chakkaev) * Adds Replica Set Support to JugglingDB Mongoose Adapter (Timothy Marks) * Fixes issue where only id would be saved when updating an existing object for mongodb driver. (Timothy Marks) * Added stricter value checking on number. (Dombi Attila) * modified destroyAll (Taner Topal) * Added fix to the abstract-class.js file for issue #72. The fix is resolved by by5739. (Jude Lam) * Allow relative driver paths, adopt for node 0.8 (Anatoliy Chakkaev) * The updateAttribute callback doesn't behaves as its described. It should send the object instance alongside the error too. (Dombi Attila) * Wrap database name with quotes (Anatoliy Chakkaev) * fix sql error when initializing models with empty Number property. It should return NULL when a number is empty (Dombi Attila) * Fix PostgreSQL query offset (Matt Huggins) * First version of a cradle adapter (Aurélien Thieriot) * https://groups.google.com/d/msg/railwayjs/4YWICL6EAOg/ebCxGkQ5eQcJ (Wizek) * Fix coding style (Anatoliy Chakkaev) * Adopt postgres stuff (Anatoliy Chakkaev) * Coverage added to gitignore (Anatoliy Chakkaev) * added custom collection name to mongoose (Jonathan Spies) * heavily modified sections of postgres adapter, postgres is now passing all tests (Joseph Junker) * ran into some confusion with default values while changing postgres adapter, added postgres default values test (Joseph Junker) * migration_test is mysql specific, added postgres migration test (Joseph Junker) * added multiple sort for mongoose (Jonathan Spies) * Fixes mysql adapter 'neq' condition. (Rob Scott) * added double quotes to field names (bitmage) * Support modular railway (Anatoliy Chakkaev) * Upsert with setters (Anatoliy Chakkaev) * Added semicov dependency (Anatoliy Chakkaev) * Fix sql adapters (Anatoliy Chakkaev) * Setters enabled in new and create (Anatoliy Chakkaev) * Jslinize if blocks, not strict equal for ids on uniqueness checking (Anatoliy Chakkaev) * Prevent data from leaking to global (Henri Bergius) * Fix mongoose adapter find (Anatoliy Chakkaev) * Tune propertyChanged behavior (Anatoliy Chakkaev) * Fix 'undefined is not a function' problem at postgres adapter (Kelvin Wong) * Fix test: not strict equal when comparing ids (Anatoliy Chakkaev) * Update version (Anatoliy Chakkaev) * Turn off caching (Anatoliy Chakkaev) * Some safeties to URL handling (Henri Bergius) * Enable setting up Redis with URL (Henri Bergius) * Add warning for validations in schema.js (Anatoliy Chakkaev) * Not strict equal for scoped find, trigger beforeUpdate with data (Anatoliy Chakkaev) * Fix scoped find method (Anatoliy Chakkaev) * Postgres migrations fix #54 (Anatoliy Chakkaev) * Documentation, railway tweaks (Anatoliy Chakkaev) * Document (Anatoliy Chakkaev) * Fix multiple queries issue #51 (Anatoliy Chakkaev) * Delayed database calls (Anatoliy Chakkaev) * upsert for redis (Anatoliy Chakkaev) * Support upsert (Anatoliy Chakkaev) * Implemented destroyAll for sub-scopes (Taner Topal) * Tune sqlite3 dependency version (2.0.18) (Anatoliy Chakkaev) * Added contributors, MRU cache cleanup, closes #46 (Anatoliy Chakkaev) * Pass DEFAULT to autoincrement values in PG (Felipe Sateler) * Bump version 0.1.3 (Anatoliy Chakkaev) * Correctly handle callback after blank automigration (Anatoliy Chakkaev) * Support node 0.4 in mongodb adapter (Anatoliy Chakkaev) * Mongodb adapter (Anatoliy Chakkaev) * Fix executable for neo4j travis (Anatoliy Chakkaev) * Added neo4j support for travis ci (Anatoliy Chakkaev) * Remove sequelize tests (Anatoliy Chakkaev) * Removed sequelize adapter (Anatoliy Chakkaev) * Remove frozen neo4j lib, add neo4j database setup for travis-ci (Anatoliy Chakkaev) * Custom table name for sqlite3 (Anatoliy Chakkaev) * Added sql for common parts (Anatoliy Chakkaev) * DRY sql adapters (Anatoliy Chakkaev) * Unhashish, escape names, start moving common parts to sql.js (Anatoliy Chakkaev) * Allow custom table name in postgres too (Felipe Sateler) * Allow custom table name in mysql (Anatoliy Chakkaev) * Don't add a WHERE if there are no constraints (Henri Bergius) * Support reverse sort for redis (Anatoliy Chakkaev) * Model.findOne, mongoose reverse sort, closes #38 (Anatoliy Chakkaev) * Fix unnecessary _was attributes issue, closes #36, #31, #34, #35 (Anatoliy Chakkaev) * Reverse sort order in redis and memory, test (Anatoliy Chakkaev) 2012-03-01, Version 0.1.1 ========================= * Bump version 0.1.1 (Anatoliy Chakkaev) * Test belongsTo (Anatoliy Chakkaev) * MySQL shouldn't break on null Date values (Henri Bergius) * Safety: there might not be any indexes to use (Henri Bergius) * Update README.md (1602) * Default should not be handled by database engine (Anatoliy Chakkaev) * Add schema.isActual and automigrate on sqlite start (Anatoliy Chakkaev) * Fix sorting by id in redis (Mansur) * changed belongsTo so grabs the belongs to relationship properly (Rick O'Toole) * Fixing some bugs, which fix default values and length of fields in mysql adapter (Amir M. Mahmoudi) * Remove unnecesare code from test helper (Anatoliy Chakkaev) * modify README.md (Shunsuke Watanabe) * Add alias for skip/offet (mongoose) (Anatoliy Chakkaev) * Add some features to advanced queries (Amir M. Mahmoudi) * Disable advanced queries for redis and memory (Anatoliy Chakkaev) * Advanced queries for sql-s and mongodb (Anatoliy Chakkaev) * Emit logging event (Anatoliy Chakkaev) * Disable neo4j for travis (Anatoliy Chakkaev) * Added utils module (Anatoliy Chakkaev) * Mongoose order/limit/offset and more (Anatoliy Chakkaev) * Fix sqlite3 verion in dependency (Anatoliy Chakkaev) * SQLite3 adapter (Anatoliy Chakkaev) * Fix postgres adapter (Anatoliy Chakkaev) * Added hashish dependency (Anatoliy Chakkaev) * Setup postgres for travis (Anatoliy Chakkaev) * Added pg dependency (Anatoliy Chakkaev) * Model.count with params support, fix time in mysql (Anatoliy Chakkaev) * Allow to call create without callback (Anatoliy Chakkaev) * Get version (Anatoliy Chakkaev) * Remove unnecessary logging (Anatoliy Chakkaev) * Update version reading (Anatoliy Chakkaev) * Remove node07 (Anatoliy Chakkaev) * Adjust test (Anatoliy Chakkaev) * Mysql sort, where and limit (Anatoliy Chakkaev) * Update test comand (Anatoliy Chakkaev) * Rewrite redis test to make possible filter and sort simultaneously (Anatoliy Chakkaev) * Implement first-round sorting in memory adapter (Anatoliy Chakkaev) * Redis-adapter: test sorting, support alpha-sort, fix destroyAll issue (Anatoliy Chakkaev) * Update readme (Anatoliy Chakkaev) * Return name of type (Anatoliy Chakkaev) * Update package (Anatoliy Chakkaev) * Added nodeunit dep (Anatoliy Chakkaev) * Travis (Anatoliy Chakkaev) * Safe require package.json (Anatoliy Chakkaev) * Do not store null values (Anatoliy Chakkaev) * Postgresql adapter (buggy) (Anatoliy Chakkaev) * Describe consturctor calling without "new" (Anatoliy Chakkaev) * Allow constructor to be called without "new" (Anatoliy Chakkaev) * limit/offset and order clause for redis adapter (Julien Guimont) * Describe test case (Anatoliy Chakkaev) * Fix non-schema data saving (Anatoliy Chakkaev) * Allow override sette and getters (Anatoliy Chakkaev) * Remove non-schema properties on reload (Anatoliy Chakkaev) * Drop and add columns (Anatoliy Chakkaev) * Automigrade/update (Anatoliy Chakkaev) * Reset changes method (Anatoliy Chakkaev) * Fix test for updateAttribute (Anatoliy Chakkaev) * Validation should return undefined in case of async validations (Anatoliy Chakkaev) * Some errors in the previous PR (Julien Guimont) * Async validations should not trump previous validations. Previous validations should be true as well as async validations (Julien Guimont) * Keep dirty state for cached objects (Anatoliy Chakkaev) * Fixed/Improved mysql escaping in the fields names (redvulps) * Use events module (Anatoliy Chakkaev) * Make all args in .save optional (Anatoliy Chakkaev) * Update attribute + hooks (Anatoliy Chakkaev) * Tune async validation hooks (Anatoliy Chakkaev) * Describe object livecycle, update isValid usage (1602) * Async flow for hooks (Anatoliy Chakkaev) * updated mysql adapter to support boolean definition (redvulps) * Updated mysql adapter to support fields that have internal names like "key" or "order" (redvulps) * Async validations hooks (Anatoliy Chakkaev) * Async validations (Anatoliy Chakkaev) * Rewrite custom validation (Anatoliy Chakkaev) * Pass instance as callback second arg when validation fails (Anatoliy Chakkaev) * Hookable validations without breaking functionality (Anatoliy Chakkaev) * Some coding style fixes (Anatoliy Chakkaev) * Added active record style callbacks and hooks. Before and after create, save, update, destroy and after initialization. (Julien Guimont) * Add the ability to create custom validation on fields (Julien Guimont) * Save where conds (Anatoliy Chakkaev) * Bump 0.0.6 (Anatoliy Chakkaev) * Run schema callback on nextTick (Anatoliy Chakkaev) * Fix NaN-NaN... in dates (Anatoliy Chakkaev) * Logging in mysql and redis (Anatoliy Chakkaev) * bugfix: class is a reserved word in V8 / node 0.6 (Justinas Stankevičius) * phony test (Anatoliy Chakkaev) * Added Makefile (Anatoliy Chakkaev) 2011-11-05, Version 0.0.4 ========================= * Version 0.0.4 (Anatoliy Chakkaev) * Accept non-url format in mongoose adapter (Anatoliy Chakkaev) * Run callbacks on schema ready (Anatoliy Chakkaev) * Move conditions to `where` section, fix neo4j (Anatoliy Chakkaev) * Neo4j cypher query support (Anatoliy Chakkaev) * Mysql (Anatoliy Chakkaev) * Ability to transparently close connection with database (Anatoliy Chakkaev) * Tune indexes in redis (Anatoliy Chakkaev) * Only save to database attributes that listed in schema (Anatoliy Chakkaev) * Update neo4j: safe callbacks, update indexes on save (Anatoliy Chakkaev) * Bump version (Anatoliy Chakkaev) 2011-10-16, Version 0.0.2 ========================= * First release!