不要怂,就是干,撸起袖子干!

Commit 64ebdde5 by Sascha Depold

reverted order

1 parent 3b8633a6
Showing with 91 additions and 90 deletions
# v0.1.0 # # v1.2.1 #
- first stable version - [REFACTORING] renamed the global options for sync, query and define on sequelize; before: options.queryOptions; now: options.query
- implemented all basic functions - [FEATURE] allow definition of charset via global define option in sequelize or via charset option in sequelize.define
- associations are working - [FEATURE] allow definition of mysql engine via global define option in sequelize or via engine option in sequelize.define; default is InnoDB now
- [FEATURE] find and findAll will now search in a list of values via: Model.findAll({where: { id: [1,2,3] }}); will return all models with id 1, 2 and 3
- [TEST] force latin1 charset for travis
# v0.2.0 # # v1.2.0 #
- added methods for setting associations - [FEATURE] min/max function for models, which return the min/max value in a column
- added method for chaining an arbitraty amount of queries - [FEATURE] getModel for modelManager for getting a model without storing it in a variable; use it via sequelize.modelManager.getModel('User')
- [TEST] test suite refactoring for jasmine
# v0.2.1 # # v1.1.4 #
- fixed date bug - [BUG] tables with identical prefix (e.g. wp_) can now be used in many-to-many associations
# v0.2.2 # # v1.1.3 #
- released project as npm package - [BUG] scoped options in model => a model can now have the attribute options
- [FEATURE] added drop method for sequelize, that drops all currently registered tables
# v0.2.3 # # v1.1.2 #
- added latest mysql connection library - [BUG] prevent malfunction after being idle
- fixed id handling on save
- fixed text handling (varchar > 255; text)
- using the inflection library for naming tables more convenient
- Sequelize.TEXT is now using MySQL datatype TEXT instead of varchar(4000)
# v0.2.4 # # v1.1.1 #
- fixed bug when using cross associated tables (many to many associations) - [BUG] fixed memory leaks
- [FEATURE] added query queueing (adjustable via maxConcurrentQueries in config; default: 50)
# v0.2.5 # # v1.1.0 #
- added BOOLEAN type - [BUG] defaultValue 0 is now working
- added FLOAT type - [REMOVED] mysql-pool usage (will give it a new try later)
- fixed DATE type issue - [CHORE] updated node-mysql to 0.9.4
- fixed npm package
# v0.2.6 # # v1.0.2 #
- refactored Sequelize to fit CommonJS module conventions - [BUG] Fixed where clause generation for models with explicit primary keys (allanca)
- [BUG] Set insertId for non-default auto increment fields (allanca)
# v0.3.0 # # v1.0.1 #
- added possibility to define class and instance methods for models - [FEATURE] Added Model.count(callback), which returns the number of elements saved in the database
- added import method for loading model definition from a file - [BUG] Fixed self associations
# v0.4.0 # # v1.0.0 #
- added error handling when defining invalid database credentials - complete rewrite
- Sequelize#sync, Sequelize#drop, model#sync, model#drop returns errors via callback - added new emitter syntax
- code is now located under lib/sequelize to use it with nDistro - sql injection protection
- added possibility to use non default mysql database (host/port) - select now supports hash usage of where
- added error handling when defining invalid database port/host - select now supports array usage of where
- schema definitions can now contain default values and null allowance - added a lot of options to find/findAll
- database credentials can now also contain an empty / no password - Wrapped queries correctly using `foo`
- using expresso 0.7.2
- moved config for test database into seperated config file
- Added method for adding and deleting single associations
# v0.4.3 #
- renamed loadAssociatedData to fetchAssociations
- renamed Model#associatedData to fetchedAssociations
- added fetchAssociations to finder methods
- store data found by finder method in the associatedData hash + grep them from there if reload is not forced
- added option to sequelize constructor for disabling the pluralization of tablenames: disableTableNameModification
- allow array as value for chainQueries => Sequelize.chainQueries([save: [a,b,c]], callback)
- remove the usage of an array => Sequelize.chainQueries({save: a}, {destroy: b}, callback)
# v0.4.2 #
- fixed bugs from 0.4.1
- added the model instance method loadAssociatedData which adds the hash Model#associatedData to an instance which contains all associated data
# v0.4.1 # # v0.4.1 #
- THIS UPDATE CHANGES TABLE STRUCTURES MASSIVELY! - THIS UPDATE CHANGES TABLE STRUCTURES MASSIVELY!
...@@ -56,66 +73,50 @@ ...@@ -56,66 +73,50 @@
- added hasOneAndBelongsTo - added hasOneAndBelongsTo
- nodejs-mysql-native 0.4.2 - nodejs-mysql-native 0.4.2
# v0.4.2 # # v0.4.0 #
- fixed bugs from 0.4.1 - added error handling when defining invalid database credentials
- added the model instance method loadAssociatedData which adds the hash Model#associatedData to an instance which contains all associated data - Sequelize#sync, Sequelize#drop, model#sync, model#drop returns errors via callback
- code is now located under lib/sequelize to use it with nDistro
# v0.4.3 # - added possibility to use non default mysql database (host/port)
- renamed loadAssociatedData to fetchAssociations - added error handling when defining invalid database port/host
- renamed Model#associatedData to fetchedAssociations - schema definitions can now contain default values and null allowance
- added fetchAssociations to finder methods - database credentials can now also contain an empty / no password
- store data found by finder method in the associatedData hash + grep them from there if reload is not forced
- added option to sequelize constructor for disabling the pluralization of tablenames: disableTableNameModification
- allow array as value for chainQueries => Sequelize.chainQueries([save: [a,b,c]], callback)
- remove the usage of an array => Sequelize.chainQueries({save: a}, {destroy: b}, callback)
# v1.0.0 # # v0.3.0 #
- complete rewrite - added possibility to define class and instance methods for models
- added new emitter syntax - added import method for loading model definition from a file
- sql injection protection
- select now supports hash usage of where
- select now supports array usage of where
- added a lot of options to find/findAll
- Wrapped queries correctly using `foo`
- using expresso 0.7.2
- moved config for test database into seperated config file
- Added method for adding and deleting single associations
# v1.0.1 # # v0.2.6 #
- Added Model.count(callback), which returns the number of elements saved in the database - refactored Sequelize to fit CommonJS module conventions
- Fixed self associations
# v1.0.2 # # v0.2.5 #
- Fixed where clause generation for models with explicit primary keys (allanca) - added BOOLEAN type
- Set insertId for non-default auto increment fields (allanca) - added FLOAT type
- fixed DATE type issue
- fixed npm package
# v1.1.0 # # v0.2.4 #
- defaultValue 0 is now working - fixed bug when using cross associated tables (many to many associations)
- REVERTED mysql-pool usage (will give it a new try later)
- updated node-mysql to 0.9.4
# v1.1.1 # # v0.2.3 #
- fixed memory leaks - added latest mysql connection library
- added query queueing (adjustable via maxConcurrentQueries in config; default: 50) - fixed id handling on save
- fixed text handling (varchar > 255; text)
- using the inflection library for naming tables more convenient
- Sequelize.TEXT is now using MySQL datatype TEXT instead of varchar(4000)
# v1.1.2 # # v0.2.2 #
- prevent malfunction after being idle - released project as npm package
# v1.1.3 # # v0.2.1 #
- [BUG] scoped options in model => a model can now have the attribute options - fixed date bug
- [FEATURE] added drop method for sequelize, that drops all currently registered tables
# v1.1.4 # # v0.2.0 #
- [BUG] tables with identical prefix (e.g. wp_) can now be used in many-to-many associations - added methods for setting associations
- added method for chaining an arbitraty amount of queries
# v1.2.0 # # v0.1.0 #
- [FEATURE] min/max function for models, which return the min/max value in a column - first stable version
- [FEATURE] getModel for modelManager for getting a model without storing it in a variable; use it via sequelize.modelManager.getModel('User') - implemented all basic functions
- [TEST] test suite refactoring for jasmine - associations are working
# v1.2.1 #
- [REFACTORING] renamed the global options for sync, query and define on sequelize; before: options.queryOptions; now: options.query
- [FEATURE] allow definition of charset via global define option in sequelize or via charset option in sequelize.define
- [FEATURE] allow definition of mysql engine via global define option in sequelize or via engine option in sequelize.define; default is InnoDB now
- [FEATURE] find and findAll will now search in a list of values via: Model.findAll({where: { id: [1,2,3] }}); will return all models with id 1, 2 and 3
- [TEST] force latin1 charset for travis
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!