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

Update gpt requirement from 3.1.0 to 4.0.0 #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Sep 16, 2024

Updates the requirements on gpt to permit the latest version.

Release notes

Sourced from gpt's releases.

v4.0.0

Behaviour changes

  • Opening a GptDisk now succeeds even if one header is invalid (use the only_valid_headers config flag to get the old behaviour back)

Changes

  • Type::from_str now is case insensitive, Thanks @​IronBatman2715
  • add GptDisk::calculate_alignment allowing to calculate the sector alignment, Thanks @​gaochuntie
  • add GptDisk::add_partition_at, Thanks @​gaochuntie
  • Bump MSRV to 1.65
  • implement Clone for GptDisk
  • relax trait bounds on some functions of GptDisk
  • remove Partition::size and replace it with sectors_len which returns the correct number of sectors, Thanks @​sjoerdsimons
  • GptDisk::{primary_header, backup_header, try_header} now return an error instead of just Option
  • Remove initialized state & configuration
  • add the option to allow the partition count to be changed
  • add the option to only open a disk if both headers are valid
  • add the option to keep the backup partition readonly
  • split GptDisk::remove_partition into two functions remove_partition and remove_partition_by_guid
  • add GptDisk::header function which allows to get the current header (either primary or backup)
  • add GptDisk::take_partitions
  • remove GptDisk::update_partitions_safe and replace it with a config option readonly_backup
  • remove GptDisk::update_partitions_embedded and replace it with the config option change_partition_count
  • add GptDisk::device_ref
  • add GptDisk::device_mut
  • crc32 are now stored in the header after it has been written instead of always being zeros
  • Add DragonFlyBSD as partition and OS type, Thanks @​phcoder
  • GptDisk now accepts a generic DiskDevice
  • add ChromeOS RWFW partition type, Thanks @​phcoder
  • improve error reporting, returning HeaderError or the new GptError
  • add HeaderBuilder to simplify creating a header (replaces Header::compute_new)
  • add GptDisk::take_device
  • Support custom partition GUIDs
  • logging is now optional use the log or tracing feature to use the appropriate logging crate
Changelog

Sourced from gpt's changelog.

v4.0.0 (2024-09-13)

Behaviour changes

  • Opening a GptDisk now succeeds even if one header is invalid (use the only_valid_headers config flag to get the old behaviour back)

Changes

  • Type::from_str now is case insensitive, Thanks @​IronBatman2715
  • add GptDisk::calculate_alignment allowing to calculate the sector alignment, Thanks @​gaochuntie
  • add GptDisk::add_partition_at, Thanks @​gaochuntie
  • Bump MSRV to 1.65
  • implement Clone for GptDisk
  • relax trait bounds on some functions of GptDisk
  • remove Partition::size and replace it with sectors_len which returns the correct number of sectors, Thanks @​sjoerdsimons
  • GptDisk::{primary_header, backup_header, try_header} now return an error instead of just Option
  • Remove initialized state & configuration
  • add the option to allow the partition count to be changed
  • add the option to only open a disk if both headers are valid
  • add the option to keep the backup partition readonly
  • split GptDisk::remove_partition into two functions remove_partition and remove_partition_by_guid
  • add GptDisk::header function which allows to get the current header (either primary or backup)
  • add GptDisk::take_partitions
  • remove GptDisk::update_partitions_safe and replace it with a config option readonly_backup
  • remove GptDisk::update_partitions_embedded and replace it with the config option change_partition_count
  • add GptDisk::device_ref
  • add GptDisk::device_mut
  • crc32 are now stored in the header after it has been written instead of always being zeros
  • Add DragonFlyBSD as partition and OS type, Thanks @​phcoder
  • GptDisk now accepts a generic DiskDevice
  • add ChromeOS RWFW partition type, Thanks @​phcoder
  • improve error reporting, returning HeaderError or the new GptError
  • add HeaderBuilder to simplify creating a header (replaces Header::compute_new)
  • add GptDisk::take_device
  • Support custom partition GUIDs
  • logging is now optional use the log or tracing feature to use the appropriate logging crate
Commits
  • 39f57e5 Publish v4.0.0
  • f393c84 remove fixtures tests from being published to crates io Closes #105
  • c07c561 simplify Type::from_name
  • 2341e2c Make partition_types::Type::FromStr case-insensitive for guid
  • 6e98a3f Calculate existed alignment (#103)
  • a346e9f add GptDisk::add_partition_at (#99)
  • 8b3a303 remove unused "cargo-clippy" feature
  • a7c4617 better to use the repository field
  • bf23b74 Publish v4.0.0-rc.3
  • 8929bed bump msrv to 1.65
  • Additional commits viewable in compare view

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 [gpt](https://github.com/Quyzi/gpt) to permit the latest version.
- [Release notes](https://github.com/Quyzi/gpt/releases)
- [Changelog](https://github.com/Quyzi/gpt/blob/master/CHANGELOG.md)
- [Commits](Quyzi/gpt@v3.1.0...v4.0.0)

---
updated-dependencies:
- dependency-name: gpt
  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 Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants