polyfillpolyfill / polyfill-service

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

Bump the cargo group across 1 directory with 9 updates #2869

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 2 months ago

Bumps the cargo group with 9 updates in the / directory:

Package From To
chrono 0.4.31 0.4.38
fastly 0.9.10 0.9.12
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.198
serde_json 1.0.111 1.0.116

Updates chrono from 0.4.31 to 0.4.38

Release notes

Sourced from chrono's releases.

v0.4.38

This release bring a ca. 20% improvement to the performance of the formatting code, and a convenient days_since method for the Weekday type.

Chrono 0.4.38 also removes the long deprecated rustc-serialize feature. Support for rustc-serialize will be soft-destabilized in the next Rust edition. Removing the feature will not break existing users of the feature; Cargo will just not update dependents that rely on it to newer versions of chrono.

In chrono 0.4.36 we made an accidental breaking change by switching to derive(Copy) for DateTime instead of a manual implementation. It is reverted in this release.

Removals

Additions

Fixes

  • Return error when rounding with a zero duration (#1474, thanks @​Dav1dde)
  • Manually implement Copy for DateTime if offset is Copy (#1573)

Internal

  • Inline test_encodable_json and test_decodable_json functions (#1550)
  • CI: Reduce combinations in cargo hack check (#1553)
  • Refactor formatting code (#1335)
  • Optimize number formatting (#1558)
  • Only package files needed for building and testing (#1554)

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

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)

... (truncated)

Commits
  • 352a352 Prepare 0.4.38
  • 46d44d6 Manually implement Copy for DateTime if offset is Copy
  • 760eb66 Update windows-bindgen requirement from 0.55 to 0.56
  • 391187f Return error when rounding with zero duration
  • ffc75e5 Add TimeDelta::checked_mul and TimeDelta::checked_div
  • f8cecbe Make Weekday::num_days_from public, rename to days_since.
  • 0cfc405 Optimize number formatting
  • 74ba83b Take pad by value
  • 78e79db Match on tuples in format_fixed
  • f3d76c7 Match on tuples in format_numeric
  • Additional commits viewable in compare view


Updates fastly from 0.9.10 to 0.9.12

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.198

Release notes

Sourced from serde's releases.

v1.0.198

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
  • c4fb923 Release 1.0.198
  • 65b7eea Merge pull request #2729 from dtolnay/saturating
  • 01cd696 Integrate Saturating<T> deserialization into impl_deserialize_num macro
  • c13b3f7 Format PR 2709
  • a6571ee Merge pull request #2709 from jbethune/master
  • 6e38aff Revert "Temporarily disable miri on doctests"
  • 3d1b19e Implement Ser+De for Saturating\<T>
  • 5b24f88 Resolve legacy_numeric_constants clippy lints
  • 74d0670 Explicitly install a Rust toolchain for cargo-outdated job
  • 3bfab6e Temporarily disable miri on doctests
  • Additional commits viewable in compare view


Updates serde_json from 1.0.111 to 1.0.116

Release notes

Sourced from serde_json's releases.

v1.0.116

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
  • a3f62bb Release 1.0.116
  • 12c8ee0 Hide "non-exhaustive patterns" errors when crate fails to compile
  • 051ce97 Merge pull request 1124 from mleonhard/master
  • 25dc750 Replace features_check mod with a call to std::compile_error!. Fixes htt...
  • 2e15e3d Revert "Temporarily disable miri on doctests"
  • 0baba28 Resolve legacy_numeric_constants clippy lints
  • 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
  • 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 #2875.