Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 20, 2025

Bumps the program-dependencies group with 8 updates in the / directory:

Package From To
anchor-lang 0.29.0 0.30.1
uint 0.9.5 0.10.0
arrayref 0.3.8 0.3.9
bytemuck 1.16.3 1.21.0
proptest 1.5.0 1.6.0
serde 1.0.206 1.0.218
serde_json 1.0.124 1.0.139
serde_with 2.3.3 3.12.0

Updates anchor-lang from 0.29.0 to 0.30.1

Release notes

Sourced from anchor-lang's releases.

v0.30.1

This patch release includes various improvements and bug fixes.

Check out the release notes from Anchor website or GitHub.

For a list of notable changes with their associated PRs, see the CHANGELOG.

v0.30.0

The long-awaited v0.30.0 release is finally here!

Check out the release notes from Anchor website or GitHub.

For a list of notable changes with their associated PRs, see the CHANGELOG.

Changelog

Sourced from anchor-lang's changelog.

[0.30.1] - 2024-06-20

Features

  • idl: Allow overriding the idl build toolchain with the RUSTUP_TOOLCHAIN environment variable (#2941).
  • avm: Support customizing the installation location using AVM_HOME environment variable (#2917).
  • avm: Optimize avm list when GitHub API rate limits are reached (#2962)
  • idl, ts: Add accounts resolution for associated token accounts (#2927).
  • cli: Add --no-install option to the init command (#2945).
  • lang: Implement TryFromIntError for Error to be able to propagate integer conversion errors (#2950).
  • idl: Add ability to convert legacy IDLs (#2986).
  • ts: Extract Anchor error codes into their own package (#2983).
  • cli: Add additional solana arguments to the upgrade command (#2998).
  • spl: Export spl-associated-token-account crate (#2999).
  • lang: Support legacy IDLs with declare_program! (#2997).
  • cli: Add idl convert command (#3009).
  • cli: Add idl type command (#3017).
  • lang: Add anchor_lang::pubkey macro for declaring Pubkey const values (#3021).
  • cli: Sync program ids on the initial build (#3023).
  • idl: Remove anchor-syn dependency (#3030).
  • lang: Add const of program ID to declare_id! and declare_program! (#3019).
  • idl: Add separate spec crate (#3036).

Fixes

  • lang: Eliminate variable allocations that build up stack space for token extension code generation (#2913).
  • ts: Fix incorrect maxSupportedTransactionVersion in AnchorProvider.send*() methods (#2922).
  • cli: Use npm's configured default license for new projects made with anchor init (#2929).
  • cli: add filename to 'Unable to read keypair file' errors (#2932).
  • idl: Fix path resolution of the Cargo.lock of the project when generating idls for external types (#2946).
  • idl: Fix potential panic on external type resolution (#2954).
  • lang: Fix using defined types in instruction parameters with declare_program! (#2959).
  • lang: Fix using const generics with declare_program! (#2965).
  • lang: Fix using Vec<u8> type with declare_program! (#2966).
  • lang: Fix ProgramError::ArithmeticOverflow not found error (#2975).
  • lang: Fix using optional accounts with declare_program! (#2967).
  • lang: Fix instruction return type generation with declare_program! (#2977).
  • cli: Fix IDL write getting corrupted from retries (#2964).
  • idl: Fix unexpected_cfgs build warning (#2992).
  • lang: Make tuple struct fields public in declare_program! (#2994).
  • Remove rust-version from crate manifests (#3000).
  • cli: Fix upgradeable program clones (#3010).
  • ts: Fix using IDLs that have defined types as generic arguments (#3016).
  • idl: Fix generation with unsupported expressions (#3033).
  • idl: Fix using address constraint with field expressions (#3034).
  • lang: Fix using bytemuckunsafe account serialization with declare_program! (#3037).

Breaking

[0.30.0] - 2024-04-15

... (truncated)

Commits
  • e6d7daf v0.30.1 (#3040)
  • cf7abd4 Upgrade Solana to 1.18.17 (#3039)
  • cc43e67 idl: Add separate spec crate (#3036)
  • 9c17d65 lang: Fix using bytemuckunsafe account serialization with `declare_program!...
  • f326b89 idl: Fix using address constraint with field expressions (#3034)
  • 3c5483f lang: Add const of program ID to declare_id! and declare_program! (#3019)
  • 64c52c6 idl: Fix generation with unsupported expressions (#3033)
  • d4318cc idl: Remove anchor-syn dependency (#3030)
  • 1c2aabe lang: Include pubkey! macro in prelude (#3026)
  • 81c2519 lang: Add pubkey macro for declaring Pubkey const values (#3021)
  • Additional commits viewable in compare view

Updates uint from 0.9.5 to 0.10.0

Commits

Updates arrayref from 0.3.8 to 0.3.9

Commits

Updates bytemuck from 1.16.3 to 1.21.0

Changelog

Sourced from bytemuck's changelog.

bytemuck changelog

1.21

  • Implement Pod and Zeroable for core::arch::{x86, x86_64}::__m512, __m512d and __m512i without nightly. Requires Rust 1.72, and is gated through the avx512_simd cargo feature.
  • Allow the use of must_cast_mut and must_cast_slice_mut in const contexts. Requires Rust 1.83, and is gated through the must_cast_extra cargo feature.
  • internal: introduced the maybe_const_fn macro that allows defining some function to be const depending upon some cfg predicate.

1.20

  • New functions to allocate zeroed Arc and Rc. Requires Rust 1.82
  • TransparentWrapper impls for core::cmp::Reverse and core::num::Saturating.
  • internal: Simplified the library's fill_zeroes calls to write_bytes

1.19

  • Adds the #[track_caller] attribute to functions which may panic.

1.18

  • Adds the latest_stable_rust cargo feature, which is a blanket feature that turns all other features on that are both sound and compatible with Stable rust.

1.17.1

  • Adds #[repr(C)] to the union Transmute<A, B> type that's used internally for most of the transmutations.

1.17.0

  • Makes the must_cast versions of the by-value and by-ref casts be const. The mut ref cast is unaffected for now (mut references aren't yet stable in const fn). This increases the MSRV of using that particular feature from 1.57 to 1.64.
Commits
  • 621848f chore: Release bytemuck version 1.21.0
  • 75b54ef changelog
  • 45fbae7 chore: Release bytemuck_derive version 1.8.1
  • 9d06a93 changelog
  • d6c589f Cargo.toml: add transparentwrapper_extra to latest_stable_rust, and expand on...
  • 9801bb9 Update lib.rs (#290)
  • 4bdaf0a Implements Pod and Zeroable for AVX512 types that don't require nightly. ...
  • 227d7fe hide unexpected_cfgs warnings in proc-macro generated code (#287)
  • 9bf993b chore: Release bytemuck version 1.20.0
  • 0a995ff changelog
  • Additional commits viewable in compare view

Updates proptest from 1.5.0 to 1.6.0

Commits

Updates serde from 1.0.206 to 1.0.218

Release notes

Sourced from serde's releases.

v1.0.218

  • Documentation improvements

v1.0.217

  • Support serializing externally tagged unit variant inside flattened field (#2786, thanks @​Mingun)

v1.0.216

  • Mark all generated impls with #[automatically_derived] to exclude from code coverage (#2866, #2868, thanks @​tdittr)

v1.0.215

  • Produce warning when multiple fields or variants have the same deserialization name (#2855, #2856, #2857)

v1.0.214

  • Implement IntoDeserializer for all Deserializers in serde::de::value module (#2568, thanks @​Mingun)

v1.0.213

  • Fix support for macro-generated with attributes inside a newtype struct (#2847)

v1.0.212

  • Fix hygiene of macro-generated local variable accesses in serde(with) wrappers (#2845)

v1.0.211

  • Improve error reporting about mismatched signature in with and default attributes (#2558, thanks @​Mingun)
  • Show variant aliases in error message when variant deserialization fails (#2566, thanks @​Mingun)
  • Improve binary size of untagged enum and internally tagged enum deserialization by about 12% (#2821)

v1.0.210

  • Support serializing and deserializing IpAddr and SocketAddr in no-std mode on Rust 1.77+ (#2816, thanks @​MathiasKoch)
  • Make serde::ser::StdError and serde::de::StdError equivalent to core::error::Error on Rust 1.81+ (#2818)

v1.0.209

  • Fix deserialization of empty structs and empty tuples inside of untagged enums (#2805, thanks @​Mingun)

v1.0.208

  • Support serializing and deserializing unit structs in a flatten field (#2802, thanks @​jonhoo)

v1.0.207

  • Improve interactions between flatten attribute and skip_serializing/skip_deserializing (#2795, thanks @​Mingun)
Commits
  • 7bfd518 Release 1.0.218
  • 723a949 Merge pull request #2895 from dtolnay/stabledoc
  • 2b44efb Point standard library links to stable
  • 03dc0fc Merge pull request #2894 from dtolnay/doclink
  • 85cb0c4 Convert html links to intra-doc links
  • abe7194 Update ui test suite to nightly-2025-02-12
  • aaccac7 Unset doc-scrape-examples for lib target
  • 7cd4d84 Update ui test suite to nightly-2025-02-07
  • 04ff3e8 More precise gitignore patterns
  • dc3031b Remove *.sw[po] from gitignore
  • Additional commits viewable in compare view

Updates serde_json from 1.0.124 to 1.0.139

Release notes

Sourced from serde_json's releases.

v1.0.139

  • Documentation improvements

v1.0.138

  • Documentation improvements

v1.0.137

  • Turn on "float_roundtrip" and "unbounded_depth" features for serde_json in play.rust-lang.org (#1231)

v1.0.136

  • Optimize serde_json::value::Serializer::serialize_map by using Map::with_capacity (#1230, thanks @​goffrie)

v1.0.135

v1.0.134

  • Add RawValue associated constants for literal null, true, false (#1221, thanks @​bheylin)

v1.0.133

  • Implement From<[T; N]> for serde_json::Value (#1215)

v1.0.132

  • Improve binary size and compile time for JSON array and JSON object deserialization by about 50% (#1205)
  • Improve performance of JSON array and JSON object deserialization by about 8% (#1206)

v1.0.131

  • Implement Deserializer and IntoDeserializer for Map<String, Value> and &Map<String, Value> (#1135, thanks @​swlynch99)

v1.0.130

  • Support converting and deserializing Number from i128 and u128 (#1141, thanks @​druide)

v1.0.129

v1.0.128

  • Support serializing maps containing 128-bit integer keys to serde_json::Value (#1188, thanks @​Mrreadiness)

v1.0.127

v1.0.126

  • Improve string parsing on targets that use 32-bit pointers but also have fast 64-bit integer arithmetic, such as aarch64-unknown-linux-gnu_ilp32 and x86_64-unknown-linux-gnux32 (#1182, thanks @​CryZe)

v1.0.125

  • Speed up \uXXXX parsing and improve handling of unpaired surrogates when deserializing to bytes (#1172, #1175, thanks @​purplesyringa)
Commits
  • 4d4f53c Release 1.0.139
  • 5d6b32f Merge pull request #1242 from dtolnay/writefloat
  • e5bb8bd Document behavior of write_f32/f64 on non-finite floats
  • 7a79781 Merge pull request #1241 from dtolnay/doclink
  • 13591f1 Convert html links to intra-doc links
  • 1d7378e Unset doc-scrape-examples for lib target
  • 1174c5f Resolve unnecessary_semicolon pedantic clippy lint
  • c916099 Release 1.0.138
  • dc29e48 Move BufReader to caller
  • 29122f9 Sort imports from PR 1237
  • Additional commits viewable in compare view

Updates serde_with from 2.3.3 to 3.12.0

Release notes

Sourced from serde_with's releases.

serde_with v3.12.0

Added

  • Add with_suffix! macro, which puts a suffix on every struct field by @​fgardt (#381/#797)

Changed

  • Reformat all Cargo.toml files by @​nyurik (#803)
  • Better handle internal arithmetic and improve error messages (#809/#810/#811)

Fixed

serde_with v3.11.0

Added

  • Add support for hashbrown v0.15 (#787/#790)

    This extends the existing support for hashbrown v0.14 to the newly released version.

serde_with v3.10.0

Added

  • Add newline separator by @​jayvdb (#777)

    The UnixLineSeparator and DosLineSeparator can be used together with StringWithSeparator.

Fixed

  • Proper handling of cfg_attr in the serde_as macro by @​sivizius (#782)

    This allows to parse more valid forms of the cfg_attr macro, including multiple values and attribute that do not follow the key = value schema.

serde_with v3.9.0

Added

  • Deserialize a map` and skip all elements failing to deserialize by @​johnmave126 (#763)

    MapSkipError acts like a map (HashMap/BTreeMap), but keys or values that fail to deserialize, like are ignored.

    For formats with heterogeneously typed maps, we can collect only the elements where both key and value are deserializable. This is also useful in conjunction to #[serde(flatten)] to ignore some entries when capturing additional fields.

    // JSON
    "value": {"0": "v0", "5": "v5", "str": "str", "10": 2},
    

    // Rust #[serde_as(as = "MapSkipError<DisplayFromStr, _>")]

... (truncated)

Commits
  • 5de3400 Bump version to 3.12 and update changelogs (#812)
  • 0d36647 Bump version to 3.12 and update changelogs
  • f4f784c Remove use of ops::Mul and ops::Neg since they can fail (#811)
  • 9c06ffa Generate better error messages when encountering unexpected i128/u128 values ...
  • 90d7312 Remove use of ops::Mul and ops::Neg since they can fail
  • e8d2e02 Generate better error messages when encountering unexpected i128/u128 values ...
  • 4c273b2 Remove some as casts (#809)
  • c910fa1 Fix/remove more as casts
  • fa14d98 Remove some as casts
  • ef112b9 Warn about as usage in time related code
  • Additional commits viewable in compare view

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@github-actions github-actions bot enabled auto-merge (squash) February 20, 2025 11:36
@dependabot dependabot bot force-pushed the dependabot/cargo/program-dependencies-1fdb542bee branch 4 times, most recently from c7d3960 to eb4dcc7 Compare February 27, 2025 11:35
Bumps the program-dependencies group with 8 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [anchor-lang](https://github.com/coral-xyz/anchor) | `0.29.0` | `0.30.1` |
| [uint](https://github.com/paritytech/parity-common) | `0.9.5` | `0.10.0` |
| [arrayref](https://github.com/droundy/arrayref) | `0.3.8` | `0.3.9` |
| [bytemuck](https://github.com/Lokathor/bytemuck) | `1.16.3` | `1.21.0` |
| [proptest](https://github.com/proptest-rs/proptest) | `1.5.0` | `1.6.0` |
| [serde](https://github.com/serde-rs/serde) | `1.0.206` | `1.0.218` |
| [serde_json](https://github.com/serde-rs/json) | `1.0.124` | `1.0.139` |
| [serde_with](https://github.com/jonasbb/serde_with) | `2.3.3` | `3.12.0` |



Updates `anchor-lang` from 0.29.0 to 0.30.1
- [Release notes](https://github.com/coral-xyz/anchor/releases)
- [Changelog](https://github.com/coral-xyz/anchor/blob/master/CHANGELOG.md)
- [Commits](solana-foundation/anchor@v0.29.0...v0.30.1)

Updates `uint` from 0.9.5 to 0.10.0
- [Commits](paritytech/parity-common@uint-v0.9.5...uint-v0.10.0)

Updates `arrayref` from 0.3.8 to 0.3.9
- [Commits](https://github.com/droundy/arrayref/commits)

Updates `bytemuck` from 1.16.3 to 1.21.0
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md)
- [Commits](Lokathor/bytemuck@v1.16.3...v1.21.0)

Updates `proptest` from 1.5.0 to 1.6.0
- [Release notes](https://github.com/proptest-rs/proptest/releases)
- [Changelog](https://github.com/proptest-rs/proptest/blob/main/CHANGELOG.md)
- [Commits](proptest-rs/proptest@v1.5.0...v1.6.0)

Updates `serde` from 1.0.206 to 1.0.218
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](serde-rs/serde@v1.0.206...v1.0.218)

Updates `serde_json` from 1.0.124 to 1.0.139
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](serde-rs/json@v1.0.124...v1.0.139)

Updates `serde_with` from 2.3.3 to 3.12.0
- [Release notes](https://github.com/jonasbb/serde_with/releases)
- [Commits](jonasbb/serde_with@v2.3.3...v3.12.0)

---
updated-dependencies:
- dependency-name: anchor-lang
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: program-dependencies
- dependency-name: uint
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: program-dependencies
- dependency-name: arrayref
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: program-dependencies
- dependency-name: bytemuck
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: program-dependencies
- dependency-name: proptest
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: program-dependencies
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: program-dependencies
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: program-dependencies
- dependency-name: serde_with
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: program-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/program-dependencies-1fdb542bee branch from eb4dcc7 to 6a961f8 Compare February 28, 2025 11:45
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 3, 2025

Superseded by #794.

@dependabot dependabot bot closed this Mar 3, 2025
auto-merge was automatically disabled March 3, 2025 12:18

Pull request was closed

@dependabot dependabot bot deleted the dependabot/cargo/program-dependencies-1fdb542bee branch March 3, 2025 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant