Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.7.0 #119

Merged
merged 33 commits into from
May 3, 2017
Merged

0.7.0 #119

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
5b13b5c
updated dependencies
Apr 5, 2017
b57ed78
refactored decorators moved each into its own file
Apr 5, 2017
59b821b
moved deprecated decorators into their own directory
Apr 5, 2017
d8303d3
added deprecations in RoutingControllersOptions
Apr 5, 2017
08df531
refactored all decorators usage
Apr 6, 2017
f8f559f
refactored parameter options
Apr 6, 2017
76aba03
refactored decorators
Apr 6, 2017
c67a6ac
fixed wrong test
Apr 6, 2017
8c659ab
added new decorators
Apr 6, 2017
9840157
removed @EmptyResultCode decorator
Apr 6, 2017
36dbc51
remove interceptor functionality
Apr 6, 2017
b226073
removed deprecated decorators
Apr 7, 2017
41d575d
moved json controller back to non-deprecated decorators :(
Apr 7, 2017
9b279da
remove string casting to fix issues with buffer returning
Apr 7, 2017
4ac2766
fixed some decorators plus some refactoring
Apr 7, 2017
8e4e617
refactored RoutingControllers class
Apr 7, 2017
b7591b2
refactored action options object
Apr 7, 2017
0e84913
refactored action parameters stuff
Apr 7, 2017
460b8f2
refactored ActionParameterHandler
Apr 20, 2017
45e6c7f
refactored action metadata + beatifying all other classes
Apr 21, 2017
906fe8d
decorators and drivers refactoring
Apr 24, 2017
15c45d6
refactored named and non-named based parameters hydration
Apr 24, 2017
eaf9b39
implemented #75 - support for custom parameters decorators
Apr 24, 2017
308ade7
added custom authorized and current user decorators support
Apr 24, 2017
8552369
added context decorator for koa
Apr 25, 2017
9bb2008
small fixes; added more docs
Apr 26, 2017
f3b931d
exported metadata args storage; version bump
Apr 26, 2017
17cf0e8
added extra release note
Apr 26, 2017
c9e28df
added role checker support; fixed bug with validation and class trans…
Apr 28, 2017
c263928
implemented global metadata args storage
Apr 28, 2017
f5c5642
Update auto-validation Readme paragraph + typo
MichalLytek Apr 30, 2017
7831c64
added authorized support for controllers, added api for model control…
May 3, 2017
38de552
Merge pull request #126 from 19majkel94/patch-3
pleerock May 3, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
build/
node_modules/
typings/
coverage/
npm-debug.log
53 changes: 53 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Changelog and release notes

**0.7.0** *[BREAKING CHANGES]*

* some routing-controllers options has been changed and renamed
* returned validation error value signature has changed
* removed `Interceptor` functionality
* controllers and middlewares now can be specified in routing-controllers options
* `MiddlewareInterface` was removed and instead `ExpressMiddlewareInterface` or `KoaMiddlewareInterface` should be used
* `ExpressErrorMiddlewareInterface` was renamed into `ErrorMiddlewareInterface`
* per-controller and per-action middlewares used in `@UseBefore` and `@UseAfter` now should not be marked with `@Middleware` decorator
* `@MiddlewareGlobalBefore()` and `@MiddlewareGlobalAfter()` were removed and instead new signatures should be used: `@Middleware({ type: "before" })`
and `@Middleware({ type: "after" })`
* named some decorator parameter names
* added few new decorators to get all parameters like `@QueryParams`, `@Params`, `@HeaderParams` etc.
* added `@Authorized` and `@CurrentUser` decorators
* added new `@Ctx` decorator to use context with koa
* `@NullResultCode` has been renamed to `@OnNull`, now supports error classes
* `@UndefinedResultCode` has been renamed to `@OnUndefined`, now supports error classes
* `@EmptyResultCode` has been removed. Use `@OnUndefined` decorator instead and return concrete types in your controllers.
* added ability to create custom decorators
* enabled validation by default
* multiple bug fixes
* codebase refactoring

**0.6.10**

* added integration with `class-transform-validator` for deserialization and auto validation request parameters

**0.6.2**

* made interceptors to support promises

**0.6.1**

* added interceptors support

**0.6.0** *[BREAKING CHANGES]*

* middleware and error handlers support
* everything packed into "routing-controllers" main export
* removed parseJson from @Body decorator
* removed ActionOptions
* removed responseType from action options and added @JsonResponse and @TextResponse decorators
* added few more new decorators
* fixed multiple issues with param decorators
* fixed multiple bugs
* refactored core

**0.5.0**

* renamed package from `controllers.ts` to `routing-controllers`
* added integration with `constructor-utils` for serialization and deserialization