Skip to content

0.8.12 bumps getrandom to 0.3, breaking code #274

Open

Description

@schungx

getrandom 0.3 breaks existing code due to changed js treatment.

ahash should not bump getrandom unless it bumps to 0.9.

Activity

  1. schungx commented on Aug 15, 2025

    @schungx
    ContributorAuthor

    This issue is essentially the same as #276

  2. schungx commented on Oct 13, 2025

    @schungx
    ContributorAuthor

    Can we resolve this issue? Bumping getrandom to v3 is breaking. It is very frustrating and should probably be gated under a feature or bumping at least the minor version to 0.9.

  3. mahlquistj commented on Oct 13, 2025

    @mahlquistj

    @schungx it seems that getrandom is close to providing a proper solution: rust-random/getrandom#730

    Also waiting for a proper fix in a new release..

  4. schungx commented on Oct 13, 2025

    @schungx
    ContributorAuthor

    The issue is that the new version of getrandom doesn't seem to support stdweb... although I understand that stdweb is deprecated, still it'll break old code.

    Also the new version seems to require elaborate setup to build for WASM, something to add to RUSTFLAGS etc. Not everybody wants that... they'd be happy with the old getrandom.

  5. mahlquistj commented on Oct 14, 2025

    @mahlquistj

    Agreed. I would be happy with the old one too..

  6. schungx commented on Nov 21, 2025

    @schungx
    ContributorAuthor

    I am wondering if this issue will be addressed. Bumping getrandom to 0.3 should technically be breaking, necessitating a major version bump.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions