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 #2863

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 3 months ago

Bumps the cargo group with 9 updates:

Package From To
chrono 0.4.31 0.4.37
fastly 0.9.10 0.9.11
http 1.0.0 1.1.0
indexmap 2.1.0 2.2.6
nodejs-semver 3.4.0 4.0.0
regex 1.10.2 1.10.4
semver 1.0.21 1.0.22
serde 1.0.195 1.0.197
serde_json 1.0.111 1.0.115

Updates chrono from 0.4.31 to 0.4.37

Release notes

Sourced from chrono's releases.

v0.4.37

Version 0.4.36 introduced an unexpected breaking change and was yanked. In it LocalResult was renamed to MappedLocalTime to avoid the impression that it is a Result type were some of the results are errors. For backwards compatibility a type alias with the old name was added.

As it turns out there is one case where a type alias behaves differently from the regular enum: you can't import enum variants from a type alias with use chrono::LocalResult::*. With 0.4.37 we make the new name MappedLocalTime the alias, but keep using it in function signatures and the documentation as much as possible.

See also the release notes of chrono 0.4.36 from yesterday for the yanked release.

v0.4.36

This release un-deprecates the methods on TimeDelta that were deprecated with the 0.4.35 release because of the churn they are causing for the ecosystem.

New is the DateTime::with_time() method. As an example of when it is useful:

use chrono::{Local, NaiveTime};
// Today at 12:00:00
let today_noon = Local::now().with_time(NaiveTime::from_hms_opt(12, 0, 0).unwrap());

Additions

  • Add DateTime::with_time() (#1510)

Deprecations

  • Revert TimeDelta deprecations (#1543)
  • Deprecate TimeStamp::timestamp_subsec_nanos, which was missed in the 0.4.35 release (#1486)

Documentation

  • Correct version number of deprecation notices (#1486)
  • Fix some typos (#1505)
  • Slightly improve serde documentation (#1519)
  • Main documentation: simplify links and reflow text (#1535)

Internal

  • CI: Lint benchmarks (#1489)
  • Remove unnessary Copy and Send impls (#1492, thanks @​erickt)
  • Backport streamlined NaiveDate unit tests (#1500, thanks @​Zomtir)
  • Rename LocalResult to TzResolution, add alias (#1501)
  • Update windows-bindgen to 0.55 (#1504)
  • Avoid duplicate imports, which generate warnings on nightly (#1507)
  • Add extra debug assertions to NaiveDate::from_yof (#1518)
  • Some small simplifications to DateTime::date_naive and NaiveDate::diff_months (#1530)
  • Remove unwrap in Unix Local type (#1533)
  • Use different method to ignore feature-dependent doctests (#1534)

Thanks to all contributors on behalf of the chrono team, @​djc and @​pitdicker!

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.

... (truncated)

Commits
  • 7d62045 Prepare 0.4.37
  • 6857d00 Hide re-export of LocalResult in docs
  • 9e22e48 Swap MappedLocalTime and LocalResult type alias
  • ca3c3b6 Prepare 0.4.36
  • 1850198 Revert TimeDelta deprecations
  • e05ba8b Add MappedLocalTime::and_then
  • 3adfd88 Main documentation: simplify links and reflow text
  • 1e8df65 Rustfmt doc comments
  • 1b57859 Run doctests with alloc feature if possible
  • 6f2c7cc Use different method to run feature-dependent doctests
  • 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.6

Changelog

Sourced from indexmap's changelog.

2.2.6

  • Added trait MutableValues for opt-in mutable access to set values.

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.

... (truncated)

Commits
  • 3f0fffb Merge pull request #323 from cuviper/mutable
  • 33c1a7c Fix unused_imports
  • b76ff73 Fix clippy::multiple_bound_locations
  • 0060546 Release 2.2.6
  • 210b027 Opt-in mutable access on IndexSet
  • 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
  • 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.4

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
  • aa2d8bd 1.10.4
  • 088d7f3 api: add Cow guarantee to replace API
  • a5ae351 regex-automata-0.4.6
  • 9cf4a42 automata: fix bug where reverse NFA lacked an unanchored prefix
  • 10fe722 style: clean up some recent lint violations
  • d7f9347 regex-automata-0.4.5
  • 07ef7f1 automata: make additional prefileter metadata public
  • 0c09903 1.10.3
  • 653bb59 deps: bump regex-automata to 0.4.4
  • e7b5401 regex-automata-0.4.4
  • 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.115

Release notes

Sourced from serde_json's releases.

v1.0.115

  • Documentation improvements

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
  • b1ebf38 Release 1.0.115
  • c3dc153 Merge pull request #1119 from titaniumtraveler/pr
  • 218770b Explicitly install a Rust toolchain for cargo-outdated job
  • 840da8e Fix missing backticks in doc comments
  • 3a3f61b Temporarily disable miri on doctests
  • 4a0be88 Format regression tests with rustfmt
  • d2dbbf7 Ignore dead code lint in tests
  • 8e7b37b Merge pull request #1118 from serde-rs/transparent
  • a25f6c6 Remove conditional on repr(transparent)
  • fedf834 Ignore non_local_definitions false positive in test
  • 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 2 months ago

Superseded by #2866.