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

chore(deps): update dependency daytonaio/daytona to v0.52.0 #9848

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

uniget-bot
Copy link

This PR contains the following updates:

Package Update Change
daytonaio/daytona minor 0.51.0 -> 0.52.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

daytonaio/daytona (daytonaio/daytona)

v0.52.0

Compare Source

Workspace Management Rework

TL;DR
  • Targets now have state (e.g. Daytona is aware of the state of the EC2 instance used by the AWS provider)
  • Workspaces can be created/deleted on running targets (e.g. No more need to create an EC2 instance for every workspace. Keep one running and add workspaces to it)
  • Remote runners can offload jobs to remote machines
  • Use workspace labels to group workspaces and filter them with daytona ls --label
  • If you want to help us test this major update, jump straight into the How to test section below

Description

Projects have been renamed to Workspaces.
Workspaces have been renamed to Targets
Targets have been renamed to Target Configs.

Project configs have also been renamed to Templates; e.g. daytona template list

Workspaces have been "detached" from targets - they can now be created inside and deleted from targets removing the
need to provision a new target whenever creating a workspace.

Resource state management issues have been resolved - new resource states regarding starting/stopping/deleting workspaces or e.g. running builds are introduced.

Issues for a "remote provisioner" and "remote image builder" have been solved by introducing Runners - a standalone mode/component in charge of asynchronously fetching and running workspace/target/build creation and other processes.
This allows users to e.g. create a remote VM, install Daytona and connect it to the existing Daytona Server to create workspaces. Local provisioning/building is managed by the Local Runner which can be disabled through the Daytona
Server configuration.

Runners are responsible for managing providers and each one has its own set of providers. When creating target configs, users are prompted to choose a runner to link it to.

If you want to add a remote runners, run:

daytona server runner create

You will get a command that you can run to configure and start a remote runner.

Introduced Workspace Labels allowing workspaces to be grouped and filtered by user-defined text fields.

It is now possible to SSH into targets and use the Daytona binary inside of them to view info and read logs.

Container registries are no longer managed through a CLI command and are now managed by environment variables instead

Purging Daytona now delegates removal of Resources (workspaces, targets, builds) to the user because they are now treated independently.

Telemetry has been updated/improved to match the changes.

CLI commands arguments and aliases have been made to be more consistent.

README.md has been redone to adhere to the changes and trimmed of a large amount of the content.

Other release changes
Features
Fixes
Telemetry
  • removed tracking API requests and responses
  • improved telemetry events to track all resource changes
Samples
Chores and tests

Breaking changes

Before updating, users will need to remove the entire Daytona configuration from your system with daytona purge or:

Linux:

rm -rf ~/.config/daytona

Mac:

rm -rf ~/Library/Application\ Support/daytona

Windows (PowerShell):

Remove-Item -Recurse -Force "C:\Users\<USERNAME>\AppData\Roaming\daytona"

Full Changelog: daytonaio/daytona@v0.51.0...v0.52.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Copy link

@nicholasdille-bot nicholasdille-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved because label type/renovate is present.

Copy link

🔍 Vulnerabilities of ghcr.io/uniget-org/tools/daytona:0.52.0

📦 Image Reference ghcr.io/uniget-org/tools/daytona:0.52.0
digestsha256:8b03288b1537dc159589d7b1c4cf564473cad50d85848293f7579a6058cd5c4e
vulnerabilitiescritical: 0 high: 3 medium: 2 low: 1
platformlinux/amd64
size56 MB
packages288
critical: 0 high: 3 medium: 1 low: 0 stdlib 1.23.0 (golang)

pkg:golang/stdlib@1.23.0

high : CVE--2024--34158

Affected range>=1.23.0-0
<1.23.1
Fixed version1.23.1
Description

Calling Parse on a "// +build" build tag line with deeply nested expressions can cause a panic due to stack exhaustion.

high : CVE--2024--34156

Affected range>=1.23.0-0
<1.23.1
Fixed version1.23.1
Description

Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion. This is a follow-up to CVE-2022-30635.

high : CVE--2022--30635

Affected range>=1.23.0-0
<1.23.1
Fixed version1.23.1
Description

Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion. This is a follow-up to CVE-2022-30635.

medium : CVE--2024--34155

Affected range>=1.23.0-0
<1.23.1
Fixed version1.23.1
Description

Calling any of the Parse functions on Go source code which contains deeply nested literals can cause a panic due to stack exhaustion.

critical: 0 high: 0 medium: 1 low: 1 github.com/aws/aws-sdk-go 1.54.19 (golang)

pkg:golang/github.com/aws/aws-sdk-go@1.54.19

medium : CVE--2020--8911

Affected range>=0
Fixed versionNot Fixed
Description

A padding oracle vulnerability exists in the AWS S3 Crypto SDK for GoLang versions prior to V2. The SDK allows users to encrypt files with AES-CBC without computing a Message Authentication Code (MAC), which then allows an attacker who has write access to the target's S3 bucket and can observe whether or not an endpoint with access to the key can decrypt a file, they can reconstruct the plaintext with (on average) 128*length (plaintext) queries to the endpoint, by exploiting CBC's ability to manipulate the bytes of the next block and PKCS5 padding errors. It is recommended to update your SDK to V2 or later, and re-encrypt your files.

low : CVE--2020--8912

Affected range>=0
Fixed versionNot Fixed
Description

A vulnerability in the in-band key negotiation exists in the AWS S3 Crypto SDK for GoLang versions prior to V2. An attacker with write access to the targeted bucket can change the encryption algorithm of an object in the bucket, which can then allow them to change AES-GCM to AES-CTR. Using this in combination with a decryption oracle can reveal the authentication key used by AES-GCM as decrypting the GMAC tag leaves the authentication key recoverable as an algebraic equation. It is recommended to update your SDK to V2 or later, and re-encrypt your files.

Copy link

Attempting automerge. See https://github.com/uniget-org/tools/actions/runs/12953728482.

Copy link

PR is clean and can be merged. See https://github.com/uniget-org/tools/actions/runs/12953728482.

@github-actions github-actions bot merged commit d30a5e4 into main Jan 24, 2025
10 checks passed
@github-actions github-actions bot deleted the renovate/daytonaio-daytona-0.x branch January 24, 2025 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants