Skip to content

Commit

Permalink
chore: release 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aralroca committed Dec 8, 2024
1 parent d5cec75 commit 805ae81
Show file tree
Hide file tree
Showing 22 changed files with 93 additions and 21 deletions.
2 changes: 1 addition & 1 deletion examples/with-api-routes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"start": "brisa start"
},
"dependencies": {
"brisa": "0.1.8-canary.7"
"brisa": "0.2.0"
},
"devDependencies": {
"@types/bun": "latest",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-elysia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"start": "brisa start"
},
"dependencies": {
"brisa": "0.1.8-canary.7",
"brisa": "0.2.0",
"elysia": "latest"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/with-external-web-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"start": "brisa start"
},
"dependencies": {
"brisa": "0.1.8-canary.7",
"brisa": "0.2.0",
"counter-wc": "0.1.3",
"calendar-native-web-component": "0.0.32"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/with-i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"start": "brisa start"
},
"dependencies": {
"brisa": "0.1.8-canary.7"
"brisa": "0.2.0"
},
"devDependencies": {
"@types/bun": "latest",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-middleware/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"start": "brisa start"
},
"dependencies": {
"brisa": "0.1.8-canary.7"
"brisa": "0.2.0"
},
"devDependencies": {
"@types/bun": "latest",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-pandacss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"start": "brisa start"
},
"dependencies": {
"brisa": "0.1.8-canary.7"
"brisa": "0.2.0"
},
"devDependencies": {
"@pandacss/dev": "0.46.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-sqlite-with-server-action/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"start": "brisa start"
},
"dependencies": {
"brisa": "0.1.8-canary.7"
"brisa": "0.2.0"
},
"devDependencies": {
"@types/bun": "latest",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-streaming-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"start": "brisa start"
},
"dependencies": {
"brisa": "0.1.8-canary.7"
"brisa": "0.2.0"
},
"devDependencies": {
"@types/bun": "latest",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-suspense/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"start": "brisa start"
},
"dependencies": {
"brisa": "0.1.8-canary.7"
"brisa": "0.2.0"
},
"devDependencies": {
"@types/bun": "latest",
Expand Down
4 changes: 2 additions & 2 deletions examples/with-tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
},
"dependencies": {
"@tailwindcss/postcss": "4.0.0-alpha.33",
"brisa": "0.1.8-canary.7",
"brisa-tailwindcss": "0.1.8-canary.7",
"brisa": "0.2.0",
"brisa-tailwindcss": "0.2.0",
"postcss": "8.4.49",
"tailwindcss": "4.0.0-alpha.33"
},
Expand Down
4 changes: 2 additions & 2 deletions examples/with-view-transitions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
},
"dependencies": {
"@tailwindcss/postcss": "4.0.0-alpha.25",
"brisa": "0.1.8-canary.7",
"brisa-tailwindcss": "0.1.8-canary.7",
"brisa": "0.2.0",
"brisa-tailwindcss": "0.2.0",
"postcss": "8.4.47",
"tailwindcss": "4.0.0-alpha.25"
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "brisa-monorepo",
"version": "0.1.8-canary.7",
"version": "0.2.0",
"description": "The next-gen web framework.",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-vercel/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "brisa-adapter-vercel",
"version": "0.1.8-canary.7",
"version": "0.2.0",
"license": "MIT",
"type": "module",
"main": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/brisa-pandacss/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "brisa-pandacss",
"version": "0.1.8-canary.7",
"version": "0.2.0",
"license": "MIT",
"type": "module",
"main": "./index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/brisa-tailwindcss/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "brisa-tailwindcss",
"version": "0.1.8-canary.7",
"version": "0.2.0",
"license": "MIT",
"type": "module",
"main": "./index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/brisa/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "brisa",
"version": "0.1.8-canary.7",
"version": "0.2.0",
"description": "Brisa, the next-gen web framework.",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-brisa/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-brisa",
"version": "0.1.8-canary.7",
"version": "0.2.0",
"license": "MIT",
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/www/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "www",
"version": "0.1.8-canary.7",
"version": "0.2.0",
"module": "src/pages/index.tsx",
"type": "module",
"scripts": {
Expand Down
72 changes: 72 additions & 0 deletions packages/www/src/posts/brisa-0.2.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
---
title: "Brisa 0.2.0 Release Notes"
created: 12/08/2024
description: "Brisa release notes for version 0.2.0"
author: Aral Roca
author_site: https://x.com/aralroca
---

We’re thrilled to announce **Brisa 0.2.0**, a minor milestone in Brisa's journey. This release introduces **official support for Deno**, alongside multiple performance optimizations and important fixes. Let's dive into the highlights!

---

## 🚀 Deno Support

Brisa now officially supports [**Deno**](/building-your-application/building/deno-server) as an output target. Here’s what’s new:

- **Output Configuration:** Use `output: 'deno'` in your `brisa.config.ts` to build for Deno.
- **Deno-Specific Configurations:** Brisa leverages `deno.json` for custom setups, automatically placed in your build directory.
- **CLI Integration:** Running `brisa start` detects the Deno output and uses `Deno.serve` for serving your application.

<div align="center">
<a href="https://brisa.build/building-your-application/building/deno-server" alt="Deno docs" target="_blank">
<img width="200" height="200" src="/images/blog-images/deno-logo.png" alt="Deno logo" />
</a>
</div>

Brisa every time is more JS runtime agnostic, and we are excited to see how you will use it with Deno!

---

## 🛠️ Key Fixes and Improvements

- **Performance Optimizations:** Client builds have been further optimized, enhancing build times and overall performance.

<img width="775" height="461" src="/images/blog-images/build-time-performance.webp" alt="Brisa Build Time improvement" />

- **Improved Compatibility:**
- Added a polyfill for `Promise.try` to ensure working in Node.js and Deno.
- Fixed HTTP response issues with uncoded `ReadableStream`.
- Resolved locale-changing issues in navigation for i18n.
- **CLI Improvements:**
- Fixed `brisa start` to correctly load `brisa.config.ts` for all outputs.
- Enhanced build consistency across output types.

---

## What's Changed

- **fix(example)**: update wc external dep to fix warning – [@aralroca](https://github.com/aralroca) in [#653](https://github.com/brisa-build/brisa/pull/653)
- **perf**: optimize client builds – [@aralroca](https://github.com/aralroca) in [#643](https://github.com/brisa-build/brisa/pull/643)
- **fix(node)**: add `Promise.try` polyfill to fix error with Node – [@aralroca](https://github.com/aralroca) in [#656](https://github.com/brisa-build/brisa/pull/656)
- **feat**: add `output: 'deno'`[@aralroca](https://github.com/aralroca) in [#657](https://github.com/brisa-build/brisa/pull/657)
- **feat**: use `deno.json` and move it inside build – [@aralroca](https://github.com/aralroca) in [#658](https://github.com/brisa-build/brisa/pull/658)
- **feat(cli)**: run Deno on `brisa start` when output is 'deno' – [@aralroca](https://github.com/aralroca) in [#660](https://github.com/brisa-build/brisa/pull/660)
- **fix(cli)**: fix `brisa start` to load correct `brisa.config`[@aralroca](https://github.com/aralroca) in [#662](https://github.com/brisa-build/brisa/pull/662)
- **docs(www)**: add Deno to the home – [@aralroca](https://github.com/aralroca) in [#663](https://github.com/brisa-build/brisa/pull/663)
- **fix(build)**: co-relate details with the correct output – [@aralroca](https://github.com/aralroca) in [#666](https://github.com/brisa-build/brisa/pull/666)
- **fix(render)**: fix uncoded `ReadableStream` in HTTP responses – [@aralroca](https://github.com/aralroca) in [#668](https://github.com/brisa-build/brisa/pull/668)
- **fix(i18n)**: fix change locale from navigate – [@aralroca](https://github.com/aralroca) in [#669](https://github.com/brisa-build/brisa/pull/669)
- **feat(deno)**: use `Deno.serve`[@aralroca](https://github.com/aralroca) in [#659](https://github.com/brisa-build/brisa/pull/659)

---

**Full Changelog**: [https://github.com/brisa-build/brisa/compare/0.1.7...0.2.0](https://github.com/brisa-build/brisa/compare/0.1.7...0.2.0)

[Visit our shop](https://brisadotbuild.myspreadshop.es/) to get your Brisa swag and show your support!

<div align="center">
<a href="https://brisadotbuild.myspreadshop.es/" alt="Brisa Shop" target="_blank">
<img width="400" height="425" src="/images/blog-images/shop.webp" alt="Brisa Shop" />
</a>
</div>
2 changes: 1 addition & 1 deletion packages/www/src/public/content.json
Original file line number Diff line number Diff line change
Expand Up @@ -3453,7 +3453,7 @@
{
"id": "/building-your-application/configuring/idle-timeout#types",
"title": "Types",
"text": "export type Configuration = {\n // ...\n idleTimeout?: number;\n}; This idleTimeout is working in Bun and Node.js runtimes.",
"text": "export type Configuration = {\n // ...\n idleTimeout?: number;\n}; This idleTimeout is working in Bun, Deno and Node.js runtimes.",
"titles": [
"Idle Timeout"
]
Expand Down
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 805ae81

Please sign in to comment.