Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update encode_unicode requirement from 0.3 to 1.0 #148

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 7, 2022

Updates the requirements on encode_unicode to permit the latest version.

Changelog

Sourced from encode_unicode's changelog.

Version 1.0.0 (2022-08-07)

  • Replace error types InvalidUtf8Array, InvalidUtf8Slice, InvalidUtf8FirstByte and InvalidUtf8 with Utf8Error plus Utf8ErrorKind.
    Which of the new error kind variants is reported don't map 1:1 to the old enum variants: For example Utf8ErrorKind::NonUtf8Byte is returned for sequences that would previously have been reported as too high codepoint or overlong encoding.
  • Rename many other error types for consistency:
    • InvalidCodepoint -> CodepointError
    • InvalidUtf16FirstUnit -> Utf16FirstUnitError
    • InvalidUtf16Array -> Utf16ArrayError
    • InvalidUtf16Slice -> Utf16SliceError
    • 1InvalidUtf16Tuple -> Utf16TupleError
  • Change return type of CodepointError::error_range() to RangeInclusive.
  • Rename some errors variants:
    • Utf16SliceError::FirstLowSurrogate -> FirstIsTrailingSurrogate
    • Utf16SliceError::SecondNotLowSurrogate -> SecondIsNotTrailingSurrogate
    • Utf16TupleError::InvalidSecond -> SecondIsNotTrailingSurrogate
  • Expose the error type of Utf16Char::from_bmp() and rename it to NonBmpError.
  • Remove re-exports of Utf8CharIterator and Utf16CharIterator from the crate root.
    (They are still exposed via the iterator module.)
  • Remove impls of the deprecated AsciiExt trait, and make the methods available in #![no_std]-mode.
  • Make many of the previously AsciiExt methods take self by value.
  • Drop support for pre-1.0 versions of the ascii crate.
  • Remove iter_bytes() and iter_units().
  • Increase minimum Rust version to 1.56 and change the minimum Rust version policy.
  • Fix possible UB or panic in Utf8Char::from_slice_start_unchecked() when passed an empty slice.
    (relates to #12.)
  • Make many methods const fn.
  • Add const fns Utf8Char::new() and Utf16Char::new().

Version 0.3.6 (2019-08-23)

  • Fix pointless undefined behavior in Utf16Char.to_ascii_char() (which is part of ascii feature)
  • Widen ascii version requirement to include 1.*.
  • Add [u16; 2] UTF-16 array alternatives to (u16, Some(u16)) UTF-16 tuple methods.
  • Add Utf16Char.is_bmp().

Version 0.3.5 (2018-10-23)

  • Fix docs.rs build failure

Version 0.3.4 (2018-10-23)

  • Fix UB in UTF-8 validation which lead to invalid codepoints being accepted in release mode.
  • Add fallible decoding iterator adapters Utf8CharMerger and Utf16CharMerger and slice-based iterators Utf8CharDecoder and Utf16CharDecoder
  • Widen ascii version requirement from 0.8.* to 0.8.0 - 0.10.*
  • Implement creating / extending Strings from Utf16Char-producing iterators

Version 0.3.3 (2018-10-16)

... (truncated)

Commits
  • b764bc1 v1.0.0
  • c47316a Rename nightly CI run
  • b4cc796 Fix downloading for benchmarks
  • 51c9dcb Error update part 4: Rename the remaining types for consistency
  • c0593e9 Make Utf16Char::from_tuple() and ::from_tuple_unchecked() const fn
  • 801cc1e Make most non-trait methods for error types const fn
  • 4b4c1c9 Run miri
  • 5644c4e Fix error docs
  • 81fdcb0 Fix markdown in changelog for previous release
  • 7d911a4 Fix license field SPDX syntax
  • 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 ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [encode_unicode](https://github.com/tormol/encode_unicode) to permit the latest version.
- [Release notes](https://github.com/tormol/encode_unicode/releases)
- [Changelog](https://github.com/tormol/encode_unicode/blob/master/RELEASES.md)
- [Commits](tormol/encode_unicode@v0.3.0...v1.0.0)

---
updated-dependencies:
- dependency-name: encode_unicode
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Dec 7, 2022
@danieleades
Copy link
Contributor

this PR requires an MSRV bump

@mitsuhiko
Copy link
Collaborator

Requires a decision on MSRV. See #134 for now.

@mitsuhiko mitsuhiko closed this Jan 14, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 14, 2023

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/cargo/encode_unicode-1.0 branch January 14, 2023 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants