Releases: google/zerocopy
Releases · google/zerocopy
v0.8.0-alpha.14
What's Changed
- Move
*ByteSlice*
traits intobyte_slice
module by @jswrenn in #1286 - Expand test_macros_evaluate_args_once to test more by @joshlf in #1287
- Make
ConvertError
and variants public by @jswrenn in #1284 - Release 0.8.0-alpha.14 by @google-pr-creation-bot in #1285
Full Changelog: v0.8.0-alpha.13...v0.8.0-alpha.14
v0.8.0-alpha.13
What's Changed
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1266
- read_from_{prefix,suffix} return remaining bytes by @joshlf in #1270
- Include
try_transmute!
in crate-level overview by @jswrenn in #1267 - [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1272
- Rephrase conversion methods' documentation to accommodate DSTs by @jswrenn in #1269
- Improve UI/UX of post-monomorphization errors by @jswrenn in #1268
- [ci] Add code coverage reporting for PRs and main by @joshlf in #1274
- Add tests for some uncovered lines by @joshlf in #1277
- Rename FromBytes::ref_from[_with_elems] by @joshlf in #1278
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1280
- [CI] Bump actions/checkout from 4.1.5 to 4.1.6 by @dependabot in #1281
- Update deprecated methods for
FromBytes
,Ref
by @joshlf in #1282 - Document slice DSTs and size validity by @joshlf in #1273
- Release 0.8.0-alpha.13 by @google-pr-creation-bot in #1283
Full Changelog: v0.8.0-alpha.12...v0.8.0-alpha.13
v0.8.0-alpha.12
What's Changed
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1244
- [impls] Move trait impls from crate root by @joshlf in #1242
- Rename FromBytes methods using
with_elems
suffix by @joshlf in #1245 - Add back some removed
Ref
methods as deprecated by @joshlf in #1246 - [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1248
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1250
- [CI] Bump github/codeql-action from 3.25.4 to 3.25.5 by @dependabot in #1251
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1255
- Implement
try_transmute!
by @jswrenn in #1018 - Remove .forget_exclusive from Ptr::try_into_valid by @joshlf in #1257
- Add Ref more
with_elems
Ref
constructors by @joshlf in #1258 - Remove incorrect
TryFromBytes
docs w.r.t unions by @jswrenn in #1259 - Make
IntoByteSlice
an unsafe trait by @joshlf in #1261 - Release 0.8.0-alpha.12 by @google-pr-creation-bot in #1264
Full Changelog: v0.8.0-alpha.11...v0.8.0-alpha.12
v0.8.0-alpha.11
What's Changed
- Ptr::try_cast_into takes explicit element count by @joshlf in #1160
- Implement
FromBytes::{mut,ref}_from_with_trailing_elements
by @jswrenn in #1237 - [ref] Change some
Ref
constructor names by @joshlf in #1239 - Remove more unnecessary
Immutable
bounds fromFromBytes
by @jswrenn in #1236 - Move tests to more appropriate locations by @joshlf in #1240
- Release 0.8.0-alpha.11 by @google-pr-creation-bot in #1241
Full Changelog: v0.8.0-alpha.10...v0.8.0-alpha.11
v0.8.0-alpha.10
What's Changed
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1185
- Roll pinned toolchain versions on v0.7.x by @joshlf in #1190
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1195
- Fix bug in Kani roller by @joshlf in #1193
- Use
AlignmentError
inUnalign
's failure conditions by @jswrenn in #1198 - [ci] Roll pinned nightly toolchain by @joshlf in #1202
- [
build.rs
] Supportunexpected_cfgs
lint by @joshlf in #1204 - [derive] Make some pub items pub(crate) by @joshlf in #1205
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1207
- [CI] Bump actions/checkout from 4.1.4 to 4.1.5 by @dependabot in #1208
- [pointer] Ptr::try_cast_into returns two Ptrs by @joshlf in #1161
- [derive][tests] Test IntoBytes failure #1182 by @joshlf in #1186
- [FromBytes] Rename some methods for consistency by @joshlf in #1210
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1213
- [CI] Bump github/codeql-action from 3.25.3 to 3.25.4 by @dependabot in #1214
- Document
IntoByteSlice
safety invariants by @jswrenn in #1215 - Move
Ref
to its own module by @joshlf in #1216 - [ci] Roll pinned Kani version by @google-pr-creation-bot in #1220
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1222
- [ref] Move
Ref
definition into its own module by @joshlf in #1218 - Add
TryFromBytes
prefix/suffix conversion methods by @jswrenn in #1072 - [pointer] Relax UnsafeCell requirements by @joshlf in #1211
- Add
AliasingSafe
framework by @joshlf in #1224 - Remove Immutable where it's no longer needed by @joshlf in #1225
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1231
- [CI] Bump ossf/scorecard-action from 2.3.1 to 2.3.3 by @dependabot in #1232
- [ci] Publish
cargo doc
to GitHub Pages by @joshlf in #1227 - Add missing copyright header comments by @joshlf in #1229
- [CI] Bump actions/configure-pages from 4 to 5 by @dependabot in #1233
- Factor out some duplicated code in FromBytes by @joshlf in #1234
- Release 0.8.0-alpha.10 by @google-pr-creation-bot in #1235
Full Changelog: v0.8.0-alpha.9...v0.8.0-alpha.10
v0.7.34
What's Changed
- [ci] Pin Kani version by @joshlf in #1189
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1194
- [ci] Roll pinned nightly toolchain by @joshlf in #1203
- [Backport] Set manifest keywords and categories by @jswrenn in #1043
Full Changelog: v0.7.33...v0.7.34
v0.7.33
v0.8.0-alpha.9
What's Changed
- Release 0.8.0-alpha by @joshlf in #681
- Initial commit of
NoCell
by @joshlf in #656 - [derive] Support deriving
NoCell
by @joshlf in #667 - Use KnownLayout to construct and operate on Refs by @joshlf in #678
- [CI] Bump github/codeql-action from 2.22.8 to 2.22.9 by @dependabot in #685
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #684
- Rename
FromZeroes
toFromZeros
by @jswrenn in #430 - [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #690
- [ci] Roll pinned stable toolchain by @google-pr-creation-bot in #691
- [derive] Support
derive(TryFromBytes)
for structs by @jswrenn in #665 - [readme] Link to GitHub Releases by @joshlf in #692
- Traits other than
NoCell
permitUnsafeCell
s by @joshlf in #682 - Release 0.8.0-alpha.1 by @joshlf in #698
- [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
- [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 https://github.com/goog...
v0.8.0-alpha.8
What's Changed
- Release 0.8.0-alpha by @joshlf in #681
- Initial commit of
NoCell
by @joshlf in #656 - [derive] Support deriving
NoCell
by @joshlf in #667 - Use KnownLayout to construct and operate on Refs by @joshlf in #678
- [CI] Bump github/codeql-action from 2.22.8 to 2.22.9 by @dependabot in #685
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #684
- Rename
FromZeroes
toFromZeros
by @jswrenn in #430 - [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #690
- [ci] Roll pinned stable toolchain by @google-pr-creation-bot in #691
- [derive] Support
derive(TryFromBytes)
for structs by @jswrenn in #665 - [readme] Link to GitHub Releases by @joshlf in #692
- Traits other than
NoCell
permitUnsafeCell
s by @joshlf in #682 - Release 0.8.0-alpha.1 by @joshlf in #698
- [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
- [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 https://github.com/goog...
v0.8.0-alpha.7
What's Changed
- Make old names errors instead of warnings by @joshlf in #980
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #981
- [CI] Bump github/codeql-action from 3.24.5 to 3.24.6 by @dependabot in #982
- Restructure crate-level 'Overview' documentation by @jswrenn in #983
- Document
Unaligned
by @jswrenn in #984 - Add deprecated IntoBytes::as_bytes_mut by @joshlf in #987
- Consolodate and improve use of old names by @joshlf in #990
- Implement Copy and Clone for Ref by @joshlf in #989
- Document
KnownLayout
by @jswrenn in #988 - Split ByteSlice and SplitByteSlice by @joshlf in #991
- Deprecate more Ref constructors by @joshlf in #997
- Delevel headers in crate-level documentation by @jswrenn in #1000
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1005
- Remove underscores from now-used item names by @joshlf in #1004
- Annotate public macros/functions with
#[must_use]
by @joshlf in #1003 - Remove post-monomorphization compile-fail tests by @joshlf in #1006
- Remove unnecessary Ptr "assume" calls by @joshlf in #1002
- [wrappers] Replace some
unsafe
code withPtr
by @joshlf in #1007 - [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1008
- Impl traits for TransparentWrapper types safely by @joshlf in #1001
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1012
- Implement
TransparentWrapper
for atomic types by @joshlf in #1011 - Document const-ness of
transmute(_*)!
macros by @jswrenn in #1019 - [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1020
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1023
- TransparentWrapper supports UnsafeCell variance by @joshlf in #1024
- Implement
TransparentWrapper
forUnsafeCell
by @joshlf in #1025 - Release 0.8.0-alpha.7 by @joshlf in #1027
Full Changelog: v0.8.0-alpha.6...v0.8.0-alpha.7