Skip to content

Releases: plumier/plumier

v1.0.0-rc.12

25 Apr 02:08
Compare
Choose a tag to compare

Bug Fixes

  • Fix SwaggerFacility option to possibly enable/disable feature (#910) (2e9dfb5)
  • Fix swagger option to be able to configure swagger display (#908) (1a45943)
  • Fix Open API security scheme, add option to use different scheme (#907) (3341de3)
  • Fix TypeORM repository error when provided undefined parameter (#896) (c8ab137)
  • Fix Open API model name issue on dynamic type with property of type array (#895) (df180dc)
  • Fix @type decorator to possibly use non template generic type argument (#891) (1f45c57)
  • Rename generic.type into generic.argument (#890) (cdc4798)

Chores

  • Upgrade dependencies (#909) (e280a33)
  • deps:
    • Bump @docusaurus/preset-classic (#906) (908701b)
    • Update react requirement from ^17.0.1 to ^17.0.2 (#905) (c84363f)
    • Bump swagger-ui-dist from 3.46.0 to 3.47.1 (#904) (a9f5839)
    • Update react-dom requirement from ^17.0.1 to ^17.0.2 (#903) (5065337)
    • Update mongoose requirement from ^5.12.3 to ^5.12.5 (#902) (ac9f583)
    • Bump @types/csrf from 1.3.2 to 3.1.0 (#900) (64a5499)
  • deps-dev:
    • Update @types/koa-router requirement (#897) (039b103)
    • Update autocannon requirement from ^7.0.5 to ^7.2.0 (#901) (85724be)
    • Update @types/node requirement (#899) (1d9ffad)
    • Update @types/faker requirement from ^5.5.1 to ^5.5.3 (#898) (0052ec9)

Documentation Changes

  • Publish documentation (b7cb2c1)
  • Fix generic controller related documentation (#911) (d348bd6)
  • Publish documentation (c9b6f01)

v1.0.0-rc.11

14 Apr 21:40
Compare
Choose a tag to compare

Bug Fixes

  • Fix duplicate entity policy authorization name on analysis message (#886) (61e8f6c)
  • Fix entity policy analysis on multiple policies with the same name (#883) (1b2c9e6)
  • Add query parser analyzer when conflict with entity policy (#882) (5e8f3b3)
  • Remove entity policy on return type analysis (#881) (dad95ad)
  • Fix missing Open API description feature for action (#880) (cd3f188)
  • Authorization analyzer logic used by route analyzer (#878) (f8fc39f)
  • Expose @plumier/reflect decorators from plumier project (#872) (7b946a2)
  • Duplicate route when controller put under controller directory (#870) (3da5517)
  • Fix error when inserting records with many to one without parent relation (#869) (9bf046b)
  • Fix Mongoose T&Document issue (#868) (cf30140)
  • Fix reflect error when provided destructed tuple parameter (#867) (2137845)

Chores

Documentation Changes

  • Publish documentation (c9b6f01)
  • Update global authorization configuration (#888) (585c61a)
  • Add navigation to example monorepo (1b75710)
  • Fix genericController highlight code (c37e9e8)
  • Fix old generic controller filter query string (95d909f)

v1.0.0-rc.10

03 Apr 00:27
Compare
Choose a tag to compare

Bug Fixes

  • Rename one to many generic controller into nested generic controller (#864) (ae4d798)
  • Add support many-to-one on nested generic controller (#862) (bb3cff3)
  • Refactor generic controller factory module (#861) (29f8546)
  • Simplify generic controller create route function (#860) (dce4a10)
  • Remove copy decorator logic from entity to generic controller (#859) (029db4b)
  • Reflection define dynamic type with object definition (#858) (6f60c88)
  • Fix authorization logging (#857) (2c0ef31)
  • Fix generic controller factory to inject default controllers (#856) (0e3463b)
  • Fix logic on how to reflect generic type (#855) (c9bbfc2)
  • Fix generic controller factory issue when overridden (#854) (4c9d498)
  • Expose ResponseTransfromer into plumier project (fc85e35)
  • Fix Open API generation error on generic controller (#853) (52c4f88)
  • Expose generic configuration options from plumier package (#852) (fec4444)
  • Rename generic controller factory name (#851) (c32b16b)
  • Fix inheritance on generic class when generic parameter stop (#849) (8cb5a1f)
  • Fix inheritance on generic class when generic parameter stop (#848) (8defadf)
  • Fix TypeORM generic controller factory issue with entity inheritance (#847) (98efb8c)
  • Refine generic controller factory logic (#846) (c8607a0)
  • Fix generic controller creation to use controller factory (#845) (88640f2)
  • Fix query parser authorization regarding to entity policy (#844) (7081fb0)
  • Rename JwtAuthFacility global option into globalAuthorize (#843) (8764dd8)
  • Fix auth policy analysis issue on global authorize (#842) (5c23d60)
  • Fix Open API tags for better endpoint grouping (#841) (0009082)
  • Fix error handling on async auth policy and entity policy (#840) (1fe4eab)
  • Fix Open API DynamicType name duplicates (#839) (36c1c37)
  • Fix swagger summary to show operation authorization (#838) (cf07283)

Chores

Documentation Changes

  • Update documentation (5e93b1a)
  • Add generic controller factory documentation (f713694)
  • Fix filter parser documentation on plumier in five minutes (d025cd7)
  • Fix security documentation reflect with changes (3966f75)

Other Changes

  • Add tests on generic controller inheritance (#850) (99bf1d0)

Tests

  • Add more tests to cover generic controller many-to-one (#863) (aca2ae8)

v1.0.0-rc.9

14 Mar 06:31
Compare
Choose a tag to compare

Bug Fixes

  • Fix generic controller order parser to make it reusable (#836) (8095386)
  • Remove authorize.filter filter now depends on authorize.read (#834) (cce6530)
  • Fix select query converter to make it reusable (#833) (ba8ff2d)
  • Rename actions method of ActionBuilder into methods (#826) (38de8a5)
  • Fix current login user structure (#825) (ed0966e)
  • Fix missing grammar during test running on CI (#824) (80bc699)
  • Add grammar on git ignore to prevent dirty repo during build (d7b1016)
  • Fix grammar compilation causing error build (#823) (f8fa050)
  • Fix filter parser to allow string syntax (#822) (08fd940)
  • Allow mutating validator invocation context from invocation (#821) (ddfeb86)
  • Move generic controller into separate project (#820) (b7f328e)
  • Fix ORM inverse property guessing logic on generic controller (#814) (2f70613)

Chores

Documentation Changes

  • Update action builder documentation related to change (b96bf68)
  • Add query parser documentation (#837) (5e1f794)
  • Update documentation related to filter parser (#835) (07c756b)
  • Add inverse property population documentation (d7a6872)
  • Publish website (75134f9)
  • Add social login facility on entry point documentation (dad86b4)

v1.0.0-rc.8

23 Feb 11:08
Compare
Choose a tag to compare

Bug Fixes

  • Fix entity policy analysis failed detecting mistyped name (#812) (ddd87dd)
  • Mongoose entity initialization issue (#811) (97393e2)
  • Fix misleading error when no generic controller installed (#810) (9726854)
  • Fix conversion error on generic controller filter with falsy value (#805) (9db7678)
  • Fix Open API schema for generic controller filter (#804) (e2fae1a)

Chores

Documentation Changes

  • Explain about controller traversal logic on entry point (fa5b8be)
  • Add rootDir configuration on application for testing (5b1f426)
  • Update old Facility API on facility documentation (5848d10)
  • Add benchmark on landing page feature (2971e14)
  • Add bootstrap documentation (#800) (65df2dc)
  • Fix typos on controller default search glob (f1a165f)
  • Fix edit link redirected to github 404 (#798) (e60b165)
  • Fix typos on first class entity feature (179bc5d)
  • Fix typos on landing page features (#796) (1a3b532)
  • Fix feature list on landing page (#795) (e3de46e)
  • Fix security documentation links (#793) (ac65b7f)
  • Fix landing page compile error (#791) (696a69d)
  • Add landing page on documentation website (#790) (ee4857b)
  • Fix flaw logic on security example (c427c60)

v1.0.0-rc.7

14 Feb 00:33
Compare
Choose a tag to compare

Bug Fixes

  • Fix compile error caused by query.state property (#786) (327d97b)
  • Fix authorization policy registration under controller file (#781) (1e8f001)
  • Add authorize.readWrite combination of read and write (#780) (168d564)
  • Fix WebApiFacility rootPath configuration (#779) (6fd3317)
  • Fix default root dir location (#770) (9d2e661)

Chores

Documentation Changes

  • Add explanation about entity policy based on ID (#785) (613dffc)
  • Fix get started documentation related to new API (#783) (7fddf6a)
  • Fix missing links on generic controller documentation (#777) (4b534c4)
  • Fix controller and auth policy registration documentation (#776) (7cc4e7d)

v1.0.0-rc.6

10 Feb 21:30
Compare
Choose a tag to compare

Bug Fixes

  • Fix controller/policy search on current running module (#764) (134b33e)
  • Fix default glob to search authorization policy files (#763) (7476186)
  • Fix default glob pattern to search controller location (#762) (6ea109f)
  • Fix authorize readonly/writeonly error on route analysis (#760) (9bd74d1)
  • Provide generic controller configuration by action names (#755) (15da4b3)
  • Fix validation decorator API (#753) (7867825)
  • Fix route analysis for mistyped authorization name (#752) (b2f4f37)
  • Fix authorization policy name conflict detection (#750) (371ce4b)
  • Fix default global authorization logic (#747) (c10dae0)
  • Fix global auth value receives string instead of functions (#746) (a8050af)
  • Drop role based auth and custom authorization (#742) (27a936a)

Chores

Documentation Changes

  • Cleanup fundamental documentation (#765) (0070e19)
  • Add inline documentation on all validation decorators (#754) (c0535d0)
  • Add tutorial documentation (#736) (6997bd1)
  • Add authentication and authorization documentation (#748) (041813e)

v1.0.0-rc.5

23 Jan 22:52
Compare
Choose a tag to compare

Chores

Bug Fixes

  • Fix jwt token check header vs cookie when provided both (#731) (975e937)
  • TypeORM repository on setting reverse relation (#725) (2981e6d)
  • Fix set relation property by ID on TypeORM generic controller (#722) (d598502)

v1.0.0-rc.4

08 Jan 21:48
Compare
Choose a tag to compare

New Features

  • Add custom query on generic controller (#708) (f8ba20c)
  • Add feature to use multiple generic controller (#706) (8db3d71)
  • Add configuration to specify nested generic controller (#704) (b14f228)
  • Add global auth policy registry (#702) (659960b)

Bug Fixes

  • Fix request hook issue when type of body request is an array (#715) (4d80018)
  • Fix issue on postSave when custom controller without model parameter (#700) (49b1292)
  • Fix postSave issue when no postSaveValue provided from custom controller (#699) (d3d234b)
  • Separate package for testing (#697) (7c881a5)

Chores

Documentation Changes

  • Add policy based authorization documentation (#685) (516adb0)
  • Add generic controller custom query documentation (#709) (b504093)
  • Add documentation about multiple controller usage (#707) (f69e644)
  • Fix broken links (#696) (a047a9b)

v1.0.0-rc.3

11 Dec 22:41
Compare
Choose a tag to compare

New Features

  • Add count method on each repository (#673) (7c0080b)
  • Add generic controller response transformer (#657) (2c92bea)
  • Add function to transform response into specific data type (#656) (8cf40ac)
  • Refactor generic controller into separate files (#640) (495963a)
  • Add function to create controller using controller builder (#639) (22400ba)
  • Add action notation (#632) (de299dc)
  • Add function to load auth policies from external files (#626) (567ece6)
  • Add core function for authorization policy (#619) (6223ca8)
  • Fix MongoDB ObjectID rendered into Buffer on response (#617) (943ad6a)
  • Add deleteColumn decorator for entity delete column (#616) (a1d939c)
  • Add actions function to get generic controller methods (#609) (6619528)
  • Add conditional filter parser (gte, lte, lt, gt, ne) (#608) (debc056)
  • Add filter parser and its implementations (#606) (46ba1ef)
  • Add generic controller filter validation (#605) (cc3f7d8)
  • Add filter authorization (#604) (f036b60)
  • Add TypeORM unique validator (#592) (7564b24)
  • Populate inverse property on many to one relation on Mongoose (#590) (4a1b1e8)
  • Bind action result into request hook postSave (#589) (4f8af9b)
  • Add request hook preSave and postSave (#587) (c84a00f)
  • Add request hook, to hook request from entity (#586) (01dd8c0)
  • Copy api tags decorator into generic controller (#585) (07c2c89)
  • Add generic controller select and order query string (#581) (cc9ab04)
  • Automatically create schema on ref (populate) property (#579) (cf3025d)
  • Add generic controller custom route path (#577) (23eb464)
  • Add applyTo to route decorator (#575) (a6712d2)
  • Add route parameter mapping (#573) (dec0c5a)
  • Add proxy mongoose model to defer schema generator (#571) (d3bb046)
  • Add posibility to pass object from query string (#570) (99f1de1)
  • Add mongoose preSave decorator (#568) (6fbee48)
  • Add support for async on parameter binding (#563) (10eba12)
  • Add property binding on generic controller (#562) (2a3ba80)
  • Use async file systems on route generator (#558) (194d725)
  • Enable controller path specified by globs (#557) (7a9b68b)
  • Add generic controller one to one for TypeOrm (#548) (3fccd92)
  • Add generic controller one to one for mongoose (#547) (44b6b52)
  • Enable TypeORM fill relation with ID (#542) (6bc1254)
  • Allow model relation filled with id (#540) (3251487)
  • Copy class scope decorators from entity into controller (#534) (10ae92f)
  • Add controller scope authorization selector (#532) (3b04621)
  • Add action scoped middleware (#530) (e5684ab)
  • Add readonly and writeonly authorization (#528) (d32dc04)
  • Add option to ignore directory structure as route path (#515) (c34b656)
  • Add route grouping for Route Analyzer and Open API (#506) (7c5b780)
  • Add way to ignore CRUD route generation from entity (#485) (493a4aa)
  • Add OpenAPI 3.0 tags decorator (#470) (c56024e)
  • Add Mongoose CRUD route generator (#468) (ab02537)
  • Add nested CRUD TypeORM route generator (#457) (fe5f73c)
  • Add CRUD TypeORM route generator (#450) (d646d5e)
  • Add logger facility (#443) (665ae18)
  • Add custom route generator (#442) (6322659)
  • Add TypeORM helper (#430) (e5b4e81)
  • Add Open API 3.0 configuration with decorators (#427) (fdf78c5)
  • Add Swagger and OpenApi 3.0 generation (#419) (8a05f0b)
  • Add parameter authorization access modifier (#415) (ff8fa18)

Bug Fixes

  • Fix request hook to be able to access ID on postSave (#690) (93c4776)
  • Fix Mongoose TypeScript typings issue (#684) (8d194e2)
  • Fix update array relation with ID (#680) (fb59053)
  • Generic controller get many return data type any (#675) (fe84b4f)
  • Fix compile error caused by unimplemented member (#674) (0a18e03)
  • Fix parameter authorization failed when provided null (#670) (028cda1)
  • Fix empty array result converted into OK (#669) (5941bf4)
  • Fix issue unable to set property with null (#667) (321b263)
  • Reverse property should not be included on response (#662) (8bbc781)
  • Authorization policy issue when applied multiple (#658) (aa86213)
  • Controller builder uses callback (#644) (ffc0ac5)
  • Parameter authorization throws 403 for non login user (#642) (4e64306)
  • Fix entity policy provied ID instead of the entity instance (#641) (bd4dd0c)
  • Give proper error message when no TypeORM entities found (#638) (61f99c3)
  • Jwt secret is optional (#637) (1c0f97c)
  • Remove error code (#636) (e05c694)
  • Hide filter completely when no filter auth provided on Open API (#633) (35ecd98)
  • Mongoose id issue when used by generic controller (#630) (1d1a670)
  • Fix controller configuration to use fluent configuration (#629) (4e753b2)
  • Entity policy should not break other authorization system (#628) (d74a0e3)
  • Add generic controller configuration builder (#627) (b39b189)
  • Remove empty array on response using projection authorization (#625) (56ad51f)
  • Fix filter converter now based on entity filter decorator (#624) (da37e0a)
  • Add proper error message on generating mongoose schema (#623) (73c2aab)
  • Fix authorization context user now can possibly undefined (#621) (b543fc8)
  • Fix mongoose native array issue (#620) (797e401)
  • Should not showing empty object on non populated ref (#618) (92320ef)
  • Distinguish authorize route, write, read and filter (#614) (bfddc69)
  • Filter authorizer confilct with other authorizer (#613) (96353e3)
  • Fix filter parser conflict with user binding (#612) (513188e)
  • Fix filter parser conflict with parameter binding (#611) (72d6510)
  • Fix import error on filter parser (#610) (aea6d6f)
  • Fix generic controller for mongoose populate projection (#607) (08df864)
  • Open API issue on non registered component with circular types (#602) (7822968)
  • Custom path case sensitive issue on swagger (#601) (bb14deb)
  • Generic controller custom route path issue with swagger (#600) (8f056ce)
  • Generic controller custom route path issue with swagger (#598) (157a87c)
  • Object parameter authorization should be skipped on GET method (#596) (183ddf4)
  • Remove property binding feature on generic controller (#594) (f902a9d)
  • Fix failed canary build (#593) (6767528)
  • Fix request hook may executed under GET method with model parameter (#591) (4a9a5d3)
  • Fix tinspector import issue (#588) (aafe89d)
  • Remove ability to automatically guess authorization based on property auth (#584) (9230abb)
  • Remove mongoose model context (#580) (ec6bede)
  • Fix generic controller filter query to use object (#578) (27fbaeb)
  • Fix mongoose schema generation hook (#567) (0c1ba79)
  • Fix mongoose generic controller versioning issue with Open API (#565) (a769d42)
  • Fix parameter binding decorator can be applied to property (#564) (fe66d98)
  • Fix binder to allow part or login user data (#561) (045aa51)
  • Directory as path should disabled when using glob (#559) (60e26b5)
  • Fix route generator issue on file with non class type (#556) (15b2cf6)
  • Fix import to fs-extra instead of fs (#555) (e2c6cbd)
  • Fix TypeORM entity load when using default connection (#553) (3ffadbc)
  • Fix Open API security when using class scope public decorator (#552) (14d35dc)
  • Fix TypeORM entity load when using default configuration (#551) (5e8868a)
  • Fix mongoose unique validation when provided partial value (#550) (7907229)
  • Fix import error during application start (#549) (f21c49f)
  • Fix failed canary build (#539) (ae9b8e1)
  • Allow @authorize.get and @authorize.set to be copied into controller (#538) (4d4448e)
  • Fix public authorizer not being copied into controller (#535) (9140106)
  • Fix mongoose auto convert objectid conflict with readonly id (#531) (a07cf1f)
  • Fix metadata information on parameter authorization (#527) (d2ecdf6)
  • Fix metadata information on authorization filter (#525) (8cf3108)
  • Fix authorization filter evaluation logic (#524) (fdc190f)
  • Expose mongoose instance from MongooseHelper (#522) (f1d046a)
  • Fix Open API component schema duplicate name (#521) (05f5749)
  • Fix mongoose id property doesn't serialized properly (#520) (5053ec1)
  • Fix mongoose cyclic dependency property (#519) (adec22f)
  • Fix mongodb id validation on Mongoose generic controller (#518) (5a00072)
  • Fix add optional parameter to custom repository on generic controller (#517) (2f98d37)
  • Fix Mongoose unique validator with isolation (#516) (8b07711)
  • Fix mongoose repository isolation mode (#514) (cdf586e)
  • Fix Open API generation model binding issue (#513) (3dcf2e8)
  • Generic controlle internal member should be protected (#512) (5c9fb4b)
  • Fix swagger ui assets hosting on route grouping (#511) (8340cea)
  • Fix generic controller route grouping issue (#510) (9e58720)
  • Isolate mongoose helper to possibly use multiple instance (#507) (0d2edd1)
  • Fix mongose instance to isolate model on API versioning (#505) (438c2de)
  • Authorize decorator incompatible with property field (#498) (b3b6b43)
  • Logging should not visible on production mode (#497) (f24d7fe)
  • Fix route merge logic to ignore parameter name (#496) (432d768)
  • Show stack trace on error log (#495) (06ae01e)
  • CRUD specific configuration applied only when Facility applied (#493) (92c3952)
  • Open API readOnly property issue on nested object (#492) (fec3506)
  • Open API should able to mark property as readonly or writeonly (#491) (87184dc)
  • FIx Open API required filed and partial validation (#490) (c598c21)
  • Fix file parameter binding filled with request body (#488) (4e400ec)
  • Rename Open API schema type name for system and partial (#487) (044cb74)
  • Fix custom CRUD controller without registering it on facility (#486) (2ed5bea)
  • Ignore relation properties on Open API generation (#484) (1fafab3)
  • Ignore ID ...
Read more