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

Deprecate Deprecation.calcInterp #2096

Merged
merged 1 commit into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 1.68.1

### Dart API

* Deprecate `Deprecation.calcInterp` since it was never actually emitted as a
deprecation.

## 1.68.0

* Fix the source spans associated with the `abs-percent` deprecation.
Expand Down
6 changes: 2 additions & 4 deletions lib/src/deprecation.dart
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,8 @@ enum Deprecation {
deprecatedIn: '1.62.3',
description: 'Passing null as alpha in the ${isJS ? 'JS' : 'Dart'} API.'),

calcInterp('calc-interp',
deprecatedIn: '1.67.0',
description: 'Using interpolation in a calculation outside a value '
'position.'),
@Deprecated('This deprecation name was never actually used.')
calcInterp('calc-interp', deprecatedIn: null),

/// Deprecation for `@import` rules.
import.future('import', description: '@import rules.'),
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: sass
version: 1.68.0
version: 1.68.1-dev
description: A Sass implementation in Dart.
homepage: /~https://github.com/sass/dart-sass

Expand Down