Releases: plumier/plumier
Releases · plumier/plumier
v1.0.0-rc.2
New Features
- Add metadata information on current decorator target (#394) (b4324dc)
- Expose metadata property to facilitate metaprogramming (#386) (9a1360d)
- Add function to register virtual route programmatically (#376) (337bff7)
- Add virtual route (#375) (e9fd8e0)
- Add rawBody parameter binding (#370) (6707419)
- Add force https (#365) (aa17255)
- Add listen method to easily listen to port directly form Plumier instance (#362) (30e9726)
- Add support for OAuth 1.0a and add Twitter provider (#360) (1f4053e)
- Add social media profile and access token parameter binding (#356) (9af9fee)
- Add form file binding decorator (#339) (f493f3f)
- Add FormFile validation (#338) (7251fc7)
Bug Fixes
- Use generic on parameter metadata (#395) (3ec6f9e)
- Fix performance issue caused by invocation update (#391) (7ffc1d8)
- Show mongoose model analysis on startup (#385) (a4c4697)
- Fix mongoose helper API (#380) (5b7bbc6)
- Social login endpoints visible on virtual route (#377) (c4e4dc3)
- Force https should not depends on NODE_ENV (#371) (a0ea267)
- Fix typos on listen method and force https (#367) (f0f756b)
- Fix force https redirect loop (#366) (a6fc519)
- Add configuration to accept proxy headers (#364) (f4bba8f)
- Listen method should supported string input (#363) (a25be92)
- Fix oAuthToken return all the provider tokens (#359) (d4a0ad8)
- Fix unable to login using GitLab provider (#358) (caa64aa)
- Fix social login debug information (#357) (081a5f4)
- Social login redirect not working due to script error (#355) (3352825)
- Remove old social media login API (#353) (ec9012b)
- Add function to redirect and set cookie for OAuth login (#352) (c3124f4)
- Fix ActionResult to accept HttpCookie interface and Array (#351) (a09590d)
- Fix array of FileForm cause route analysis warning (#346) (4a84515)
- Multiple FormFile issue with guestArrayElement (#344) (ace1c3f)
- Fix unexposed FormFile data type (#337) (bc8c4b2)
- Fix file binding failed test (#336) (a43d92d)
- Fixing file parameter binding API (#335) (00bfbd1)
- Fixing application root directory issue (#333) (abc0f69)
- Load default configuration from environment variable (#332) (cd57e3d)
- Fix failed canary build (#321) (fc15acb)
Chores
- Fix cleanup script (f9a4594)
- Preparing configuration for RC2 (55e9477)
- Upgrade dependencies (#400) (cf7f058)
- Upgrade dependencies (#396) (e6af483)
- Arrage tests directory (#393) (eb58254)
- Add github actions CI (#388) (9520748)
- Upgrade Jest 25 (#387) (35e0263)
- Upgrade dependencies (#378) (bde7abc)
- Add version badge using shield.io (#334) (8996a41)
- Upgrade dependencies (#330) (8e4c36e)
- Fix unused dependencies (#329) (9e9fb48)
- Move benchmark directory into single directory (#328) (2f9d328)
- Move tests directory into single directory (#327) (4895e92)
- Update readme file (#325) (28d2054)
Documentation Changes
- Metaprogramming documentation (#399) (8b49024)
- Mongoose helper API documentation (#381) (b3df47e)
- Add Twitter login on social login doc (#361) (a482d91)
- Remove csrf secret endpoint from social login doc (#354) (e2d267b)
- Fix file upload for the FormFile feature (#347) (e4f93a2)
- Fix wrong validation type being used in example (#345) (b28f9c9)
- Update social media login examples (#322) (7461f63)
Refactors
- Refactor middleware invocation (#389) (d32f7c0)
- Move https related test to its own file (#382) (47c44f0)
Tests
v1.0.0-rc.1
New Features
Bug Fixes
- Simplified social media login flow (#319) (969b61f)
- Expose headers and cookies on ActionResult (#317) (dcc3702)
- Custom validator support multiple validator implementation (#316) (d7d59f3)
- Mongoose unique validation now supported on PUT and PATCH (#312) (a880ad9)
- Fix some documentation and update readme files (#308) (b1db82a)
- Tweak middleware pipeline for performance and scale (#304) (ecc1f26)
- CORS is disabled by default (#301) (a5ac982)
- Fix failed canary build (#296) (fa11c0e)
Refactors
- Refactor validator to make it more readable (#307) (4116c9b)
- Fix function memoization (#305) (cf4f02a)
Chores
- Upgrade dependencies (#314) (9669fd9)
- Drop tests environment on Node.js 8 and update appropriate docs (#313) (02cb664)
- Upgrade dependencies (#306) (188fd19)
- Update motivation on readme.md (#302) (6530c46)
Tests
Documentation Changes
v1.0.0-rc.0
New Features
- Rest decorator for restful API convenient (#288) (79ef47e)
- Allow sync/async callback function on custom validator (#263) (4023ad0)
- Allow sync/async callback function on custom authorization (#261) (3fc85a3)
Bug Fixes
- Fix query case sensitivity issue on ctx.query and ctx.request.query (#290) (b521953)
- Fix missing type export (validate, ActionContext) (#287) (66a2aa4)
- Controller and action specific middleware lifecycle (#285) (d688b44)
- Fix @val.custom not being detected on @plumier/mongoose (#284) (b61738e)
- Fix Plumier application lifecycle (#282) (7313eb2)
- Validation behavior is optional by default (#280) (8894271)
- Remove usage of Array.isArray (#278) (54e9548)
- Fix GitHub profile properties based on GitHub docs (#277) (27b68fd)
- Fix custom validator can't be applied as class level decorator (#276) (5be8aff)
- Fix parameter binding for destructuring parameter (#275) (cceed7f)
- Fix Google oAuth endpoint scope to include email (#271) (3240ad4)
- Remove unnecessary social login validation (#268) (adc0c6d)
- Extend dependency resolver usage on middleware, validator, authorizer (#266) (abaf721)
- Expose binder name on BindingDecorator (#260) (643563a)
- Unable to add root path on serve static file (#258) (9071b7f)
Chores
- Add build script for RC release (#295) (9037a61)
- Upgrade dependencies (#294) (762d72f)
- Fixing build issue caused by previous edit (#286) (fa1ae0d)
- Upgrade dependencies (#274) (434b5ca)
Documentation Changes
- Add motivation behind the creation of Plumier (#293) (b387624)
- Fix documentation related to new validation behavior (#281) (feae170)
- Fix tutorial to follow exposed validator info properties (#269) (17b2ca8)
Refactors
Tests
Breaking Changes
- Validation now optional by default.
@val.optional()
removed and@val.required()
added. Invocation.context
renamed intoInvocation.ctx
to make it consistent with other naming convention.- Koa middleware support dropped, but possible to use
MiddlewareUtil.fromKoa
adapter. ctx.parameters
now is not accessible through global middlewares due to application lifecycle change.ctx.parameters
only accessible from custom validator, custom authorization and controller/method middleware.
v1.0.0-beta.11
New Features
- Controller invoker (#249) (9e9e2cc)
- Add history api fallback (#247) (ceb0f65)
- Extensible route generator analyzer via configuration (#245) (d2d1238)
- Add middleware to generate OAuth dialog endpoint (#241) (39f91e9)
- Add cookie parameter binding (#240) (ba03f5f)
Bug Fixes
- Fix unhandled root url causing unexpected serve file behaviour (#254) (7d8ce37)
- Fix history api fallback route analyzer issue (#253) (c4d5734)
- Fix history api fallback redirection issue (#252) (94f88c6)
- Expose middleware pipeline (#248) (ab4fd91)
- Add way to remove cookie using the same setCookie method (#239) (6f37e07)
- Expose setCookie method on ActionResult (#238) (fdf6d25)
- Absolute/relative rule applied on root route (#237) (68fea27)
- Missing parent value property from ValidatorInfo (#233) (987dd39)
- Add social login logging (#232) (21ea29c)
- Fixing social login callback view events (#230) (41e078a)
Chores
- Rename canary to dev to resolve publish issue (20ba598)
- Add update script and upgrade depdendencies (3b0084f)
- Fixing canary build configuration (4337618)
- Added mongodb service on github action (c78b545)
- Fix node version on github action (c614984)
- Added github action for canary publish (65e6fa1)
- Upgrade packages: Koa, Validator, TypedConverter (#234) (b4e2ee0)
v1.0.0-beta.10
Features
- Social login support (Google, Facebook, GitHub, GitLab) #202 refer to the documentation
- Formatted error message response body #168
- Extension point to catch all framework errors #165
- Class scoped validation, supported by TypedConverter, refer to the documentation
Bugfixes
- Unable to set array value on
setHeader
, thanks to @banditelol . #197 HttpStatus
not re-exported fromplumier
package #193@plumier/mongoose
unique validation issue on PUT method #204
v1.0.0-beta.9
Features
- Performance improvement on overall framework speed
- Faster & more efficient validator and type converter
Bugfixes
@plumier/mongoose
error when tinspector reflect the/model
directory- Bug fixes:
@plumier/multipart
random ECONRESET error on windows users
Breaking Changes
- Custom type converter no more supported. A more efficient way by using TypedConverter visitor extension.