Skip to content

Releases: plumier/plumier

v1.0.0-rc.2

22 Mar 07:26
Compare
Choose a tag to compare

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

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

Tests

v1.0.0-rc.1

25 Jan 22:24
Compare
Choose a tag to compare

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

Chores

Tests

  • Add testings related to required validator priority (#315) (60f0872)

Documentation Changes

  • Fix duplicate documentation on fundamentals (#297) (7ab1d0a)

v1.0.0-rc.0

25 Dec 01:56
Compare
Choose a tag to compare

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

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

  • Add more tests on class scope validation (#291) (9149760)

Breaking Changes

  • Validation now optional by default. @val.optional() removed and @val.required() added.
  • Invocation.context renamed into Invocation.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

12 Nov 04:31
Compare
Choose a tag to compare

New Features

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

26 Oct 22:42
Compare
Choose a tag to compare

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 from plumier package #193
  • @plumier/mongoose unique validation issue on PUT method #204

v1.0.0-beta.9

04 Jul 07:51
7545075
Compare
Choose a tag to compare

Features

  • Performance improvement on overall framework speed

image

  • 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