mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
bump versions to v1.3.3 (#24933)
This commit is contained in:
@@ -25,7 +25,7 @@ bun ./index.html
|
|||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
Bun v1.3.2
|
Bun v1.3.3
|
||||||
ready in 6.62ms
|
ready in 6.62ms
|
||||||
→ http://localhost:3000/
|
→ http://localhost:3000/
|
||||||
Press h + Enter to show shortcuts
|
Press h + Enter to show shortcuts
|
||||||
@@ -51,7 +51,7 @@ bun index.html
|
|||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
Bun v1.3.2
|
Bun v1.3.3
|
||||||
ready in 6.62ms
|
ready in 6.62ms
|
||||||
→ http://localhost:3000/
|
→ http://localhost:3000/
|
||||||
Press h + Enter to show shortcuts
|
Press h + Enter to show shortcuts
|
||||||
@@ -81,7 +81,7 @@ bun ./index.html ./about.html
|
|||||||
```
|
```
|
||||||
|
|
||||||
```txt
|
```txt
|
||||||
Bun v1.3.2
|
Bun v1.3.3
|
||||||
ready in 6.62ms
|
ready in 6.62ms
|
||||||
→ http://localhost:3000/
|
→ http://localhost:3000/
|
||||||
Routes:
|
Routes:
|
||||||
@@ -104,7 +104,7 @@ bun ./**/*.html
|
|||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
Bun v1.3.2
|
Bun v1.3.3
|
||||||
ready in 6.62ms
|
ready in 6.62ms
|
||||||
→ http://localhost:3000/
|
→ http://localhost:3000/
|
||||||
Routes:
|
Routes:
|
||||||
@@ -122,7 +122,7 @@ bun ./index.html ./about/index.html ./about/foo/index.html
|
|||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
Bun v1.3.2
|
Bun v1.3.3
|
||||||
ready in 6.62ms
|
ready in 6.62ms
|
||||||
→ http://localhost:3000/
|
→ http://localhost:3000/
|
||||||
Routes:
|
Routes:
|
||||||
@@ -273,7 +273,7 @@ bun ./index.html --console
|
|||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
Bun v1.3.2
|
Bun v1.3.3
|
||||||
ready in 6.62ms
|
ready in 6.62ms
|
||||||
→ http://localhost:3000/
|
→ http://localhost:3000/
|
||||||
Press h + Enter to show shortcuts
|
Press h + Enter to show shortcuts
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ mode: center
|
|||||||
console.log("runtime", process.versions.bun);
|
console.log("runtime", process.versions.bun);
|
||||||
```
|
```
|
||||||
```txt
|
```txt
|
||||||
runtime 1.3.2
|
runtime 1.3.3
|
||||||
```
|
```
|
||||||
|
|
||||||
[See the Vercel Bun Runtime documentation for feature support →](https://vercel.com/docs/functions/runtimes/bun#feature-support)
|
[See the Vercel Bun Runtime documentation for feature support →](https://vercel.com/docs/functions/runtimes/bun#feature-support)
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ bunx nuxi init my-nuxt-app
|
|||||||
✔ Which package manager would you like to use?
|
✔ Which package manager would you like to use?
|
||||||
bun
|
bun
|
||||||
◐ Installing dependencies...
|
◐ Installing dependencies...
|
||||||
bun install v1.3.2 (16b4bf34)
|
bun install v1.3.3 (16b4bf34)
|
||||||
+ @nuxt/devtools@0.8.2
|
+ @nuxt/devtools@0.8.2
|
||||||
+ nuxt@3.7.0
|
+ nuxt@3.7.0
|
||||||
785 packages installed [2.67s]
|
785 packages installed [2.67s]
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ This will add the package to `peerDependencies` in `package.json`.
|
|||||||
```json package.json icon="file-json"
|
```json package.json icon="file-json"
|
||||||
{
|
{
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@types/bun": "^1.3.2" // [!code ++]
|
"@types/bun": "^1.3.3" // [!code ++]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@@ -30,7 +30,7 @@ Running `bun install` will install peer dependencies by default, unless marked o
|
|||||||
```json package.json icon="file-json"
|
```json package.json icon="file-json"
|
||||||
{
|
{
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@types/bun": "^1.3.2"
|
"@types/bun": "^1.3.3"
|
||||||
},
|
},
|
||||||
"peerDependenciesMeta": {
|
"peerDependenciesMeta": {
|
||||||
"@types/bun": { // [!code ++]
|
"@types/bun": { // [!code ++]
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ bun update
|
|||||||
bun update @types/bun --latest
|
bun update @types/bun --latest
|
||||||
|
|
||||||
# Update a dependency to a specific version
|
# Update a dependency to a specific version
|
||||||
bun update @types/bun@1.3.2
|
bun update @types/bun@1.3.3
|
||||||
|
|
||||||
# Update all dependencies to the latest versions
|
# Update all dependencies to the latest versions
|
||||||
bun update --latest
|
bun update --latest
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ jobs:
|
|||||||
# ...
|
# ...
|
||||||
- uses: oven-sh/setup-bun@v2
|
- uses: oven-sh/setup-bun@v2
|
||||||
with: # [!code ++]
|
with: # [!code ++]
|
||||||
bun-version: 1.3.2 # or "latest", "canary", <sha> # [!code ++]
|
bun-version: 1.3.3 # or "latest", "canary", <sha> # [!code ++]
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ bun test
|
|||||||
```
|
```
|
||||||
|
|
||||||
```txt
|
```txt
|
||||||
bun test v1.3.2 (9c68abdb)
|
bun test v1.3.3 (9c68abdb)
|
||||||
test/snap.test.ts:
|
test/snap.test.ts:
|
||||||
✓ snapshot [1.05ms]
|
✓ snapshot [1.05ms]
|
||||||
|
|
||||||
@@ -86,7 +86,7 @@ bun test --update-snapshots
|
|||||||
```
|
```
|
||||||
|
|
||||||
```txt
|
```txt
|
||||||
bun test v1.3.2 (9c68abdb)
|
bun test v1.3.3 (9c68abdb)
|
||||||
test/snap.test.ts:
|
test/snap.test.ts:
|
||||||
✓ snapshot [0.86ms]
|
✓ snapshot [0.86ms]
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ mode: center
|
|||||||
Get the current version of Bun in a semver format.
|
Get the current version of Bun in a semver format.
|
||||||
|
|
||||||
```ts index.ts icon="/icons/typescript.svg"
|
```ts index.ts icon="/icons/typescript.svg"
|
||||||
Bun.version; // => "1.3.2"
|
Bun.version; // => "1.3.3"
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -209,7 +209,7 @@ Since Bun is a single binary, you can install older versions by re-running the i
|
|||||||
To install a specific version, pass the git tag to the install script:
|
To install a specific version, pass the git tag to the install script:
|
||||||
|
|
||||||
```bash terminal icon="terminal"
|
```bash terminal icon="terminal"
|
||||||
curl -fsSL https://bun.com/install | bash -s "bun-v1.3.2"
|
curl -fsSL https://bun.com/install | bash -s "bun-v1.3.3"
|
||||||
```
|
```
|
||||||
|
|
||||||
</Tab>
|
</Tab>
|
||||||
@@ -217,7 +217,7 @@ Since Bun is a single binary, you can install older versions by re-running the i
|
|||||||
On Windows, pass the version number to the PowerShell install script:
|
On Windows, pass the version number to the PowerShell install script:
|
||||||
|
|
||||||
```powershell PowerShell icon="windows"
|
```powershell PowerShell icon="windows"
|
||||||
iex "& {$(irm https://bun.com/install.ps1)} -Version 1.3.2"
|
iex "& {$(irm https://bun.com/install.ps1)} -Version 1.3.3"
|
||||||
```
|
```
|
||||||
|
|
||||||
</Tab>
|
</Tab>
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ bun link
|
|||||||
```
|
```
|
||||||
|
|
||||||
```txt
|
```txt
|
||||||
bun link v1.3.2 (7416672e)
|
bun link v1.3.3 (7416672e)
|
||||||
Success! Registered "cool-pkg"
|
Success! Registered "cool-pkg"
|
||||||
|
|
||||||
To use cool-pkg in a project, run:
|
To use cool-pkg in a project, run:
|
||||||
@@ -53,7 +53,7 @@ bun unlink
|
|||||||
```
|
```
|
||||||
|
|
||||||
```txt
|
```txt
|
||||||
bun unlink v1.3.2 (7416672e)
|
bun unlink v1.3.3 (7416672e)
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ bun outdated
|
|||||||
| Package | Current | Update | Latest |
|
| Package | Current | Update | Latest |
|
||||||
| ------------------------------ | ------- | --------- | ---------- |
|
| ------------------------------ | ------- | --------- | ---------- |
|
||||||
| @sinclair/typebox | 0.34.15 | 0.34.16 | 0.34.16 |
|
| @sinclair/typebox | 0.34.15 | 0.34.16 | 0.34.16 |
|
||||||
| @types/bun (dev) | 1.3.0 | 1.3.2 | 1.3.2 |
|
| @types/bun (dev) | 1.3.0 | 1.3.3 | 1.3.3 |
|
||||||
| eslint (dev) | 8.57.1 | 8.57.1 | 9.20.0 |
|
| eslint (dev) | 8.57.1 | 8.57.1 | 9.20.0 |
|
||||||
| eslint-plugin-security (dev) | 2.1.1 | 2.1.1 | 3.0.1 |
|
| eslint-plugin-security (dev) | 2.1.1 | 2.1.1 | 3.0.1 |
|
||||||
| eslint-plugin-sonarjs (dev) | 0.23.0 | 0.23.0 | 3.0.1 |
|
| eslint-plugin-sonarjs (dev) | 0.23.0 | 0.23.0 | 3.0.1 |
|
||||||
@@ -75,7 +75,7 @@ bun outdated '@types/*'
|
|||||||
```txt
|
```txt
|
||||||
| Package | Current | Update | Latest |
|
| Package | Current | Update | Latest |
|
||||||
| ------------------ | ------- | ------ | ------ |
|
| ------------------ | ------- | ------ | ------ |
|
||||||
| @types/bun (dev) | 1.3.0 | 1.3.2 | 1.3.2 |
|
| @types/bun (dev) | 1.3.0 | 1.3.3 | 1.3.3 |
|
||||||
```
|
```
|
||||||
|
|
||||||
Or to exclude all `@types/*` packages:
|
Or to exclude all `@types/*` packages:
|
||||||
|
|||||||
@@ -248,7 +248,7 @@ bun pm version
|
|||||||
```
|
```
|
||||||
|
|
||||||
```txt
|
```txt
|
||||||
bun pm version v1.3.2 (ca7428e9)
|
bun pm version v1.3.3 (ca7428e9)
|
||||||
Current package version: v1.0.0
|
Current package version: v1.0.0
|
||||||
|
|
||||||
Increment:
|
Increment:
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ bun publish
|
|||||||
```
|
```
|
||||||
|
|
||||||
```txt
|
```txt
|
||||||
bun publish v1.3.2 (ca7428e9)
|
bun publish v1.3.3 (ca7428e9)
|
||||||
|
|
||||||
packed 203B package.json
|
packed 203B package.json
|
||||||
packed 224B README.md
|
packed 224B README.md
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ You can read results from the subprocess via the `stdout` and `stderr` propertie
|
|||||||
```ts
|
```ts
|
||||||
const proc = Bun.spawn(["bun", "--version"]);
|
const proc = Bun.spawn(["bun", "--version"]);
|
||||||
const text = await proc.stdout.text();
|
const text = await proc.stdout.text();
|
||||||
console.log(text); // => "1.3.2\n"
|
console.log(text); // => "1.3.3\n"
|
||||||
```
|
```
|
||||||
|
|
||||||
Configure the output stream by passing one of the following values to `stdout/stderr`:
|
Configure the output stream by passing one of the following values to `stdout/stderr`:
|
||||||
|
|||||||
@@ -146,11 +146,11 @@ await fetch("https://example.com", {
|
|||||||
```
|
```
|
||||||
|
|
||||||
```txt
|
```txt
|
||||||
[fetch] $ curl --http1.1 "https://example.com/" -X POST -H "content-type: application/json" -H "Connection: keep-alive" -H "User-Agent: Bun/1.3.2" -H "Accept: */*" -H "Host: example.com" -H "Accept-Encoding: gzip, deflate, br" --compressed -H "Content-Length: 13" --data-raw "{\"foo\":\"bar\"}"
|
[fetch] $ curl --http1.1 "https://example.com/" -X POST -H "content-type: application/json" -H "Connection: keep-alive" -H "User-Agent: Bun/1.3.3" -H "Accept: */*" -H "Host: example.com" -H "Accept-Encoding: gzip, deflate, br" --compressed -H "Content-Length: 13" --data-raw "{\"foo\":\"bar\"}"
|
||||||
[fetch] > HTTP/1.1 POST https://example.com/
|
[fetch] > HTTP/1.1 POST https://example.com/
|
||||||
[fetch] > content-type: application/json
|
[fetch] > content-type: application/json
|
||||||
[fetch] > Connection: keep-alive
|
[fetch] > Connection: keep-alive
|
||||||
[fetch] > User-Agent: Bun/1.3.2
|
[fetch] > User-Agent: Bun/1.3.3
|
||||||
[fetch] > Accept: */*
|
[fetch] > Accept: */*
|
||||||
[fetch] > Host: example.com
|
[fetch] > Host: example.com
|
||||||
[fetch] > Accept-Encoding: gzip, deflate, br
|
[fetch] > Accept-Encoding: gzip, deflate, br
|
||||||
@@ -190,7 +190,7 @@ await fetch("https://example.com", {
|
|||||||
[fetch] > HTTP/1.1 POST https://example.com/
|
[fetch] > HTTP/1.1 POST https://example.com/
|
||||||
[fetch] > content-type: application/json
|
[fetch] > content-type: application/json
|
||||||
[fetch] > Connection: keep-alive
|
[fetch] > Connection: keep-alive
|
||||||
[fetch] > User-Agent: Bun/1.3.2
|
[fetch] > User-Agent: Bun/1.3.3
|
||||||
[fetch] > Accept: */*
|
[fetch] > Accept: */*
|
||||||
[fetch] > Host: example.com
|
[fetch] > Host: example.com
|
||||||
[fetch] > Accept-Encoding: gzip, deflate, br
|
[fetch] > Accept-Encoding: gzip, deflate, br
|
||||||
|
|||||||
@@ -342,7 +342,7 @@ This will print the request and response headers to your terminal:
|
|||||||
```sh
|
```sh
|
||||||
[fetch] > HTTP/1.1 GET http://example.com/
|
[fetch] > HTTP/1.1 GET http://example.com/
|
||||||
[fetch] > Connection: keep-alive
|
[fetch] > Connection: keep-alive
|
||||||
[fetch] > User-Agent: Bun/1.3.2
|
[fetch] > User-Agent: Bun/1.3.3
|
||||||
[fetch] > Accept: */*
|
[fetch] > Accept: */*
|
||||||
[fetch] > Host: example.com
|
[fetch] > Host: example.com
|
||||||
[fetch] > Accept-Encoding: gzip, deflate, br, zstd
|
[fetch] > Accept-Encoding: gzip, deflate, br, zstd
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ A `string` containing the version of the `bun` CLI that is currently running.
|
|||||||
|
|
||||||
```ts terminal icon="terminal"
|
```ts terminal icon="terminal"
|
||||||
Bun.version;
|
Bun.version;
|
||||||
// => "1.3.2"
|
// => "1.3.3"
|
||||||
```
|
```
|
||||||
|
|
||||||
## `Bun.revision`
|
## `Bun.revision`
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ bun test
|
|||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
bun test v1.3.2
|
bun test v1.3.3
|
||||||
|
|
||||||
dom.test.ts:
|
dom.test.ts:
|
||||||
✓ dom test [0.82ms]
|
✓ dom test [0.82ms]
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"private": true,
|
"private": true,
|
||||||
"name": "bun",
|
"name": "bun",
|
||||||
"version": "1.3.3",
|
"version": "1.3.4",
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"./packages/bun-types",
|
"./packages/bun-types",
|
||||||
"./packages/@types/bun"
|
"./packages/@types/bun"
|
||||||
|
|||||||
Reference in New Issue
Block a user