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

Bump litrs from 0.2.3 to 0.4.1 #146

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 21, 2023

Bumps litrs from 0.2.3 to 0.4.1.

Release notes

Sourced from litrs's releases.

v0.4.1

  • Fixed incorrectly labeling 27f32 a float literals in docs.
  • Added hint to integer literal docs about parsing as u128.

v0.4.0

Added

  • Add ability to parse literals with arbitrary suffixes (e.g. "foo"bla or 23px)
  • Add suffix() method to all literal types except BoolLit
  • Add IntegerBase::value
  • Add from_suffix and suffix methods to FloatType and IntegerType
  • Add FromStr and Display impls to FloatType and IntegerType

Changed

  • Breaking: Mark FloatType and IntegerType as #[non_exhaustive]
  • Breaking: Fix integer parsing for cases like 27f32. Literal::parse and IntegerLit::parse will both identify this as an integer literal.
  • Breaking: Fix float parsing by correctly rejecting inputs like 27f32. A float literal must have a period OR an exponent part, according to the spec. Previously decimal integers were accepted in FloatLit::parse.
  • Improved some parts of the docs

Removed

  • Breaking: Remove OwnedLiteral and SharedLiteral

v0.3.0

Breaking

  • Bump MSRV (minimal supported Rust version) to 1.54

Added

  • Add raw_input and into_raw_input to non-bool *Lit types
  • Add impl From<*Lit> for pm::Literal (for non-bool literals)
  • Add impl From<BoolLit> for pm::Ident

Fixed

  • Fix link to reference and clarify bool literals (#7)

Internals

  • Move lots of parsing code into non-generic functions (this hopefully reduces compile times)
  • To implement [into_]raw_input for integer and float literals, their internals were changed a bit so that they store the full input string now.
Changelog

Sourced from litrs's changelog.

[0.4.1] - 2023-10-18

  • Fixed incorrectly labeling 27f32 a float literals in docs.
  • Added hint to integer literal docs about parsing as u128.

[0.4.0] - 2023-03-05

Added

  • Add ability to parse literals with arbitrary suffixes (e.g. "foo"bla or 23px)
  • Add suffix() method to all literal types except BoolLit
  • Add IntegerBase::value
  • Add from_suffix and suffix methods to FloatType and IntegerType
  • Add FromStr and Display impls to FloatType and IntegerType

Changed

  • Breaking: Mark FloatType and IntegerType as #[non_exhaustive]
  • Breaking: Fix integer parsing for cases like 27f32. Literal::parse and IntegerLit::parse will both identify this as an integer literal.
  • Breaking: Fix float parsing by correctly rejecting inputs like 27f32. A float literal must have a period OR an exponent part, according to the spec. Previously decimal integers were accepted in FloatLit::parse.
  • Improved some parts of the docs

Removed

  • Breaking: Remove OwnedLiteral and SharedLiteral

[0.3.0] - 2022-12-19

Breaking

  • Bump MSRV (minimal supported Rust version) to 1.54

Added

  • Add raw_input and into_raw_input to non-bool *Lit types
  • Add impl From<*Lit> for pm::Literal (for non-bool literals)
  • Add impl From<BoolLit> for pm::Ident

Fixed

  • Fix link to reference and clarify bool literals (#7)

Internals

  • Move lots of parsing code into non-generic functions (this hopefully reduces compile times)
  • To implement [into_]raw_input for integer and float literals, their internals were changed a bit so that they store the full input string now.
Commits
  • 5cecfbb Bump version to 0.4.1
  • ba46f30 Add hint to IntegerLit::value docs
  • bd6fae1 Fix and clarify docs on FloatLit
  • 458d6e1 Bump version to 0.4.0 and fill changelog
  • 1de251d Add "Quick Start" section to the docs
  • 618d9a5 Mark FloatType and IntegerType as #[non_exhaustive]
  • ffe8198 Remove OwnedLiteral and SharedLiteral
  • 4fde9a0 Fix typo in docs
  • fcaf249 Merge pull request #10 from LukasKalbertodt/arbitrary-suffixes
  • 83816a8 Remove extra trailing newline
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)

Bumps [litrs](https://github.com/LukasKalbertodt/litrs) from 0.2.3 to 0.4.1.
- [Release notes](https://github.com/LukasKalbertodt/litrs/releases)
- [Changelog](https://github.com/LukasKalbertodt/litrs/blob/main/CHANGELOG.md)
- [Commits](LukasKalbertodt/litrs@v0.2.3...v0.4.1)

---
updated-dependencies:
- dependency-name: litrs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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 Nov 21, 2023
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

0 participants