diff --git a/.changeset/cyan-doors-drop.md b/.changeset/cyan-doors-drop.md deleted file mode 100644 index c3baf05..0000000 --- a/.changeset/cyan-doors-drop.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"taco-api": major ---- - -replace express with elysia. - -Taco API now runs on top of bun and we have faster and better HTTP frameworks. - -We don't do anything fancy that only express could do. To provide an HTTP client for a single endpoint, we can rely on something more modern. diff --git a/.changeset/eight-emus-kiss.md b/.changeset/eight-emus-kiss.md deleted file mode 100644 index cd4f8b4..0000000 --- a/.changeset/eight-emus-kiss.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -"taco-api": major ---- - -Switch from node to bun - -In case you don't know bun, I strongly recommend you to take a look in [their docs](https://bun.sh/). In summary, it's a fast JavaScript runtime that provides tons of performance and great nodejs compat. - -The advantage of using Bun instead Node is: - -- We don't need `tsx` for handling TypeScript files (such as scripts) or running the dev locally; -- We don't need `esbuild` to build the final file; -- We don't need `pnpm` to install dependencies; -- everything is fast - -Though, because we're using Prisma and it relies on NodeJS to do some generation, you may still have Node installed. - -Some differences from the previous setup: - -Install dependencies: - -```diff --pnpm install -+bun install -``` - -Run dev server: - -```diff --pnpm run dev -+bun run dev -``` - -Build the project: - -```diff --pnpm run build -+bun run build -``` - -etc.. - -Because we're changing the runner, it's a major bump. If you still want to use Node, I'd recommend you to be in the version 2. diff --git a/.changeset/gorgeous-steaks-allow.md b/.changeset/gorgeous-steaks-allow.md deleted file mode 100644 index 6690eb3..0000000 --- a/.changeset/gorgeous-steaks-allow.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"taco-api": major ---- - -new docs website. - -Now, instead using vuepress, I've switch to starlight and refactor the whole docs. diff --git a/apps/api/CHANGELOG.md b/apps/api/CHANGELOG.md new file mode 100644 index 0000000..a29036c --- /dev/null +++ b/apps/api/CHANGELOG.md @@ -0,0 +1,55 @@ +# taco-api + +## 3.0.0 + +### Major Changes + +- 65ccf6d: replace express with elysia. + + Taco API now runs on top of bun and we have faster and better HTTP frameworks. + + We don't do anything fancy that only express could do. To provide an HTTP client for a single endpoint, we can rely on something more modern. + +- bc854f6: Switch from node to bun + + In case you don't know bun, I strongly recommend you to take a look in [their docs](https://bun.sh/). In summary, it's a fast JavaScript runtime that provides tons of performance and great nodejs compat. + + The advantage of using Bun instead Node is: + + - We don't need `tsx` for handling TypeScript files (such as scripts) or running the dev locally; + - We don't need `esbuild` to build the final file; + - We don't need `pnpm` to install dependencies; + - everything is fast + + Though, because we're using Prisma and it relies on NodeJS to do some generation, you may still have Node installed. + + Some differences from the previous setup: + + Install dependencies: + + ```diff + -pnpm install + +bun install + ``` + + Run dev server: + + ```diff + -pnpm run dev + +bun run dev + ``` + + Build the project: + + ```diff + -pnpm run build + +bun run build + ``` + + etc.. + + Because we're changing the runner, it's a major bump. If you still want to use Node, I'd recommend you to be in the version 2. + +- 5384de3: new docs website. + + Now, instead using vuepress, I've switch to starlight and refactor the whole docs. diff --git a/apps/api/package.json b/apps/api/package.json index cc67921..8a205ae 100644 --- a/apps/api/package.json +++ b/apps/api/package.json @@ -1,7 +1,7 @@ { "name": "taco-api", "description": "Brazilian Table of Food Composition (TACO) - GraphQL API", - "version": "2.3.0", + "version": "3.0.0", "type": "module", "homepage": "https://github.com/raulfdm/taco-api", "bugs": {