Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish v4 update. #1123

Merged
merged 38 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
0cc59fb
add multer support for fastify
sergio-milu Jul 1, 2024
1152d78
Adapt typia v7 update
samchon Oct 9, 2024
9ec2d67
Completed typia v7 adjustment
samchon Oct 21, 2024
4d7dc10
Trace the error reason
samchon Oct 21, 2024
fd07c72
Test again
samchon Oct 21, 2024
870085b
Try again by updating typia version
samchon Oct 21, 2024
d7e4eb2
Fix missed transform error code setting
samchon Oct 24, 2024
e56609f
Merge branch 'master' of https://github.com/samchon/nestia into feat/…
samchon Nov 1, 2024
59ef1cc
Merge wiith v6.0 update
samchon Nov 1, 2024
93ef938
Merge pull request #1062 from samchon/feat/import
samchon Nov 1, 2024
a383a42
Upgrade dependencies
samchon Nov 27, 2024
0556994
Test program execution to merge with master
samchon Nov 27, 2024
53a5b14
Merge pull request #1115 from samchon/feat/typia
samchon Nov 27, 2024
8c0d38d
Merge branch 'v4.0' into add-multer-for-fastify
samchon Nov 27, 2024
ac6d5a6
Merge pull request #941 from sergio-milu/add-multer-for-fastify
samchon Nov 27, 2024
4b19546
Complement #941, just erased un-used import statement.
samchon Nov 27, 2024
38316ad
Fix compiler part to support `@TypedFormData()`'s options
samchon Nov 27, 2024
cc9cfad
Complete `fastify-multer` supporting by another strategy.
samchon Nov 27, 2024
f33a5c0
Merge pull request #1116 from samchon/feat/multer
samchon Nov 27, 2024
404d3d0
Publish with correct date
samchon Nov 27, 2024
8048ef6
Prepare `@nestia/migrate`'s next update
samchon Nov 27, 2024
b0f279c
Merge pull request #1118 from samchon/feat/migrate
samchon Nov 28, 2024
6e225a4
Upgrade `@samchon/openapi` and `typia`, maybe the latest testing.
samchon Nov 29, 2024
a9fd470
Fix typescript version
samchon Nov 29, 2024
badad4d
Test again
samchon Nov 29, 2024
d111ca8
Try it again
samchon Nov 29, 2024
1070024
Try it again
samchon Nov 29, 2024
665028a
Update package.json
samchon Nov 30, 2024
0ad37ad
Fix to exact versions
samchon Nov 30, 2024
a134725
Update package.json
samchon Nov 30, 2024
6ccacc9
Merge pull request #1120 from samchon/feat/dependencies
samchon Nov 30, 2024
6a25ca6
Adapt `typia@next` and `@samchon/openapi@next` for experiments.
samchon Dec 1, 2024
e1f0a69
Fix wrong versions
samchon Dec 1, 2024
624a247
Fix dev versions for experiments
samchon Dec 1, 2024
6629b1b
Merge branch 'master' of https://github.com/samchon/nestia into feat/…
samchon Dec 1, 2024
84a7d1f
Completed every testing it's time to publish.
samchon Dec 2, 2024
3c71636
Merge pull request #1122 from samchon/feat/dependencies
samchon Dec 2, 2024
f79a207
Publish v4
samchon Dec 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Nestia is a set of helper libraries for NestJS, supporting below features:
- Advanced WebSocket routes
- `@nestia/sdk`:
- Swagger generator evolved than ever
- OpenAI function calling schema generator
- SDK library generator for clients
- Mockup Simulator for client applications
- Automatic E2E test functions generator
Expand Down
6 changes: 3 additions & 3 deletions benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"homepage": "https://nestia.io",
"dependencies": {
"@nestia/core": "^3.10.0-dev.20240803-2",
"@nestia/core": "^4.0.0",
"@nestjs/common": "^10.3.7",
"@nestjs/core": "^10.3.7",
"@nestjs/platform-express": "^10.3.7",
Expand All @@ -42,7 +42,7 @@
"reflect-metadata": "^0.2.2",
"tgrid": "^1.0.3",
"tstl": "^3.0.0",
"typia": "^6.12.0"
"typia": "^7.0.0"
},
"devDependencies": {
"@types/autocannon": "^7.9.0",
Expand All @@ -53,6 +53,6 @@
"rimraf": "^5.0.1",
"ts-node": "^10.9.1",
"ts-patch": "^3.2.1",
"typescript": "5.5.4"
"typescript": "~5.6.3"
}
}
2 changes: 2 additions & 0 deletions deploy/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ const setup = (tag) => (version) => (directory) => {

// SETUP UPDATED DEPENDENCIES
fs.writeFileSync(file, JSON.stringify(info, null, 2), "utf8");
if (fs.existsSync(`${directory}/package-lock.json`))
fs.rmSync(`${directory}/package-lock.json`);
execute(directory)("npm cache clean --force");
execute(directory)(`npm install`);
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@nestia/station",
"version": "3.19.1",
"version": "4.0.0",
"description": "Nestia station",
"scripts": {
"build": "node build/index.js",
Expand Down
12 changes: 6 additions & 6 deletions packages/benchmark/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nestia/benchmark",
"version": "0.2.3",
"version": "0.3.0",
"description": "NestJS Performance Benchmark Program",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
Expand All @@ -22,23 +22,23 @@
"author": "Jeongho Nam",
"license": "MIT",
"devDependencies": {
"@nestia/core": "^3.8.1",
"@nestia/core": "^4.0.0",
"@nestia/e2e": "^0.7.0",
"@nestia/sdk": "^3.8.1",
"@nestia/sdk": "^4.0.0",
"@nestjs/common": "^10.3.10",
"@nestjs/core": "^10.3.10",
"@nestjs/platform-express": "^10.3.10",
"@types/uuid": "^10.0.0",
"nestia": "^5.5.0",
"ts-node": "^10.9.2",
"ts-patch": "^3.2.1",
"typescript": "5.5.4",
"typescript": "~5.6.3",
"typescript-transform-paths": "^3.4.7",
"typia": "^6.12.0",
"typia": "^7.0.0",
"uuid": "^10.0.0"
},
"dependencies": {
"@nestia/fetcher": "^3.8.1",
"@nestia/fetcher": "^4.0.0",
"tgrid": "^1.0.3",
"tstl": "^3.0.0"
},
Expand Down
1 change: 0 additions & 1 deletion packages/benchmark/test/api/Primitive.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Nestia is a set of helper libraries for NestJS, supporting below features:
- Advanced WebSocket routes
- `@nestia/sdk`:
- Swagger generator evolved than ever
- OpenAI function calling schema generator
- SDK library generator for clients
- Mockup Simulator for client applications
- Automatic E2E test functions generator
Expand Down
20 changes: 9 additions & 11 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nestia/core",
"version": "3.19.1",
"version": "4.0.0",
"description": "Super-fast validation decorators of NestJS",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
Expand Down Expand Up @@ -36,53 +36,51 @@
},
"homepage": "https://nestia.io",
"dependencies": {
"@nestia/fetcher": "^3.19.1",
"@nestia/fetcher": "../fetcher/nestia-fetcher-4.0.0.tgz",
"@nestjs/common": ">=7.0.1",
"@nestjs/core": ">=7.0.1",
"@samchon/openapi": "^1.2.2",
"@samchon/openapi": "^2.0.0",
"detect-ts-node": "^1.0.5",
"get-function-location": "^2.0.0",
"glob": "^7.2.0",
"multer": "1.4.5-lts.1",
"path-parser": "^6.1.0",
"raw-body": "^2.0.0",
"reflect-metadata": ">=0.1.12",
"rxjs": ">=6.0.3",
"tgrid": "^1.0.0",
"typia": "^6.12.0",
"typia": "^7.0.0",
"ws": "^7.5.3"
},
"peerDependencies": {
"@nestia/fetcher": ">=3.19.1",
"@nestia/fetcher": ">=4.0.0",
"@nestjs/common": ">=7.0.1",
"@nestjs/core": ">=7.0.1",
"reflect-metadata": ">=0.1.12",
"rxjs": ">=6.0.3",
"typia": ">=6.12.0 <7.0.0"
"typia": ">=7.0.0 <8.0.0"
},
"devDependencies": {
"@fastify/multipart": "^8.1.0",
"@nestjs/common": "^10.3.3",
"@nestjs/core": "^10.3.3",
"@types/express": "^4.17.15",
"@types/glob": "^7.2.0",
"@types/inquirer": "^9.0.3",
"@types/multer": "^1.4.11",
"@types/multer": "^1.4.12",
"@types/ts-expose-internals": "npm:[email protected]",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"commander": "^10.0.0",
"comment-json": "^4.2.3",
"eslint-plugin-deprecation": "^1.4.1",
"fastify": "^4.25.2",
"fastify": "^4.28.1",
"git-last-commit": "^1.0.1",
"inquirer": "^8.2.5",
"rimraf": "^3.0.2",
"ts-node": "^10.9.1",
"ts-patch": "^3.2.1",
"tstl": "^3.0.0",
"typescript": "5.5.4"
"typescript": "~5.6.3"
},
"files": [
"README.md",
Expand Down
4 changes: 0 additions & 4 deletions packages/core/src/decorators/EncryptedBody.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
} from "@nestjs/common";
import type express from "express";
import type { FastifyRequest } from "fastify";
import { assert, is, validate } from "typia";

import { IRequestBodyValidator } from "../options/IRequestBodyValidator";
import { Singleton } from "../utils/Singleton";
Expand Down Expand Up @@ -75,9 +74,6 @@ export function EncryptedBody<T>(
return data;
})();
}
Object.assign(EncryptedBody, is);
Object.assign(EncryptedBody, assert);
Object.assign(EncryptedBody, validate);

/**
* @internal
Expand Down
2 changes: 0 additions & 2 deletions packages/core/src/decorators/PlainBody.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
} from "@nestjs/common";
import type express from "express";
import type { FastifyRequest } from "fastify";
import { assert } from "typia";

import { get_text_body } from "./internal/get_text_body";
import { is_request_body_undefined } from "./internal/is_request_body_undefined";
Expand Down Expand Up @@ -68,7 +67,6 @@ export function PlainBody(
return value;
})();
}
Object.assign(PlainBody, assert);

/**
* @internal
Expand Down
6 changes: 0 additions & 6 deletions packages/core/src/decorators/TypedBody.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
} from "@nestjs/common";
import type express from "express";
import type { FastifyRequest } from "fastify";
import { assert, is, misc, validate } from "typia";

import { IRequestBodyValidator } from "../options/IRequestBodyValidator";
import { is_request_body_undefined } from "./internal/is_request_body_undefined";
Expand Down Expand Up @@ -49,11 +48,6 @@ export function TypedBody<T>(
})();
}

Object.assign(TypedBody, misc.clone);
Object.assign(TypedBody, is);
Object.assign(TypedBody, assert);
Object.assign(TypedBody, validate);

/**
* @internal
*/
Expand Down
Loading