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

Improve handling of errors in @for loop ranges. #206

Merged
merged 1 commit into from
Jan 5, 2025
Merged

Improve handling of errors in @for loop ranges. #206

merged 1 commit into from
Jan 5, 2025

Conversation

kaj
Copy link
Owner

@kaj kaj commented Jan 5, 2025

No description provided.

@kaj kaj merged commit d39dd9e into main Jan 5, 2025
26 checks passed
@kaj kaj deleted the range-errors branch January 5, 2025 16:04
kaj added a commit that referenced this pull request Feb 2, 2025
Released 2025-02-02.
Progress: 5879 of 12589 tests passed.
The large number of new failing tests are mainly for new color
functions that rsass don't support yet.

### Breaking changes:

* Replaced the css `Selector` implementation.
  The new "logical" selector types that was used in selector
  function in rsass 0.28 is now the only css selector implementation.
  Most of the api to those types are private.
  Some will probably be made public after some stabilization period.
* The `Debug` trait for `Error` is now the standard derived impl,
  to get the pretty output, use the `Display` trait.
* All numbers are now represented as f64 (#203).
  This removes integration with `num-rational`, `num-bigint`,
  `num-integer` and `num-traits`.
* Improved `@for` loop evaluation and error handling (#206).
* Msrv is now 1.65.0 for rsass (and 1.74 for rsass-cli).

### Other changes:

* Lots of color handling.
  - Spec changes for traditional css colors (PR #198).
  - Made all color channels f64 instead of Rational (PR #199).
* Fixed a bug where `clamp(..)` was sometimes evaluated to a value
  even though units wasn't comparable.
* Improved parse error handling (Issue #141, PR #201, PR #205).
  Many parse errors now match the dart sass error message.
  Also allow "loud" comments in more places.
* Pure css `round()` may take an expression argument.
* Minor changes in agrument syntax errors.
* Updated `nom` to 8.0.0 and added `nom-language` 0.1.0.
* Updated sass-spec test suite to 2025-01-29.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant