Releases: samchon/nestia
v1.6.1
What's Changed
- Enhance #446 add signal to IConnection.IOptions by @mmamedel in #525
- Support
@All()
decorator of NestJS. by @samchon in #526 - Fix samchon/typia#744 - change setup wizard to deprecate yarn berry by @samchon in #527
- Complement samchon/typia#744 - change setup document contents by @samchon in #528
New Contributors
Full Changelog: v1.5.8...v1.6.1
v1.5.8
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
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
https://nestia.io/docs/core/TypedHeaders/
New decorator @TypedHeaders()
What's Changed
- Close #473 - new decorator
@TypedHeaders()
by @samchon in #488 - Upgrade SDK comment tags composer by @samchon in #493
- Enhance #473 - support
@TypedHeaders()
infetcher
andsdk
by @samchon in #495 - Enhance #473 -
IConnection.Headerify
to be much stronger by @samchon in #498 - Upgrade
@nestia/migrate
following 1.5 spec by @samchon in #499 - Update typia requirement from ^4.1.8 to ^4.1.13 in /test by @dependabot in #496
- New document
TypedHeaders.mdx
by @samchon in #500 - Support HTTP HEAD method by @samchon in #505
- Fix #494: exact nullable type tracing in
@nestia/migrate
by @samchon in #506 - Fix #512 - missed kebab case in real path by @samchon in #513
- Upgrade typia version to
1.4.16
by @samchon in #518
Full Changelog: v1.4.5...v1.5.4
v1.4.5
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
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
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
- Exact SDK accessor in E2E generator by @samchon in #448
- Exact swagger generation for uuid typed path param by @samchon in #449
- Fix samchon/typia#706 - support
exactOptionalPropertyTypes
by @samchon in #452 - Evolve e2e test functions and swagger generators by @samchon in #453
- Support text/plain body on SDK by @samchon in #455
- Close #292 -
@nestia/migrate
by @samchon in #450
Full Changelog: v1.4.2...v1.4.3
v1.4.2
What's Changed
- Benchmark on SP8 with 1,000 simultaneous connections by @samchon in #421
- Complement #417 - update instead of replace by @samchon in #422
- Update typia requirement from ^4.1.0 to ^4.1.1 in /packages/sdk by @dependabot in #423
- Update typia requirement from ^4.1.0 to ^4.1.1 in /test by @dependabot in #424
- Add "@summary" descriptions by @windofwind in #425
- Publish #425 on website with detailing by @samchon in #426
- Benchmark on Mainframe by @samchon in #427
- Support
@deprecated
tag of swagger in controller by @samchon in #428 - controller methods - "@summery" -> "@summary" by @windofwind in #429
- Benchmark on Intel Xeon by @samchon in #430
- Update typia requirement from ^4.1.1 to ^4.1.2 in /packages/core by @dependabot in #437
- Update typia requirement from ^4.1.1 to ^4.1.2 in /test by @dependabot in #436
- Update typia requirement from ^4.1.1 to ^4.1.2 in /packages/e2e by @dependabot in #434
- Update typia requirement from ^4.1.1 to ^4.1.2 in /packages/sdk by @dependabot in #435
- Add
TestValidator.proceed()
function by @samchon in #438 - Reasonable error message when optional query parameter begin used by @samchon in #439
New Contributors
- @windofwind made their first contribution in #425
Full Changelog: v1.4.1...v1.4.2
v1.4.1
v1.4.0
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.
What's Changed
- Add credentials to fetcher IConnection #411 by @SeungjunWe in #412
- Complement #411 -
IConnection.options
by @samchon in #413 - Upgrade typia version by @samchon in #414
New Contributors
- @SeungjunWe made their first contribution in #412
Full Changelog: v1.3.9...v1.4.0