Skip to content

Bump generic-array from 1.3.5 to 1.4.2#816

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/generic-array-1.4.2
Open

Bump generic-array from 1.3.5 to 1.4.2#816
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/generic-array-1.4.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 29, 2026

Bumps generic-array from 1.3.5 to 1.4.2.

Release notes

Sourced from generic-array's releases.

1.4.0

Changelog

  • Add subtle, arbitrary, bytemuck, bitvec and as-slice implementations for GenericArray.
  • Add GenericSequence::repeat for creating sequences/arrays with repeated elements.
  • Add FallibleGenericSequence with try_generate and from_fallible_iter for fallible generation of sequences/arrays.
    • Added AllocError type (requires alloc feature) for heap allocation failures with try_generate.
  • Add try_fold and try_map to FunctionalSequence for fallible folding/mapping of sequences/arrays.
  • Add try_from_fallible_iter to GenericArray for fallible construction from fallible iterators.
  • Add each_ref/each_mut methods to GenericArray for creating arrays of references to the elements.
  • Fixed some resource leakages and potential UB in degenerate cases.

PR's Merged

New Contributors

Changelog

Sourced from generic-array's changelog.

  • 1.4.2

    • bytecheck 0.8 support via the bytecheck-0_8/rkyv-0_8-full crate features #168
    • rkyv 0.8 support via the rkyv-0_8/rkyv-0_8-full crate features #168
      • Parity with [T; N] implementations from rkyv, including copy optimizations.
  • 1.4.1

    • Fix some issues with using ZSTs with Box<GenericArray<ZST, N>>. Partial credit to #166.
  • 1.4.0

    • Add subtle, arbitrary, bytemuck, bitvec and as-slice implementations for GenericArray.
    • Add GenericSequence::repeat for creating sequences/arrays with repeated elements.
    • Add FallibleGenericSequence with try_generate and from_fallible_iter for fallible generation of sequences/arrays.
      • Added AllocError type (requires alloc feature) for heap allocation failures with try_generate.
    • Add try_fold and try_map to FunctionalSequence for fallible folding/mapping of sequences/arrays.
    • Add try_from_fallible_iter to GenericArray for fallible construction from fallible iterators.
    • Add each_ref/each_mut methods to GenericArray for creating arrays of references to the elements.
    • Fixed some resource leakages and potential UB in degenerate cases.
  • 1.3.5

    • Fixed const_transmute not compiling between Rust versions 1.74.0 and 1.83.0. Yanked 1.3.4.
  • 1.3.4

    • Significantly improve stack usage of GenericArray methods in unoptimized (-C opt-level=0) build modes.
    • Introduce the hybrid-array-0_4 feature to allow interop between generic-array 1.x and hybrid-array 0.4 versions.
    • Add ConstGenericArray type alias for easier usage with literal const usizes.
    • Implement ZeroizeOnDrop for GenericArray when T: ZeroizeOnDrop (when using the zeroize feature).
  • 1.3.2

    • Introduce the compat-0_14 feature to allow interop between generic-array 1.x and 0.14 versions.
  • 1.3.1

    • Lower MSRV to 1.65.0 (minimum required for GATs)
    • Make some functions const only on Rust 1.83.0 or newer, otherwise they are non-const.
    • Implement core::error::Error for LengthError on Rust 1.81.0 or newer.
  • 1.3.0

    • Restrict ArrayLength to lengths representable by usize to fix soundness issues #156 (may break invalid code)
    • Flatten internal representation to improve miri performance #157
    • Use serde_core instead of serde
  • 1.2.1

    • Replace doc_auto_cfg with doc_cfg #155
  • 1.2.0

    • Mark more functions as const
    • Bump MSRV to 1.83.0 (reverted in generic-array 1.3.1)
  • 1.1.1

    • Add Flatten and Unflatten traits for converting between nested arrays.

... (truncated)

Commits

Dependabot compatibility score

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 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)

Bumps [generic-array](https://github.com/fizyk20/generic-array) from 1.3.5 to 1.4.2.
- [Release notes](https://github.com/fizyk20/generic-array/releases)
- [Changelog](https://github.com/fizyk20/generic-array/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fizyk20/generic-array/commits)

---
updated-dependencies:
- dependency-name: generic-array
  dependency-version: 1.4.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels May 29, 2026
@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedgeneric-array@​1.3.5 ⏵ 1.4.210010093100100

View full report

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 rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants