Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Update shuttle-service requirement from 0.39.0 to 0.40.0 #14

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 5, 2024

Updates the requirements on shuttle-service to permit the latest version.

Release notes

Sourced from shuttle-service's releases.

0.40.0

Shuttle: v0.40.0 update

We're excited to release Shuttle v0.40.0! 🚀

[BREAKING] Resource/plugin API updated

We have updated the interface for how a service requests resources, to make it easier to configure our resources, and allowing custom plugins to do more things.

After upgrading (restarting) your project to 0.40.0, your next deployment will need

  • shuttle-runtime 0.40.0+
  • cargo-shuttle 0.40.0+
  • An up-to-date Secrets.toml (previous secrets will be invalidated)

Local runs will also need matching versions of CLI and runtime.

If you have a custom plugin, it will need to be refactored to the new ResourceInputBuilder trait, an updated API for plugins. Check out the implementations of our plugins or an example.

CHANGED: The Metadata struct in shuttle-metadata no longer has a service_name field. Use project_name instead.

Other updates

  • Reduced the dependency weight of shuttle-runtime 🥳. The axum hello-world example went from 291 to 222 dependencies.
  • Added a --secrets arg to the run and deploy commands that allows you to use a different secrets file than the default
  • Added load phase caching, which should improve the speed and reliability of starting the service after wakeups from idle and project restarts
  • AWS RDS resources can now configure their database name in the macro: #[shuttle_aws_rds::Postgres(database_name = "thing")]. The project name is now used as the default name.
  • Newly generated database passwords will now have length 32 instead of 12
  • Fixed a bug where the --working-directory/--wd arg would create directories that didn’t exist
  • The init command will now suggest using a directory with the same name as the project, instead of the current directory
  • Bumped deployer’s trunk version to 0.18.8
  • Projects no longer restart when adding a custom domain
  • Fixed the URL formatting of services with a custom domain
  • (hotfixed during 0.39.0) Fixed an issue where project ownership was not checked in some backends

Deprecating shuttle-next

We are deprecating the current iteration of our WASM framework shuttle-next in this release to keep our priorities focused. Next release, we will drop support for shuttle-next.

Contributions

Upgrading

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

What's Changed

... (truncated)

Changelog

Sourced from shuttle-service's changelog.

0.40.0 - 2024-02-29

Features

  • (cargo-shuttle) --secrets arg to use non-default secrets file (#1642) - (751f337)
  • (deployer) Load phase caching, automatic startup (#1640) - (ada3fe1)
  • (install.sh) Always check for cargo install first (#1610) - (cca27d9)
  • (runtime, deployer) [breaking] Extract load phase + provisioning to deployer, resource update (#1628) - (ba57785)
  • Enable Datadog APM error tracking with a tracing layer (#1626) - (c5f2caf)

Bug Fixes

  • (gateway) Custom domain followup improvements (#1627) - (46c71e7)
  • (resource-recorder) [breaking] Disable service id endpoint (#1644) - (0b97911)
  • (resource-recorder, provisioner) Fix integration tests (#1645) - (b4f6577)
  • Remove builder from compose (#1643) - (b637bef)
  • Various fixes (#1641) - (b026bd5)

Miscellaneous Tasks

Miscellaneous

0.39.0 - 2024-02-14

Features

Bug Fixes

Refactor

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [shuttle-service](https://github.com/shuttle-hq/shuttle) to permit the latest version.
- [Release notes](https://github.com/shuttle-hq/shuttle/releases)
- [Changelog](https://github.com/shuttle-hq/shuttle/blob/main/CHANGELOG.md)
- [Commits](shuttle-hq/shuttle@v0.39.0...v0.40.0)

---
updated-dependencies:
- dependency-name: shuttle-service
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 5, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 8, 2024

Superseded by #15.

@dependabot dependabot bot closed this Mar 8, 2024
@dependabot dependabot bot deleted the dependabot/cargo/shuttle-service-0.40.0 branch March 8, 2024 01:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants