polyfillpolyfill / polyfill-service

Automatic polyfill service.
https://polyfill.io/
MIT License
7.54k stars 756 forks source link

Bump the cargo group with 9 updates #2852

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 3 months ago

Bumps the cargo group with 9 updates:

Package From To
chrono 0.4.31 0.4.35
fastly 0.9.10 0.9.11
http 1.0.0 1.1.0
indexmap 2.1.0 2.2.5
nodejs-semver 3.4.0 4.0.0
regex 1.10.2 1.10.3
semver 1.0.21 1.0.22
serde 1.0.195 1.0.197
serde_json 1.0.111 1.0.114

Updates chrono from 0.4.31 to 0.4.35

Release notes

Sourced from chrono's releases.

v0.4.35

Most of our efforts have shifted to improving the API for a 0.5 release, for which cleanups and refactorings are landing on the 0.4.x branch.

The most significant changes in this release are two sets of deprecations.

  • We deprecated all timestamp-related methods on NaiveDateTime. The reason is that a timestamp is defined to be in UTC. The NaiveDateTime type doesn't know the offset from UTC, so it was technically wrong to have these methods. The alternative is to use the similar methods on the DateTime<Utc> type, or from the TimeZone trait.

    Converting from NaiveDateTime to DateTime<Utc> is simple with .and_utc(), and in the other direction with .naive_utc().

  • The panicking constructors of TimeDelta (the new name of the Duration type) are deprecated. This was the last part of chrono that defaulted to panicking on error, dating from before rust 1.0.

  • A nice change is that NaiveDate now includes a niche. So now Option<NaiveDate>, Option<NaiveDateTime> and Option<DateTime<Tz>> are the same size as their base types.

  • format::Numeric and format::Fixed are marked as non_exhaustive. This will allow us to improve our formatting and parsing support, and we have reason to believe this breaking change will have little to no impact on users.

Additions

  • Add DateTime::{from_timestamp_micros, from_timestamp_nanos} (#1234)
  • Add getters to Parsed (#1465)

Deprecations

  • Deprecate timestamp methods on NaiveDateTime (#1473)
  • Deprecate panicking constructors of TimeDelta (#1450)

Changes/fixes

  • Use NonZeroI32 inside NaiveDate (#1207)
  • Mark format::Numeric and format::Fixed as non_exhaustive (#1430)
  • Parsed fixes to error values (#1439)
  • Use overflowing_naive_local in DateTime::checked_add* (#1333)
  • Do complete range checks in Parsed::set_* (#1465)

Documentation

  • Rustfmt doctests (#1452)
  • Improve docs for crate features (#1455, thanks @​edmorley)
  • Add more documentation and examples to Parsed (#1439)

Internal

  • Refactor internals module (#1428, #1429, #1431, #1432, #1433, #1438)
  • CI: test cross-compiling to x86_64-unknown-illumos instead of Solaris (#1437)
  • CI: lint Windows target, fix clippy warning (#1441)
  • CI: only run cargo hack check on Linux (#1442)
  • Update windows-bindgen to 0.54 (#1462, #1483)
  • Simplify error value of parse_internal (#1459)
  • Simplify SerdeError (#1458)
  • Simplify NaiveDate::from_isoywd a bit (#1464)

... (truncated)

Commits
  • 9fdb596 Prepare 0.4.35
  • 9e667b6 Deprecate panicking TimeDelta constructors
  • 2c1b0be Tests: replace TimeDelta::milliseconds with try_milliseconds
  • 2bf3302 Tests: replace TimeDelta::seconds with try_seconds
  • f93508f Tests: replace TimeDelta::minutes with try_minutes
  • 9fc931a Tests: replace TimeDelta::hours with try_hours
  • 9f23c08 Tests: replace TimeDelta::days with try_days
  • e8f9b5e Tests: replace TimeDelta::weeks with try_weeks
  • 51a1aa2 Tests: use Days type when it is more appropriate than TimeDelta
  • 4251bd1 Replace TimeDelta::seconds with try_seconds
  • Additional commits viewable in compare view


Updates fastly from 0.9.10 to 0.9.11

Updates http from 1.0.0 to 1.1.0

Release notes

Sourced from http's releases.

v1.1.0

What's Changed

  • Add methods to allow trying to allocate in the HeaderMap, returning an error if oversize instead of panicking.
  • Add Extensions::get_or_insert() method.
  • Implement From<Uri> for uri::Builder.
  • Fix HeaderName::from_lowercase that could allow NUL bytes in some cases.

New Contributors

Full Changelog: https://github.com/hyperium/http/compare/v1.0.0...v1.1.0

Changelog

Sourced from http's changelog.

1.1.0 (March 4, 2024)

  • Add methods to allow trying to allocate in the HeaderMap, returning an error if oversize instead of panicking.
  • Add Extensions::get_or_insert() method.
  • Implement From<Uri> for uri::Builder.
  • Fix HeaderName::from_lowercase that could allow NUL bytes in some cases.
Commits
  • 3fe7267 v1.1.0
  • 96dc52f fix: HeaderName::from_lowercase allowing NUL bytes in some cases
  • caa8b4f feat: add HeaderMap::try_ methods to handle capacity overflow
  • 63102bc chore(lib): remove importing prelude AsRef trait
  • c03cc8b chore(header): allow clippy::should_implement_trait rule for HeaderValue::fro...
  • 4785cdd refactor(header): rename method to follow naming convention
  • 63e7d63 doc(header): add panics and safety section to document
  • b8ddea7 refactor(header): add comment and lint allowing to panic in const context wor...
  • fe1932d refactor(status): remove redundant static lifetime
  • 79f8da5 refactor(header): ownership is not needed to iterate
  • Additional commits viewable in compare view


Updates indexmap from 2.1.0 to 2.2.5

Changelog

Sourced from indexmap's changelog.

2.2.5

  • Added optional borsh serialization support.

2.2.4

  • Added an insert_sorted method on IndexMap, IndexSet, and VacantEntry.
  • Avoid hashing for lookups in single-entry maps.
  • Limit preallocated memory in serde deserializers.

2.2.3

  • Added move_index and swap_indices methods to IndexedEntry, OccupiedEntry, and RawOccupiedEntryMut, functioning like the existing methods on IndexMap.
  • Added shift_insert methods on VacantEntry and RawVacantEntryMut, as well as shift_insert_hashed_nocheck on the latter, to insert the new entry at a particular index.
  • Added shift_insert methods on IndexMap and IndexSet to insert a new entry at a particular index, or else move an existing entry there.

2.2.2

  • Added indexing methods to raw entries: RawEntryBuilder::from_hash_full, RawEntryBuilder::index_from_hash, and RawEntryMut::index.

2.2.1

  • Corrected the signature of RawOccupiedEntryMut::into_key(self) -> &'a mut K, This a breaking change from 2.2.0, but that version was published for less than a day and has now been yanked.

2.2.0

  • The new IndexMap::get_index_entry method finds an entry by its index for in-place manipulation.

  • The Keys iterator now implements Index<usize> for quick access to the entry's key, compared to indexing the map to get the value.

  • The new IndexMap::splice and IndexSet::splice methods will drain the given range as an iterator, and then replace that range with entries from an input iterator.

  • The new trait RawEntryApiV1 offers opt-in access to a raw entry API for IndexMap, corresponding to the unstable API on HashSet as of Rust 1.75.

  • Many IndexMap and IndexSet methods have relaxed their type constraints, e.g. removing K: Hash on methods that don't actually need to hash.

... (truncated)

Commits
  • 184fe4b Merge pull request #320 from cuviper/release-2.2.5
  • 5d7bd5e Release 2.2.5
  • c934ace Merge pull request #313 from heliaxdev/heliax/borsh-support
  • b81a4d2 Use S for the BuildHasher parameter
  • 32793f1 Don't require BuildHasher in BorshSerialize
  • b8b1f52 ci: reduce features on MSRV
  • 6ad3e42 Include borsh in CI workflow
  • c610e14 Add borsh serialization roundtrip tests
  • 0804a16 Implement borsh serialization routines
  • ae38b91 Add borsh dep to Cargo manifest
  • Additional commits viewable in compare view


Updates nodejs-semver from 3.4.0 to 4.0.0

Changelog

Sourced from nodejs-semver's changelog.

4.0.0 (2024-03-10)

Miscellaneous Tasks

  • winnow: upgrate to winnow 0.6 (#6)

  • miette: upgrate to miette 7.2 (#7)

BREAKING CHANGE

bump MSRV to 1.70.0 (#7)

Commits


Updates regex from 1.10.2 to 1.10.3

Changelog

Sourced from regex's changelog.

1.10.3 (2024-01-21)

This is a new patch release that fixes the feature configuration of optional dependencies, and fixes an unsound use of bounds check elision.

Bug fixes:

Commits
  • 0c09903 1.10.3
  • 653bb59 deps: bump regex-automata to 0.4.4
  • e7b5401 regex-automata-0.4.4
  • 1bc667d changelog: 1.10.3
  • fbd2537 safety: guard in Input::new against incorrect AsRef implementations
  • 027eebd cargo: set 'default-features = false' for memchr and aho-corasick
  • dc0a9d2 ci: small clean-ups
  • a3d5975 doc: fix link in Index<&str> impl docs
  • 4f5992f doc: tweak Captures documentation
  • 837fd85 regex-cli-0.2.0
  • Additional commits viewable in compare view


Updates semver from 1.0.21 to 1.0.22

Release notes

Sourced from semver's releases.

1.0.22

  • Fix unused_imports warnings when compiled by rustc 1.78
Commits
  • c8ad1bf Release 1.0.22
  • f76db8d Resolve redundant import warning
  • f32b420 Ignore incompatible_msrv clippy lint for conditionally compiled code
  • See full diff in compare view


Updates serde from 1.0.195 to 1.0.197

Release notes

Sourced from serde's releases.

v1.0.197

  • Fix unused_imports warnings when compiled by rustc 1.78
  • Optimize code size of some Display impls (#2697, thanks @​nyurik)

v1.0.196

  • Improve formatting of "invalid type" error messages involving floats (#2682)
Commits
  • 5fa711d Release 1.0.197
  • f5d8ae4 Resolve prelude redundant import warnings
  • 1d54973 Merge pull request #2697 from nyurik/format-str
  • b8fafef A few minor write_str optimizations and inlining
  • c42ebb8 Update ui test suite to nightly-2024-02-12
  • 9e68062 Ignore incompatible_msrv clippy lint for conditionally compiled code
  • 846f865 Ignore dead_code warnings in test
  • ede9762 Release 1.0.196
  • d438c2d Merge pull request #2682 from dtolnay/decimalpoint
  • bef110b Format Unexpected::Float with decimal point
  • Additional commits viewable in compare view


Updates serde_json from 1.0.111 to 1.0.114

Release notes

Sourced from serde_json's releases.

v1.0.114

  • Fix unused_imports warnings when compiled by rustc 1.78

v1.0.113

  • Add swap_remove and shift_remove methods on Map (#1109)

v1.0.112

  • Improve formatting of "invalid type" error messages involving floats (#1107)
Commits
  • e1b3a6d Release 1.0.114
  • 6fb7026 Work around prelude redundant import warnings
  • 34a04c5 Ignore incompatible_msrv clippy false positives in test
  • ca05f69 Remove unused Float::is_sign_negative trait method
  • 09d865b Release 1.0.113
  • 5aeab4e Merge pull request #1109 from serde-rs/remove
  • ca3c2ca Add swap_remove and shift_remove methods on Map
  • 7fece96 Release 1.0.112
  • 6a6d2bb Merge pull request #1107 from serde-rs/unexpectedfloat
  • 83d7bad Format f64 in error messages using ryu
  • 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 ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore 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 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 ` 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 ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
dependabot[bot] commented 3 months ago

Superseded by #2860.