changelogs.md


dylanfoster/parch

Repository  -  API  -  Source

2.1.0

November 12, 2017

Features

  • router: add support for nested non crud controllers (cd6b085)

2.0.0

November 12, 2017

Bug Fixes

  • handlers: move afterModel hook to after model hook (#67) (f6042bf)

Features

  • controllers: add support for controller directories (ee524b9), closes #44
  • logging: move logger under logging options and remove log option (b668427), closes #42
  • middleware: remove info log from log middleware (c500a73), closes #56
  • orm: update sequelize (38c38c5)
  • remove deprecations (87adb2c)

BREAKING CHANGES

  • controller.model has been moved to controller.internalModel
  • controller finders have been removed. users will need to use the store.
  • application.modelManager has been removed,
  • application.app has been moved to a getter
  • logging: Users will need to move their options.log to options.logging.logger
  • orm: updates the underlying sequelize orm. Users will need to follow the deprecation guide http://docs.sequelizejs.com/manual/tutorial/upgrade-to-v4.html

1.3.2

November 12, 2017

Bug Fixes

  • application: add guard for missing initializer directory (0538c76)

1.3.1

October 25, 2017

Features

  • serializers: update docs for default and fix import (6b5cbb5)

1.3.0

October 24, 2017

Features

  • serializers: add RestSerializer (0cfca6a)
  • store: add json serializer (77406aa)

1.2.0

October 19, 2017

Features

  • application: add support for project initializers (dfbacab)
  • loader: remove type suffix from module name (3e8c2f3)

1.1.1

April 9, 2017

1.1.0

April 3, 2017

Features

  • controller: move underlying dao methods to use parch-js/orm and expose via store (9119ba8)

1.0.3

March 31, 2017

Deprecates config.log for 2.0.0

1.0.2

March 30, 2017

Bug Fixes

  • logger: ensure logger is injected whether internal or user passed (1b41ded), closes #41 #41

1.0.1

March 18, 2017

Bug Fixes

  • export containment from main export (3cf5b50)

1.0.0

March 18, 2017

Features

  • application: move application init to initializers (d8d7cb8)
  • containment: add containment (07b56cc)
  • controller: move controller to registry (43a99b6)
  • initializers: add application initializer (00c9379)
  • initializers: instantiate model manager (099a3a8)
  • initializers: log initializers (ba81b61)
  • initializers: move logger to an initializer (4713bd1)
  • initializers: reorder model manager (f375899)
  • inject: add optional property name (fb9eee4)
  • registry: add registry and initializers (2653a71)
  • registry: add singleton option to register (350cc81)
  • registry: throw an error when trying to inject unregistered object (74d9fef)
  • router: move router to registry (0175af4)
  • router: use resource name for path segment (3f81bb4), closes #6
  • add deprecations (02911b9)

BREAKING CHANGES

  • router: dynamic path segment for resources has been changed to use the resource name e.g. :id => :userId. As a result, users using req.params.id will need to make the update

commit f529a8a954338ba9e48ac77154cdf2b5d14780d2 Merge: ea13de9 8386f45 Author: Dylan Foster dylan947@gmail.com Date: Tue Mar 14 13:07:39 2017 -0700

chore: rebase develop

commit ea13de969b7900d231f6cf9f74a1bd23b8b221e6 Author: Dylan Foster dylan947@gmail.com Date: Tue Mar 14 10:39:09 2017 -0700

test(router): update controller fixture

commit d8835f05e358a9c4b7226caf2ef00b444065ab51 Author: Dylan Foster dylan947@gmail.com Date: Tue Mar 14 10:22:47 2017 -0700

feat(router): use resource name for path segment

commit 8386f451c759baeb9dc2c95bef5daadf055f5649 Author: Dylan Foster dylan947@gmail.com Date: Tue Mar 14 10:39:09 2017 -0700

test(router): update controller fixture

commit 305c724cfe0fc6f684e2a1a1da349ed502dd2fbc Author: Dylan Foster dylan947@gmail.com Date: Tue Mar 14 10:22:47 2017 -0700

feat(router): use resource name for path segment

0.12.0

March 13, 2017

Features

  • router: add namespace support for resource (0548ed5)

0.11.0

March 13, 2017

Features

0.10.0

February 19, 2017

Features

  • controller: add finder option support (b3f078f), closes #29 #29

0.9.0

January 17, 2017

Features

  • router: add global route namespace support (af05d88)

0.8.0

January 8, 2017

Features

  • router: add namespace support (2065ee7)

0.7.1

January 7, 2017

0.7.0

January 7, 2017

Features

  • utils: add status code constants to controller (b82d830)

0.6.0

January 3, 2017

Features

  • application: add app instance to request object (637e7a6)

0.5.0

January 1, 2017

Features

  • router: add support for before and after controller hooks (13d5f7a)

0.4.0

December 27, 2016

Features

  • models: add ability to pass sequelize model options (5557116)

0.3.1

December 4, 2016

0.3.0

December 4, 2016

Features

  • application: add ability to override logging directory and serializers (d824fe9)

0.2.0

November 28, 2016

Features

  • app: move logging to a middleware (fde7ae8)
  • loader: allow filter to be configurable (61a750b)

0.1.0

July 13, 2016

Features

  • authentication: add authentication to application (44c7c33)

0.0.8

July 1, 2016

Features

  • logger: add logger class (d88b1d2)
  • logger: add logger to app (b3435ba)

0.0.7

June 24, 2016

Features

  • controller: add ability to query with findAll (92c8123)
  • controller: add bad request error for updateRecord (12dd740)
  • controller: add createRecord method (fccf424)
  • controller: add destroyRecord method (59f2fd8)
  • controller: add findAll finder (1d038c7)
  • controller: add findOne finder (fab5c56)
  • controller: add updateRecord method (d373618)

0.0.6

June 23, 2016

Features

  • router: add route method to bind static route acitons (88ace6f)

0.0.5

June 22, 2016

Features

  • Add Sequelize support
  • application: add default lookup paths for controllers and models and clean up constructor (cbb5985)
  • application: clean up constructor some more (3432f07)
  • models: add base model class and pending tests (2957baf)
  • models: add model managaer (7da0e24)

0.0.4

June 16, 2016

Features

  • application: add default set of middlewares and merge with optional (f3d3a2f)

0.0.3

June 16, 2016

Features

  • application: pass through server options to restify (daf427c)
  • loader: ensure modules are always singularized (ba1cb51)

0.0.2

June 15, 2016

Features

  • application: add start method and fix exports after compile (d0f1670)

0.0.1

June 15, 2016

Features

  • basic route mapping
  • application: alias application#map to Router.map (ec4eb94)
  • lib: change to es6 module syntax (3eaaac4)
  • loader: add module loader and tests (58f7549)
  • router: clean up controller mapping (525de43)
  • router: wire up "resource" (2476298)