Releases: google/zerocopy
v0.8.0-alpha.6
What's Changed
- Renamed
as_bytes_mut
toas_mut_bytes
by @dorryspears in #870 - Add caching dupe change by @dorryspears in #835
- Add git pre-push hook by @tommy-gilligan in #728
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #875
- [CI] Bump actions/dependency-review-action from 4.0.0 to 4.1.0 by @dependabot in #877
- [CI] Bump github/codeql-action from 3.24.0 to 3.24.1 by @dependabot in #876
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #880
- [CI] Bump github/codeql-action from 3.24.1 to 3.24.3 by @dependabot in #881
- derive: generalize
require_self_sized
by @jswrenn in #883 - [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #887
- [derive] Disable prelude when testing; fix bugs by @joshlf in #886
- TryFromBytes for MaybeUninit requires T: NoCell by @joshlf in #889
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #895
- Remove unsound
Ptr::forget_valid
by @jswrenn in #898 - [
TryFromBytes
] PermitUnsafeCells
by @jswrenn in #890 - Relax type bounds in Ptr::from_maybe_uninit_ref by @joshlf in #900
- [ptr] Clean up prose for field invariants by @joshlf in #901
- Add TryFromBytes::try_from_mut by @joshlf in #892
- Implement
<Unalign as TryFromBytes>::is_bit_valid
by @joshlf in #903 - Implement TryFromBytes for Option for fn types by @joshlf in #904
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #908
- [ptr] Fix soundness hole in "at least" invariants by @joshlf in #909
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #910
- [CI] Bump actions/dependency-review-action from 4.1.0 to 4.1.1 by @dependabot in #911
- [ptr] Relax some method bounds by @joshlf in #902
- [CI] Bump actions/dependency-review-action from 4.1.1 to 4.1.2 by @dependabot in #916
- Roll pinned nightly toolchain by @joshlf in #917
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #920
- [CI] Bump actions/dependency-review-action from 4.1.2 to 4.1.3 by @dependabot in #921
- [CI] Bump github/codeql-action from 3.24.3 to 3.24.4 by @dependabot in #923
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #922
- [ci] Test Git hooks by @joshlf in #919
- Convert shell scripts to Rust by @djkoloski in #891
- Support testing TryFromBytes for !NoCell types by @joshlf in #924
- [ci] Pin Kani to last known-good version by @joshlf in #930
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #927
- [CI] Bump github/codeql-action from 3.24.4 to 3.24.5 by @dependabot in #928
- [derive] Automatically derive super-traits by @joshlf in #926
- [ci] Automatically roll pinned Kani version by @joshlf in #931
- [derive] Use macro to generate some scaffolding by @joshlf in #937
- [ci] Roll Kani version to 0.47.0 by @joshlf in #939
- [ci][generate_cache] Run steps in parallel by @joshlf in #940
- [derive] Support deriving deprecated AsBytes by @joshlf in #938
- [githooks][pre-push] Run steps in parallel by @joshlf in #942
- [ci] Run
cargo fix
when rolling toolchains by @joshlf in #943 - Fix alignment bug in test_impls by @joshlf in #944
- Use Box instead of &T in test_impls success cases by @joshlf in #945
- Implement TryFromBytes for UnsafeCell by @joshlf in #912
- Make Ptr::reborrow public by @joshlf in #949
- Fix some uses of FromBytes and NoCell in doc tests by @joshlf in #950
- Fix UI tests by @joshlf in #951
- [derive] Fix UI tests by @joshlf in #954
- Fix some uses of NoCell in doc tests by @joshlf in #956
- Fix Clippy lints by @joshlf in #957
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #959
- [cargo-zerocopy] Pass failure return codes through by @djkoloski in #948
- Implement
PartialOrd
andOrd
where possible by @00xc in #915 - Disable re-exporting renamed traits in dev and CI by @joshlf in #961
- [CI] Bump peter-evans/create-pull-request from 6.0.0 to 6.0.1 by @dependabot in #965
- [ptr] Add TransparentWrapper by @joshlf in #958
- Add
IntoByteSlice
trait, use as bound forinto_ref
by @joshlf in #966 - Add
KnownLayout
, removeSized
from some APIs by @joshlf in #967 - Use KnownLayout in more APIs by @joshlf in #970
- Deprecate some
Ref
methods in favor ofKnownLayout
by @joshlf in #971 - [githooks/pre-push] Fail when sub-command fails by @joshlf in #969
- [ci] Pass dev and CI
--cfg
when rolling toolchain by @joshlf in #973 - Document
TryFromBytes
by @jswrenn in #974 - [ci] Roll pinned nightly toolchain by @joshlf in #975
- Make TryFromBytes a super-trait of FromZeros by @joshlf in #952
- Make TryFromBytes methods not #[doc(hidden)] by @joshlf in #976
- Document
NoCell
by @jswrenn in #977 - Deprecate FromBytes::slice_from by @joshlf in #978
- Release 0.8.0-alpha.6 by @joshlf in #979
New Contributors
- @dorryspears made their first contribution in #870
- @00xc made their first contribution in #915
Full Changelog: v0.8.0-alpha.5...v0.8.0-alpha.6
v0.8.0-alpha.5
What's Changed
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #849
- Lower MSRV to 1.57 by @joshlf in #848
- [ci] Check with tests by @joshlf in #852
- [byteorder] Make some methods const by @joshlf in #851
- Introduce
invariant::Initialized
and migrateMaybe
to it by @jswrenn in #853 - [testutil] Downgrade to edition 2018 by @joshlf in #856
- [ci] Roll pinned stable toolchain by @google-pr-creation-bot in #858
- Implement
TryFromBytes
for pointers by @jswrenn in #854 - Implement
TryFromBytes
for more types by @joshlf in #817 - Lower MSRV to 1.56 by @joshlf in #855
- Roll nightly toolchain by @joshlf in #865
- [derive] Support IntoBytes on some generic structs by @joshlf in #862
- [doc] TryFromBytes, IntoBytes aren't symmetrical by @joshlf in #860
- Release 0.8.0-alpha.5 by @joshlf in #869
Full Changelog: v0.8.0-alpha.4...v0.8.0-alpha.5
v0.8.0-alpha.4
What's Changed
- [CI] Bump github/codeql-action from 3.23.2 to 3.24.0 by @dependabot in #840
- [CI] Bump actions/upload-artifact from 4.3.0 to 4.3.1 by @dependabot in #842
- Roll nightly toolchain by @joshlf in #845
- Support arbitrary toolchain versions in
build.rs
by @joshlf in #843 - Roll nightly toolchain by @joshlf in #846
Full Changelog: v0.8.0-alpha.3...v0.8.0-alpha.4
v0.8.0-alpha.3
What's Changed
- [ci] Roll pinned stable toolchain by @google-pr-creation-bot in #760
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #761
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #762
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #763
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #764
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #766
- [CI] Bump actions/dependency-review-action from 3.1.4 to 3.1.5 by @dependabot in #767
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #768
- [CI] Bump github/codeql-action from 3.22.12 to 3.23.0 by @dependabot in #771
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #769
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #770
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #772
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #773
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #774
- [CI] Bump model-checking/kani-github-action from 1.0 to 1.1 by @dependabot in #776
- [CI] Bump Swatinem/rust-cache from 2.7.1 to 2.7.2 by @dependabot in #777
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #778
- [CI] Bump actions/cache from 3.3.2 to 3.3.3 by @dependabot in #779
- [CI] Bump actions/upload-artifact from 4.0.0 to 4.1.0 by @dependabot in #783
- [CI] Bump Swatinem/rust-cache from 2.7.2 to 2.7.3 by @dependabot in #784
- [CI] Bump actions/cache from 3.3.3 to 4.0.0 by @dependabot in #787
- [CI] Bump github/codeql-action from 3.23.0 to 3.23.1 by @dependabot in #789
- [CI] Bump actions/dependency-review-action from 3.1.5 to 4.0.0 by @dependabot in #790
- Invariant-parameterize
Ptr
and makeis_bit_valid
safe by @jswrenn in #699 - [byteorder] Remove byteorder feature and crate dep by @joshlf in #583
- [doc] Test
cargo doc
under--no-default-features
by @joshlf in #537 - [CI] Bump actions/upload-artifact from 4.1.0 to 4.2.0 by @dependabot in #793
- Support
derive(TryFromBytes)
onpacked
structs by @jswrenn in #794 - Add at-least-as-strict-as bounds to
Ptr
invariant system by @jswrenn in #798 - Implement
TryFromBytes
for[T; N]
by @jswrenn in #799 - [derive] Derive TryFromBytes on unions by @jswrenn in #800
- [ci] Fix missing UI test checks in CI by @jswrenn in #797
- [derive] FromZeros requires repr on unit-only enums by @joshlf in #802
- [derive] Rename is_c_like -> is_fieldless by @joshlf in #804
- [derive] Support TryFromBytes on field-less enums by @joshlf in #803
- Add TryFromBytes::try_read_from by @joshlf in #808
- [derive] TryFromBytes on repr(C) enums by @joshlf in #806
- [ci] Separately track MSRV and MWRV by @joshlf in #810
- [CI] Bump actions/upload-artifact from 4.2.0 to 4.3.0 by @dependabot in #813
- Revert "[ci] Separately track MSRV and MWRV" by @joshlf in #811
- Lower our MSRV to 1.59.0 by @joshlf in #791
- [CI] Bump obi1kenobi/cargo-semver-checks-action from 2.2 to 2.3 by @dependabot in #819
- [CI] Bump github/codeql-action from 3.23.1 to 3.23.2 by @dependabot in #823
- [byteorder] Implement TryFromBytes by @joshlf in #824
- [CI] Bump peter-evans/create-pull-request from 5.0.2 to 6.0.0 by @dependabot in #828
- [CI] Bump step-security/harden-runner from 2.6.1 to 2.7.0 by @dependabot in #829
- Add implementation of
padding_needed_for
by @ezrosent in #830 - [util] Use new padding_needed_for implementation by @joshlf in #833
New Contributors
Full Changelog: v0.8.0-alpha.2...v0.8.0-alpha.3
v0.8.0-alpha.2
This release fixes the soundness issue described in #716. The preceding 0.8.0-alpha versions will soon be yanked.
This release is also described in security advisories RUSTSEC-2023-0074 and GHSA-3mv5-343c-w2qg.
What's Changed
- [tests] Fix UI tests with missing imports by @joshlf in #706
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #711
- [issues] Add "Customer request" template by @joshlf in #708
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #713
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #717
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #718
- [CI] Bump github/codeql-action from 2.22.9 to 2.22.10 by @dependabot in #719
- [ci] check all-jobs-succeed depends on all jobs by @tommy-gilligan in #720
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #729
- [CI] Bump github/codeql-action from 2.22.10 to 3.22.11 by @dependabot in #730
- Rename
AsBytes
toIntoBytes
by @joshlf in #700 - [docs] Add yank log by @joshlf in #732
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #734
- [CI] Bump actions/upload-artifact from 3.1.3 to 4.0.0 by @dependabot in #735
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #736
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #737
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #739
- [docs] Link to customer request issue template by @joshlf in #738
- [yanks] Document yanks for #716 by @joshlf in #733
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #740
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #741
- [derive] Exclude large test files when publishing by @joshlf in #743
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #745
- [CI] Bump github/codeql-action from 3.22.11 to 3.22.12 by @dependabot in #747
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #746
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #748
- [ci] Use pinned nightly for cargo-semver-checks by @joshlf in #753
- [doc] fix doc_cfg feature name of new_vec_zeroed by @Lencerf in #750
- Pin transitive dep
cargo-platform
for MSRV by @jswrenn in #757 - Fix soundness hole in Ref::into_ref and into_mut (#721) by @joshlf in #755
New Contributors
- @tommy-gilligan made their first contribution in #720
- @Lencerf made their first contribution in #750
Full Changelog: v0.8.0-alpha.1...v0.8.0-alpha.2
v0.7.32
v0.6.6
This release fixes the soundness issue described in #716. The affected versions will soon be yanked.
This release is also described in security advisories RUSTSEC-2023-0074 and GHSA-3mv5-343c-w2qg.
What's Changed
Full Changelog: v0.6.5...v0.6.6
v0.5.2
This release fixes the soundness issue described in #716. The affected versions will soon be yanked.
This release is also described in security advisories RUSTSEC-2023-0074 and GHSA-3mv5-343c-w2qg.
What's Changed
Full Changelog: v0.5.1...v0.5.2
v0.4.1
This release fixes the soundness issue described in #716. The affected versions will soon be yanked.
This release is also described in security advisories RUSTSEC-2023-0074 and GHSA-3mv5-343c-w2qg.
What's Changed
Full Changelog: v0.4.0...v0.4.1
v0.3.2
This release fixes the soundness issue described in #716. The affected versions will soon be yanked.
This release is also described in security advisories RUSTSEC-2023-0074 and GHSA-3mv5-343c-w2qg.
What's Changed
Full Changelog: v0.3.1...v0.3.2