v0.44.0
oddgrd
released this
23 Apr 10:50
·
11 commits
to 855837374728ae20bcc88b6614d94b49921dee73
since this release
Shuttle: v0.44.0 update
Improvements to cargo shuttle logs
Until this point, it has only been possible to fetch all the logs for a deployment. Following this release, after upgrading your cargo-shuttle CLI, you will be able to:
- Fetch the last
n
log lines withcargo shuttle logs --tail <n>
. - Fetch the first
n
log lines withcargo shuttle logs --head <n>
. - Fetch all the logs lines with
cargo shuttle logs --all
. Note that this is capped at 4 MiB of log lines.
Thanks to @biplab5464 for contributing this new functionality!
Breaking changes
- The version of
poem
inshuttle-poem
has been increased to 3.0. - The return type of the turso resource in
shuttle-turso
has been changed to theDatabase
type, which makes it possible to work around the bug described in #1746.
Bug fixes
- The
shuttle_service::Environment
enum is now correctly re-exported fromshuttle_runtime
.
Other updates
- We made improvements to the errors returned from the control plane, that should make it easier to resolve some common failures.
Contributions
- @sourabpramanik bumped the Poem version in shuttle-poem in #1724 and shuttle-hq/shuttle-examples#161
- @biplab5464 expanded the
cargo shuttle logs
API in #1629
Upgrading
Refer to the upgrading docs for how to upgrade your projects.
What's Changed
- chore: set package.repository for all crates by @jonaro00 in #1716
- feat: CORS support on gateway by @chesedo in #1714
- chore: clean up dev deps by @jonaro00 in #1712
- feat(gateway): compare permission checks to permit by @jonaro00 in #1706
- chore: bump h2 to patch continuation flood vulnerability by @oddgrd in #1719
- refactor: only use permit to check project permissions by @chesedo in #1721
- refactor: simplify by getting rid of the unneeded User wrapper by @chesedo in #1722
- misc: nix shell update by @chesedo in #1726
- feat: orgs by @chesedo in #1720
- feat(admin): change project owner by @jonaro00 in #1725
- feat: bump poem version by @sourabpramanik in #1724
- feat: org members by @chesedo in #1728
- fix: various fixes and corrections by @jonaro00 in #1729
- fix(runtime): re-export Environment by @jonaro00 in #1736
- misc: revert severity level on allowed project names by @chesedo in #1739
- refactor: errors by @chesedo in #1738
- feat: get project owners and only personal projects by @chesedo in #1733
- feat: add
--head
and--tail
to logs command by @biplab5464 in #1629 - fix: rustls and gix cargo audit failures by @oddgrd in #1749
- fix: change TursoOutput to provide Database by @joshua-mo-143 in #1747
- chore: v0.44.0 by @oddgrd in #1750
New Contributors
- @sourabpramanik made their first contribution in #1724
Full Changelog: v0.43.0...v0.44.0