Skip to content

Releases: CleverStack/node-seed

ModuleLoader async fixes, NODE_PATH helper, EventEmitter fixes and model associations

24 Jul 19:38
Compare
Choose a tag to compare
  • chore(guidelines): Added contributing guidelines
  • hotfix(moduleLoader): The module loader now correctly runs each hook in eachSeries
  • chore(cleanup): Gruntfile node_path and var cleanup
  • fix(tests): Stacktrace tests have been updated to work with chai
  • fix(tests): Fixed travis before script
  • chore(cleanup): Removing trailing spaces
  • feat(tests): Performance tests beginnings
  • fix(events): Fixed EventEmitter for Class Static
  • fix(models): Fixed model problem when loading with associations
  • fix(seed): Fixed seedData issue with deep merging arrays
  • Added hasMany, hasOne and belongsTo accessors and added support for ?_include in controllers
  • feat(controllers): Allowed ?_include on the url for GET requests on controllers

Fixed Model Validator missing dependency

25 Jun 19:57
Compare
Choose a tag to compare
  • hotfix(validator): Fixed Model Validator issue and version bump to 1.0.7

Testing, Bug Fixes, Windows fixes and more documentation

25 Jun 19:53
Compare
Choose a tag to compare
  • feat(seed): New seedData structure
  • debug(tests): Trying to find problem in cleverAuth tests
  • hotfix(modulePaths): Make sure that if we find a folder named the same as the module in the path that it is the last one
  • chore(cleanup): Fixed mixed tabs and spaces in bootstrapEnv
  • fix(tests): Rebase all models after all modules have loaded
  • chore(tests): Finish Controller unit tests fixes #97
  • chore(cleanup): Cleaned up index, app and added chalk
  • fixing issue #96, the regex used to match files is hanging in Windows
  • Merge pull request #98 (above issue #96)
  • feat(helpers): Implemented helpers for app
  • release(1.0.6): Cleanup package.json and docs

Windows fixes and Model features

19 Jun 05:44
Compare
Choose a tag to compare
  • Windows fixes for Module, Model and Service classes
  • Model Validators now standardised across ORM and ODM modules
  • Renamed Model Behaviour softDeletable to softDeleteable
  • Complete support for all Model options in both the ORM and ODM modules

Added in missing Model Data Types

15 Jun 02:11
Compare
Choose a tag to compare
Merge pull request #84 from CleverStack/feature/model-field-expansion

Feature/model field expansion

Hotfixes for Controller and Model

13 Jun 18:58
Compare
Choose a tag to compare
  • hotfix(controller): Fixed issue where it would not list by id
  • hotfix(model): Fixed issue where it would only list one model in listAction of controller

Updated unit tests and travis support fixed for node-seed 1.0.x

13 Jun 17:35
Compare
Choose a tag to compare
1.0.2

release(1.0.2): Unit tests updated and travis working with node-seed …

First bug fix release in 1.0.x series

08 Jun 15:29
Compare
Choose a tag to compare
  • EventEmitter Fixes
  • Lots of tests and refactoring around that
  • Fixed small issues in Controller
  • Refactored and cleanup up EventEmitter implementation
  • Created "test-module" for unit testing
  • Fixed Service to not allow updating without providing data
  • Removed excess complexity from the Module Class
  • Fixed exception when calling create with no data inside Model Class
  • Removed old data from local.example.json config file
  • Lots more, check the commits for more information - jump in hipchat or post and issue if you have questions or need help with anything

New FCC Models, Service, Controller, Module and Class layers

07 Jun 10:18
Compare
Choose a tag to compare
  • New First Class Citizen Models allow a single definition of a model that works with both ORM and ODM modules
  • New Service Layer provided from the Classes util, to work with FCC Models, API has been standardised for use with both ORM and ODM modules
  • Removed BaseService
  • Controller has been modified to use a newer version of clever-controller that allows ObjectId's to be used as id's in routes.
  • Controller has been updated to work with the new Service Layer.
  • Module Layer has been changed, you now need to return Module.extend() from your module instead of returning a new instance that you created inside module//module.js
  • All Module classes now have a this.debug() helper to simplify the debugging process, to debug any module simply set environment variable DEBUG to the camelcased name of the module (clever-orm = cleverOrm)
  • Modules now have their package.json file loaded and exposed as Module.pkg
  • Hooks have been reorganised and optimised for all changes
  • Modified the Module Loader to work with the new Module Layer
  • New DEBUG environment variable names, DEBUG=Services,Models,Modules,ModuleLoader
  • New injector magic module, require( 'injector' )

fix(windows): Fixed delimiter for NODE_PATH on windows

05 Jun 20:48
Compare
Choose a tag to compare
Merge pull request #79 from CleverStack/hotfix/delimit-node-path-windows

fix(windows): Fixed delimiter for NODE_PATH on windows