Releases: google/zerocopy
Releases · google/zerocopy
v0.8.0-alpha.19
What's Changed
- Roll pinned nightly and stable toolchains by @joshlf in #1612
- [ci] Roll pinned Kani version by @google-pr-creation-bot in #1611
- [pointer] Update requirements for zero-sized types by @joshlf in #1614
- Write some safety proofs by @joshlf in #1615
- Redocument
derive(IntoBytes)
to reflect current implementation by @jswrenn in #1616 - Tighten soundness of
addr_of!
uses by @joshlf in #1617 - [Ref] Make methods into associated functions by @joshlf in #1618
- FromZeros boxed slice method supports slice DSTs by @joshlf in #1478
- Implement TryFromBytes for unsized UnsafeCell by @joshlf in #1619
- Add safety comment for MaybeUninit UnsafeCell by @joshlf in #1620
- Release 0.8.0-alpha.19 by @google-pr-creation-bot in #1621
Full Changelog: v0.8.0-alpha.18...v0.8.0-alpha.19
v0.8.0-alpha.18
What's Changed
- [CI] Bump github/codeql-action from 3.26.3 to 3.26.4 by @dependabot in #1598
- [CI] Bump github/codeql-action from 3.26.4 to 3.26.5 by @dependabot in #1600
- [CI] Bump github/codeql-action from 3.26.5 to 3.26.6 by @dependabot in #1602
- [CI] Bump actions/upload-artifact from 4.3.6 to 4.4.0 by @dependabot in #1603
- never construct value on stack in new_box_zeroed by @Freax13 in #1601
- [CI] Bump peter-evans/create-pull-request from 6.1.0 to 7.0.0 by @dependabot in #1606
- [CI] Bump peter-evans/create-pull-request from 7.0.0 to 7.0.1 by @dependabot in #1608
- Release 0.8.0-alpha.18 by @google-pr-creation-bot in #1609
New Contributors
Full Changelog: v0.8.0-alpha.17...v0.8.0-alpha.18
v0.8.0-alpha.17
What's Changed
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1488
- [ci] Roll pinned Kani version by @google-pr-creation-bot in #1490
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1492
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1494
- [CI] Bump actions/upload-artifact from 4.3.3 to 4.3.4 by @dependabot in #1502
- Roll pinned nightly toolchain by @joshlf in #1503
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1506
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1508
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1510
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1512
- [CI] Bump actions/dependency-review-action from 4.3.3 to 4.3.4 by @dependabot in #1513
- [CI] Bump github/codeql-action from 3.25.11 to 3.25.12 by @dependabot in #1514
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1517
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1519
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1521
- [CI] Bump obi1kenobi/cargo-semver-checks-action from 2.4 to 2.5 by @dependabot in #1522
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1525
- Add toolchain cfg for testing msrv by @djkoloski in #1515
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1530
- Hide large enums from rust-analyzer by @djkoloski in #1526
- Improve zero discriminant detection for enums by @djkoloski in #1527
- [CI] Bump github/codeql-action from 3.25.12 to 3.25.13 by @dependabot in #1543
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1542
- [CI] Bump step-security/harden-runner from 2.8.1 to 2.9.0 by @dependabot in #1535
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1545
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1547
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1550
- [CI] Bump obi1kenobi/cargo-semver-checks-action from 2.5 to 2.6 by @dependabot in #1552
- [CI] Bump github/codeql-action from 3.25.13 to 3.25.14 by @dependabot in #1553
- [ci] Roll pinned stable toolchain by @google-pr-creation-bot in #1551
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1555
- Parse the package manifest directly for toolchains by @djkoloski in #1564
- [CI] Bump ossf/scorecard-action from 2.3.3 to 2.4.0 by @dependabot in #1562
- [CI] Bump github/codeql-action from 3.25.14 to 3.25.15 by @dependabot in #1563
- [ci] Run cargo-semver-checks on all targets by @joshlf in #1523
- [testutil] Pin winapi-util to 0.1.8 by @joshlf in #1573
- Strengthen soundness proof for size_of_val_raw by @joshlf in #1574
- [CI] Bump step-security/harden-runner from 2.9.0 to 2.9.1 by @dependabot in #1570
- [CI] Bump actions/upload-artifact from 4.3.4 to 4.3.5 by @dependabot in #1567
- [ci] fully qualify
--package
IDs in toolchain roller by @jswrenn in #1568 - [CI] Bump actions/upload-artifact from 4.3.5 to 4.3.6 by @dependabot in #1576
- [CI] Bump github/codeql-action from 3.25.15 to 3.26.0 by @dependabot in #1577
- [ci] generate lockfile in roller by @jswrenn in #1578
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1580
- Remove dependency on assert_matches by @djkoloski in #1575
- Fix unsoundness in impl_for_transparent_wrapper! by @joshlf in #1585
- [ci] Roll pinned Kani version by @google-pr-creation-bot in #1588
- [CI] Bump github/codeql-action from 3.26.0 to 3.26.1 by @dependabot in #1590
- [CI] Bump github/codeql-action from 3.26.1 to 3.26.2 by @dependabot in #1591
- [CI] Bump github/codeql-action from 3.26.2 to 3.26.3 by @dependabot in #1594
- [ci] Skip some matrix combinations by @joshlf in #1596
- Detect atomic support using target_has_atomic by @joshlf in #1586
- Release 0.8.0-alpha.17 by @google-pr-creation-bot in #1597
Full Changelog: v0.8.0-alpha.16...v0.8.0-alpha.17
v0.8.0-alpha.16
What's Changed
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1464
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1466
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1468
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1470
- [CI] Bump github/codeql-action from 3.25.10 to 3.25.11 by @dependabot in #1474
- Rename
TryFromBytes
methods for consistency withFromBytes
by @jswrenn in #1475 - Always use manual impl of
KnownLayout
forUnalign
by @jswrenn in #1476 - [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1480
- Relax zerocopy-derive's MSRV policy by @joshlf in #1482
- Release 0.8.0-alpha.16 by @google-pr-creation-bot in #1484
Full Changelog: v0.8.0-alpha.15...v0.8.0-alpha.16
v0.7.35
What's Changed
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1206
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1212
- [ci] Roll pinned Kani version by @google-pr-creation-bot in #1219
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1221
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1230
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1243
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1247
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1249
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1254
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1265
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1271
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1279
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1293
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1305
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1326
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1333
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1337
- Roll pinned nightly toolchain by @joshlf in #1369
- [ci] Roll pinned Kani version by @google-pr-creation-bot in #1390
- [ci] Roll pinned stable toolchain by @google-pr-creation-bot in #1437
- Relax zerocopy-derive's MSRV policy by @joshlf in #1481
- [ci] Roll pinned nightly toolchain by @joshlf in #1451
- Release 0.7.35 by @google-pr-creation-bot in #1485
Full Changelog: v0.7.34...v0.7.35
v0.8.0-alpha.15
What's Changed
- [trybuild] Only compile when
feature = "derive"
by @joshlf in #1291 - [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1294
- [githooks] CI scripts pipe failures to stderr by @joshlf in #1300
- Move
IntoByteSlice[Mut]: Into
into methods by @joshlf in #1299 - Add more safety proof to
KnownLayout
derive by @joshlf in #1302 - [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1304
- [ci] Make matrix names more concise by @joshlf in #1306
- [ci] Run Miri tests on multiple threads by @joshlf in #1307
- Split
test_ptr_try_cast_into_soundness
by @joshlf in #1308 - [ci] Only run Miri tests in merge queue by @joshlf in #1313
- [ci] Test some targets only in the merge queue by @joshlf in #1314
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1327
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1334
- Add trybuild test to ensure deprecated types are derivable. by @daniel-levin in #1332
- [CI] Bump github/codeql-action from 3.25.5 to 3.25.6 by @dependabot in #1335
- Move contributing guide to GitHub discussion by @joshlf in #1319
- [derive] Test derives on deprecated types by @joshlf in #1336
- [CI] Bump step-security/harden-runner from 2.7.1 to 2.8.0 by @dependabot in #1340
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1338
- Roll pinned nightly toolchain by @joshlf in #1362
- [CI] Bump github/codeql-action from 3.25.6 to 3.25.7 by @dependabot in #1365
- [macro_util] Add TODO comment to trailing_field_offset! by @joshlf in #1368
- [ci] Add Windows target by @joshlf in #1373
- Fix incorrect trailing field offset test by @djkoloski in #1370
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1377
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1382
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1385
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1393
- [ci] Roll pinned Kani version by @google-pr-creation-bot in #1391
- [CI] Bump github/codeql-action from 3.25.7 to 3.25.8 by @dependabot in #1394
- [ci] Updates actions/cache to v4 by @sl4m in #1396
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1398
- [CI] Bump step-security/harden-runner from 2.8.0 to 2.8.1 by @dependabot in #1410
- [CI] Bump actions/dependency-review-action from 4.3.2 to 4.3.3 by @dependabot in #1399
- Resolve Flags Handling and Improve CI Stability by @zoo868e in #1388
- [ci] Use cargo-semver-checks on stable, not nightly by @joshlf in #1415
- [CI] Bump actions/checkout from 4.1.6 to 4.1.7 by @dependabot in #1421
- [CI] Bump github/codeql-action from 3.25.8 to 3.25.9 by @dependabot in #1420
- [CI] Bump github/codeql-action from 3.25.9 to 3.25.10 by @dependabot in #1426
- [ci] Roll pinned stable toolchain by @google-pr-creation-bot in #1424
- [CI] Bump peter-evans/create-pull-request from 6.0.5 to 6.1.0 by @dependabot in #1440
- In trybuild tests, manually set -Wwarnings by @joshlf in #1414
- Roll nightly toolchain by @joshlf in #1441
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1447
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1450
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1453
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1455
- [error] Document validation order by @joshlf in #1456
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1459
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1461
- [error] Implement std::error::Error on errors by @joshlf in #1298
- Use
copy_nonoverlapping
instead ofslice::copy_from
by @jswrenn in #1448 - Release 0.8.0-alpha.15 by @google-pr-creation-bot in #1462
New Contributors
- @daniel-levin made their first contribution in #1332
- @sl4m made their first contribution in #1396
Full Changelog: v0.8.0-alpha.14...v0.8.0-alpha.15
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