diff --git a/package.json b/package.json index 48672bd3..a1c38bb2 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "docs", "license": "Apache-2.0", "type": "module", - "version": "0.39.0", + "version": "0.40.0", "scripts": { "postinstall": "is-ci || husky", "dev": "astro dev --host", diff --git a/src/content/docs/installation/installation.mdx b/src/content/docs/installation/installation.mdx index c81b3f53..ca2bdc5c 100644 --- a/src/content/docs/installation/installation.mdx +++ b/src/content/docs/installation/installation.mdx @@ -44,9 +44,9 @@ You can install Daytona by manually downloading the binary and placing it in you ```shell # x86-64 -curl -sf -L https://download.daytona.io/daytona/v0.39/daytona-linux-amd64 -o daytona +curl -sf -L https://download.daytona.io/daytona/v0.40/daytona-linux-amd64 -o daytona # AArch64 -curl -sf -L https://download.daytona.io/daytona/v0.39/daytona-linux-arm64 -o daytona +curl -sf -L https://download.daytona.io/daytona/v0.40/daytona-linux-arm64 -o daytona ``` @@ -92,9 +92,9 @@ You can install Daytona by manually downloading the binary and placing it in you ```shell # x86-64/Intel-based -curl -sf -L https://download.daytona.io/daytona/v0.39/daytona-darwin-amd64 -o daytona +curl -sf -L https://download.daytona.io/daytona/v0.40/daytona-darwin-amd64 -o daytona # AArch64/Apple Silicon -curl -sf -L https://download.daytona.io/daytona/v0.39/daytona-darwin-arm64 -o daytona +curl -sf -L https://download.daytona.io/daytona/v0.40/daytona-darwin-arm64 -o daytona ``` diff --git a/src/content/docs/installation/method/script-powershell.mdx b/src/content/docs/installation/method/script-powershell.mdx index 8233a5f7..0e9bc6be 100644 --- a/src/content/docs/installation/method/script-powershell.mdx +++ b/src/content/docs/installation/method/script-powershell.mdx @@ -11,7 +11,7 @@ export const partial = true ```powershell $architecture = if ($env:PROCESSOR_ARCHITECTURE -eq "AMD64") { "amd64" } else { "arm64" } md -Force "$Env:APPDATA\bin\daytona"; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Tls,Tls11,Tls12'; -Invoke-WebRequest -URI "https://download.daytona.io/daytona/v0.39/daytona-windows-$architecture.exe" -OutFile "$Env:APPDATA\bin\daytona\daytona.exe"; +Invoke-WebRequest -URI "https://download.daytona.io/daytona/v0.40/daytona-windows-$architecture.exe" -OutFile "$Env:APPDATA\bin\daytona\daytona.exe"; $env:Path += ";" + $Env:APPDATA + "\bin\daytona"; [Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::User); daytona serve; ``` @@ -21,9 +21,9 @@ You can install Daytona by manually downloading the binary and placing it in you ```powershell # x86-64 -curl -sf -L https://download.daytona.io/daytona/v0.39/daytona-windows-amd64.exe -o daytona +curl -sf -L https://download.daytona.io/daytona/v0.40/daytona-windows-amd64.exe -o daytona # AArch64 -curl -sf -L https://download.daytona.io/daytona/v0.39/daytona-windows-arm64.exe -o daytona +curl -sf -L https://download.daytona.io/daytona/v0.40/daytona-windows-arm64.exe -o daytona ``` diff --git a/src/content/docs/tools/api.mdx b/src/content/docs/tools/api.mdx index 3e32350d..99b53ba9 100644 --- a/src/content/docs/tools/api.mdx +++ b/src/content/docs/tools/api.mdx @@ -789,6 +789,22 @@ Remove a target | :-------- | :---------- | | `204` | No Content | +## PATCH /target/\{target\}/set-default + +Set target to default + +### Parameters + +| Name | Location | Required | Type | Description | +| :--- | :------- | :------- | :--- | :---------- | +| `target` | path | true | string | Target name | + +### Responses + +| Status Code | Description | +| :-------- | :---------- | +| `200` | OK | + ## GET /workspace List workspaces diff --git a/src/content/docs/tools/cli.mdx b/src/content/docs/tools/cli.mdx index 409283e6..fc9b8725 100644 --- a/src/content/docs/tools/cli.mdx +++ b/src/content/docs/tools/cli.mdx @@ -420,6 +420,7 @@ __Flags__ | Long | Short | Description | | :--- | :---- | :---------- | | `--all` | `-a` | Remove all Git providers | +| `--yes` | `-y` | Confirm deletion without prompt | | `--help` | | help for daytona | ## daytona git-providers list @@ -1065,6 +1066,19 @@ __Flags__ | `--yes` | `-y` | Confirm deletion of all workspaces without prompt | | `--help` | | help for daytona | +## daytona target set-default + +Set target to be used by default + +```shell +daytona target set-default [TARGET_NAME] [flags] +``` + +__Flags__ +| Long | Short | Description | +| :--- | :---- | :---------- | +| `--help` | | help for daytona | + ## daytona target set Set provider target