github shuttle-hq/shuttle v0.34.1

latest releases: v0.49.0, v0.48.3, v0.48.2...
13 months ago

Shuttle: v0.34.1 update

Bugfix release

Serenity 0.12 and Axum 0.7

We have added opt-in support for these breaking changes with feature flags. In a future release when their usage share is larger, we will swap the default features to point to the newer versions, and keep support for the older version with a feature flag.

Serenity 0.12 is now supported by using these feature flags (native TLS also available):

serenity = { version = "0.12.0", features = ["..."] }
shuttle-serenity = { version = "0.34.1", default-features = false, features = ["serenity-0-12-rustls_backend"] }

Axum 0.7 is now supported by using these feature flags:

axum = "0.7.0"
shuttle-axum = { version = "0.34.1", default-features = false, features = ["axum-0-7"] }

Added

  • cargo shuttle logs now has a --raw flag that hides the timestamps and log origins from log lines.

Changed

  • cargo shuttle project delete will now restart the project, stop deployments, and delete resources for you if needed, reducing manual work needed by the user.
  • cch23 projects will always have the idle timer set to 5 minutes.

Bugfixes

  • Fixed a bug where normal log usage would be rate limited.
  • Fixed a bug where parsing a rate limit response in the deployment log stream caused an error.
  • Fixed a bug where deploying new secrets did not properly update them.
  • Fixed a bug where the runtime version check timeout on local runs was not high enough. Thanks @fatfingers23 for the contribution!

Upgrading

Refer to the upgrading docs for how to upgrade your projects.

What's Changed

  • bug: remove project resources automatically when delete the project by @chesedo in #1421
  • ci: bump docker-rust rust version by @oddgrd in #1431
  • refactor: delete errored projects by @chesedo in #1428
  • bug: don't do anything on delete dry run by @chesedo in #1432
  • revert: rate limit based on peer address #1351 by @oddgrd in #1426
  • fix(cargo-shuttle): handle log stream errors in deploy command by @jonaro00 in #1429
  • fix(deployer): new secrets override old ones by @jonaro00 in #1423
  • feat(gateway): override idle timer for cch projects by @jonaro00 in #1430
  • feat(cargo-shuttle): --raw flag on logs by @jonaro00 in #1422
  • feat(gateway): use max 75% of cores for building by @jonaro00 in #1434
  • tests: confirm that stopped projects delete successfully by @chesedo in #1435
  • chore: v0.34.1, cargo update, changelog by @jonaro00 in #1433
  • fix(cargo-shuttle): increase runtime version check timeout by @fatfingers23 in #1437
  • fix(shuttle-serenity): support serenity 0.12 through feature flag by @jonaro00 in #1439
  • feat(shuttle-axum): support axum 0.7 through feature flag by @jonaro00 in #1440
  • fix: project delete prompt by @jonaro00 in #1442

New Contributors

Full Changelog: v0.34.0...v0.34.1

Don't miss a new shuttle release

NewReleases is sending notifications on new releases.