Skip to content

Releases: samchon/nestia

v1.6.1

07 Aug 10:58
8f51a54
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.5.8...v1.6.1

v1.5.8

04 Aug 15:38
7182005
Compare
Choose a tag to compare

When an object type has an array typed property not undefindable, and being used in @TypedHeaders(), embeded validator function in the @TypedHeaders() had thrown a type error due to undefined value. To fix this bug, I've changed @TypedHeaders() to generate empty Array when target property value does not exist in the raw headers.

expoort interface ISomeHeadersDto {
    someArray: number[];
}

await api.functional.someApi({
      host: "http://127.0.0.1",
      headers: {
          someArray: [],
      }
});

What's Changed

  • Fix #521 - swagger query parameter type must have specific name by @samchon in #522
  • Fix @TypedHeaders() bug when zero length array comes by @samchon in #523
  • Fix test program bug, not of main program by @samchon in #524

Full Changelog: v1.5.6...v1.5.8

v1.5.6

04 Aug 09:39
91606ef
Compare
Choose a tag to compare

When @EncryptedRoute defined controller method returns nothing (void), @nestia/fetcher had occured exception. Considering purpose of @EncryptedRoute, occuring exception from @nestia/fetcher can be considered as not a bug but a spec. However, this is so unkind to users. Even though the exception is sensible to considering its principle, users may not think such deeply. So I've changed logic of @nestia/fetcher to support void return typed @EncryptedRoute method.

Also, from now on, those libraries will always have same version number, even if no change in each module. The reason for this version integration strategy is that NestJS does it.

  • @nestia/fetcher
  • @nestia/core
  • @nestia/sdk

What's Changed

  • Update typia requirement from ^4.1.14 to ^4.1.16 in /test by @dependabot in #514
  • Update typia requirement from ^4.1.14 to ^4.1.16 in /packages/e2e by @dependabot in #516
  • Enhance @nestia/fetcher for @EncryptedRoute by @samchon in #519
  • Publish @nestia/migrate@0.2.4 for updating bundled files by @samchon in #520

Full Changelog: v1.5.4...v1.5.6

v1.5.4

04 Aug 08:04
b3279e5
Compare
Choose a tag to compare

https://nestia.io/docs/core/TypedHeaders/

New decorator @TypedHeaders()

What's Changed

Full Changelog: v1.4.5...v1.5.4

v1.4.5

30 Jul 19:36
46fdeae
Compare
Choose a tag to compare

What's Changed

  • Let class-validator to find only the first error in benchmark program by @samchon in #465
  • Close #474 - support security scheme specification for swagger by @samchon in #481
  • Enhance error message of SDK/swagger generator by @samchon in #483
  • Fix website typo by @mikhail-monchak in #484
  • Support headers and meta info in swagger by @samchon in #485
  • Allow optional typed Array in @TypedQuery() by @samchon in #486
  • Fix @nestia/migrate bug when weirdo path parameter name comes by @samchon in #487

New Contributors

  • @mikhail-monchak made their first contribution in #484

Full Changelog: v1.4.4...v1.4.5

v1.4.4

12 Jul 20:20
271ebe9
Compare
Choose a tag to compare

What's Changed

  • Update typia requirement from ^4.1.2 to ^4.1.4 in /packages/e2e by @dependabot in #451
  • Support non-standard swagger.json generated by SpringDoc by @samchon in #456
  • Fix SDK bug when reserved keyword being used by @samchon in #461
  • Enhance @PlainBody() function. by @samchon in #464

Full Changelog: v1.4.3...v1.4.4

v1.4.3

08 Jul 12:29
c9f8ffc
Compare
Choose a tag to compare

Supports only OpenAPI v3.0

# SETUP GLOBALLY
npm install -g @nestia/migrate

# DO MIGRATE
npx @nestia/migrate swagger.json output_directory

@nestia/migrate converts swagger.json file to a NestJS project.

When you run npx @nestia/migrate swagger.json <output> command, @nestia/migrate will analyze your swagger.json file, and generate a NestJS project into the <output> direcory. If you're considering to migrate your backend project to NestJS, @nestia/migrate will be a good starting point.

Also, @nestia/sdk can generate below things from NestJS project. It means that, with @nestia/migrate, you can generate SDK Library or Mockup Simulator from every backend projects. If you don't have plan to migrate to NestJS, but hope to take advantages of it, @nestia/migrate will be a good choice. Languages and frameworks, they're no longer matter in backend development. Let's enjoy the new worls with @nestia/migrate.

What's Changed

Full Changelog: v1.4.2...v1.4.3

v1.4.2

01 Jul 09:13
25558d7
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.4.1...v1.4.2

v1.4.1

22 Jun 13:09
1910ab0
Compare
Choose a tag to compare

What's Changed

  • Update typia version to 4.1.1 by @samchon in #418
  • Fix #417 - support verbatimModuleSyntax option of tsconfig.json in ESM by @samchon in #419

Full Changelog: v1.4.0...v1.4.1

v1.4.0

20 Jun 05:46
87789c4
Compare
Choose a tag to compare

IConnection type of @nestia/fetcher be changed like below.

From now on, you can fill option properties of fetch() function by configuring IConnection.IOptions type.

Thank @SeungjunWe for good idea and contribution.

https://github.com/samchon/nestia/blob/87789c4e66254030fa2de9db09565af62f6de243/packages/fetcher/src/IConnection.ts#L68-L136

What's Changed

New Contributors

Full Changelog: v1.3.9...v1.4.0