Skip to content

Update all dependencies (major)

Guillaume Grossetie requested to merge renovate/major-all into main

This MR contains the following updates:

Package Change Age Adoption Passing Confidence
@11ty/eleventy (source) ~1.0 -> ~2.0.0 age adoption passing confidence
@asciidoctor/core ^2.2.6 -> ^3.0.0 age adoption passing confidence
@codemirror/commands ^0.19.8 -> ^6.0.0 age adoption passing confidence
@codemirror/state ^0.19.6 -> ^6.0.0 age adoption passing confidence
@codemirror/view ^0.19.40 -> ^6.0.0 age adoption passing confidence
@fontsource/inter (source) ^4.5.7 -> ^5.0.0 age adoption passing confidence
@fontsource/source-code-pro (source) ^4.5.6 -> ^5.0.0 age adoption passing confidence
@fontsource/urbanist (source) ^4.5.8 -> ^5.0.0 age adoption passing confidence
@rollup/plugin-babel ^5.3.0 -> ^6.0.0 age adoption passing confidence
@rollup/plugin-commonjs ^21.0.1 -> ^26.0.0 age adoption passing confidence
@rollup/plugin-node-resolve ^13.1.3 -> ^15.0.0 age adoption passing confidence
cssnano ^5.0.17 -> ^7.0.0 age adoption passing confidence
cssnano-preset-lite ^2.0.3 -> ^4.0.0 age adoption passing confidence
eslint (source) ^8.9.0 -> ^9.0.0 age adoption passing confidence
postcss-import ^14.0.2 -> ^16.0.0 age adoption passing confidence
postcss-preset-env ^7.3.1 -> ^10.0.0 age adoption passing confidence
puppeteer ^13.3.1 -> ^23.0.0 age adoption passing confidence
puppeteer ^13.3.1 -> ^23.0.0 age adoption passing confidence
rollup (source) ^2.67.0 -> ^4.0.0 age adoption passing confidence
stylelint (source) ^14.5.1 -> ^16.0.0 age adoption passing confidence
stylelint-config-standard ^25.0.0 -> ^36.0.0 age adoption passing confidence

Release Notes

11ty/eleventy

v2.0.1

Compare Source

Eleventy v2.0.1 is now available! You can try it out in your project now:

npm install @​11ty/eleventy@latest

New to Eleventy?

Eleventy is a flexible and production-ready site generator known for its zero-client JavaScript footprint, speedy sites, speedy builds, and full control over the output.

Features and Fixes

Housekeeping

Thank You Notes

This project would not be possible without our lovely community. Thank you to everyone that built something with Eleventy (×684 authors on our web site!), wrote a blog post about Eleventy, contributed code, wrote a plugins, helped with documentation, asked questions, answered questions, braved The Leaderboards, participated on Discord, filed issues, attended (or organized!) a meetup, said a kind word on social media ❤️.

Open Collective Supporters

v2.0.0

Compare Source

🚨 The full release notes are available on The Eleventy Blog: Eleventy v2.0.0 or you can watch me talk about v2.0 on YouTube.

Eleventy v2.0.0 is now available! You can try it out now:

### Local project
npm install @​11ty/eleventy@latest
### Global install
npm install @​11ty/eleventy@latest -g

New to Eleventy?

Eleventy is a flexible and production-ready site generator known for its zero-client JavaScript footprint, speedy sites, speedy builds, and full control over the output. Watch The State of Eleventy in Two Minutes or read more about Eleventy’s project goals.

The Big Features

Smaller, More Secure
Faster Builds
Plugins
And more…
  • Support for aliasing to an existing template language #​2248
    • This unlocks TypeScript or JSX in Eleventy when you use esbuild-register and alias 11ty.ts or 11ty.tsx to 11ty.js.
  • Event arguments unlock new plugin abilities: dir (input/output/includes/data/layouts locations), outputMode (where the templates are going: fs, json, ndjson), runMode (build, watch, or serve), or results for the processed Eleventy output.
  • Memory usage improvements to Pagination

Breaking Changes

⚠️ Rather than review this list, it’d be faster to use the eleventy-upgrade-helper plugin, which runs a suite of tests to see whether or not you need to worry about these breaking changes in your project: https://github.com/11ty/eleventy-upgrade-help

The Small Features

Even Smaller Features

Housekeeping

Thank You Notes

This project would not be possible without our lovely community. Thank you to everyone that built something with Eleventy (×684 authors on our web site!), wrote a blog post about Eleventy, contributed code, wrote a plugins, helped with documentation, asked questions, answered questions, braved The Leaderboards, participated on Discord, filed issues, attended (or organized!) a meetup, said a kind word on social media ❤️.

Merge Requests From

@​AleksandrHovhannisyan 🆕, @​amareshsm ×2 🆕, @​binyamin, @​DamianOsipiuk 🆕, @​epelc ×2 🆕, @​j-f1 🆕, @​Jaza 🆕, @​kentaroi 🆕, @​kev4ev 🆕, @​LeoSchae 🆕, @​milahu ×3, @​nasivuela 🆕, @​NickColley 🆕, @​NotWoods, @​Obayanju 🆕, @​Snapstromegon ×16 (wow! 🤯), @​TheDocTrier 🆕, @​thinkverse 🆕, @​TigersWay 🆕, @​wes-goulet 🆕, @​mrmartineau 🆕, @​danburzo 🆕

Read more from the Community
Open Collective Supporters

v1.0.2

Compare Source

Eleventy v1.0.2 🎈🐀⚡️🕚

This project would not be possible without our lovely community. Thank you to everyone that built something with Eleventy (×595 authors on our web site!), wrote a blog post about Eleventy, contributed code to core or plugins, documentation, asked questions, answered questions, braved The Leaderboards, participated on Discord, filed issues, attended (or organized!) a meetup, said a kind word on Twitter ❤️.

Install or Upgrade
  • Install to your local project: npm install @​11ty/eleventy
  • Already installed in your local project? Upgrade your version: npm update @​11ty/eleventy
  • Read more about local project versus global installation

Features

Milestone

All bug fix issues can be perused at the GitHub milestone: https://github.com/11ty/eleventy/milestone/39?closed=1

Major Version Dependency Upgrades

There are no major version dependency updates between 1.0.2 and 1.0.1.

THANK YOU NOTES

Gold Sponsors: Sanity.io, Nordhealth, CloudCannon

Silver Sponsors: Set Creative Studio, Unabridged Software, PQINA, The Coders Guild, Bejamas, Nathan Smith, Flatirons Development, Monarch Air Group, Ben Nash, getform.io, OCEG, Mercury Jets

OpenCollective Monthly Backers: Viljami Salminen, Tyler Gaw, Peter deHaan, Melanie Sumner, Alejandro Rodríguez, Mat Marquis, Philip Borenstein, Jérôme Coupé, Max Böck, Bryce Wray, Kristof Michiels, Nicolas Hoizey, Mike Aparicio, Ben Myers, Katie Sylor-Miller, Mark Buskbjerg, mortendk, Aaron Hans, Lauris Consulting, John Meyerhofer, Todd Libby, Luke Bonaccorsi, Dimitrios Grammatikogiannis, Wellness Researched, Devin Clark, Eric Bailey, Dave Rupert, Manuel Matuzovic, Phil Hawksworth, shawn j sandy, Jenn Schiffer, Tianyu Ge, Kyosuke Nakamura, Hans Gerwitz, Makoto Kawasaki, Horacio Gonzalez, Matthew Tole, Ivan Buncic, Rob Sterlini, Mark Boulton, Søren Birkemeyer, Richard Hemmer, Nick Nisi, Andrew Harvard, John SJ Anderson, Ryan Swaney, Tim Giles, Alistair Shepherd, Ivo Herrmann, Flaki, John Hall, Scott McCracken, James Steinbach, Miriam Suzanne, Bentley Davis, Angelique Weger, vince falconi, Martin Schneider, Stephanie Eckles, Frontend Weekly Tokyo, Ferpection, Josh Crain, Chris Burnell, Ximenav Vf., Juan Miguel, Rich Holman, Kasper Storgaard, Kevin Healy, Greg Gibson, Hidde, Michelle Barker, Alesandro Ortiz, David A. Herron, Paul Robert Lloyd, Andrea Vaghi, Bryan Robinson, Ashur Cabrera, Raymond Camden, John Meguerian, Joe Lamyman, Jeffrey A Morgan, Brett Nelson, Paul Welsh, Ingo Steinke, Melanie Richards, Dorin Vancea, Marco Zehe, Wes Ruvalcaba, Luc Poupard, Entle Web Solutions, Ken Hawkins, Ara Abcarians, Fershad Irani, Nikita Dubko, Aaron Gustafson, Chris, Sam, Benjamin Geese, Marcus Relacion, Netin nopeustesti, Bobby Ray, Christian Miles, Cthos, Sia Karamalegos, Daniel Ryan, Raphael Höser, Noel Forte, Saneef Ansari, Flemming Meyer, Colin Fahrion, Dan Burzo, Jon Kuperman, Dan Ott, Mobilemall.pk, Cheap VPS, David Darnes, Jon Roobottom, Dana Byerly, Oisín Quinn, Renkaatsopivasti, Windesol Sähkön Kilpailutus, Luke Mitchell, SignpostMarv, THE PADDING, Bob Monsour, Patrick Byrne, zapscribbles, Frank Reding, quinnanya, Richmond Insulation, Cory Birdsong, Aram ZS, Michel van der Kroef, Vinicius Depizzol, Andy Stevenson, HelppoHinta.fi, Tanner Dolby, jpoehnelt, Ingo Sobolewski, Andrew Weisbeck, Richmond Concrete, Tom, CelineDesign, Nic Chan, Duc Lam, Alex Zappa, Stephen Bell, Brett DeWoody, alistairtweedie, Meta Tier List, Robert Haselbacher, Lene

v1.0.1

Compare Source

Eleventy v1.0.1 🎈🐀⚡️🕚

This project would not be possible without our lovely community. Thank you to everyone that built something with Eleventy (×524 authors on our web site!), wrote a blog post about Eleventy, contributed code to core or plugins, documentation, asked questions, answered questions, braved The Leaderboards, participated on Discord, filed issues, attended (or organized!) a meetup, said a kind word on Twitter ❤️.

Install or Upgrade
  • Install to your local project: npm install @​11ty/eleventy
  • Already installed in your local project? Upgrade your version: npm update @​11ty/eleventy
  • Read more about local project versus global installation
Features
Milestone

All bug fix issues can be perused at the GitHub milestone: https://github.com/11ty/eleventy/milestone/37?closed=1

Some highlights:

  • #​2221 Changes default serverless generated file content to fix bug with encoded path variables in Eleventy Serverless.
  • #​2267 Regression with addExtension API and return; in the compile function to skip/ignore a template.
  • #​2217 Fix for this.defaultRenderer is not a function error when using an async function with addExtension’s compile
  • #​1313 When your config file throws an error, Eleventy would sometimes still process data files when using --version and --help.
  • #​2298 Bug with front matter in layouts
  • #​2278 Obscure bug with passthrough copy and --incremental mistakenly creating a file instead an output folder
  • #​2145 Fix to allow setting a layout via addGlobalData configuration API
  • #​2179 Fix addGlobalData configuration API to execute once per build
Major Version Dependency Upgrades

There are no major version dependency updates between 1.0.1 and 1.0.0.

THANK YOU NOTES

First-time GitHub contributions from @​vseventer

Gold Sponsors: Sanity.io, Nordhealth

Silver Sponsors: Set Creative Studio, Unabridged Software, PQINA, The Coders Guild, Bejamas, Nathan Smith, Flatirons Development, Monarch Air Group

OpenCollective Monthly Backers: Viljami Salminen, Tyler Gaw, Peter deHaan, Melanie Sumner, Alejandro Rodríguez, Mat Marquis, Philip Borenstein, Jérôme Coupé, Max Böck, Bryce Wray, Kristof Michiels, Yuhei Yasuda, Nicolas Hoizey, Mike Aparicio, Ben Myers, Katie Sylor-Miller, Todd Libby, Mark Buskbjerg, mortendk, Aaron Hans, Lauris Consulting, John Meyerhofer, Luke Bonaccorsi, Dimitrios Grammatikogiannis, Keenan Payne, Devin Clark, Eric Bailey, Dave Rupert, Manuel Matuzovic, Phil Hawksworth, Wellness Researched, Tianyu Ge, Kyosuke Nakamura, Hans Gerwitz, Makoto Kawasaki, shawn j sandy, Horacio Gonzalez, Matthew Tole, Ivan Buncic, Ned Zimmerman, Jenn Schiffer, Mark Boulton, Søren Birkemeyer, Richard Hemmer, Nick Nisi, Andrew Harvard, Takuya Fukuju, John SJ Anderson, Ryan Swaney, Alistair Shepherd, Ivo Herrmann, Flaki, Rob Sterlini, Kyle Mitofsky, John Hall, Scott McCracken, James Steinbach, Miriam Suzanne, Bentley Davis, Evan Harrison, Higby, vince falconi, Martin Schneider, Stephanie Eckles, Frontend Weekly Tokyo, Angelique Weger, Ross Kinney, Tim Giles, Matt DeCamp, Chris Burnell, Ximenav Vf., Juan Miguel, Kasper Storgaard, Kevin Healy, Greg Gibson, hiddedevries.nl, Jeremy Caldwell, Michelle Barker, Alesandro Ortiz, David A. Herron, Paul Robert Lloyd, Andrea Vaghi, Bryan Robinson, Ashur Cabrera, Raymond Camden, John Meguerian, Joe Lamyman, Jeffrey A Morgan, Brett Nelson, Paul Welsh, Ingo Steinke, Josh Crain, Melanie Richards, Rich Holman, Lewis Nyman, Dorin Vancea, Marco Zehe, Wes Ruvalcaba, Luc Poupard, Ferpection, Entle Web Solutions, Ken Hawkins, Sami Singh, Fershad Irani, Nikita Dubko, Aaron Gustafson, Chris, Benjamin Geese, Marcus Relacion, Netin nopeustesti, Bobby Ray, Cthos, Sia Karamalegos, Christian Miles, Raphael Höser, Saneef Ansari, Flemming Meyer, Colin Fahrion, Dan Burzo, Gaston Rampersad, Jon Kuperman, Dan Ott, Mobilemall.pk, Cheap VPS, David Darnes, Sam, Jon Roobottom, Dana Byerly, Oisín Quinn, Renkaatsopivasti, Windesol Sähkön Kilpailutus, Luke Mitchell, SignpostMarv, THE PADDING, Bob Monsour, Marc FILLEUL, Patrick Byrne, Ara Abcarians, Daniel Ryan, zapscribbles, Frank Reding, quinnanya, Central Va Insulation, Cory Birdsong, Aram ZS, Michel van der Kroef, Vinicius Depizzol, Andy Stevenson, HelppoHinta.fi, jpoehnelt, Jina Anne, Ingo Sobolewski

asciidoctor/asciidoctor.js

v3.0.4

Compare Source

Summary

This release is based on Asciidoctor 2.0.20 and Opal 1.7.3 and fixes a regression introduced in 3.0.3.

Release meta

Released on: 2024-02-12 Released by: @​ggrossetie Published by: GitHub Actions

Logs: full diff

Changelog

Bug Fixes
  • Default condition should be last one in conditional exports otherwise the following error is thrown: "Module not found: Error: Default condition should be last one" (#​1722) - thanks @​roseckyj & @​korva
Infrastructure
  • Update development dependencies

New Contributors

Full Changelog: https://github.com/asciidoctor/asciidoctor.js/compare/v3.0.3...v3.0.4

v3.0.3

Compare Source

Summary

This release is based on Asciidoctor 2.0.20 and Opal 1.7.3.

Release meta

Released on: 2024-01-13 Released by: @​ggrossetie Published by: GitHub Actions

Logs: full diff

Changelog

Bug Fixes
  • Fix types exports in package.json - thanks @​sinedied
  • Addd context and node_name accessor in the type definition - thanks @​RayOffiah
Infrastructure
  • Update development dependencies

New Contributors

Full Changelog: https://github.com/asciidoctor/asciidoctor.js/compare/v3.0.2...v3.0.3

v3.0.2

Compare Source

Summary

This release is based on Asciidoctor 2.0.20 and Opal 1.7.3.

Release meta

Released on: 2023-06-24 Released by: @​ggrossetie Published by: GitHub Actions

Logs: full diff

Changelog

Breaking Changes
  • Remove Asciidoctor namespace in TypeScript:

    import asciidoctor, { Document } from '@​asciidoctor/core'
    
    const Asciidoctor = asciidoctor()
    Asciidoctor.convert('Hello _world_')
    
  • Publish @asciidoctor/core as an ES6 module

Bug Fixes
  • Strip alternate BOM that uses char code 65279 when input passes through a Buffer (#​1344)
  • Map Document.append (#​1681)
  • Bridge converter pass as option (#​1666)
  • Add getSectionNumeral() function by @​benjaminleonard (#​1659)
  • Fix getDocinfo and findBy type definition (#​1621)
  • Bridge common Ruby object methods (#​1491)
  • parseContent now calls toHash on attrs (#​1519)
Improvements
  • Map this.super.<method> to call the parent function (#​1682)

  • Map AbstractBlock.getContentModel and AbstractBlock.setContentModel (#​1680)

  • Map Document.getSyntaxHighlighter (#​1667)

  • Map CompositeConverter#convert (#​1649)

  • Simplify table option checks by @​mojavelinux (#​1656)

  • Support Stream.Writable as to_file (#​1624)

    const data = []
    const writableStream = new Writable({
      write (chunk, encoding, callback) {
        data.push(chunk.toString())
        callback()
      }
    })
    const doc = Asciidoctor.convert(text, { to_file: writableStream, safe: safe })
    const html = data.join('')
    
Infrastructure
Documentation

New Contributors

v3.0.1

Compare Source

v3.0.0

Compare Source

v2.2.8

Compare Source

Summary

This release is based on Asciidoctor 2.0.23 and Opal 0.11.99.dev (31d26d69).

Release meta

Released on: 2024-06-02 Released by: @​ggrossetie Published by: GitHub Actions

Logs: full diff

What's Changed

v2.2.7

Compare Source

Summary

This release is based on Asciidoctor 2.0.22 and Opal 0.11.99.dev (31d26d69).

Release meta

Released on: 2024-03-17 Released by: @​ggrossetie Published by: GitHub Actions

Logs: full diff

What's Changed

codemirror/commands

v6.6.1

Compare Source

Bug fixes

Fix a bug in the undo history that would cause it to incorrectly track inverted effects when adding multiple edits to a single history event.

v6.6.0

Compare Source

New features

The new toggleTabFocusMode and temporarilySetTabFocusMode commands provide control over the view's tab-focus mode.

The default keymap now binds Ctrl-m (Shift-Alt-m on macOS) to toggleTabFocusMode.

v6.5.0

Compare Source

New features

The insertNewlineKeepIndent command inserts a newline along with the same indentation as the line before.

v6.4.0

Compare Source

Bug fixes

Fix an issue where deleteLine sometimes leaves the cursor on the wrong line.

New features

The new deleteCharBackwardStrict command just deletes a character, without further smart behavior around indentation.

v6.3.3

Compare Source

Bug fixes

Fix an issue causing cursor motion commands to not dispatch a transaction when the change only affects cursor associativity.

v6.3.2

Compare Source

Bug fixes

Fix a regression that caused deleteCharBackward to sometimes delete a large chunk of text.

v6.3.1

Compare Source

Bug fixes

When undoing, store the selection after the undone change with the redo event, so that redoing restores it.

deleteCharBackward will no longer delete variant selector characters as separate characters.

v6.3.0

Compare Source

Bug fixes

Make it possible for selectParentSyntax to jump out of or into a syntax tree overlay.

Make Cmd-Backspace and Cmd-Delete on macOS delete to the next line wrap point, not the start/end of the line.

New features

The new deleteLineBoundaryForward and deleteLineBoundaryBackward commands delete to the start/end of the line or the next line wrapping point.

v6.2.5

Compare Source

Bug fixes

Make insertNewlineAndIndent properly count indentation for tabs when copying over the previous line's indentation.

The various sub-word motion commands will now use Intl.Segmenter, when available, to stop at CJK language word boundaries.

Fix a bug in insertNewlineAndIndent that would delete text between brackets if it had no corresponding AST node.

v6.2.4

Compare Source

Bug fixes

The by-subword motion commands now properly treat dashes, underscores, and similar as subword separators.

v6.2.3

Compare Source

Bug fixes

Block commenting the selection no longer includes indentation on the first line.

v6.2.2

Compare Source

Bug fixes

Fix a bug where line commenting got confused when commenting a range that crossed language boundaries.

v6.2.1

Compare Source

Bug fixes

Keep cursor position stable in cursorPageUp/cursorPageDown when there are panels or other scroll margins active.

Make sure toggleComment doesn't get thrown off by local language nesting, by fetching the language data for the start of the selection line.

v6.2.0

Compare Source

New features

The new joinToEvent history configuration option allows you to provide custom logic that determines whether a new transaction is added to an existing history event.

v6.1.3

Compare Source

Bug fixes

Preserve selection bidi level when extending the selection, to prevent shift-selection from getting stuck in some kinds of bidirectional text.

v6.1.2

Compare Source

Bug fixes

Fix a bug that caused deletion commands on non-empty ranges to incorrectly return false and do nothing, causing the editor to fall back to native behavior.

v6.1.1

Compare Source

Bug fixes

Make sure the selection endpoints are moved out of atomic ranges when applying a deletion command to a non-empty selection.

v6.1.0

Compare Source

Bug fixes

Prevent native behavior on Ctrl/Cmd-ArrowLeft/ArrowRight bindings, so that browsers with odd bidi behavior won't do the wrong thing at start/end of line.

Cmd-ArrowLeft/Right on macOS now moves the cursor in the direction of the arrow even in right-to-left content.

New features

The new cursorLineBoundaryLeft/Right and selectLineBoundaryLeft/Right commands allow directional motion to line boundaries.

v6.0.1

Compare Source

Bug fixes

Announce to the screen reader when the selection is deleted.

Also bind Ctrl-Shift-z to redo on Linux.

v6.0.0

Compare Source

Bug fixes

Fix a bug where by-page selection commands sometimes moved one line too far.

v0.20.0

Compare Source

Breaking changes

There is no longer a separate commentKeymap. Those bindings are now part of defaultKeymap.

Bug fixes

Make cursorPageUp and cursorPageDown move by window height when the editor is higher than the window.

Make sure the default behavior of Home/End is prevented, since it could produce unexpected results on macOS.

New features

The exports from @​codemirror/comment are now available in this package.

The exports from the @​codemirror/history package are now available from this package.

codemirror/state

v6.4.1

Compare Source

Bug fixes

Fix an issue that caused widgets at the end of a mark decoration to be rendered in their own separate mark DOM element.

v6.4.0

Compare Source

Bug fixes

When multiple ranges in a single range set overlap, put the smaller ones inside the bigger ones, so that overlapping decorations don't break up each other's elements when coming from the same source.

New features

Selection and selection range eq methods now support an optional argument that makes them also compare by cursor associativity.

The RangeSet.join function can be used to join multiple range sets together.

v6.3.3

Compare Source

Bug fixes

Fix an issue where Text.slice and Text.replace could return objects with incorrect length when the given from/to values were out of range for the text.

v6.3.2

Compare Source

Bug fixes

Make sure transactions cannot add multiple selections when allowMultipleSelections is false.

Fix a bug that caused Text.iterLines to not return empty lines at the end of the iterated ranges.

v6.3.1

Compare Source

Bug fixes

Give the tag property on FacetReader the type of the output type parameter to force TypeScript to infer the proper type when converting from Facet to FacetReader.

v6.3.0

Compare Source

New features

The new FacetReader type provides a way to export a read-only handle to a Facet.

v6.2.1

Compare Source

Bug fixes

Fix an issue that could cause RangeSet.compare to miss changes in the set of active ranges around a point range.

v6.2.0

Compare Source

New features

EditorSelection.range now accepts an optional 4th argument to specify the bidi level of the range's head position.

v6.1.4

Compare Source

Bug fixes

Fix a bug that caused the openStart value passed to span iterators to be incorrect around widgets in some circumstances.

v6.1.3

Compare Source

Bug fixes

Avoid unnecessary calls to computed facet getters when a state is reconfigured but no dependencies of the computed facet change.

Fix an infinite loop in RangeSet.eq when the to parameter isn't given.

v6.1.2

Compare Source

Bug fixes

Fix an issue where, when multiple transaction extenders took effect, only the highest-precedence one was actually included in the transaction.

v6.1.1

Compare Source

Bug fixes

Fix a bug in range set span iteration that would cause decorations to be inappropriately split in some situations.

v6.1.0

Compare Source

Bug fixes

Refine change mapping to preserve insertions made by concurrent changes.

New features

The enables option to Facet.define may now take a function, which will be called with the facet value to create the extensions.

v6.0.1

Compare Source

Bug fixes

Fix a problem that caused effects' map methods to be called with an incorrect change set when filtering changes.

v6.0.0

Compare Source

Breaking changes

Update dependencies to 6.0.0

v0.20.1

Compare Source

New features

EditorView.phrase now accepts additional arguments, which it will interpolate into the phrase in the place of $ markers.

v0.20.0

Compare Source

Breaking changes

The deprecated precedence names fallback, extend, and override were removed from the library.

Bug fixes

Fix a bug where, if an extension value occurs multiple times, its lowest, rather than highest precedence is used.

Fix an issue where facets with computed inputs would unneccesarily have their outputs recreated on state reconfiguration.

Fix a bug in the order in which new values for state fields and facets were computed, which could cause dynamic facets to hold the wrong value in some situations.

New features

The exports from @​codemirror/rangeset now live in this package.

The exports from @​codemirror/text now live in this package.

v0.19.9

Compare Source

Bug fixes

Mapping a non-empty selection range now always puts any newly inserted text on the sides of the range outside of the mapped version.

v0.19.8

Compare Source

Bug fixes

Fix a bug where facet values with computed inputs could incorrectly retain their old value on reconfiguration.

v0.19.7

Compare Source

Bug fixes

Avoid recomputing facets on state reconfiguration if that facet's inputs stayed precisely the same.

Selection ranges created with EditorSelection.range will now have an assoc pointing at their anchor, when non-empty.

codemirror/view

v6.33.0

Compare Source

Bug fixes

Make it easier to move the pointer over a hover tooltip with an arrow by not closing the tooltip when the pointer is moving over the gap for the arrow.

New features

The new EditorView.clipboardInputFilter and clipboardOutputFilter facets allow you to register filter functions that change text taken from or sent to the clipboard.

v6.32.0

Compare Source

Bug fixes

Fix a bug where the editor could draw way too big a viewport when not managing its own scrollbar.

New features

The new gutterWidgetClass facet makes it possible to add a class to gutter elements next to widgets.

v6.31.0

Compare Source

Bug fixes

Avoid the editor's geometry measurements becoming incorrect when fonts finish loading by scheduling a measure on document.fonts.ready.

Avoid an issue where Chrome would incorrectly scroll the window when deleting lines in the editor.

Fix an issue where in some layouts editor content would be drawn on top of panel elements.

Fix an issue where coordsAtPos would return null when querying a position in a block widget.

New features

The new lineNumberWidgetMarker facet makes it possible to insert markers into the line number gutter for widgets.

v6.30.0

Compare Source

Bug fixes

Make spell check corrections work again on EditContext-enabled Chrome versions.

New features

The value returned by hoverTooltip now has an active property providing the state field used to store the open tooltips.

v6.29.1

Compare Source

Bug fixes

Fix a crash on old Safari browsers that don't support MediaQueryList.addEventListener.

Fix an issue where EditorView.viewportLineBlocks (and thus other things like the gutter) might be out of date after some kinds of decoration changes.

v6.29.0

Compare Source

Bug fixes

Fix an issue that caused typing into an editor marked read-only to cause document changes when using EditContext.

Associate a cursor created by clicking above the end of the text on a wrap point with the line before it.

New features

The package now exports the type of hover tooltip sources as HoverTooltipSource.

v6.28.6

Compare Source

Bug fixes

Fix an issue where the editor got confused about the position of inserted text when using Chrome's EditContext and canceling transactions for typed text.

v6.28.5

Compare Source

Bug fixes

Fix a bug that broke drag scrolling along one axis when the innermost scrollable element around the editor was only scrollable along the other axis.

Work around a memory leak in Chrome's EditContext implementation.

v6.28.4

Compare Source

Bug fixes

Fix a bug where EditContext-based editing could corrupt the document in some situations.

v6.28.3

Compare Source

Bug fixes

Fix an issue causing the IME interface to appear in the wrong spot on Chrome Windows.

v6.28.2

Compare Source

Bug fixes

Only use EditContext on Chrome versions that support passing it an inverted selection range.

Fix an issue that prevented non-inclusive block widgets from having their updateDOM method called when changed.

Re-enable EditContext use on Chrome 126 and up.

v6.28.1

Compare Source

Bug fixes

Disable EditContext by default again, to work around a regression where Chrome's implementation doesn't support inverted selections.

Make sure EditorView.editable is respected when EditContext is used.

v6.28.0

Compare Source

Bug fixes

Fix an issue where long lines broken up by block widgets were sometimes only partially rendered.

New features

The editor will now, when available (which is only on Chrome for the foreseeable future) use the EditContext API to capture text input.

v6.27.0

Compare Source

New features

The new setTabFocusMode method can be used to control whether the editor disables key bindings for Tab and Shift-Tab.

v6.26.4

Compare Source

Bug fixes

Fix an issue where commands with an optional second argument would get the keyboard event in that argument when called from a keymap.

Fix an issue that could cause the cursor to be rendered on the wrong side of a zero-length block widget.

Fix an issue where drawSelection got confused by block widgets in line-wrapped editors in some situations.

Don't hide the native selection in widgets that have focus.

Make sure that clicking an unfocusable editor still remove focus from any other focused elements.

Fix a crash when loading the package in a non-browser environment.

Stop mouse selection when the user types.

v6.26.3

Compare Source

Bug fixes

Fix an issue where dispatching an update to an editor before it measured itself for the first time could cause the scroll position to incorrectly move.

Fix a crash when multiple tooltips with arrows are shown.

v6.26.2

Compare Source

Bug fixes

Improve behavior of scrollPastEnd in a scaled editor.

When available, use Selection.getComposedRanges on Safari to find the selection inside a shadow DOM.

Remove the workaround that avoided inappropriate styling on composed text after a decoration again, since it breaks the stock Android virtual keyboard.

v6.26.1

Compare Source

Bug fixes

Fix the editor getting stuck in composition when Safari fails to fire a compositionend event for a dead key composition.

Fix an issue where, with IME systems that kept the cursor at the start of the composed text, the editor misidentified the target node and disrupted composition.

Fix a bug where in a line-wrapped editor, with some content, the initial scroll position would be off from the top of the document.

v6.26.0

Compare Source

Bug fixes

Avoid the editor getting confused when iOS autocorrects on pressing Enter and does the correction and the break insertion in two different events.

Fix the pasting of copied URIs in iOS.

Fix a bug where a scaled editor could keep performing unnecessary updates due to tiny differences in geometry values returned by the browser.

Fix a bug where, on iOS with a physical keyboard, the modifiers for some keys weren't being passed to the keymaps.

Work around the fact that Mobile Safari makes DOM changes before firing a key event when typing ctrl-d on an external keyboard.

Fix an issue where some commands didn't properly scroll the cursor into view on Mobile Safari.

Re-measure the document when print settings are changed on Chrome.

New features

The EditorView.scrollHandler facet can be used to override or extend the behavior of the editor when things are scrolled into view.

v6.25.1

Compare Source

Bug fixes

Fix accidental non-optional field in layer config objects.

v6.25.0

Compare Source

Bug fixes

Properly recognize Android GBoard enter presses that strip a space at the end of the line as enter.

Fix a bug that caused the gutter to have the wrong height when the editor was scaled after construction.

When starting a composition after a non-inclusive mark decoration, temporarily insert a widget that prevents the composed text from inheriting that mark's styles.

Make sure the selection is repositioned when a transaction changes decorations without changing the document.

New features

View plugins can now provide a docViewUpdate method that is called whenever the document view is updated.

Layers now take a updateOnDocUpdate option that controls whether they are automatically updated when the document view changes.

v6.24.1

Compare Source

Bug fixes

Fix a crash that happens when hover tooltips are active during changes, introduced in 6.24.0.

v6.24.0

Compare Source

Bug fixes

Fix an issue that broke context-menu select-all on Chrome when the viewport didn't cover the whole document.

Make sure tooltips are ordered by extension precedence in the DOM.

New features

Hover tooltip sources may now return multiple tooltips.

v6.23.1

Compare Source

Bug fixes

Fix a bug that caused Tooltip.above to not take effect for tooltips that were already present when the tooltip plugin is initialized.

Automatically reposition tooltips when their size changes.

v6.23.0

Compare Source

Bug fixes

Work around odd iOS Safari behavior when doing select all.

Fix a composition interruption when an widget is inserted next to the cursor.

Fix a crash in bidirectional cursor motion.

Simplify visual motion through bidirectional text, fix several corner cases where it would work badly.

Fix a bug that broke some bidi isolates not on the first line of the document.

New features

EditorView.bidiIsolatedRanges now supports automatically determining the direction of the range if not provided by the decoration.

EditorView.visualLineSide can be used to find the visual end or start of a line with bidirectional text.

The new EditorView.outerDecorations facet can be used to provide decorations that should always be at the bottom of the precedence stack.

v6.22.3

Compare Source

Bug fixes

Fix a bug that could cause tooltips to be unnecessarily be positioned absolutely.

Make sure that, when an editor creates tooltips immediately on initialization, the editor is attached to the document when their mount callback is called.

v6.22.2

Compare Source

Bug fixes

Fix an issue in the bidirectional motion that could cause the cursor to get stuck in a loop when a zero-width non-joiner char was placed on a direction boundary.

Fix a bug that corrupts the editor's internal view tree data structure on some types of edits, putting the editor in a broken state.

v6.22.1

Compare Source

Bug fixes

Call widget destroy methods when the entire editor is destroyed or reset.

Work around an issue on Safari on macOS Sonoma that made the native cursor visible even when drawSelection is enabled.

Fix an issue where, on some browsers, the screenreader announced text ended up in the printed document.

Fix a bug where a hover tooltip could stick around even though the pointer was no longer on the editor when it was moved out over the tooltip.

Fix an issue where hover tooltips could close when moving the mouse onto them due to mouse position rounding issues.

v6.22.0

Compare Source

Bug fixes

Exceptions raised by update listeners are now routed to the configured exception sink, if any.

Fix an issue where passing large scroll margins to scrollIntoView would cause the measure loop to fail to terminate.

Widgets that are draggable (and allow drag events through in their ignoreEvent implementation) can now use the editor's built-in drag/drop behavior.

New features

The new scrollTo option to EditorView allows an initial scroll position to be provided.

The new EditorView.scrollSnapshot method returns an effect that can be used to reset to a previous scroll position.

v6.21.4

Compare Source

Bug fixes

Support the offset, getCoords, overlap, and resize properties on hover tooltips, as long as they aren't given conflicting values when there are multiple active hover tooltips.

Fix a bug that caused tooltips in the default configuration to be positioned incorrectly on Chrome when the editor was transformed.

v6.21.3

Compare Source

Bug fixes

Fix an issue that caused coordsForChar to return the wrong rectangle for characters after a line wrap in Safari.

Make the context menu work when clicking below the content in a fixed-height editor.

Tooltips that have been put below/above their target position because there is no room on their default side now stay there on further updates.

v6.21.2

Compare Source

Bug fixes

Fix a regression that broke dragging text from inside the editor.

v6.21.1

Compare Source

Bug fixes

Fix a bug that could corrupt the DOM view for specific changes involving newlines and mark decorations.

v6.21.0

Compare Source

Bug fixes

Fix a bug that could cause zero-length widgets at the start of a line to be left in the view even after they were removed.

New features

RectangleMarker's dimension properties are now public.

v6.20.2

Compare Source

Bug fixes

Fix an issue in the way the DOM selection is being read that could break backspacing of widgets on Android.

Fix a bug where the editor could incorrectly computate its transform scale when it was small.

v6.20.1

Compare Source

Bug fixes

Fix a crash in plugin event handlers after dynamic reconfiguration.

Fix an issue where, on Chrome, tooltips would no longer use fixed positioning.

v6.20.0

Compare Source

Bug fixes

Fix an issue that caused repositionTooltips to crash when it was called on an editor without tooltips.

Fix an issue that caused the tooltip system to leave empty nodes in the DOM when an editor using the parent option to tooltips is destroyed.

Fix a bug that regression mouse interaction with the area of a fixed-size editor that isn't covered by the content.

Fix some issues with the way moveVertically behaved for positions on line wrap points.

Fix a bug that could cause the document DOM to be incorrectly updated on some types of viewport changes.

New features

The new getDrawSelectionConfig function returns the drawSelection configuration for a given state.

v6.19.0

Compare Source

Bug fixes

Make sure the drop cursor is properly cleaned up even when another extension handles the drop event.

Fix a crash related to non-inclusive replacing block decorations.

New features

The new EditorView.domEventObservers (and the corresponding option to view plugins) allows you to register functions that are always called for an event, regardless of whether other handlers handled it.

v6.18.1

Compare Source

Bug fixes

Fix an issue where the editor duplicated text when the browser moved content into the focused text node on composition.

Make sure widgetMarker is called for gutters on lines covered by a block replace decoration.

Fix an issue where the cursor could be shown in a position that doesn't allow a cursor when the selection is in a block widget.

v6.18.0

Compare Source

New features

The new EditorView.scaleX and scaleY properties return the CSS-transformed scale of the editor (or 1 when not scaled).

The editor now supports being scaled with CSS.

v6.17.1

Compare Source

Bug fixes

Don't close the hover tooltip when the pointer moves over empty space caused by line breaks within the hovered range.

Fix a bug where on Chrome Android, if a virtual keyboard was slow to apply a change, the editor could end up dropping it.

Work around an issue where line-wise copy/cut didn't work in Firefox because the browser wasn't firing those events when nothing was selected.

Fix a crash triggered by the way some Android IME systems update the DOM.

Fix a bug that caused replacing a word by an emoji on Chrome Android to be treated as a backspace press.

v6.17.0

Compare Source

Bug fixes

Fix a bug that broke hover tooltips when hovering over a widget.

New features

The new EditorView.cspNonce facet can be used to provide a Content Security Policy nonce for the library's generated CSS.

The new EditorView.bidiIsolatedRanges can be used to inform the editor about ranges styled as Unicode bidirection isolates, so that it can compute the character order correctly.

EditorView.dispatch now also accepts an array of transactions to be applied together in a single view update.

The new dispatchTransactions option to new EditorView now replaces the old (deprecated but still supported) dispatch option in a way that allows multiple transactions to be applied in one update.

Input handlers are now passed an additional argument that they can use to retrieve the default transaction that would be applied for the insertion.

v6.16.0

Compare Source

Bug fixes

Fix an issue that made the gutter not stick in place when the editor was in a right-to-left context.

New features

The new EditorView.coordsForChar method returns the client rectangle for a given character in the editor.

v6.15.3

Compare Source

Bug fixes

Fix another crash regression for compositions before line breaks.

v6.15.2

Compare Source

Bug fixes

Fix the check that made sure compositions are dropped when the selection is moved.

v6.15.1

Compare Source

Bug fixes

Fix a regression that could cause the composition content to be drawn incorrectly.

v6.15.0

Compare Source

Bug fixes

Fix dragging a selection from inside the current selection on macOS.

Fix an issue that could cause the scroll position to jump wildly

Don't try to scroll fixed-positioned elements into view by scrolling their parent elements.

Fix a bug that caused the cursor to be hidden when showing a placeholder that consisted of the empty string.

Resolve some issues where composition could incorrectly affect nearby replaced content.

New features

Key bindings can now set a stopPropagation field to cause the view to stop the key event propagation when it considers the event handled.

v6.14.1

Compare Source

Bug fixes

Fix an issue where scrolling up through line-wrapped text would sometimes cause the scroll position to pop down.

Fix an issue where clicking wouldn't focus the editor on Firefox when it was in an iframe and already the active element of the frame.

Fix a bug that could cause compositions to be disrupted because their surrounding DOM was repurposed for some other piece of content.

Fix a bug where adding content to the editor could inappropriately move the scroll position.

Extend detection of Enter presses on Android to beforeInput events with an "insertLineBreak" type.

v6.14.0

Compare Source

Bug fixes

When dragging text inside the editor, look at the state of Ctrl (or Alt on macOS) at the time of the drop, not the start of drag, to determine whether to move or copy the text.

Fix an issue where having a bunch of padding on lines could cause vertical cursor motion and posAtCoords to jump over lines.

New features

Block widget decorations can now be given an inlineOrder option to make them appear in the same ordering as surrounding inline widgets.

v6.13.2

Compare Source

Bug fixes

Fix an issue in scroll position stabilization for changes above the visible, where Chrome already does this natively and we ended up compensating twice.

v6.13.1

Compare Source

Bug fixes

Fix a bug where the cursor would in some circumstances be drawn on the wrong side of an inline widget.

Fix an issue where scrollPastEnd could cause the scroll position of editors that weren't in view to be changed unnecessarily.

v6.13.0

Compare Source

Bug fixes

Forbid widget decoration side values bigger than 10000, to prevent them from breaking range ordering invariants.

Fix a bug where differences between widgets' estimated and actual heights could cause the editor to inappropriately move the scroll position.

Avoid another situation in which composition that inserts line breaks could corrupt the editor DOM.

New features

Inline widgets may now introduce line breaks, if they report this through the WidgetType.lineBreaks property.

v6.12.0

Compare Source

Bug fixes

Remove an accidentally included console.log.

New features

EditorViewConfig.dispatch is now passed the view object as a second argument.

v6.11.3

Compare Source

Bug fixes

Make sure pointer selection respects EditorView.atomicRanges.

Preserve DOM widgets when their decoration type changes but they otherwise stay in the same place.

Fix a bug in drawSelection that could lead to invisible or incorrect selections for a blank line below a block widget.

v6.11.2

Compare Source

Bug fixes

Fix a bug where the crosshairCursor extension could, when non-native key events were fired, trigger disruptive and needless view updates.

Fix an Android issue where backspacing at the front of a line with widget decorations could replace those decorations with their text content.

Respect scroll margins when scrolling the target of drag-selection into view.

Validate selection offsets reported by the browser, to work around Safari giving us invalid values in some cases.

v6.11.1

Compare Source

Bug fixes

Don't preserve the DOM around a composition that spans multiple lines.

v6.11.0

Compare Source

New features

Gutters now support a widgetMarker option that can be used to add markers next to block widgets.

v6.10.1

Compare Source

Bug fixes

Limit cursor height in front of custom placeholder DOM elements.

v6.10.0

Compare Source

Bug fixes

Fix a crash in drawSelection when a measured position falls on a position that doesn't have corresponding screen coordinates.

Work around unhelpful interaction observer behavior that could cause the editor to not notice it was visible.

Give the cursor next to a line-wrapped placeholder a single-line height.

Make sure drop events below the editable element in a fixed-height editor get handled properly.

New features

Widget decorations can now define custom coordsAtPos methods to control the way the editor computes screen positions at or in the widget.

v6.9.6

Compare Source

Bug fixes

Fix an issue where, when escape was pressed followed by a key that the editor handled, followed by tab, the tab would still move focus.

Fix an issue where, in some circumstances, the editor would ignore text changes at the end of a composition.

Allow inline widgets to be updated to a different length via updateDOM.

v6.9.5

Compare Source

Bug fixes

Avoid disrupting the composition in specific cases where Safari invasively changes the DOM structure in the middle of a composition.

Fix a bug that prevented destroy being called on hover tooltips.

Fix a bug where the editor could take focus when content changes required it to restore the DOM selection.

Fix height layout corruption caused by a division by zero.

Make sure styles targeting the editor's focus status are specific enough to not cause them to apply to editors nested inside another focused editor. This will require themes to adjust their selection background styles to match the new specificity.

v6.9.4

Compare Source

Bug fixes

Make the editor scroll while dragging a selection near its sides, even if the cursor isn't outside the scrollable element.

Fix a bug that interrupted composition after widgets in some circumstances on Firefox.

Make sure the last change in a composition has its user event set to input.type.compose, even if the compositionend event fires before the changes are applied.

Make it possible to remove additional selection ranges by clicking on them with ctrl/cmd held, even if they aren't cursors.

Keep widget buffers between widgets and compositions, since removing them confuses IME on macOS Firefox.

Fix a bug where, for DOM changes that put the selection in the middle of the changed range, the editor incorrectly set its selection state.

Fix a bug where coordsAtPos could return a coordinates before the line break when querying a line-wrapped position with a positive side.

v6.9.3

Compare Source

Bug fixes

Work around a Firefox issue that caused coordsAtPos to return rectangles with the full line height on empty lines.

Opening a context menu by clicking below the content element but inside the editor now properly shows the browser's menu for editable elements.

Fix an issue that broke composition (especially of Chinese IME) after widget decorations.

Fix an issue that would cause the cursor to jump around during compositions inside nested mark decorations.

v6.9.2

Compare Source

Bug fixes

Work around a Firefox CSS bug that caused cursors to stop blinking in a scrolled editor.

Fix an issue in drawSelection where the selection extended into the editor's padding.

Fix pasting of links copied from iOS share sheet.

v6.9.1

Compare Source

Bug fixes

Improve the way posAtCoords picks the side of a widget to return by comparing the coordinates the center of the widget.

Fix an issue where transactions created for the focusChangeEffect facet were sometimes not dispatched.

v6.9.0

Compare Source

Bug fixes

Fix an issue where inaccurate estimated vertical positions could cause the viewport to not converge in line-wrapped editors.

Don't suppress double-space to period conversion when autocorrect is enabled.

Make sure the measuring code notices when the scaling of the editor is changed, and does a full measure in that case.

New features

The new EditorView.focusChangeEffect facet can be used to dispatch a state effect when the editor is focused or blurred.

v6.8.1

Compare Source

Bug fixes

Fix an issue where tooltips that have their height reduced have their height flicker when scrolling or otherwise interacting with the editor.

v6.8.0

Compare Source

Bug fixes

Fix a regression that caused clicking on the scrollbar to move the selection.

Fix an issue where focus or blur event handlers that dispatched editor transactions could corrupt the mouse selection state.

Fix a CSS regression that prevented the drop cursor from being positioned properly.

New features

WidgetType.updateDOM is now passed the editor view object.

v6.7.3

Compare Source

Bug fixes

Fix a bug in posAtCoords that could cause incorrect results for positions to the left of a wrapped line.

v6.7.2

Compare Source

Bug fixes

Fix a regression where the cursor didn't restart its blink cycle when moving it with the pointer.

Even without a key property, measure request objects that are already scheduled will not be scheduled again by requestMeasure.

Fix an issue where keymaps incorrectly interpreted key events that used Ctrl+Alt modifiers to simulate AltGr on Windows.

Fix a bug where line decorations with a different class property would be treated as equal.

Fix a bug that caused drawSelection to not notice when it was reconfigured.

Fix a crash in the gutter extension caused by sharing of mutable arrays.

Fix a regression that caused touch selection on mobile platforms to not work in an uneditable editor.

Fix a bug where DOM events on the boundary between lines could get assigned to the wrong line.

v6.7.1

Compare Source

Bug fixes

Make the editor properly scroll when moving the pointer out of it during drag selection.

Fix a regression where clicking below the content element in an editor with its own height didn't focus the editor.

v6.7.0

Compare Source

Bug fixes

Make the editor notice widget height changes to automatically adjust its height information.

Fix an issue where widget buffers could be incorrectly omitted after empty lines.

Fix an issue in content redrawing that could cause coordsAtPos to return incorrect results.

New features

The static RectangleMarker.forRange method exposes the logic used by the editor to draw rectangles covering a selection range.

Layers can now provide a destroy function to be called when the layer is removed.

The new highlightWhitespace extension makes spaces and tabs in the editor visible.

The highlightTrailingWhitespace extension can be used to make trailing whitespace stand out.

v6.6.0

Compare Source

New features

The layer function can now be used to define extensions that draw DOM elements over or below the document text.

Tooltips that are bigger than the available vertical space for them will now have their height set so that they don't stick out of the window. The new resize property on TooltipView can be used to opt out of this behavior.

v6.5.1

Compare Source

Bug fixes

Fix a bug that caused marked unnecessary splitting of mark decoration DOM elements in some cases.

v6.5.0

Compare Source

Bug fixes

Fix an issue where key bindings were activated for the wrong key in some situations with non-US keyboards.

New features

A tooltip's positioned callback is now passed the available space for tooltips.

v6.4.2

Compare Source

Bug fixes

Typing into a read-only editor no longer moves the cursor.

Fix an issue where hover tooltips were closed when the mouse was moved over them if they had a custom parent element.

Fix an issue where the editor could end up displaying incorrect height measurements (typically after initializing).

v6.4.1

Compare Source

Bug fixes

Fix an issue where coordinates next to replaced widgets were returned incorrectly, causing the cursor to be drawn in the wrong place.

Update the crosshairCursor state on every mousemove event.

Avoid an issue in the way that the editor enforces cursor associativity that could cause the cursor to get stuck on single-character wrapped lines.

v6.4.0

Compare Source

Bug fixes

Avoid an issue where scrollPastEnd makes a single-line editor have a vertical scrollbar.

Work around a Chrome bug where it inserts a newline when you press space at the start of a wrapped line.

Align rectangularSelection's behavior with other popular editors by making it create cursors at the end of lines that are too short to touch the rectangle.

Fix an issue where coordinates on mark decoration boundaries were sometimes taken from the wrong side of the position.

Prevent scrolling artifacts caused by attempts to scroll stuff into view when the editor isn't being displayed.

New features

TooltipView objects can now provide a destroy method to be called when the tooltip is removed.

v6.3.1

Compare Source

Bug fixes

Fix a crash when trying to scroll something into view in an editor that wasn't in the visible DOM.

Fix an issue where coordsAtPos returned the coordinates on the wrong side of a widget decoration wrapped in a mark decoration.

Fix an issue where content on long wrapped lines could fail to properly scroll into view.

Fix an issue where DOM change reading on Chrome Android could get confused when a transaction came in right after a beforeinput event for backspace, enter, or delete.

v6.3.0

Compare Source

Bug fixes

Reduce the amount of wrap-point jittering when scrolling through a very long wrapped line.

Fix an issue where scrolling to content that wasn't currently drawn due to being on a very long line would often fail to scroll to the right position.

Suppress double-space-adds-period behavior on Chrome Mac when it behaves weirdly next to widget.

New features

Key binding objects with an any property will now add handlers that are called for any key, within the ordering of the keybindings.

v6.2.5

Compare Source

Bug fixes

Don't override double/triple tap behavior on touch screen devices, so that the mobile selection menu pops up properly.

Fix an issue where updating the selection could crash on Safari when the editor was hidden.

v6.2.4

Compare Source

Bug fixes

Highlight the active line even when there is a selection. Prevent the active line background from obscuring the selection backdrop.

Fix an issue where elements with negative margins would confuse the editor's scrolling-into-view logic.

Fix scrolling to a specific position in an editor that has not been in view yet.

v6.2.3

Compare Source

Bug fixes

Fix a bug where cursor motion, when starting from a non-empty selection range, could get stuck on atomic ranges in some circumstances.

Avoid triggering Chrome Android's text-duplication issue when a period is typed in the middle of a word.

v6.2.2

Compare Source

Bug fixes

Don't reset the selection for selection change events that were suppressed by a node view.

v6.2.1

Compare Source

Bug fixes

Don't use the global document variable to track focus, since that doesn't work in another window/frame.

Fix an issue where key handlers that didn't return true were sometimes called twice for the same keypress.

Avoid editing glitches when using deletion keys like ctrl-d on iOS.

Properly treat characters from the 'Arabic Presentation Forms-A' Unicode block as right-to-left.

Work around a Firefox bug that inserts text at the wrong point for specific cross-line selections.

v6.2.0

Compare Source

Bug fixes

Fix a bug where posAtCoords would return the wrong results for positions to the right of wrapped lines.

New features

The new EditorView.setRoot method can be used when an editor view is moved to a new document or shadow root.

v6.1.4

Compare Source

Bug fixes

Make selection-restoration on focus more reliable.

v6.1.3

Compare Source

Bug fixes

Fix a bug where a document that contains only non-printing characters would lead to bogus text measurements (and, from those, to crashing).

Make sure differences between estimated and actual block heights don't cause visible scroll glitches.

v6.1.2

Compare Source

Bug fixes

Fix an issue where double tapping enter to confirm IME input and insert a newline on iOS would sometimes insert two newlines.

Fix an issue on iOS where a composition could get aborted if the editor scrolled on backspace.

v6.1.1

Compare Source

Bug fixes

Make highlightSpecialChars replace directional isolate characters by default.

The editor will now try to suppress browsers' native behavior of resetting the selection in the editable content when the editable element is focused (programmatically, with tab, etc).

Fix a CSS issue that made it possible, when the gutters were wide enough, for them to overlap with the content.

v6.1.0

Compare Source

New features

MatchDecorator now supports a decorate option that can be used to customize the way decorations are added for each match.

v6.0.3

Compare Source

Bug fixes

Fix a problem where posAtCoords could incorrectly return the start of the next line when querying positions between lines.

Fix an issue where registering a high-precedence keymap made keymap handling take precedence over other keydown event handlers.

Ctrl/Cmd-clicking can now remove ranges from a multi-range selection.

v6.0.2

Compare Source

Bug fixes

Fix a CSS issue that broke horizontal scroll width stabilization.

Fix a bug where defaultLineHeight could get an incorrect value in very narrow editors.

v6.0.1

Compare Source

Bug fixes

Avoid DOM selection corruption when the editor doesn't have focus but has selection and updates its content.

Fall back to dispatching by key code when a key event produces a non-ASCII character (so that Cyrillic and Arabic keyboards can still use bindings specified with Latin characters).

v6.0.0

Compare Source

New features

The new static EditorView.findFromDOM method can be used to retrieve an editor instance from its DOM structure.

Instead of passing a constructed state to the EditorView constructor, it is now also possible to inline the configuration options to the state in the view config object.

v0.20.7

Compare Source

Bug fixes

Fix an issue on Chrome Android where the DOM could fail to display the actual document after backspace.

Avoid an issue on Chrome Android where DOM changes were sometimes inappropriately replace by a backspace key effect due to spurious beforeinput events.

Fix a problem where the content element's width didn't cover the width of the actual content.

Work around a bug in Chrome 102 which caused wheel scrolling of the editor to be interrupted every few lines.

v0.20.6

Compare Source

Bug fixes

Make sure the editor re-measures itself when its attributes are updated.

v0.20.5

Compare Source

Bug fixes

Fix an issue where gutter elements without any markers in them would not get the cm-gutterElement class assigned.

Fix an issue where DOM event handlers registered by plugins were retained indefinitely, even after the editor was reconfigured.

v0.20.4

Compare Source

Bug fixes

Prevent Mac-style behavior of inserting a period when the user inserts two spaces.

Fix an issue where the editor would sometimes not restore the DOM selection when refocused with a selection identical to the one it held when it lost focus.

v0.20.3

Compare Source

Bug fixes

Fix a bug where the input handling could crash on repeated (or held) backspace presses on Chrome Android.

v0.20.2

Compare Source

New features

The new hideOn option to hoverTooltip allows more fine-grained control over when the tooltip should hide.

v0.20.1

Compare Source

Bug fixes

Remove debug statements that accidentally made it into 0.20.0.

Fix a regression in moveVertically.

v0.20.0

Compare Source

Breaking changes

The deprecated interfaces blockAtHeight, visualLineAtHeight, viewportLines, visualLineAt, scrollPosIntoView, scrollTo, and centerOn were removed from the library.

All decorations are now provided through EditorView.decorations, and are part of a single precedence ordering. Decoration sources that need access to the view are provided as functions.

Atomic ranges are now specified through a facet (EditorView.atomicRanges).

Scroll margins are now specified through a facet (EditorView.scrollMargins).

Plugin fields no longer exist in the library (and are replaced by facets holding function values).

This package no longer re-exports the Range type from @​codemirror/state.

Bug fixes

Fix a bug where zero-length block widgets could cause viewportLineBlocks to contain overlapping ranges.

New features

The new perLineTextDirection facet configures whether the editor reads text direction per line, or uses a single direction for the entire editor. EditorView.textDirectionAt returns the direction around a given position.

rectangularSelection and crosshairCursor from @​codemirror/rectangular-selection were merged into this package.

This package now exports the tooltip functionality that used to live in @​codemirror/tooltip.

The exports from the old @​codemirror/panel package are now available from this package.

The exports from the old @​codemirror/gutter package are now available from this package.

v0.19.48

Compare Source

Bug fixes

Fix an issue where DOM syncing could crash when a DOM node was moved from a parent to a child node (via widgets reusing existing nodes).

To avoid interfering with things like a vim mode too much, the editor will now only activate the tab-to-move-focus escape hatch after an escape press that wasn't handled by an event handler.

Make sure the view measures itself before the page is printed.

Tweak types of view plugin defining functions to avoid TypeScript errors when the plugin value doesn't have any of the interface's properties.

v0.19.47

Compare Source

Bug fixes

Fix an issue where block widgets at the start of the viewport could break height computations.

v0.19.46

Compare Source

Bug fixes

Fix a bug where block widgets on the edges of viewports could cause the positioning of content to misalign with the gutter and height computations.

Improve cursor height next to widgets.

Fix a bug where mapping positions to screen coordinates could return incorred coordinates during composition.

v0.19.45

Compare Source

Bug fixes

Fix an issue where the library failed to call WidgetType.destroy on the old widget when replacing a widget with a different widget of the same type.

Fix an issue where the editor would compute DOM positions inside composition contexts incorrectly in some cases, causing the selection to be put in the wrong place and needlessly interrupting compositions.

Fix leaking of resize event handlers.

v0.19.44

Compare Source

Bug fixes

Fix a crash that occasionally occurred when drag-selecting in a way that scrolled the editor.

New features

The new EditorView.compositionStarted property indicates whether a composition is starting.

v0.19.43

Compare Source

Bug fixes

Fix several issues where editing or composition went wrong due to our zero-width space kludge characters ending up in unexpected places.

Make sure the editor re-measures its dimensions whenever its theme changes.

Fix an issue where some keys on Android phones could leave the editor DOM unsynced with the actual document.

v0.19.42

Compare Source

Bug fixes

Fix a regression in cursor position determination after making an edit next to a widget.

v0.19.41

Compare Source

Bug fixes

Fix an issue where the editor's view of its content height could go out of sync with the DOM when a line-wrapping editor had its width changed, causing wrapping to change.

Fix a bug that caused the editor to draw way too much content when scrolling to a position in an editor (much) taller than the window.

Report an error when a replace decoration from a plugin crosses a line break, rather than silently ignoring it.

Fix an issue where reading DOM changes was broken when lineSeparator contained more than one character.

Make ordering of replace and mark decorations with the same extent and inclusivness more predictable by giving replace decorations precedence.

Fix a bug where, on Chrome, replacement across line boundaries and next to widgets could cause bogus zero-width characters to appear in the content.

fontsource/font-files (@​fontsource/inter)

v5.0.20

Compare Source

v5.0.19

Compare Source

v5.0.18

Compare Source

v5.0.17

Compare Source

v5.0.16

Compare Source

v5.0.15

Compare Source

v5.0.14

Compare Source

v5.0.13

Compare Source

v5.0.12

Compare Source

v5.0.8

Compare Source

v5.0.7

Compare Source

v5.0.6

Compare Source

v5.0.5

Compare Source

v5.0.4

Compare Source

v5.0.3

Compare Source

v5.0.2

Compare Source

v5.0.1

Compare Source

fontsource/font-files (@​fontsource/source-code-pro)

v5.0.19

Compare Source

v5.0.18

Compare Source

v5.0.17

Compare Source

v5.0.16

Compare Source

v5.0.15

Compare Source

v5.0.14

Compare Source

v5.0.13

Compare Source

v5.0.12

Compare Source

v5.0.8

Compare Source

v5.0.7

Compare Source

v5.0.6

Compare Source

v5.0.5

Compare Source

v5.0.4

Compare Source

v5.0.3

Compare Source

v5.0.2

Compare Source

v5.0.1

Compare Source

fontsource/font-files (@​fontsource/urbanist)

v5.0.21

Compare Source

v5.0.20

Compare Source

v5.0.19

Compare Source

v5.0.18

Compare Source

v5.0.17

Compare Source

v5.0.16

Compare Source

v5.0.15

Compare Source

v5.0.14

Compare Source

v5.0.13

Compare Source

v5.0.12

Compare Source

v5.0.11

Compare Source

v5.0.8

Compare Source

v5.0.7

Compare Source

v5.0.6

Compare Source

v5.0.5

Compare Source

v5.0.4

Compare Source

v5.0.3

Compare Source

v5.0.2

Compare Source

v5.0.1

Compare Source

rollup/plugins (@​rollup/plugin-babel)

v6.0.4

Compare Source

2023-10-05

Bugfixes
  • fix: ensure rollup 4 compatibility #​1595

v6.0.3

Compare Source

2022-11-25

Updates
  • docs: small typo in babel plugin readme #​1355

v6.0.2

Compare Source

2022-10-21

Updates
  • chore: update rollup dependencies (3038271)

v6.0.1

Compare Source

Skipped for repo rebase

v6.0.0

2022-10-08

Breaking Changes

v5.3.1

2022-02-22

Bugfixes
  • fix: consider path delimeter on windows (#​1090)
rollup/plugins (@​rollup/plugin-commonjs)

v26.0.1

2024-06-05

Bugfixes
  • fix: correct import of glob (04a15b5)

v26.0.0

2024-06-05

Breaking Changes
  • chore!: bump glob's version (#​1695)

v25.0.8

2024-05-22

Bugfixes
  • fix: preserve the class body property keys even if they are special keywords (#​1688)

v25.0.7

Compare Source

2023-10-15

Bugfixes
  • fix: bump magic-string version #​1596

v25.0.6

Compare Source

2023-10-15

Bugfixes
  • fix: Keep the shebang at the top of the file content #​1610

v25.0.5

Compare Source

2023-10-05

Bugfixes
  • fix: ensure rollup 4 compatibility #​1595

v25.0.4

Compare Source

2023-08-11

Updates

v25.0.3

Compare Source

2023-07-15

Bugfixes
  • fix: preserve this reference in the child class #​1537

v25.0.2

Compare Source

2023-06-19

Bugfixes

v25.0.1

Compare Source

2023-06-10

Bugfixes
  • fix: change dynamicRequireRoot to normalizedDynamicRequireRoot && tweak related tests #​1508

v25.0.0

Compare Source

2023-05-12

Breaking Changes
  • fix: dynamic require root check was broken in some cases #​1461

v24.1.0

Compare Source

2023-04-11

Features
  • feat: Do not use getters for module.exports #​1455

v24.0.1

Compare Source

2023-01-20

Bugfixes
  • fix: types should come first in exports #​1403

v24.0.0

Compare Source

2022-12-18

Breaking Changes
  • fix: check if defaultIsModuleExports is auto for getDefaultExportFromCjs #​1358

v23.0.7

Compare Source

2022-12-17

Bugfixes
  • fix: produce code which works when __esModule is already defined #​1379

v23.0.6

Compare Source

2022-12-17

Bugfixes

v23.0.5

Compare Source

2022-12-15

Bugfixes
  • fix: resolve export exports not found #​1363

v23.0.4

Compare Source

2022-12-07

Bugfixes

v23.0.3

Compare Source

2022-11-27

Bugfixes
  • fix: correctly wrap a default class export from cjs module #​1350

v23.0.2

Compare Source

2022-10-21

Updates
  • chore: update rollup dependencies (3038271)

v23.0.1

Compare Source

Skipped for repo rebase

v23.0.0

Compare Source

2022-10-09

Breaking Changes

v22.0.2

Compare Source

2022-08-05

Bugfixes
  • fix: Exclude multi-line template strings from indent (#​1229)

v22.0.1

2022-06-24

Bugfixes
  • fix: Only proxy detected commonjs entry points (#​1180)

v22.0.0

2022-04-24

Breaking Changes
  • fix: add heuristic to deoptimize requires after calling imported function (requires rollup@2.68.0) (#​1038)
  • feat: reimplement dynamic import handling (requires Node 12, no longer supports require.cache) (#​1038)
Bugfixes
  • fix: support CJS modules re-exporting transpiled ESM modules (#​1165)
  • fix: Warn when plugins do not pass options to resolveId (#​1038)
  • fix: Do not change semantics when removing requires in if statements (#​1038)
  • fix: handle external dependencies when using the cache (#​1038)
  • fix: proxy all entries to not break legacy polyfill plugins (#​1038)
  • fix: use correct version and add package exports (#​1038)
  • fix: validate node-resolve peer version (#​1038)
  • fix: inject module name into dynamic require function (#​1038)
  • fix: do not transform "typeof exports" for mixed modules (#​1038)
  • fix: attach correct plugin meta-data to commonjs modules (#​1038)
Features
  • feat: expose plugin version (#​1038)
  • feat: throw for dynamic requires from outside the configured root (#​1038)
  • feat: add dynamicRequireRoot option (#​1038)
  • feat: auto-detect conditional requires (#​1038)
  • feat: limit ignoreTryCatch to external requires (#​1038)
  • feat: make namespace callable when requiring ESM with function default (#​1038)
  • feat: Infer type for unidentified modules (#​1038)
  • feat: automatically wrap cyclic modules (#​1038)
  • feat: add strictRequires option to wrap modules (#​1038)
Updates
  • refactor: deconflict helpers only once globals are known (#​1038)

v21.1.0

2022-04-15

Features
  • feat: make defaultIsModuleExports as funtion to config defaultIsModuleExports for each source (#​1052)

v21.0.3

2022-03-27

Updates
  • docs: sync required rollup version (#​1118)

v21.0.2

2022-02-23

Updates
  • chore: transpile dynamic helper to ES5 (#​1082)
rollup/plugins (@​rollup/plugin-node-resolve)

v15.2.3

Compare Source

2023-10-08

Bugfixes
  • fix: modulePaths default is not set #​1534

v15.2.2

Compare Source

2023-10-05

Bugfixes
  • fix: ensure rollup 4 compatibility #​1595

v15.2.1

Compare Source

2023-08-22

Bugfixes
  • fix: Implement package exports / imports resolution algorithm according to Node documentation #​1549

v15.2.0

Compare Source

2023-08-17

Features
  • feat: pass original importee to secondary resolve #​1557

v15.1.0

Compare Source

2023-05-30

Features
  • feat: Resolve js/jsx/mjs/cjs imports from TypeScript files #​1498

v15.0.2

Compare Source

2023-04-04

Bugfixes
  • fix: bump is-builtin-module version, imports with a trailing slash #​1424

v15.0.1

Compare Source

2022-10-21

Updates
  • chore: update rollup dependencies (3038271)

v15.0.0

Compare Source

2022-10-10

Breaking Changes

v14.1.0

Compare Source

2022-09-12

Features
  • feat: add new option, modulePaths (#​1104)

v14.0.1

Compare Source

2022-09-08

Bugfixes
  • fix: handle circular commonjs (#​1259)

v14.0.0

2022-09-06

Breaking Changes
  • fix: preserve moduleSideEffects when re-resolving files (#​1245)

v13.3.0

2022-05-02

Features
  • feat: support node: protocol (#​1124)

v13.2.2

2022-05-02

Bugfixes
  • fix: Respect if other plugins resolve the resolution to a different id (#​1181)
  • fix: Revert respect if other plugins resolve the resolution to a different id (ae59ceb)
  • fix: Respect if other plugins resolve the resolution to a different id (f8d4c44)

v13.2.1

2022-04-15

Bugfixes
  • fix: update side effects logic to be deep when glob doesn’t contain / (#​1148)

v13.2.0

2022-04-11

Features
  • feat: Add the ability to pass a function into resolveOnly (#​1152)
cssnano/cssnano

v7.0.5

Compare Source

Bug Fixes

v7.0.4

Compare Source

Bug fixes

v7.0.3

Compare Source

Bug Fixes

  • cssnano-preset-default: preserve SVG viewbox and title by default
  • postcss-convert-values: preserve percent sign in arguments of color functions when needed
  • postcss-ordered-values: preserve correct order in animation property
  • postcss-minify-selectors: preserve quotes when escaping selector is required
  • postcss-discard-comments: do not remove strings that only look like comments in selectors

Thanks to @​ota-meshi and @​seiyab for their contributions to this release.

v7.0.2

Compare Source

Bug Fixes

  • fix invalid output in some cases where selectors contain comments

v7.0.1

Compare Source

Patch changes

Update postcss-calc dependency to latest version

v7.0.0

Compare Source

Breaking changes

This release drops official support for unmaintained long term support Node.js releases 14 and 16. It also drops support for non-long term support releases 19 and 21 and add support for Node.js 22. Only the package.json engines field has been updated. The code should otherwise be identical to the previous 6.1.2 release.

Ensuring support for older Node.js had become difficult as the GitHub actions runners are not available for the latest MacOS and recent pnpm also could not run on CI any more.

v6.1.2

Compare Source

Bug Fixes

  • preserve correct order of gap and column-gap properties

Patch Changes

  • update autoprefixer

v6.1.1

Compare Source

Patch changes

  • update selector parser
  • in the minify font plugin, you can pass a function to determine whether a css variable is one of font, font-family, and font-weight to determine whether the variable needs to remove quotes.

v6.1.0

Compare Source

This release contains a lot of fixes to Browserslist support thanks to @​colinrotherham

Features

  • support Browserslist options in more plugins
  • support overriding autoprefixer options

Additionally, this release includes improved TypeScript types.

v6.0.5

Compare Source

Bug Fixes

  • correctly minify font declaration in edge cases
  • preserve initial property in -webkit-line-clamp

v6.0.4

Compare Source

Bug Fixes
  • preserve empty @layer declarations
  • avoid crashing when encountering @layer without any braces afterwards
  • update to latest lilconfig dependency to avoid vulnerability

v6.0.3

Compare Source

Bug fixes
  • do not sort unknown properties

Other

  • Require latest browserslist and postcss-selector-parser

v6.0.2

Compare Source

  • fix: update cssnano peer dependency to 8.4.31 to avoid security issue
  • fix: update postcss-calc to 9.0.1 to solve disappearing expressions inside two brackets
  • deps(postcss-svgo): update SVGO to 3.0.5 and update doc
  • chore: update css-declaration-sorter
  • fix(postcss-minify-selectors): prevent mangling of timeline range names
  • fix(postcss-convert-values): keep percent unit in @Property
  • chore(cssnano): update lilconfig to 3.0.0

v6.0.1

Compare Source

Bug Fixes

v6.0.0

Compare Source

Major Changes

  • 99d1e6a: postcss-normalize-url: remove normalize-url configuration options
  • 4e272f8: postcss-svgo: Upgrade dependency svgo to v3 and increase the minimum supported node version to v14
  • ca9d3f5: Switch minimum supported Node version to 14 for all packages
  • 39a2040: feat!(cssnano): remove undocumented YAML config support

Migration instructions

  • If you're not happy with the defaults for the normalize-url transform, turn it off completely. Options were removed as most would change the meaning of the URL, which is unexpcted in the case of CSS minification.
  • In the unlikely event you're using YAML to configure cssnano, move the cssnano configuration inside the PostCSS config or use a configuration file in CommonJS or JSON format.

v5.1.15

Compare Source

Bug Fixes

  • fix(postcsss-reduce-initial): fix mask-repeat conversion
  • fix(postcss-colormin): don't minify colors in src declarations
  • fix(postcss-merge-rules): do not merge conflicting flex and border properties

v5.1.14

Compare Source

Bug Fixes

  • fix: update autoprefixer and browserslist
  • fix(postcss-reduce-initial): improve initial properties data

v5.1.13

Compare Source

Bug Fixes

v5.1.12

Compare Source

Bug Fixes

v5.1.11

Compare Source

Bug Fixes

  • postcss-ordered-values: preserve constant values (32ab4d9b7d20d)

v5.1.10

Compare Source

Bug Fixes

v5.1.9

Compare Source

Bug Fixes

  • postcss-merge-longhand: preserve more color function fallbacks (712993cb4a4e0)

v5.1.8

Compare Source

Bug Fixes

  • postcss-convert-values: preserve percentage sign on IE 11 (57f060ad21734)

v5.1.7

Compare Source

v5.1.6

Compare Source

Bug Fixes

  • preserve border color when merging border properties (5f5080a)

v5.1.5

Compare Source

v5.1.4

Compare Source

Bug Fixes

  • postcss-merge-longhand: preserve custom property case (5428d5fc9)

v5.1.3

Compare Source

Bug Fixes

  • fix: do not merge declarations containing custom properties when it might create invalid declarations (2c699341)

v5.1.2

Compare Source

Bug fixes

  • preserve empty custom properties and ensure they work in Chrome (4ed39679)

v5.1.1

Compare Source

v5.1.0

Compare Source

New Feature

Add TypeScript types

eslint/eslint

v9.9.1

Compare Source

Bug Fixes

  • 9bde90c fix: add logic to handle fixTypes in lintText() (#​18736) (Amaresh S M)

Documentation

Chores

v9.9.0

Compare Source

Features

  • 41d0206 feat: Add support for TS config files (#​18134) (Arya Emami)
  • 3a4eaf9 feat: add suggestion to require-await to remove async keyword (#​18716) (Dave)

Documentation

  • 9fe068c docs: how to author plugins with configs that extend other configs (#​18753) (Alec Gibson)
  • 48117b2 docs: add version support page in the side navbar (#​18738) (Amaresh S M)
  • fec2951 docs: add version support page to the dropdown (#​18730) (Amaresh S M)
  • 38a0661 docs: Fix typo (#​18735) (Zaina Al Habash)
  • 3c32a9e docs: Update yarn command for creating ESLint config (#​18739) (Temitope Ogunleye)
  • f9ac978 docs: Update README (GitHub Actions Bot)

Chores

v9.8.0

Compare Source

Features

  • 13d0bd3 feat: Add and use SourceCode#getLoc/getRange (#​18703) (Nicholas C. Zakas)

Bug Fixes

  • ab0ff27 fix: Throw error when invalid flags passed (#​18705) (Nicholas C. Zakas)
  • 70dc803 fix: basePath directory can never be ignored (#​18711) (Milos Djermanovic)

Documentation

Build Related

Chores

v9.7.0

Compare Source

Features

  • 7bd9839 feat: add support for es2025 duplicate named capturing groups (#​18630) (Yosuke Ota)
  • 1381394 feat: add regex option in no-restricted-imports (#​18622) (Nitin Kumar)

Bug Fixes

  • 14e9f81 fix: destructuring in catch clause in no-unused-vars (#​18636) (Francesco Trotta)

Documentation

  • 9f416db docs: Add Powered by Algolia label to the search. (#​18633) (Amaresh S M)
  • c8d26cb docs: Open JS Foundation -> OpenJS Foundation (#​18649) (Milos Djermanovic)
  • 6e79ac7 docs: loadESLint does not support option cwd (#​18641) (Francesco Trotta)

Chores

v9.6.0

Compare Source

Features

  • e2b16e2 feat: Implement feature flags (#​18516) (Nicholas C. Zakas)
  • 8824aa1 feat: add ecmaVersion: 2025, parsing duplicate named capturing groups (#​18596) (Milos Djermanovic)

Bug Fixes

  • 1613e2e fix: Allow escaping characters in config patterns on Windows (#​18628) (Milos Djermanovic)
  • 21d3766 fix: no-unused-vars include caught errors pattern in report message (#​18609) (Kirk Waiblinger)
  • d7a7736 fix: improve no-unused-vars message on unused caught errors (#​18608) (Kirk Waiblinger)
  • f9e95d2 fix: correct locations of invalid /* eslint */ comments (#​18593) (Milos Djermanovic)

Documentation

  • 13dbecd docs: Limit search to just docs (#​18627) (Nicholas C. Zakas)
  • 375227f docs: Update getting-started.md - add pnpm to init eslint config (#​18599) (Kostiantyn Ochenash)
  • 44915bb docs: Update README (GitHub Actions Bot)
  • d50db7b docs: Update vscode-eslint info (#​18595) (Nicholas C. Zakas)

Chores

v9.5.0

Compare Source

Features

  • b2d256c feat: no-sparse-arrays report on "comma" instead of the whole array (#​18579) (fisker Cheung)

Bug Fixes

  • 6880286 fix: treat * as a universal pattern (#​18586) (Milos Djermanovic)
  • 7fbe211 fix: message template for all files ignored (#​18564) (Milos Djermanovic)
  • 469cb36 fix: Don't lint the same file multiple times (#​18552) (Milos Djermanovic)
  • 5cff638 fix: improve message for ignored files without a matching config (#​18404) (Francesco Trotta)

Documentation

  • 455f7fd docs: add section about including .gitignore files (#​18590) (Milos Djermanovic)
  • 721eafe docs: update info about universal files patterns (#​18587) (Francesco Trotta)
  • 8127127 docs: Update README (GitHub Actions Bot)
  • 55c2a66 docs: Update README (GitHub Actions Bot)
  • eb76282 docs: Update README (GitHub Actions Bot)
  • ff6e96e docs: baseConfig and overrideConfig can be arrays (#​18571) (Milos Djermanovic)
  • d2d83e0 docs: Add mention of eslint-transforms to v9 migration guide (#​18566) (Nicholas C. Zakas)
  • 9ce6832 docs: add callout box for unintuitive behavior (#​18567) (Ben McCann)
  • b8db99c docs: Add VS Code info to config migration guide (#​18555) (Nicholas C. Zakas)
  • 518a35c docs: Mention config migrator (#​18561) (Nicholas C. Zakas)
  • eb440fc docs: specifying files with arbitrary or no extension (#​18539) (Francesco Trotta)
  • 38c159e docs: Provide example of reading package.json for plugins meta (#​18530) (Nicholas C. Zakas)
  • d16a659 docs: add link to migration guide for --ext CLI option (#​18537) (Milos Djermanovic)
  • 73408de docs: add link to configuration file docs before examples (#​18535) (Milos Djermanovic)

Chores

v9.4.0

Compare Source

Features

  • 89a4a0a feat: ignore IIFE's in the no-loop-func rule (#​17528) (Nitin Kumar)

Bug Fixes

  • f6534d1 fix: skip processor code blocks that match only universal patterns (#​18507) (Milos Djermanovic)
  • 7226ebd fix: allow implicit undefined return in no-constructor-return (#​18515) (Ali Rezvani)
  • 389744b fix: use @eslint/config-inspector@latest (#​18483) (唯然)
  • 70118a5 fix: func-style false positive with arrow functions and super (#​18473) (Milos Djermanovic)

Documentation

Chores

v9.3.0

Compare Source

Features

  • b32153c feat: add overrides.namedExports to func-style rule (#​18444) (Percy Ma)
  • b67eba4 feat: add restrictedNamedExportsPattern to no-restricted-exports (#​18431) (Akul Srivastava)
  • 069aa68 feat: add option allowEscape to no-misleading-character-class rule (#​18208) (Francesco Trotta)
  • 05ef92d feat: deprecate multiline-comment-style & line-comment-position (#​18435) (唯然)
  • db0b174 feat: add enforceForInnerExpressions option to no-extra-boolean-cast (#​18222) (Kirk Waiblinger)

Bug Fixes

  • 8db0eff fix: Improve config error messages (#​18457) (Nicholas C. Zakas)
  • 5c28d9a fix: don't remove comments between key and value in object-shorthand (#​18442) (Kuba Jastrzębski)
  • 39fb0ee fix: object-shorthand loses type parameters when auto-fixing (#​18438) (dalaoshu)
  • 37eba48 fix: don't crash when fs.readFile returns promise from another realm (#​18416) (Milos Djermanovic)

Documentation

  • ceada8c docs: explain how to use "tsc waiting" label (#​18466) (Francesco Trotta)
  • 62e686c docs: Add troubleshooting info for plugin compatibility (#​18451) (Nicholas C. Zakas)
  • e17e1c0 docs: Update README (GitHub Actions Bot)
  • 2465a1e docs: Update README (GitHub Actions Bot)
  • d23574c docs: Clarify usage of no-unreachable with TypeScript (#​18445) (benj-dobs)
  • 1db9bae docs: Fix typos (#​18443) (Frieder Bluemle)
  • 7065196 docs: Update README (GitHub Actions Bot)
  • 04e7c6e docs: update deprecation notice of no-return-await (#​18433) (Tanuj Kanti)
  • e763512 docs: Link global ignores section in config object property list (#​18430) (MaoShizhong)
  • ac7f718 docs: reflect release of v9 in config migration guide (#​18412) (Peter Briggs)
  • 0de0909 docs: fix grammar in configuration file resolution (#​18419) (Mike McCready)

Chores

v9.2.0

Compare Source

Features

  • 8485d76 feat: no-case-declarations add suggestions (#​18388) (Josh Goldberg ✨)
  • a498f35 feat: update Unicode letter detection in capitalized-comments rule (#​18375) (Francesco Trotta)

Bug Fixes

  • eeec413 fix: do not throw when defining a global named defineSetter (#​18364) (唯然)

Documentation

  • 0f5df50 docs: Update README (GitHub Actions Bot)
  • 1579ce0 docs: update wording regarding indirect eval (#​18394) (Kirk Waiblinger)
  • f12a02c docs: update to eslint v9 in custom-rule-tutorial (#​18383) (唯然)

Chores

v9.1.1

Compare Source

Bug Fixes

v9.1.0

Compare Source

Features

Bug Fixes

  • 8d18958 fix: Remove name from eslint/js packages (#​18368) (Nicholas C. Zakas)
  • 594eb0e fix: do not crash on error in fs.walk filter (#​18295) (Francesco Trotta)
  • 0d8cf63 fix: EMFILE errors (#​18313) (Nicholas C. Zakas)
  • e1ac0b5 fix: --inspect-config only for flat config and respect -c (#​18306) (Nicholas C. Zakas)
  • 09675e1 fix: --no-ignore should not apply to non-global ignores (#​18334) (Milos Djermanovic)

Documentation

  • fb50077 docs: include notes about globals in migration-guide (#​18356) (Gabriel Rohden)
  • 71c771f docs: Fix missing accessible name for scroll-to-top link (#​18329) (Germán Freixinós)
  • 200fd4e docs: indicate eslintrc mode for .eslintignore (#​18285) (Francesco Trotta)
  • 16b6a8b docs: Update README (GitHub Actions Bot)
  • df5f8a9 docs: paths and patterns difference in no-restricted-imports (#​18273) (Tanuj Kanti)
  • c537d76 docs: update npm init @&#8203;eslint/config generated file names (#​18298) (唯然)
  • e1e305d docs: fix linebreak-style examples (#​18262) (Francesco Trotta)
  • 113f51e docs: Mention package.json config support dropped (#​18305) (Nicholas C. Zakas)
  • 5c35321 docs: add eslintrc-only note to --rulesdir (#​18281) (Adam Lui 刘展鹏)

Build Related

  • 1fa6622 build: do not use --force flag to install dependencies (#​18284) (Francesco Trotta)

Chores

v9.0.0

Compare Source

Breaking Changes

  • b7cf3bd fix!: correct camelcase rule schema for allow option (#​18232) (eMerzh)
  • 09bd7fe feat!: move AST traversal into SourceCode (#​18167) (Nicholas C. Zakas)
  • 79a95eb feat!: disallow multiple configuration comments for same rule (#​18157) (Milos Djermanovic)
  • 9163646 feat!: Rule Tester checks for missing placeholder data in the message (#​18073) (fnx)
  • 3c4d51d feat!: default for enforceForClassMembers in no-useless-computed-key (#​18054) (Francesco Trotta)
  • 47e60f8 feat!: Stricter rule test validations (#​17654) (fnx)
  • 1a94589 feat!: no-unused-vars default caughtErrors to 'all' (#​18043) (Josh Goldberg ✨)
  • 57089cb feat!: no-restricted-imports allow multiple config entries for same path (#​18021) (Milos Djermanovic)
  • 2e1d549 feat!: detect duplicate test cases (#​17955) (Bryan Mishkin)
  • 701f1af feat!: no-inner-declaration new default behaviour and option (#​17885) (Tanuj Kanti)
  • bde5105 fix!: handle --output-file for empty output when saving to disk (#​17957) (Nitin Kumar)
  • 07107a5 fix!: upgrade eslint-scope@8.0.0 (#​17942) (Milos Djermanovic)
  • 3ee0f6c fix!: no-unused-vars varsIgnorePattern behavior with catch arguments (#​17932) (Tanuj Kanti)
  • 51f8bc8 fix!: configuration comments with just severity should retain options (#​17945) (Milos Djermanovic)
  • d191bdd feat!: Remove CodePath#currentSegments (#​17936) (Milos Djermanovic)
  • 946ae00 feat!: FlatRuleTester -> RuleTester (#​17922) (Nicholas C. Zakas)
  • baff28c feat!: remove no-inner-declarations from eslint:recommended (#​17920) (Milos Djermanovic)
  • cadfbcd feat!: Rename FlatESLint to ESLint (#​17914) (Nicholas C. Zakas)
  • d1018fc feat!: skip running warnings in --quiet mode (#​17274) (Maddy Miller)
  • fb81b1c feat!: Set default schema: [], drop support for function-style rules (#​17792) (Milos Djermanovic)
  • 0b21e1f feat!: add two more cases to no-implicit-coercion (#​17832) (Gürgün Dayıoğlu)
  • 2916c63 feat!: Switch Linter to flat config by default (#​17851) (Nicholas C. Zakas)
  • 200518e fix!: Parsing 'exported' comment using parseListConfig (#​17675) (amondev)
  • bdd6ba1 feat!: Remove valid-jsdoc and require-jsdoc (#​17694) (Nicholas C. Zakas)
  • 12be307 fix!: Behavior of CLI when no arguments are passed (#​17644) (Nicholas C. Zakas)
  • 8fe8c56 feat!: Update shouldUseFlatConfig and CLI so flat config is default (#​17748) (Nicholas C. Zakas)
  • 60dea3e feat!: deprecate no-new-symbol, recommend no-new-native-nonconstructor (#​17710) (Francesco Trotta)
  • 5aa9c49 feat!: check for parsing errors in suggestion fixes (#​16639) (Bryan Mishkin)
  • b3e0bb0 feat!: assert suggestion messages are unique in rule testers (#​17532) (Josh Goldberg ✨)
  • e563c52 feat!: no-invalid-regexp make allowConstructorFlags case-sensitive (#​17533) (Josh Goldberg ✨)
  • e5f02c7 fix!: no-sequences rule schema correction (#​17878) (MHO)
  • 6ee3e9e feat!: Update eslint:recommended configuration (#​17716) (Milos Djermanovic)
  • c2cf85a feat!: drop support for string configurations in flat config array (#​17717) (Milos Djermanovic)
  • c314fd6 feat!: Remove SourceCode#getComments() (#​17715) (Milos Djermanovic)
  • ae78ff1 feat!: Remove deprecated context methods (#​17698) (Nicholas C. Zakas)
  • f71c328 feat!: Swap FlatESLint-ESLint, FlatRuleTester-RuleTester in API (#​17823) (Nicholas C. Zakas)
  • 5304da0 feat!: remove formatters except html, json(-with-metadata), and stylish (#​17531) (Josh Goldberg ✨)
  • e1e827f feat!: Require Node.js ^18.18.0 || ^20.9.0 || >=21.1.0 (#​17725) (Milos Djermanovic)

Features

  • d54a412 feat: Add --inspect-config CLI flag (#​18270) (Nicholas C. Zakas)
  • 97ce45b feat: Add reportUsedIgnorePattern option to no-unused-vars rule (#​17662) (Pearce Ropion)
  • 3e9fcea feat: Show config names in error messages (#​18256) (Nicholas C. Zakas)
  • de40874 feat: Rule Performance Statistics for flat ESLint (#​17850) (Mara Kiefer)
  • d85c436 feat: use-isnan report NaN in indexOf and lastIndexOf with fromIndex (#​18225) (Tanuj Kanti)
  • b8fb572 feat: add reportUnusedFallthroughComment option to no-fallthrough rule (#​18188) (Kirk Waiblinger)
  • 1c173dc feat: add ignoreClassWithStaticInitBlock option to no-unused-vars (#​18170) (Tanuj Kanti)
  • a451b32 feat: make no-misleading-character-class report more granular errors (#​18082) (Francesco Trotta)
  • c49ed63 feat: update complexity rule for optional chaining & default values (#​18152) (Mathias Schreck)
  • 11144a2 feat: no-restricted-imports option added allowImportNames (#​16196) (M Pater)
  • 74124c2 feat: add suggestions to use-isnan in indexOf & lastIndexOf calls (#​18063) (StyleShit)
  • 53f0f47 feat: Add loadESLint() API method for v9 (#​18097) (Nicholas C. Zakas)
  • 2d11d46 feat: add suggestions to use-isnan in binary expressions (#​17996) (StyleShit)
  • 26093c7 feat: fix false negatives in no-this-before-super (#​17762) (Yosuke Ota)
  • 5471e43 feat: convert unsafe autofixes to suggestions in no-implicit-coercion (#​17985) (Gürgün Dayıoğlu)
  • e3051be feat: emit warning when .eslintignore file is detected (#​17952) (Nitin Kumar)
  • a630edd feat: maintain latest ecma version in ESLint (#​17958) (Milos Djermanovic)
  • b4e0503 feat: add no-useless-assignment rule (#​17625) (Yosuke Ota)
  • 287c4b7 feat: no-misleading-character-class granular errors (#​17515) (Josh Goldberg ✨)
  • 8792464 feat: Enable eslint.config.mjs and eslint.config.cjs (#​17909) (Nicholas C. Zakas)
  • 24ce927 feat: warn by default for unused disable directives (#​17879) (Bryan Mishkin)

Bug Fixes

  • 610c148 fix: Support using declarations in no-lone-blocks (#​18269) (Kirk Waiblinger)
  • e508800 fix: rule tester ignore irrelevant test case properties (#​18235) (fnx)
  • a129acb fix: flat config name on ignores object (#​18258) (Nicholas C. Zakas)
  • dadc5bf fix: constructor-super false positives with loops (#​18226) (Milos Djermanovic)
  • ae8103d fix: load plugins in the CLI in flat config mode (#​18185) (Francesco Trotta)
  • e37153f fix: improve error message for invalid rule config (#​18147) (Nitin Kumar)
  • af6e170 fix: stop linting files after an error (#​18155) (Francesco Trotta)
  • 0cb4914 fix: validate options when comment with just severity enables rule (#​18133) (Milos Djermanovic)
  • c4d26fd fix: use-isnan doesn't report on SequenceExpressions (#​18059) (StyleShit)
  • 39076fb fix: handle absolute file paths in RuleTester (#​17989) (Nitin Kumar)
  • 6d11f3d fix: Ensure config keys are printed for config errors (#​17980) (Nicholas C. Zakas)
  • 806f708 fix: no-misleading-character-class edge cases with granular errors (#​17970) (Milos Djermanovic)
  • f182114 fix: deep merge behavior in flat config (#​17906) (Francesco Trotta)
  • b577e8a fix: allow circular references in config (#​17752) (Francesco Trotta)

Documentation

  • e151050 docs: update get-started to the new @eslint/create-config (#​18217) (唯然)
  • 94178ad docs: mention about name field in flat config (#​18252) (Anthony Fu)
  • 1765c24 docs: add Troubleshooting page (#​18181) (Josh Goldberg ✨)
  • 96607d0 docs: version selectors synchronization (#​18260) (Milos Djermanovic)
  • 651ec91 docs: remove /* eslint-env */ comments from rule examples (#​18249) (Milos Djermanovic)
  • 950c4f1 docs: Update README (GitHub Actions Bot)
  • 12f5746 docs: add info about dot files and dir in flat config (#​18239) (Tanuj Kanti)
  • b93f408 docs: update shared settings example (#​18251) (Tanuj Kanti)
  • 26384d3 docs: fix ecmaVersion in one example, add checks (#​18241) (Milos Djermanovic)
  • 7747097 docs: Update MR review process (#​18233) (Nicholas C. Zakas)
  • b07d427 docs: fix typo (#​18246) (Kirill Gavrilov)
  • 778082d docs: add Glossary page (#​18187) (Josh Goldberg ✨)
  • 239a7e2 docs: Clarify the description of sort-imports options (#​18198) (gyeongwoo park)
  • 4769c86 docs: fix incorrect example in no-lone-blocks (#​18215) (Tanuj Kanti)
  • 5251327 docs: Update README (GitHub Actions Bot)
  • 1dc8618 docs: Update README (GitHub Actions Bot)
  • ba1c1bb docs: Update README (GitHub Actions Bot)
  • 337cdf9 docs: Explain limitations of RuleTester fix testing (#​18175) (Nicholas C. Zakas)
  • c7abd89 docs: Explain Node.js version support (#​18176) (Nicholas C. Zakas)
  • d961eeb docs: show red underlines in examples in rules docs (#​18041) (Yosuke Ota)
  • 558274a docs: Update README (GitHub Actions Bot)
  • 2908b9b docs: Update release documentation (#​18174) (Nicholas C. Zakas)
  • 1f1260e docs: replace HackerOne link with GitHub advisory (#​18165) (Francesco Trotta)
  • e5ef3cd docs: add inline cases condition in no-fallthrough (#​18158) (Tanuj Kanti)
  • 450d0f0 docs: fix ignore option docs (#​18154) (Francesco Trotta)
  • 5fe095c docs: show v8.57.0 as latest version in dropdown (#​18142) (Milos Djermanovic)
  • 7db5bb2 docs: Show prerelease version in dropdown (#​18135) (Nicholas C. Zakas)
  • 73a5f06 docs: Update README (GitHub Actions Bot)
  • f95cd27 docs: Disallow multiple rule configuration comments in the same example (#​18116) (Milos Djermanovic)
  • d8068ec docs: Update link for schema examples (#​18112) (Svetlana)
  • f1c7e6f docs: Switch to Ethical Ads (#​18090) (Strek)
  • 15c143f docs: JS Foundation -> OpenJS Foundation in MR template (#​18092) (Nicholas C. Zakas)
  • 6ea339e docs: add stricter rule test validations to v9 migration guide (#​18085) (Milos Djermanovic)
  • 3c816f1 docs: use relative link from CLI to core concepts (#​18083) (Milos Djermanovic)
  • 9458735 docs: fix malformed eslint config comments in rule examples (#​18078) (Francesco Trotta)
  • 07a1ada docs: link from --fix CLI doc to the relevant core concept (#​18080) (Bryan Mishkin)
  • b844324 docs: Update team responsibilities (#​18048) (Nicholas C. Zakas)
  • aadfb60 docs: document languageOptions and other v9 changes for context (#​18074) (fnx)
  • 857e242 docs: tweak explanation for meta.docs rule properties (#​18057) (Bryan Mishkin)
  • 10485e8 docs: recommend messageId over message for reporting rule violations (#​18050) (Bryan Mishkin)
  • 98b5ab4 docs: Update README (GitHub Actions Bot)
  • 505fbf4 docs: update no-restricted-imports rule (#​18015) (Tanuj Kanti)
  • c25b4af docs: Update README (GitHub Actions Bot)
  • 33d1ab0 docs: add more examples to flat config ignores docs (#​18020) (Milos Djermanovic)
  • e6eebca docs: Update sort-keys options properties count (#​18025) (LB (Ben Johnston))
  • 1fedfd2 docs: Improve flat config ignores docs (#​17997) (Nicholas C. Zakas)
  • 38b9b06 docs: update valid-typeof rule (#​18001) (Tanuj Kanti)
  • b4abfea docs: Update note about ECMAScript support (#​17991) (Francesco Trotta)
  • 6788873 docs: Update release blog post template (#​17994) (Nicholas C. Zakas)
  • 1f37442 docs: Add sections on non-npm plugin configuration (#​17984) (Nicholas C. Zakas)
  • 96307da docs: migration guide entry for no-inner-declarations (#​17977) (Tanuj Kanti)
  • 40be60e docs: Update README (GitHub Actions Bot)
  • d31c180 docs: fix number of code-path events on custom rules page (#​17969) (Richard Hunter)
  • 1529ab2 docs: reorder entries in v9 migration guide (#​17967) (Milos Djermanovic)
  • 9507525 docs: Explain how to combine configs (#​17947) (Nicholas C. Zakas)
  • 7c78576 docs: Add more removed context methods to migrate to v9 guide (#​17951) (Milos Djermanovic)
  • 3a877d6 docs: Update removed CLI flags migration (#​17939) (Nicholas C. Zakas)
  • 4a9cd1e docs: Update Linter API for v9 (#​17937) (Milos Djermanovic)
  • 2a8eea8 docs: update docs for v9.0.0-alpha.0 (#​17929) (Milos Djermanovic)
  • 7f0ba51 docs: show NEXT in version selectors (#​17911) (Milos Djermanovic)
  • 0a7911e docs: add flat config default to v9 migration guide (#​17927) (Milos Djermanovic)
  • 94f8065 docs: Add CLI updates to migrate to v9 guide (#​17924) (Nicholas C. Zakas)
  • 16187f2 docs: Add exported and string config notes to migrate to v9 guide (#​17926) (Nicholas C. Zakas)
  • 3ae50cc docs: Add RuleTester changes to migrate to v9 guide (#​17923) (Nicholas C. Zakas)
  • 0831b58 docs: add rule changes to v9 migration guide (#​17925) (Milos Djermanovic)
  • 037abfc docs: update API docs (#​17919) (Milos Djermanovic)
  • afc3c03 docs: add function-style and meta.schema changes to v9 migration guide (#​17912) (Milos Djermanovic)
  • 1da0723 docs: update eslint:recommended section in Migrate to v9.x (#​17908) (Milos Djermanovic)
  • f55881f docs: remove configuration-files-new.md (#​17907) (Milos Djermanovic)
  • 63ae191 docs: Migrate to v9.0.0 (#​17905) (Nicholas C. Zakas)
  • e708496 docs: Switch to flat config by default (#​17840) (Nicholas C. Zakas)
  • fdf0424 docs: Update Create a Plugin for flat config (#​17826) (Nicholas C. Zakas)
  • e6a91bd docs: Switch shareable config docs to use flat config (#​17827) (Nicholas C. Zakas)
  • 3831fb7 docs: updated examples of max-lines rule (#​17898) (Tanuj Kanti)
  • cd1ac20 docs: Update README (GitHub Actions Bot)

Build Related

  • 26010c2 Build: changelog update for 9.0.0-rc.0 (Jenkins)
  • b91f9dc build: fix TypeError in prism-eslint-hooks.js (#​18209) (Francesco Trotta)
  • d7ec0d1 Build: changelog update for 9.0.0-beta.2 (Jenkins)
  • fd9c0a9 Build: changelog update for 9.0.0-beta.1 (Jenkins)
  • c9f2f33 build: changelog update for 8.57.0 (#​18144) (Milos Djermanovic)
  • 1bbc495 Build: changelog update for 9.0.0-beta.0 (Jenkins)
  • 96f8877 Build: changelog update for 9.0.0-alpha.2 (Jenkins)
  • 52d5e7a Build: changelog update for 9.0.0-alpha.1 (Jenkins)
  • c2bf27d build: update docs files when publishing prereleases (#​17940) (Milos Djermanovic)
  • e91d85d Build: changelog update for 9.0.0-alpha.0 (Jenkins)

Chores

v8.57.0

Compare Source

Features

  • 1120b9b feat: Add loadESLint() API method for v8 (#​18098) (Nicholas C. Zakas)
  • dca7d0f feat: Enable eslint.config.mjs and eslint.config.cjs (#​18066) (Nitin Kumar)

Bug Fixes

  • 2196d97 fix: handle absolute file paths in FlatRuleTester (#​18064) (Nitin Kumar)
  • 69dd1d1 fix: Ensure config keys are printed for config errors (#​18067) (Nitin Kumar)
  • 9852a31 fix: deep merge behavior in flat config (#​18065) (Nitin Kumar)
  • 4c7e9b0 fix: allow circular references in config (#​18056) (Milos Djermanovic)

Documentation

Chores

v8.56.0

Compare Source

Features

  • 0dd9704 feat: Support custom severity when reporting unused disable directives (#​17212) (Bryan Mishkin)
  • 31a7e3f feat: fix no-restricted-properties false negatives with unknown objects (#​17818) (Arka Pratim Chaudhuri)

Bug Fixes

  • 7d5e5f6 fix: TypeError: fs.exists is not a function on read-only file system (#​17846) (Francesco Trotta)
  • 74739c8 fix: suggestion with invalid syntax in no-promise-executor-return rule (#​17812) (Bryan Mishkin)

Documentation

  • 9007719 docs: update link in ways-to-extend.md (#​17839) (Amel SELMANE)
  • 3a22236 docs: Update README (GitHub Actions Bot)
  • 54c3ca6 docs: fix migration-guide example (#​17829) (Tanuj Kanti)
  • 4391b71 docs: check config comments in rule examples (#​17815) (Francesco Trotta)
  • fd28363 docs: remove mention about ESLint stylistic rules in readme (#​17810) (Zwyx)
  • 48ed5a6 docs: Update README (GitHub Actions Bot)

Chores

v8.55.0

Compare Source

Features

  • 8c9e6c1 feat: importNamePattern option in no-restricted-imports (#​17721) (Tanuj Kanti)

Documentation

  • 83ece2a docs: fix typo --rules -> --rule (#​17806) (OKURA Masafumi)
  • fffca5c docs: remove "Open in Playground" buttons for removed rules (#​17791) (Francesco Trotta)
  • a6d9442 docs: fix correct/incorrect examples of rules (#​17789) (Tanuj Kanti)
  • 383e999 docs: update and fix examples for no-unused-vars (#​17788) (Tanuj Kanti)
  • 5a8efd5 docs: add specific stylistic rule for each deprecated rule (#​17778) (Etienne)

Chores

v8.54.0

Compare Source

Features

  • a7a883b feat: for-direction rule add check for condition in reverse order (#​17755) (Angelo Annunziata)
  • 1452dc9 feat: Add suggestions to no-console (#​17680) (Joel Mathew Koshy)
  • 21ebf8a feat: update no-array-constructor rule (#​17711) (Francesco Trotta)

Bug Fixes

  • 98926e6 fix: Ensure that extra data is not accidentally stored in the cache file (#​17760) (Milos Djermanovic)
  • e8cf9f6 fix: Make dark scroll bar in dark theme (#​17753) (Pavel)
  • 3cbeaad fix: Use cwd constructor option as config basePath in Linter (#​17705) (Milos Djermanovic)

Documentation

  • becfdd3 docs: Make clear when rules are removed (#​17728) (Nicholas C. Zakas)
  • 05d6e99 docs: update "Submit a Merge Request" page (#​17712) (Francesco Trotta)
  • eb2279e docs: display info about deprecated rules (#​17749) (Percy Ma)
  • d245326 docs: Correct working in migrating plugin docs (#​17722) (Filip Tammergård)

Chores

v8.53.0

Compare Source

Features

  • 528e1c0 feat: Deprecate formatting rules (#​17696) (Nicholas C. Zakas)
  • c0b11dd feat: Add suggestions for no-prototype-builtins (#​17677) (Yonathan Randolph)

Bug Fixes

  • 1ad6257 fix: ensure that exit code for fatal errors is not overwritten (#​17683) (Milos Djermanovic)
  • b329ea7 fix: add ; after JSX nodes in no-object-constructor autofix (#​17672) (Francesco Trotta)

Documentation

  • ab8c60d docs: change position of return to top button (#​17688) (Tanuj Kanti)
  • 4fc44c0 docs: update twitter icon to new X icon (#​17687) (Tanuj Kanti)
  • 4164b2c docs: Update README (GitHub Actions Bot)
  • 8651895 docs: Fix tabs in rule examples (#​17653) (Francesco Trotta)
  • 3aec1c5 docs: explained rule fixers and suggestions (#​17657) (Josh Goldberg ✨)

Chores

v8.52.0

Compare Source

Features

  • 70648ee feat: report-unused-disable-directive to report unused eslint-enable (#​17611) (Yosuke Ota)

Bug Fixes

  • 5de9637 fix: Ensure shared references in rule configs are separated (#​17666) (Nicholas C. Zakas)
  • dcfe573 fix: add preceding semicolon in suggestions of no-object-constructor (#​17649) (Francesco Trotta)

Documentation

  • 476d58a docs: Add note about invalid CLI flags when using flat config. (#​17664) (Nicholas C. Zakas)
  • 660ed3a docs: Plugin flat config migration guide (#​17640) (Nicholas C. Zakas)
  • a58aa20 docs: fix examples for several rules (#​17645) (Milos Djermanovic)
  • 179929b docs: Remove trailing newline from the code of Playground links (#​17641) (Francesco Trotta)
  • f8e5c30 docs: Update README (GitHub Actions Bot)
  • b7ef2f3 docs: Enable pretty code formatter output (#​17635) (Nicholas C. Zakas)
  • 0bcb9a8 docs: Fix syntax errors in rule examples (#​17633) (Francesco Trotta)
  • 61b9083 docs: Make no-continue example code work (#​17643) (Zhongyuan Zhou)
  • 9fafe45 docs: upgrade to 11ty 2.0 (#​17632) (Percy Ma)
  • ff8e4bf docs: Update README (GitHub Actions Bot)
  • fab249a docs: Update README (GitHub Actions Bot)
  • 392305b docs: Update no-irregular-whitespace and fix examples (#​17626) (Francesco Trotta)
  • 6b8acfb docs: Add real whitespace to no-trailing-spaces examples (#​17630) (Francesco Trotta)
  • 1000187 docs: Fix examples in unicode-bom (#​17631) (Francesco Trotta)
  • 000290c docs: Update README (GitHub Actions Bot)

Chores

v8.51.0

Compare Source

Features

  • 0a9c433 feat: Add --no-warn-ignored CLI option for flat config (#​17569) (Domantas Petrauskas)
  • 977e67e feat: logical-assignment-operators to report expressions with 3 operands (#​17600) (Yosuke Ota)

Bug Fixes

  • f976b2f fix: make rule severity case-sensitive in flat config (#​17619) (Milos Djermanovic)
  • 0edfe36 fix: Ensure crash error messages are not duplicated (#​17584) (Nicholas C. Zakas)
  • dd79abc fix: eslint-disable to be able to parse quoted rule names (#​17612) (Yosuke Ota)
  • d2f6801 fix: Ensure correct code path for && followed by ?? (#​17618) (Nicholas C. Zakas)

Documentation

  • ee5be81 docs: default to sourceType: "module" in rule examples (#​17615) (Francesco Trotta)
  • 1aa26df docs: Add more examples for multiline-ternary (#​17610) (George Ashiotis)
  • 47d0b44 docs: Update README (GitHub Actions Bot)
  • dbf831e docs: use generated og image (#​17601) (Percy Ma)
  • 1866da5 docs: Update README (GitHub Actions Bot)

Chores

v8.50.0

Compare Source

Features

  • 27d5a9e feat: add suggestions to array-callback-return (#​17590) (Tanuj Kanti)
  • f9082ff feat: flat-rule-tester make sure default config always matches (#​17585) (fnx)
  • 83914ad feat: Implement SourceCode#applyInlineConfig() (#​17351) (Nicholas C. Zakas)
  • 22a5582 feat: add rule no-object-constructor, deprecate no-new-object (#​17576) (Francesco Trotta)
  • 85a3d9e feat: allowVoid option in array-callback-return (#​17564) (Tanuj Kanti)

Bug Fixes

  • cc4d26b fix: Ensure deprecated context.parserServices warns (#​17593) (Nicholas C. Zakas)
  • 1ea4cfb fix: Ensure all RuleTester tests all deprecated context methods (#​17587) (Nicholas C. Zakas)
  • aa1b657 fix: wrong suggestion and message in no-misleading-character-class (#​17571) (Yosuke Ota)

Documentation

  • 1800537 docs: Fix and standardize JSX code examples (#​17591) (Francesco Trotta)
  • 48a44a7 docs: Add correct/incorrect tags to prefer-arrow-callback (#​17589) (Francesco Trotta)
  • 20893d4 docs: fix incorrect tag's place (#​17575) (Tanuj Kanti)
  • bd7a71f docs: Update README (GitHub Actions Bot)

Chores

v8.49.0

Compare Source

Features

  • da09f4e feat: Implement onUnreachableCodePathStart/End (#​17511) (Nicholas C. Zakas)
  • 32b2327 feat: Emit deprecation warnings in RuleTester (#​17527) (Nicholas C. Zakas)
  • acb7df3 feat: add new enforce option to lines-between-class-members (#​17462) (Nitin Kumar)

Documentation

  • ecfb54f docs: Update README (GitHub Actions Bot)
  • de86b3b docs: update no-promise-executor-return examples (#​17529) (Nitin Kumar)
  • 032c4b1 docs: add typescript template (#​17500) (James)
  • cd7da5c docs: Update README (GitHub Actions Bot)

Chores

v8.48.0

Compare Source

Features

  • 1fbb3b0 feat: correct update direction in for-direction (#​17483) (Francesco Trotta)
  • d73fbf2 feat: rule tester do not create empty valid or invalid test suites (#​17475) (fnx)
  • ee2f718 feat: Allow void in rule no-promise-executor-return (#​17282) (nopeless)

Bug Fixes

  • 7234f6a fix: update RuleTester JSDoc and deprecations (#​17496) (Jonas Berlin)

Documentation

  • 7a51d77 docs: no-param-reassign mention strict mode (#​17494) (Stephen Hardy)
  • 9cd7ac2 docs: add fetch script to package.json conventions (#​17459) (Nitin Kumar)
  • cab21e6 docs: advice for inline disabling of rules (#​17458) (Ashish Yadav)
  • 056499d docs: fix example of flat config from plugin (#​17482) (Francesco Trotta)
  • 9e9edf9 docs: update documentation URL in error message (#​17465) (Nitin Kumar)

Chores

v8.47.0

Compare Source

Features

  • 53d7508 feat: update regex for methods with thisArg (#​17439) (Francesco Trotta)

Bug Fixes

  • 631648e fix: do not report on shadowed constructors in no-new-wrappers (#​17447) (Francesco Trotta)

Documentation

Chores

v8.46.0

Compare Source

Features

Bug Fixes

  • 9803c7c fix: FlatESLint#getRulesMetaForResults shouldn't throw on unknown rules (#​17393) (Milos Djermanovic)
  • 42faa17 fix: Update no-loop-func to not overlap with no-undef (#​17358) (Matt Wilkinson)

Documentation

  • 4d474e3 docs: update with TypeScript info (#​17423) (James)
  • 091f44e docs: File extension named processor deprecation (#​17362) (Matt Wilkinson)
  • 9254a6c docs: Update README (GitHub Actions Bot)
  • 6d6dc51 docs: fix overlapping of open in playground button (#​17403) (Tanuj Kanti)
  • 7fc3a2c docs: Add private class features info to no-underscore-dangle (#​17386) (Matt Wilkinson)
  • da73e58 docs: Migrating eslint-env configuration comments (#​17390) (Francesco Trotta)
  • 80dffed docs: fix Ignoring Files section in config migration guide (#​17392) (Milos Djermanovic)
  • 8a9abb7 docs: Update README (GitHub Actions Bot)
  • 7e9be4b docs: Update README (GitHub Actions Bot)
  • 0b0bbe0 docs: Update README (GitHub Actions Bot)

Chores

  • d1eb7e4 chore: Update ecosystem dependencies (#​17427) (Nicholas C. Zakas)
  • fab9e97 chore: package.json update for eslint-config-eslint release (ESLint Jenkins)
  • 6246711 chore: package.json update for @​eslint/js release (ESLint Jenkins)
  • 0aa0bc3 chore: Add MRs to triage project (#​17421) (Nicholas C. Zakas)

v8.45.0

Compare Source

Features

  • cdd063c feat: Expose LegacyESLint in unsupported API (#​17341) (Nicholas C. Zakas)
  • d34abe5 feat: fix indent rule for else-if (#​17318) (Milos Djermanovic)

Bug Fixes

  • b79b6fb fix: Fix suggestion message in no-useless-escape (#​17339) (Francesco Trotta)
  • c667055 fix: provide unique fix and fix.range objects in lint messages (#​17332) (Milos Djermanovic)

Documentation

  • 89f3225 docs: add playground links to correct and incorrect code blocks (#​17306) (Josh Goldberg ✨)
  • f8892b5 docs: Expand rule option schema docs (#​17198) (Matt Wilkinson)
  • 8bcbf11 docs: Config Migration Guide (#​17230) (Ben Perlmutter)
  • bb30908 docs: Update README (GitHub Actions Bot)
  • 84d243b docs: Update README (GitHub Actions Bot)
  • b762632 docs: Update README (GitHub Actions Bot)
  • 138c096 docs: add more prefer-destructuring examples with array destructuring (#​17330) (Milos Djermanovic)
  • 1fc50a8 docs: max-len rule code and tabWidth as positional arguments (#​17331) (Jesús Leganés-Combarro)

Chores

v8.44.0

Compare Source

Features

  • 1766771 feat: add es2023 and es2024 environments (#​17328) (Milos Djermanovic)
  • 4c50400 feat: add ecmaVersion: 2024, regexp v flag parsing (#​17324) (Milos Djermanovic)
  • 4d411e4 feat: add ternaryOperandBinaryExpressions option to no-extra-parens rule (#​17270) (Percy Ma)
  • c8b1f4d feat: Move parserServices to SourceCode (#​17311) (Milos Djermanovic)
  • ef6e24e feat: treat unknown nodes as having the lowest precedence (#​17302) (Brad Zacher)
  • 1866e1d feat: allow flat config files to export a Promise (#​17301) (Milos Djermanovic)

Bug Fixes

  • a36bcb6 fix: no-unused-vars false positive with logical assignment operators (#​17320) (Gweesin Chan)
  • 7620b89 fix: Remove no-unused-labels autofix before potential directives (#​17314) (Francesco Trotta)
  • 391ed38 fix: Remove no-extra-semi autofix before potential directives (#​17297) (Francesco Trotta)

Documentation

Chores

v8.43.0

Compare Source

Features

  • 14581ff feat: directive prologue detection and autofix condition in quotes (#​17284) (Francesco Trotta)
  • e50fac3 feat: add declaration loc to message in block-scoped-var (#​17252) (Milos Djermanovic)
  • 1b7faf0 feat: add skipJSXText option to no-irregular-whitespace rule (#​17182) (Azat S)

Bug Fixes

  • 5338b56 fix: normalize cwd passed to ESLint/FlatESLint constructor (#​17277) (Milos Djermanovic)
  • 54383e6 fix: Remove no-extra-parens autofix for potential directives (#​17022) (Francesco Trotta)

Documentation

Chores

v8.42.0

Compare Source

Features

  • b8448ff feat: correct no-useless-return behaviour in try statements (#​16996) (Nitin Kumar)

Bug Fixes

  • a589636 fix: Config with ignores and without files should not always apply (#​17181) (Milos Djermanovic)
  • c4fad17 fix: Correct ignore message for "node_modules" subfolders (#​17217) (Francesco Trotta)

Documentation

  • 01d7142 docs: Update README (GitHub Actions Bot)
  • e5182b7 docs: Update README (GitHub Actions Bot)

Chores

v8.41.0

Compare Source

Features

  • 880a431 feat: change default ignore pattern to **/node_modules/ in flat config (#​17184) (Milos Djermanovic)
  • 8bf5505 feat: expose shouldUseFlatConfig (#​17169) (Connor Prussin)

Bug Fixes

  • 4f5440d fix: incorrect warning message for ignored dotfiles (#​17196) (Milos Djermanovic)
  • 94da96c fix: unify LintMessage type (#​17076) (Brandon Mills)
  • 0c415cd fix: validate ignorePatterns constructor option in FlatESLint class (#​17139) (Milos Djermanovic)
  • 9682d66 fix: switch grapheme-splitter to graphemer (#​17160) (fisker Cheung)

Documentation

  • 7709b14 docs: Update README (GitHub Actions Bot)
  • 7f183e0 docs: Update triage process description (#​17157) (Nicholas C. Zakas)
  • b68346b docs: fix license to reflect relicensing of jshint (#​17165) (Stefan Bischof)

Chores

v8.40.0

Compare Source

Features

  • 5db7808 feat: improve flat config errors for invalid rule options and severities (#​17140) (Josh Goldberg ✨)
  • f5574dc feat: Add findConfigFile() method to FlatESLint (#​17142) (Nicholas C. Zakas)
  • e52b98b feat: add sourceCode property to the rule context (#​17107) (Nitin Kumar)
  • 1468f5b feat: add physicalFilename property to the rule context (#​17111) (Nitin Kumar)
  • 0df4d4f feat: add cwd to rule context (#​17106) (Nitin Kumar)
  • 52018f2 feat: add filename property to the rule context (#​17108) (Nitin Kumar)
  • 559ff4e feat: add new omitLastInOneLineClassBody option to the semi rule (#​17105) (Nitin Kumar)

Bug Fixes

  • f076e54 fix: Ensure FlatESLint#findConfigFile() doesn't throw. (#​17151) (Nicholas C. Zakas)

Documentation

  • e980bf3 docs: Update README (GitHub Actions Bot)
  • e92a6fc docs: Update README (GitHub Actions Bot)
  • af5fe64 docs: Fix custom rule schema docs (#​17115) (Adam Jones)
  • 4a352a9 docs: explain how to include predefined globals (#​17114) (Marcus Wyatt)
  • 5ea15d9 docs: add mastodon link in readme (#​17110) (唯然)

Chores

v8.39.0

Compare Source

Features

  • 3f7af9f feat: Implement SourceCode#markVariableAsUsed() (#​17086) (Nicholas C. Zakas)

Documentation

  • 6987dc5 docs: Fix formatting in Custom Rules docs (#​17097) (Milos Djermanovic)
  • 4ee92e5 docs: Update README (GitHub Actions Bot)
  • d8e9887 docs: Custom Rules cleanup/expansion (#​16906) (Ben Perlmutter)
  • 1fea279 docs: Clarify how to add to tsc agenda (#​17084) (Nicholas C. Zakas)
  • 970ef1c docs: Update triage board location (Nicholas C. Zakas)
  • 6d8bffd docs: Update README (GitHub Actions Bot)

Chores

v8.38.0

Compare Source

Features

  • a1d561d feat: Move getDeclaredVariables and getAncestors to SourceCode (#​17059) (Nicholas C. Zakas)

Bug Fixes

  • 1c1ece2 fix: do not report on RegExp(...args) in require-unicode-regexp (#​17037) (Francesco Trotta)

Documentation

  • 7162d34 docs: Mention new config system is complete (#​17068) (Nicholas C. Zakas)
  • 0fd6bb2 docs: Update README (GitHub Actions Bot)
  • c83531c docs: Update/remove external links, eg. point to eslint-community (#​17061) (Pelle Wessman)
  • a3aa6f5 docs: Clarify no-div-regex rule docs (#​17051) (Francesco Trotta)
  • b0f11cf docs: Update README (GitHub Actions Bot)
  • da8d52a docs: Update the second object instance for the "no-new" rule (#​17020) (Ahmadou Waly NDIAYE)
  • 518130a docs: switch language based on current path (#​16687) (Percy Ma)
  • 24206c4 docs: Update README (GitHub Actions Bot)

Chores

v8.37.0

Compare Source

Features

Bug Fixes

  • 619f3fd fix: correctly handle null default config in RuleTester (#​17023) (Brad Zacher)
  • 1fbf118 fix: getFirstToken/getLastToken on comment-only node (#​16889) (Francesco Trotta)
  • 129e252 fix: Fix typo in logical-assignment-operators rule description (#​17000) (Francesco Trotta)

Documentation

Chores

v8.36.0

Compare Source

Features

Bug Fixes

  • 92c1943 fix: correctly iterate files matched by glob patterns (#​16831) (Nitin Kumar)

Documentation

  • b98fdd4 docs: Update README (GitHub Actions Bot)
  • caf08ce docs: fix estree link in custom formatters docs (#​16967) (Milos Djermanovic)
  • 3398431 docs: Custom Parsers cleanup/expansion (#​16887) (Ben Perlmutter)
  • 19d3531 docs: Update README (GitHub Actions Bot)
  • b09a512 docs: detect and fix broken links (#​16837) (Nitin Kumar)

Chores

v8.35.0

Compare Source

Features

  • 8e34a04 feat: add afterHashbangComment option to lines-around-comment rule (#​16920) (SUZUKI Sosuke)
  • c8c0c71 feat: Move all and recommended configs into package. (#​16844) (Nicholas C. Zakas)
  • 71f6f0d feat: report more cases with ?? in no-constant-binary-expression (#​16826) (Daiki Nishikawa)

Bug Fixes

Documentation

Chores

v8.34.0

Compare Source

Features

  • 9b2fcf7 feat: array-callback-return supports Array.prototype.toSorted (#​16845) (SUZUKI Sosuke)

Bug Fixes

  • 923f61d fix: false positive with assignment in no-extra-parens (#​16872) (Francesco Trotta)

Documentation

Chores

v8.33.0

Compare Source

Features

  • 2cc7954 feat: add restrictDefaultExports option to no-restricted-exports rule (#​16785) (Nitin Kumar)

Documentation

  • 17f4be2 docs: Fix examples in no-multiple-empty-lines rule (#​16835) (jonz94)
  • 9c7cfe3 docs: 'Source Code' content in 'Set up Development Environment' page (#​16780) (Ben Perlmutter)
  • ede5c64 docs: Custom processors page (#​16802) (Ben Perlmutter)
  • 2620614 docs: Code of Conduct page (#​16781) (Ben Perlmutter)
  • 50a8efd docs: report a sec vulnerability page (#​16808) (Ben Perlmutter)
  • ed60afd docs: Update page titles, section landing pages, and side TOC (#​16760) (Ben Perlmutter)
  • 333c712 docs: add background to code-path-diagrams for dark-mode (#​16822) (Tanuj Kanti)
  • f5f7b9b docs: Update README (GitHub Actions Bot)
  • 2aa4f5f docs: no-constant-condition: Add multi-comparison example (#​16776) (Sebastian Simon)
  • 40287db docs: Remove Google Group icon (#​16779) (Nicholas C. Zakas)
  • ea10ca5 docs: 'a .eslint' -> 'an .eslint' for consistency (#​16809) (Ben Perlmutter)
  • 3be0748 docs: add example for nodejs lintText api (#​16789) (Siva K)
  • ce4f5ff docs: Replace removed related rules with a valid rule (#​16800) (Ville Saalo)

v8.32.0

Compare Source

Features

  • fc20f24 feat: add suggestions for redundant wrapping in prefer-regex-literals (#​16658) (YeonJuan)

Bug Fixes

Documentation

  • 17b65ad docs: IA Update page URL move (#​16665) (Ben Perlmutter)
  • 5981296 docs: fix theme switcher button (#​16752) (Sam Chen)
  • 6669413 docs: deploy prerelease docs under the /docs/next/ path (#​16541) (Nitin Kumar)
  • 78ecfe0 docs: use inline code for rule options name (#​16768) (Percy Ma)
  • fc2ea59 docs: Update README (GitHub Actions Bot)
  • 762a872 docs: Update README (GitHub Actions Bot)

Chores

  • 2952d6e chore: sync templates/*.md files with issue templates (#​16758) (gfyoung)
  • 3e34418 chore: Add new issues to triage project (#​16740) (Nicholas C. Zakas)

v8.31.0

Compare Source

Features

  • 52c7c73 feat: check assignment patterns in no-underscore-dangle (#​16693) (Milos Djermanovic)
  • b401cde feat: add options to check destructuring in no-underscore-dangle (#​16006) (Morten Kaltoft)
  • 30d0daf feat: group properties with values in parentheses in key-spacing (#​16677) (Francesco Trotta)

Bug Fixes

  • 35439f1 fix: correct syntax error in prefer-arrow-callback autofix (#​16722) (Francesco Trotta)
  • 87b2470 fix: new instance of FlatESLint should load latest config file version (#​16608) (Milos Djermanovic)

Documentation

Chores

v8.30.0

Compare Source

Features

Bug Fixes

  • 1a327aa fix: Ensure flat config unignores work consistently like eslintrc (#​16579) (Nicholas C. Zakas)
  • 9b8bb72 fix: autofix recursive functions in no-var (#​16611) (Milos Djermanovic)

Documentation

Chores

v8.29.0

Compare Source

Features

  • 49a07c5 feat: add allowParensAfterCommentPattern option to no-extra-parens (#​16561) (Nitin Kumar)
  • e6a865d feat: prefer-named-capture-group add suggestions (#​16544) (Josh Goldberg)
  • a91332b feat: In no-invalid-regexp validate flags also for non-literal patterns (#​16583) (trosos)

Documentation

Chores

v8.28.0

Compare Source

Features

  • 63bce44 feat: add ignoreClassFieldInitialValues option to no-magic-numbers (#​16539) (Milos Djermanovic)
  • 8385ecd feat: multiline properties in rule key-spacing with option align (#​16532) (Francesco Trotta)
  • a4e89db feat: no-obj-calls support Intl (#​16543) (Sosuke Suzuki)

Bug Fixes

  • c50ae4f fix: Ensure that dot files are found with globs. (#​16550) (Nicholas C. Zakas)
  • 9432b67 fix: throw error for first unmatched pattern (#​16533) (Milos Djermanovic)
  • e76c382 fix: allow * 1 when followed by / in no-implicit-coercion (#​16522) (Milos Djermanovic)

Documentation

Chores

v8.27.0

Compare Source

Features

  • f14587c feat: new no-new-native-nonconstructor rule (#​16368) (Sosuke Suzuki)
  • 978799b feat: add new rule no-empty-static-block (#​16325) (Sosuke Suzuki)
  • 69216ee feat: no-empty suggest to add comment in empty BlockStatement (#​16470) (Nitin Kumar)
  • 319f0a5 feat: use context.languageOptions.ecmaVersion in core rules (#​16458) (Milos Djermanovic)

Bug Fixes

  • c3ce521 fix: Ensure unmatched glob patterns throw an error (#​16462) (Nicholas C. Zakas)
  • 886a038 fix: handle files with unspecified path in getRulesMetaForResults (#​16437) (Francesco Trotta)

Documentation

  • ce93b42 docs: Stylelint property-no-unknown (#​16497) (Nick Schonning)
  • d2cecb4 docs: Stylelint declaration-block-no-shorthand-property-overrides (#​16498) (Nick Schonning)
  • 0a92805 docs: stylelint color-hex-case (#​16496) (Nick Schonning)
  • 74a5af4 docs: fix stylelint error (#​16491) (Milos Djermanovic)
  • 324db1a docs: explicit stylelint color related rules (#​16465) (Nick Schonning)
  • 94dc4f1 docs: use Stylelint for HTML files (#​16468) (Nick Schonning)
  • cc6128d docs: enable stylelint declaration-block-no-duplicate-properties (#​16466) (Nick Schonning)
  • d03a8bf docs: Add heading to justification explanation (#​16430) (Maritaria)
  • 8a15968 docs: add Stylelint configuration and cleanup (#​16379) (Nick Schonning)
  • 9b0a469 docs: note commit messages don't support scope (#​16435) (Andy Edwards)
  • 1581405 docs: improve context.getScope() docs (#​16417) (Ben Perlmutter)
  • b797149 docs: update formatters template (#​16454) (Milos Djermanovic)
  • 5ac4de9 docs: fix link to formatters on the Core Concepts page (#​16455) (Vladislav)
  • 33313ef docs: core-concepts: fix link to semi rule (#​16453) (coderaiser)

v8.26.0

Compare Source

Features

  • 4715787 feat: check Object.create() in getter-return (#​16420) (Yuki Hirasawa)
  • 28d1902 feat: no-implicit-globals supports exported block comment (#​16343) (Sosuke Suzuki)
  • e940be7 feat: Use ESLINT_USE_FLAT_CONFIG environment variable for flat config (#​16356) (Tomer Aberbach)
  • dd0c58f feat: Swap out Globby for custom globbing solution. (#​16369) (Nicholas C. Zakas)

Bug Fixes

  • df77409 fix: use baseConfig constructor option in FlatESLint (#​16432) (Milos Djermanovic)
  • 33668ee fix: Ensure that glob patterns are matched correctly. (#​16449) (Nicholas C. Zakas)
  • 740b208 fix: ignore messages without a ruleId in getRulesMetaForResults (#​16409) (Francesco Trotta)
  • 8f9759e fix: --ignore-pattern in flat config mode should be relative to cwd (#​16425) (Milos Djermanovic)
  • 325ad37 fix: make getRulesMetaForResults return a plain object in trivial case (#​16438) (Francesco Trotta)
  • a2810bc fix: Ensure that directories can be unignored. (#​16436) (Nicholas C. Zakas)
  • 35916ad fix: Ensure unignore and reignore work correctly in flat config. (#​16422) (Nicholas C. Zakas)

Documentation

  • 651649b docs: Core concepts page (#​16399) (Ben Perlmutter)
  • 631cf72 docs: note --ignore-path not supported with flat config (#​16434) (Andy Edwards)
  • 1692840 docs: fix syntax in examples for new config files (#​16427) (Milos Djermanovic)
  • d336cfc docs: Document extending plugin with new config (#​16394) (Ben Perlmutter)

Chores

v8.25.0

Compare Source

Features

  • 173e820 feat: Pass --max-warnings value to formatters (#​16348) (Brandon Mills)
  • 6964cb1 feat: remove support for ignore files in FlatESLint (#​16355) (Milos Djermanovic)
  • 1cc4b3a feat: id-length counts graphemes instead of code units (#​16321) (Sosuke Suzuki)

Documentation

Chores

v8.24.0

Compare Source

Features

  • 1729f9e feat: account for sourceType: "commonjs" in the strict rule (#​16308) (Milos Djermanovic)
  • b0d72c9 feat: add rule logical-assignment-operators (#​16102) (fnx)
  • f02bcd9 feat: array-callback-return support findLast and findLastIndex (#​16314) (Sosuke Suzuki)

Documentation

Chores

v8.23.1

Compare Source

Bug Fixes

  • b719893 fix: Upgrade eslintrc to stop redefining plugins (#​16297) (Brandon Mills)
  • 734b54e fix: improve autofix for the prefer-const rule (#​16292) (Nitin Kumar)
  • 6a923ff fix: Ensure that glob patterns are normalized (#​16287) (Nicholas C. Zakas)
  • c6900f8 fix: Ensure globbing doesn't include subdirectories (#​16272) (Nicholas C. Zakas)

Documentation

  • 16cba3f docs: fix mobile double tap issue (#​16293) (Sam Chen)
  • e098b5f docs: keyboard control to search results (#​16222) (Shanmughapriyan S)
  • 1b5b2a7 docs: add Consolas font and prioritize resource loading (#​16225) (Amaresh S M)
  • 1ae8236 docs: copy & use main package version in docs on release (#​16252) (Jugal Thakkar)
  • 279f0af docs: Improve id-denylist documentation (#​16223) (Mert Ciflikli)

Chores

v8.23.0

Compare Source

Features

  • 3e5839e feat: Enable eslint.config.js lookup from CLI (#​16235) (Nicholas C. Zakas)
  • 30b1a2d feat: add allowEmptyCase option to no-fallthrough rule (#​15887) (Amaresh S M)
  • 43f03aa feat: no-warning-comments support comments with decoration (#​16120) (Lachlan Hunt)

Documentation

Chores

v8.22.0

Compare Source

Features

  • 2b97607 feat: Implement caching for FlatESLint (#​16190) (Nicholas C. Zakas)
  • fd5d3d3 feat: add methodsIgnorePattern option to object-shorthand rule (#​16185) (Milos Djermanovic)

Documentation

Chores

  • 10a6e0e chore: remove deploy workflow for playground (#​16186) (Milos Djermanovic)

v8.21.0

Compare Source

Features

  • 7b43ea1 feat: Implement FlatESLint (#​16149) (Nicholas C. Zakas)
  • 92bf49a feat: improve the key width calculation in key-spacing rule (#​16154) (Nitin Kumar)
  • c461542 feat: add new allowLineSeparatedGroups option to the sort-keys rule (#​16138) (Nitin Kumar)
  • 1cdcbca feat: add deprecation warnings for legacy API in RuleTester (#​16063) (Nitin Kumar)

Bug Fixes

  • 0396775 fix: lines-around-comment apply allowBlockStart for switch statements (#​16153) (Nitin Kumar)

Documentation

Chores

v8.20.0

Compare Source

Features

Bug Fixes

  • 30be0ed fix: no-warning-comments rule escapes special RegEx characters in terms (#​16090) (Lachlan Hunt)
  • bfe5e88 fix: ignore spacing before ] and } in comma-spacing (#​16113) (Milos Djermanovic)

Documentation

Chores

  • bbf8df4 chore: Mark autogenerated release blog post as draft (#​16130) (Nicholas C. Zakas)
  • eee4306 chore: update internal lint dependencies (#​16088) (Bryan Mishkin)
  • 9615a42 chore: update formatter examples template to avoid markdown lint error (#​16085) (Milos Djermanovic)
  • 62541ed chore: fix markdown linting error (#​16083) (唯然)

v8.19.0

Compare Source

Features

  • 7023628 feat: add importNames support for patterns in no-restricted-imports (#​16059) (Brandon Scott)
  • 472c368 feat: fix handling of blockless with statements in indent rule (#​16068) (Milos Djermanovic)

Bug Fixes

  • fc81848 fix: throw helpful exception when rule has wrong return type (#​16075) (Bryan Mishkin)

Documentation

  • 3ae0574 docs: Remove duplicate rule descriptions (#​16052) (Amaresh S M)
  • f50cf43 docs: Add base href to each page to fix relative URLs (#​16046) (Nicholas C. Zakas)
  • ae4b449 docs: make logo link clickable on small width screens (#​16058) (Milos Djermanovic)
  • 280f898 docs: use only fenced code blocks (#​16044) (Milos Djermanovic)
  • f5d63b9 docs: add listener only if element exists (#​16045) (Amaresh S M)
  • 8b639cc docs: add missing migrating-to-8.0.0 in the user guide (#​16048) (唯然)
  • b8e68c1 docs: Update release process (#​16036) (Nicholas C. Zakas)
  • 6d0cb11 docs: remove table of contents from markdown text (#​15999) (Nitin Kumar)

Chores

v8.18.0

Compare Source

Features

  • a6273b8 feat: account for rule creation time in performance reports (#​15982) (Nitin Kumar)

Bug Fixes

  • f364d47 fix: Make no-unused-vars treat for..of loops same as for..in loops (#​15868) (Alex Bass)

Documentation

  • 4871047 docs: Update analytics, canonical URL, ads (#​15996) (Nicholas C. Zakas)
  • cddad14 docs: Add correct/incorrect containers (#​15998) (Nicholas C. Zakas)
  • b04bc6f docs: Add rules meta info to rule pages (#​15902) (Nicholas C. Zakas)
  • 1324f10 docs: unify the wording referring to optional exception (#​15893) (Abdelrahman Elkady)
  • ad54d02 docs: add missing trailing slash to some internal links (#​15991) (Milos Djermanovic)
  • df7768e docs: Switch to version-relative URLs (#​15978) (Nicholas C. Zakas)
  • 21d6479 docs: change some absolute links to relative (#​15970) (Milos Djermanovic)
  • f31216a docs: Update README team and sponsors (ESLint Jenkins)

Build Related

  • ed49f15 build: remove unwanted parallel and image-min for dev server (#​15986) (Strek)

Chores

  • f6e2e63 chore: fix 'replaced by' rule list (#​16007) (Milos Djermanovic)
  • d94dc84 chore: remove unused deprecation warnings (#​15994) (Francesco Trotta)
  • cdcf11e chore: fix versions link (#​15995) (Milos Djermanovic)
  • d2a8715 chore: add trailing slash to pathPrefix (#​15993) (Milos Djermanovic)
  • 58a1bf0 chore: tweak URL rewriting for local previews (#​15992) (Milos Djermanovic)
  • 80404d2 chore: remove docs deploy workflow (#​15984) (Nicholas C. Zakas)
  • 71bc750 chore: Set permissions for GitHub actions (#​15971) (Naveen)
  • 90ff647 chore: avoid generating subdirectories for each page on new docs site (#​15967) (Milos Djermanovic)

v8.17.0

Compare Source

Features

  • 55319e1 feat: fix indent bug with semicolon-first style (#​15951) (Milos Djermanovic)
  • f6d7920 feat: add allowNamedExports option to no-use-before-define (#​15953) (Milos Djermanovic)

Bug Fixes

Documentation

Chores

v8.16.0

Compare Source

Features

  • cab0c22 feat: add Unicode flag suggestion in no-misleading-character-class (#​15867) (Milos Djermanovic)
  • 38ae956 feat: check Unicode code point escapes in no-control-regex (#​15862) (Milos Djermanovic)
  • ee69cd3 feat: Update global variables (#​15871) (Sébastien Règne)

Bug Fixes

  • 3f09aab fix: function-paren-newline crash on "new new Foo();" (#​15850) (coderaiser)

Documentation

  • 050d5f4 docs: Static further reading links (#​15890) (Nicholas C. Zakas)
  • 36287c0 docs: fix absolute paths in related rules shortcode to work from /docs (#​15892) (Milos Djermanovic)
  • 90b6990 docs: fix absolute links in rule macro to work from /docs (#​15891) (Milos Djermanovic)
  • f437249 docs: Adjust docs site path prefix (#​15889) (Nicholas C. Zakas)
  • 6e16025 docs: update 'Related Rules' and 'Further Reading' in remaining rules (#​15884) (Milos Djermanovic)
  • 1d39f69 docs: remove confusing examples for no-mixed-operators (#​15875) (Milos Djermanovic)
  • 3071d76 docs: Fix some grammar issues (#​15837) (byodian)

Chores

v8.15.0

Compare Source

Features

  • ab37d3b feat: add enforceInClassFields option to no-underscore-dangle (#​15818) (Roberto Cestari)

Bug Fixes

  • 8bf9440 fix: "use strict" should not trigger strict mode in ES3 (#​15846) (Milos Djermanovic)

Documentation

  • 28116cc docs: update AST node names link in no-restricted-syntax (#​15843) (Milos Djermanovic)
  • 272965f docs: fix h1 heading on formatters page (#​15834) (Milos Djermanovic)
  • a798166 docs: update example for running individual rule tests (#​15833) (Milos Djermanovic)
  • 57e732b docs: mark SourceCode#getJSDocComment deprecated in working-with-rules (#​15829) (Milos Djermanovic)
  • 9a90abf docs: update docs directory in working-with-rules (#​15830) (Milos Djermanovic)
  • 810adda docs: add more examples for prefer-object-spread (#​15831) (coderaiser)
  • 06b1edb docs: clarify no-control-regex rule (#​15808) (Milos Djermanovic)
  • 9ecd42f docs: Fixed typo in code comment (#​15812) (Addison G)
  • de992b7 docs: remove links to 2fa document (#​15804) (Milos Djermanovic)
  • 5222659 docs: fix 'Related Rules' heading in no-constant-binary-expression (#​15799) (Milos Djermanovic)
  • e70ae81 docs: Update README team and sponsors (ESLint Jenkins)

Chores

v8.14.0

Compare Source

Features

  • ab6363d feat: Add rule no-constant-binary-expression (#​15296) (Jordan Eldredge)

Bug Fixes

  • 35fa1dd fix: allow project paths to have URL-encoded characters (#​15795) (Milos Djermanovic)
  • 413f1d5 fix: update astUtils.isDirectiveComment with globals and exported (#​15775) (Milos Djermanovic)

Build Related

Chores

  • 735458c chore: add static frontmatter to no-constant-binary-expression docs (#​15798) (Milos Djermanovic)
  • db28f2c chore: Add static frontmatter to docs (#​15782) (Nicholas C. Zakas)
  • 3bca59e chore: markdownlint autofix on commit (#​15783) (Nicholas C. Zakas)

v8.13.0

Compare Source

Features

  • 274acbd feat: fix no-eval logic for this in arrow functions (#​15755) (Milos Djermanovic)

Bug Fixes

  • 97b57ae fix: invalid operator in operator-assignment messages (#​15759) (Milos Djermanovic)

Documentation

  • c32482e docs: Typo in space-infix-ops docs (#​15754) (kmin-jeong)
  • f2c2d35 docs: disambiguate types FormatterFunction and LoadedFormatter (#​15727) (Francesco Trotta)

Chores

  • bb4c0d5 chore: Refactor docs to work with docs.eslint.org (#​15744) (Nicholas C. Zakas)
  • d36f12f chore: remove lib/init from eslint config (#​15748) (Milos Djermanovic)
  • a59a4e6 chore: replace trimLeft/trimRight with trimStart/trimEnd (#​15750) (Milos Djermanovic)

v8.12.0

Compare Source

Features

  • 685a67a feat: fix logic for top-level this in no-invalid-this and no-eval (#​15712) (Milos Djermanovic)

Chores

  • 18f5e05 chore: padding-line-between-statements remove useless additionalItems (#​15706) (Martin Sadovy)

v8.11.0

Compare Source

Features

  • 800bd25 feat: add destructuredArrayIgnorePattern option in no-unused-vars (#​15649) (Nitin Kumar)
  • 8933fe7 feat: Catch undefined and Boolean() in no-constant-condition (#​15613) (Jordan Eldredge)
  • f90fd9d feat: Add ESLint favicon to the HTML report document (#​15671) (Mahdi Hosseinzadeh)
  • 57b8a57 feat: valid-typeof always ban undefined (#​15635) (Zzzen)

Bug Fixes

  • 6814922 fix: escaping for square brackets in ignore patterns (#​15666) (Milos Djermanovic)
  • c178ce7 fix: extend the autofix range in comma-dangle to ensure the last element (#​15669) (Milos Djermanovic)

Documentation

  • c481cec docs: add fast-eslint-8 to atom integrations (userguide) (#​15695) (db developer)
  • d2255db docs: Add clarification about eslint-enable (#​15680) (dosisod)
  • 8b9433c docs: add object pattern to first section of computed-property-spacing (#​15679) (Milos Djermanovic)
  • de800c3 docs: link to minimatch docs added. (#​15688) (Gaurav Tewari)
  • 8f675b1 docs: sort-imports add single named import example (#​15675) (Arye Eidelman)

Chores

v8.10.0

Compare Source

Features

  • 6e2c325 feat: Add ignoreOnInitialization option to no-shadow rule (#​14963) (Soufiane Boutahlil)
  • 115cae5 feat: --debug prints time it takes to parse a file (#​15609) (Bartek Iwańczuk)
  • 345e70d feat: Add onlyOneSimpleParam option to no-confusing-arrow rule (#​15566) (Gautam Arora)

Bug Fixes

  • cdc5802 fix: Avoid __dirname for built-in configs (#​15616) (DoZerg)
  • ee7c5d1 fix: false positive in camelcase with combined properties (#​15581) (Nitin Kumar)

Documentation

Chores

postcss/postcss-import

v16.1.0

Compare Source

  • Allow bundling URLs with fragments (useful for Vite users) (#​560, #​561)

v16.0.1

Compare Source

  • Fix crash when handling some @imports with media conditions (#​557, #​558)

v16.0.0

Compare Source

  • BREAKING: Require Node.js v18+ (#​550, #​551)
  • BREAKING: Signifigant rewrite, with small behavioral tweaks in a number of edge cases
  • Support for @supports conditional imports added (#​532, #​548)
  • When skipDuplicates is false, handles import cycles correctly (#​462, #​535)
  • Add warnOnEmpty option to allow disabling warnings for empty files (#​84, #​541)
  • Use proper node.errors (#​518, #​540)

Huge thanks to @romainmenke for all the hard work he put into this release.

v15.1.0

Compare Source

  • Add data: URL support (this is not useful for most consumers) (#​515)

v15.0.1

Compare Source

v15.0.0

Compare Source

  • BREAKING: Require Node.js v14+ (#​497)
  • BREAKING: Require nameLayer option for handling anonymous layers (#​496)
  • Fix handling of @media queries inside layered imports (#​495, #​496)

v14.1.0

Compare Source

csstools/postcss-plugins

v10.0.2

Compare Source

August 18, 2024

v10.0.1

Compare Source

August 14, 2024

v10.0.0

Compare Source

August 3, 2024

Read more about the specific changes on our wiki

v9.6.0

Compare Source

July 7, 2024

v9.5.16

Compare Source

July 6, 2024

v9.5.15

Compare Source

June 29, 2024

v9.5.14

Compare Source

May 23, 2024

v9.5.13

Compare Source

May 13, 2024

v9.5.12

Compare Source

May 11, 2024

v9.5.11

Compare Source

May 4, 2024

v9.5.10

Compare Source

May 4, 2024

v9.5.9

Compare Source

April 22, 2024

v9.5.8

Compare Source

April 21, 2024

v9.5.7

Compare Source

April 21, 2024

v9.5.6

Compare Source

April 18, 2024

v9.5.5

Compare Source

April 11, 2024

v9.5.4

Compare Source

April 2, 2024

v9.5.3

Compare Source

March 31, 2024

v9.5.2

Compare Source

March 17, 2024

v9.5.1

Compare Source

July 6, 2024

v9.5.0

Compare Source

March 6, 2024

v9.4.0

Compare Source

February 19, 2024

v9.3.0

Compare Source

October 31, 2023

v9.2.0

Compare Source

October 9, 2023

v9.1.4

Compare Source

September 18, 2023

v9.1.3

Compare Source

September 2, 2023

v9.1.2

Compare Source

August 28, 2023

v9.1.1

Compare Source

August 5, 2023

v9.1.0

Compare Source

July 24, 2023

v9.0.0

Compare Source

July 3, 2023

v8.5.1

Compare Source

June 21, 2023

  • Updated @csstools/postcss-media-minmax to 1.0.4 (patch)
  • Updated @csstools/postcss-media-queries-aspect-ratio-number-values to 1.0.4 (patch)
  • Updated postcss-custom-media to 9.1.5 (patch)

v8.5.0

Compare Source

June 14, 2023

  • Add warning when using the deprecated @nest rule
  • Updated @csstools/postcss-relative-color-syntax to 1.0.2 (patch)
  • Updated postcss-nesting to 11.3.0 (minor)

v8.4.2

Compare Source

June 1, 2023

  • Updated @csstools/postcss-progressive-custom-properties to 2.3.0 (minor)
  • Updated postcss-custom-properties to 13.2.0 (minor)
  • Updated @csstools/postcss-color-function to 2.2.3 (patch)
  • Updated @csstools/postcss-color-mix-function to 1.0.3 (patch)
  • Updated @csstools/postcss-gradients-interpolation-method to 3.0.6 (patch)
  • Updated @csstools/postcss-ic-unit to 2.0.4 (patch)
  • Updated @csstools/postcss-media-minmax to 1.0.3 (patch)
  • Updated @csstools/postcss-media-queries-aspect-ratio-number-values to 1.0.3 (patch)
  • Updated @csstools/postcss-oklab-function to 2.2.3 (patch)
  • Updated @csstools/postcss-relative-color-syntax to 1.0.1 (patch)
  • Updated postcss-color-functional-notation to 5.1.0 (minor)
  • Updated postcss-custom-media to 9.1.4 (patch)
  • Updated postcss-double-position-gradients to 4.0.4 (patch)
  • Updated postcss-lab-function to 5.2.3 (patch)

v8.4.1

Compare Source

May 19, 2023

v8.4.0

Compare Source

May 19, 2023

  • Added @csstools/postcss-relative-color-syntax Check the plugin README for usage details.
  • Updated cssdb to 7.6.0. (minor)
  • Updated @csstools/postcss-progressive-custom-properties to 2.2.0 (minor)
  • Updated @csstools/postcss-ic-unit to 2.0.3 (patch)
  • Updated @csstools/postcss-text-decoration-shorthand to 2.2.4 (patch)
  • Updated postcss-double-position-gradients to 4.0.3 (patch)
  • Updated @csstools/postcss-color-function to 2.2.2 (patch)
  • Updated @csstools/postcss-color-mix-function to 1.0.2 (patch)
  • Updated @csstools/postcss-gradients-interpolation-method to 3.0.5 (patch)
  • Updated @csstools/postcss-hwb-function to 2.2.2 (patch)
  • Updated @csstools/postcss-oklab-function to 2.2.2 (patch)
  • Updated postcss-lab-function to 5.2.2 (patch)

v8.3.3

Compare Source

May 19, 2023

  • Update plugin order to preserve more original values.
  • Fix exception on unknown features #​969
  • Updated @csstools/postcss-is-pseudo-class to 3.2.1 (patch)
  • Updated postcss-logical to 6.2.0 (minor)

v8.3.2

Compare Source

April 17, 2023

  • Updated @csstools/postcss-gradients-interpolation-method to 3.0.4 (patch)

v8.3.1

Compare Source

April 10, 2023

  • Updated @csstools/postcss-logical-viewport-units to 1.0.3 (patch)
  • Updated @csstools/postcss-media-minmax to 1.0.2 (patch)
  • Updated @csstools/postcss-media-queries-aspect-ratio-number-values to 1.0.2 (patch)
  • Updated @csstools/postcss-stepped-value-functions to 2.1.1 (patch)
  • Updated @csstools/postcss-trigonometric-functions to 2.1.1 (patch)
  • Updated postcss-custom-media to 9.1.3 (patch)
  • Updated postcss-custom-properties to 13.1.5 (patch)
  • Updated postcss-custom-selectors to 7.1.3 (patch)
  • Updated @csstools/postcss-color-function to 2.2.1 (patch)
  • Updated @csstools/postcss-color-mix-function to 1.0.1 (patch)
  • Updated @csstools/postcss-gradients-interpolation-method to 3.0.3 (patch)
  • Updated @csstools/postcss-hwb-function to 2.2.1 (patch)
  • Updated @csstools/postcss-oklab-function to 2.2.1 (patch)
  • Updated postcss-lab-function to 5.2.1 (patch)

v8.3.0

Compare Source

March 31, 2023

  • Replace postcss-media-minmax with @csstools/postcss-media-minmax Check the plugin README for usage details. We hope to revert this in the future when maintenance is resumed upstream.
  • Updated cssdb to 7.5.3 (patch)

v8.2.0

Compare Source

March 28, 2023

  • Added @csstools/postcss-gradients-interpolation-method Check the plugin README for usage details.
  • Updated cssdb to 7.5.2 (patch)

v8.1.0

Compare Source

March 25, 2023

  • Added @csstools/postcss-color-mix-function Check the plugin README for usage details.
  • Improve debug message format
  • Updated @csstools/postcss-cascade-layers to 3.0.1 (patch)
  • Updated @csstools/postcss-color-function to 2.2.0 (minor)
  • Updated @csstools/postcss-font-format-keywords to 2.0.2 (patch)
  • Updated @csstools/postcss-hwb-function to 2.2.0 (minor)
  • Updated @csstools/postcss-ic-unit to 2.0.2 (patch)
  • Updated @csstools/postcss-is-pseudo-class to 3.1.1 (minor)
  • Updated @csstools/postcss-logical-float-and-clear to 1.0.1 (patch)
  • Updated @csstools/postcss-logical-resize to 1.0.1 (patch)
  • Updated @csstools/postcss-logical-viewport-units to 1.0.2 (patch)
  • Updated @csstools/postcss-media-queries-aspect-ratio-number-values to 1.0.1 (patch)
  • Updated @csstools/postcss-nested-calc to 2.0.2 (patch)
  • Updated @csstools/postcss-normalize-display-values to 2.0.1 (patch)
  • Updated @csstools/postcss-oklab-function to 2.1.0 (minor)
  • Updated @csstools/postcss-progressive-custom-properties to 2.1.0 (minor)
  • Updated @csstools/postcss-scope-pseudo-class to 2.0.2 (patch)
  • Updated @csstools/postcss-stepped-value-functions to 2.1.0 (minor)
  • Updated @csstools/postcss-text-decoration-shorthand to 2.2.1 (minor)
  • Updated @csstools/postcss-trigonometric-functions to 2.1.0 (minor)
  • Updated @csstools/postcss-unset-value to 2.0.1 (patch)
  • Updated autoprefixer to 10.4.14 (patch)
  • Updated browserslist to 4.21.5 (patch)
  • Updated css-blank-pseudo to 5.0.2 (patch)
  • Updated css-has-pseudo to 5.0.2 (patch)
  • Updated css-prefers-color-scheme to 8.0.2 (patch)
  • Updated cssdb to 7.5.1 (minor)
  • Updated postcss-attribute-case-insensitive to 6.0.2 (patch)
  • Updated postcss-color-functional-notation to 5.0.2 (patch)
  • Updated postcss-color-hex-alpha to 9.0.2 (patch)
  • Updated postcss-color-rebeccapurple to 8.0.2 (patch)
  • Updated postcss-custom-media to 9.1.2 (patch)
  • Updated postcss-custom-properties to 13.1.4 (patch)
  • Updated postcss-custom-selectors to 7.1.2 (patch)
  • Updated postcss-dir-pseudo-class to 7.0.2 (patch)
  • Updated postcss-double-position-gradients to 4.0.2 (patch)
  • Updated postcss-focus-visible to 8.0.2 (patch)
  • Updated postcss-focus-within to 7.0.2 (patch)
  • Updated postcss-gap-properties to 4.0.1 (patch)
  • Updated postcss-image-set-function to 5.0.2 (patch)
  • Updated postcss-lab-function to 5.2.0 (minor)
  • Updated postcss-logical to 6.1.0 (minor)
  • Updated postcss-nesting to 11.2.1 (minor)
  • Updated postcss-opacity-percentage to 2.0.0 (major)
  • Updated postcss-overflow-shorthand to 4.0.1 (patch)
  • Updated postcss-page-break to 3.0.4 (patch)
  • Updated postcss-place to 8.0.1 (patch)
  • Updated postcss-pseudo-class-any-link to 8.0.2 (patch)
  • Updated postcss-selector-not to 7.0.1 (patch)

v8.0.1

Compare Source

January 28, 2023

  • Improve types declaration in package.json

v8.0.0

Compare Source

January 24, 2023

  • See the dedicated Wiki page for more information.
  • Added: TypeScript support.
  • Added @csstools/postcss-media-queries-aspect-ratio-number-values Check the plugin README for usage details.
  • Added @csstools/postcss-logical-float-and-clear Check the plugin README for usage details.
  • Added @csstools/postcss-logical-resize Check the plugin README for usage details.
  • Added @csstools/postcss-logical-viewport-units Check the plugin README for usage details.
  • Added logical option to control all logical plugins.
  • Added @csstools/postcss-scope-pseudo-class Check the plugin README for usage details.
  • Updated Support for Node v14+ (major).
  • Fixed: all-property and overflow-wrap-property now follow the preserve plugin option
  • Removed a workaround to consider blank-pseudo-class and prefers-color-scheme-query as stage: 1 features when using default options.
  • Removed postcss-env-function (breaking).
  • Removed importFrom and exportTo plugin options from multiple plugins. (breaking)
    • postcss-custom-media
    • postcss-custom-properties
    • postcss-custom-selectors
  • Breaking: enableClientSidePolyfills is now false by default (was true)
  • Updated @csstools/postcss-cascade-layers to 3.0.0 (major)
  • Updated @csstools/postcss-color-function to 2.0.0 (major)
  • Updated @csstools/postcss-font-format-keywords to 2.0.0 (major)
  • Updated @csstools/postcss-hwb-function to 2.0.0 (major)
  • Updated @csstools/postcss-ic-unit to 2.0.0 (major)
  • Updated @csstools/postcss-is-pseudo-class to 3.0.0 (major)
  • Updated @csstools/postcss-nested-calc to 2.0.0 (major)
  • Updated @csstools/postcss-normalize-display-values to 2.0.0 (major)
  • Updated @csstools/postcss-oklab-function to 2.0.0 (major)
  • Updated @csstools/postcss-scope-pseudo-class to 2.0.0 (major)
  • Updated @csstools/postcss-stepped-value-functions to 2.0.0 (major)
  • Updated @csstools/postcss-text-decoration-shorthand to 2.0.0 (major)
  • Updated @csstools/postcss-trigonometric-functions to 2.0.0 (major)
  • Updated @csstools/postcss-unset-value to 2.0.0 (major)
  • Updated css-blank-pseudo to 5.0.0 (major)
  • Updated css-has-pseudo to 5.0.0 (major)
  • Updated css-prefers-color-scheme to 8.0.0 (major)
  • Updated postcss-attribute-case-insensitive to 6.0.0 (major)
  • Updated postcss-color-functional-notation to 5.0.0 (major)
  • Updated postcss-color-hex-alpha to 9.0.0 (major)
  • Updated postcss-color-rebeccapurple to 8.0.0 (major)
  • Updated postcss-custom-media to 9.1.0 (major)
  • Updated postcss-custom-properties to 13.1.0 (minor)
  • Updated postcss-custom-selectors to 7.1.0 (minor)
  • Updated postcss-dir-pseudo-class to 7.0.0 (major)
  • Updated postcss-double-position-gradients to 4.0.0 (major)
  • Updated postcss-focus-visible to 8.0.0 (major)
  • Updated postcss-focus-within to 7.0.0 (major)
  • Updated postcss-gap-properties to 4.0.0 (major)
  • Updated postcss-image-set-function to 5.0.0 (major)
  • Updated postcss-lab-function to 5.0.0 (major)
  • Updated postcss-logical to 6.0.0 (major)
  • Updated postcss-nesting to 11.0.0 (major)
  • Updated postcss-overflow-shorthand to 4.0.0 (major)
  • Updated postcss-place to 8.0.0 (major)
  • Updated postcss-pseudo-class-any-link to 8.0.0 (major)
  • Updated postcss-selector-not to 7.0.0 (major)

v7.8.3

Compare Source

November 14, 2022

  • Update autoprefixer to 10.4.13 (patch)
  • Update browserlist to 4.21.4 (patch)
  • Update postcss-custom-properties to 12.1.10 (patch)
  • Update @csstools/postcss-cascade-layers to 1.1.1 (patch)

v7.8.2

Compare Source

September 15, 2022

  • Update @csstools/postcss-cascade-layers to 1.1.0 (minor)
  • Update autoprefixer to 10.4.11 (patch)
  • Update postcss-custom-properties to 12.1.9 (patch)
  • Update postcss-nesting to 10.2.0 (minor)

v7.8.1

Compare Source

September 7, 2022

  • Update cssdb to 7.0.1 (patch)
  • Update @csstools/postcss-cascade-layers to 1.0.6 (patch)

v7.8.0

Compare Source

August 16, 2022

  • Added @csstools/postcss-nested-calc
    Check the plugin README for usage details.
  • Added @csstools/postcss-text-decoration-shorthand
    Check the plugin README for usage details.
  • Update @csstools/postcss-cascade-layers to 1.0.5 (patch)
  • Update @csstools/postcss-color-function to 1.1.1 (patch)
  • Update @csstools/postcss-font-format-keywords to 1.0.1 (patch)
  • Update @csstools/postcss-hwb-function to 1.0.2 (patch)
  • Update @csstools/postcss-ic-unit to 1.0.1 (patch)
  • Update @csstools/postcss-is-pseudo-class to 2.0.7 (patch)
  • Update @csstools/postcss-normalize-display-values to 1.0.1 (patch)
  • Update @csstools/postcss-oklab-function to 1.1.1 (patch)
  • Update @csstools/postcss-stepped-value-functions to 1.0.1 (patch)
  • Update @csstools/postcss-trigonometric-functions to 1.0.2 (patch)
  • Update @csstools/postcss-unset-value to 1.0.2 (patch)
  • Update autoprefixer to 10.4.8 (patch)
  • Update browserslist to 4.21.3 (patch)
  • Update cssdb to 7.0.0 (major)
  • Update postcss-attribute-case-insensitive to 5.0.2 (patch)
  • Update postcss-color-functional-notation to 4.2.4 (patch)
  • Update postcss-color-rebeccapurple to 7.1.1 (patch)
  • Update postcss-dir-pseudo-class to 6.0.5 (patch)
  • Update postcss-double-position-gradients to 3.1.2 (patch)
  • Update postcss-gap-properties to 3.0.5 (patch)
  • Update postcss-image-set-function to 4.0.7 (patch)
  • Update postcss-lab-function to 4.2.1 (patch)
  • Update postcss-nesting to 10.1.10 (patch)
  • Update postcss-overflow-shorthand to 3.0.4 (patch)
  • Update postcss-place to 7.0.5 (patch)
  • Update postcss-pseudo-class-any-link to 7.1.6 (patch)
  • Update postcss-selector-not to 6.0.1 (patch)

v7.7.2

Compare Source

June 23, 2022

  • Fix op_mini all not working as a browser list.
  • Updated postcss-color-rebeccapurple to 7.1.0 (minor)
  • Updated browserslist to 4.21.0 (minor)
  • Updated @csstools/postcss-cascade-layers to 1.0.4 (patch)
  • Updated @csstools/postcss-is-pseudo-class to 2.0.6 (patch)
  • Updated postcss-color-hex-alpha to 8.0.4 (patch)
  • Updated postcss-custom-media to 8.0.2 (patch)
  • Updated postcss-custom-properties to 12.1.8 (patch)
  • Updated postcss-custom-selectors to 6.0.3 (patch)
  • Updated postcss-nesting to 10.1.9 (patch)
  • Updated postcss-pseudo-class-any-link to 7.1.5 (patch)

v7.7.1

Compare Source

June 3, 2022

  • Updated postcss-selector-not to 6.0.0 (major)
  • Updated @csstools/postcss-trigonometric-functions to 1.0.1 (patch)
  • Updated postcss-attribute-case-insensitive to 5.0.1 (patch)
  • Updated postcss-custom-media to 8.0.1 (patch)
  • Updated postcss-custom-selectors to 6.0.2 (patch)
  • Updated cssdb to 6.6.3 (patch)

v7.7.0

Compare Source

May 31, 2022

  • Added @csstools/postcss-trigonometric-functions
    Check the plugin README for usage details.
  • Updated @csstools/postcss-cascade-layers to 1.0.2 (patch)
  • Updated postcss-color-functional-notation to 4.2.3 (patch)
  • Updated postcss-nesting to 10.1.7 (patch)

v7.6.0

Compare Source

May 19, 2022

  • Added @csstools/postcss-cascade-layers
    Check the plugin README for usage details.
  • Updated @csstools/postcss-hwb-function to 1.0.1 (patch)
  • Updated @csstools/postcss-is-pseudo-class to 2.0.4 (patch)
  • Updated @csstools/postcss-unset-value to 1.0.1 (patch)
  • Updated postcss-nesting to 10.1.6 (patch)
  • Updated postcss-pseudo-class-any-link to 7.1.4 (patch)
  • Updated autoprefixer to 10.4.7 (patch)

v7.5.0

Compare Source

May 2, 2022

  • Added @csstools/postcss-unset-value
    Check the plugin README for usage details.
  • Added @csstools/postcss-stepped-value-functions
    Check the plugin README for usage details.
  • Updated cssdb to 6.6.0 (minor)
  • Updated autoprefixer to 10.4.6 (patch)

v7.4.4

Compare Source

April 26, 2022

  • Updated @csstools/postcss-color-function to 1.1.0 (minor)
  • Updated @csstools/postcss-is-pseudo-class to 2.0.2 (patch)
  • Updated @csstools/postcss-oklab-function to 1.1.0 (minor)
  • Updated autoprefixer to 10.4.5 (patch)
  • Updated browserslist to 4.20.3 (patch)
  • Updated postcss-custom-properties to 12.1.7 (patch)
  • Updated postcss-lab-function to 4.2.0 (minor)
  • Updated postcss-nesting to 10.1.4 (patch)
  • Updated postcss-pseudo-class-any-link to 7.1.2 (patch)

v7.4.3

Compare Source

March 19, 2022

  • Fix manually enabling a feature that doesn't meet the required vendor implementations. #​310
  • Updated postcss-clamp to 4.1.0 (minor)
  • Updated @csstools/postcss-color-function to 1.0.3 (patch)
  • Updated @csstools/postcss-is-pseudo-class to 2.0.1 (patch)
  • Updated @csstools/postcss-oklab-function to 1.0.2 (patch)
  • Updated @csstools/postcss-progressive-custom-properties to 1.3.0 (minor)
  • Updated autoprefixer to 10.4.4 (patch)
  • Updated browserslist to 4.20.2 (patch)
  • Updated cssdb to 6.5.0 (minor)
  • Updated postcss-custom-properties to 12.1.5 (patch)
  • Updated postcss-double-position-gradients to 3.1.1 (patch)
  • Updated postcss-env-function to 4.0.6 (patch)
  • Updated postcss-lab-function to 4.1.2 (patch)
  • Updated postcss-nesting to 10.1.3 (patch)
  • Remove internal patch for postcss-clamp
  • Document all features. csstools/postcss-preset-env#​156

see the list of features

v7.4.2

Compare Source

March 2, 2022

  • Adding internal patch for postcss-clamp to fix issue when clamp was being used with any other values along. #​274

v7.4.1

Compare Source

February 17, 2022

  • Updated postcss-clamp to 4.0.0 (major)

v7.4.0

Compare Source

February 16, 2022

  • Added @csstools/color-function
    Check the plugin README for usage details.
  • Added @csstools/oklab-function
    Check the plugin README for usage details.
  • Added @csstools/ic-unit
    Check the plugin README for usage details.
  • Updated @csstools/postcss-progressive-custom-properties to 1.2.0 (minor)
  • Updated cssdb to 6.3.1 (patch)
  • Updated postcss-double-position-gradients to 3.1.0 (minor)
  • Updated postcss-lab-function to 4.1.1 (patch)

v7.3.3

Compare Source

February 13, 2022

  • Updated cssdb to 6.3.0 (minor)

v7.3.2

Compare Source

February 12, 2022

  • Updated postcss-lab-function to 4.1.0 (minor)

postcss-lab-function now supports wide gamut colors and out of gamut color mapping.

  • Updated css-blank-pseudo to 3.0.3 (patch)
  • Updated css-has-pseudo to 3.0.4 (patch)
  • Updated cssdb to 6.2.1 (patch)
  • Updated postcss-color-functional-notation to 4.2.2 (patch)
  • Updated postcss-color-hex-alpha to 8.0.3 (patch)
  • Updated postcss-dir-pseudo-class to 6.0.4 (patch)
  • Updated postcss-double-position-gradients to 3.0.5 (patch)
  • Updated postcss-env-function to 4.0.5 (patch)
  • Updated postcss-focus-visible to 6.0.4 (patch)
  • Updated postcss-focus-within to 5.0.4 (patch)
  • Updated postcss-gap-properties to 3.0.3 (patch)
  • Updated postcss-image-set-function to 4.0.6 (patch)
  • Updated postcss-logical to 5.0.4 (patch)
  • Updated postcss-overflow-shorthand to 3.0.3 (patch)
  • Updated postcss-place to 7.0.4 (patch)
  • Updated postcss-pseudo-class-any-link to 7.1.1 (patch)
  • Updated @csstools/postcss-progressive-custom-properties to 1.1.0.
puppeteer/puppeteer

v23.2.2

Compare Source

v23.2.1

Compare Source

v23.2.0

Compare Source

v23.1.1

Compare Source

v23.1.0

Compare Source

v23.0.2

Compare Source

v23.0.1

Compare Source

v23.0.0

Compare Source

v22.15.0

Compare Source

v22.14.0

Compare Source

v22.13.1

Compare Source

v22.13.0

Compare Source

v22.12.1

Compare Source

v22.12.0

Compare Source

v22.11.2

Compare Source

v22.11.1

Compare Source

v22.11.0

Compare Source

v22.10.1

Compare Source

v22.10.0

Compare Source

v22.9.0

Compare Source

v22.8.2

Compare Source

v22.8.1

Compare Source

v22.8.0

Compare Source

v22.7.1

Compare Source

v22.7.0

Compare Source

v22.6.5

Compare Source

v22.6.4

Compare Source

v22.6.3

Compare Source

v22.6.2

Compare Source

v22.6.1

Compare Source

v22.6.0

Compare Source

v22.5.0

Compare Source

v22.4.1

Compare Source

v22.4.0

Compare Source

v22.3.0

Compare Source

v22.2.0

Compare Source

v22.1.0

Compare Source

v22.0.0

Compare Source

v21.11.0

Compare Source

v21.10.0

Compare Source

v21.9.0

Compare Source

v21.8.0

Compare Source

v21.7.0

Compare Source

v21.6.1

Compare Source

v21.6.0

Compare Source

v21.5.2

Compare Source

v21.5.1

Compare Source

v21.5.0

Compare Source

v21.4.1

Compare Source

v21.4.0

Compare Source

v21.3.8

Compare Source

v21.3.7

Compare Source

v21.3.6

Compare Source

v21.3.5

Compare Source

v21.3.4

Compare Source

v21.3.3

Compare Source

v21.3.2

Compare Source

v21.3.1

Compare Source

v21.3.0

Compare Source

v21.2.1

Compare Source

v21.2.0

Compare Source

v21.1.1

Compare Source

v21.1.0

Compare Source

v21.0.3

Compare Source

v21.0.2

Compare Source

v21.0.1

Compare Source

v21.0.0

Compare Source

v20.9.0

Compare Source

v20.8.3

Compare Source

v20.8.2

Compare Source

v20.8.1

Compare Source

v20.8.0

Compare Source

v20.7.4

Compare Source

v20.7.3

Compare Source

v20.7.2

Compare Source

v20.7.1

Compare Source

v20.7.0

Compare Source

v20.6.0

Compare Source

v20.5.0

Compare Source

v20.4.0

Compare Source

v20.3.0

Compare Source

v20.2.1

Compare Source

v20.2.0

Compare Source

v20.1.2

Compare Source

v20.1.1

Compare Source

v20.1.0

Compare Source

v20.0.0

Compare Source

v19.11.1

Compare Source

v19.11.0

Compare Source

v19.10.1

Compare Source

v19.10.0

Compare Source

v19.9.1

Compare Source

v19.9.0

Compare Source

v19.8.5

Compare Source

v19.8.4

Compare Source

v19.8.3

Compare Source

v19.8.2

Compare Source

v19.8.1

Compare Source

v19.8.0

Compare Source

v19.7.5

Compare Source

v19.7.4

Compare Source

v19.7.3

Compare Source

v19.7.2

Compare Source

v19.7.1

Compare Source

v19.7.0

Compare Source

v19.6.3

Compare Source

v19.6.2

Compare Source

v19.6.1

Compare Source

v19.6.0

Compare Source

v19.5.2

Compare Source

v19.5.1

Compare Source

v19.5.0

Compare Source

v19.4.1

Compare Source

v19.4.0

Compare Source

v19.3.0

Compare Source

v19.2.2

Compare Source

Dependencies
  • The following workspace dependencies were updated
    • dependencies
      • puppeteer-core bumped from 19.2.1 to ^19.2.2

v19.2.1

Compare Source

Dependencies
  • The following workspace dependencies were updated
    • dependencies
      • puppeteer-core bumped from 19.2.0 to ^19.2.1

v19.2.0

Compare Source

Features
Dependencies
  • The following workspace dependencies were updated
    • dependencies
      • puppeteer-core bumped from 19.1.1 to ^19.2.0

v19.1.2

Compare Source

Bug Fixes

v19.1.1

Compare Source

Dependencies
  • The following workspace dependencies were updated
    • dependencies
      • puppeteer-core bumped from 19.1.0 to ^19.1.1

v19.1.0

Compare Source

Features
Bug Fixes
Dependencies
  • The following workspace dependencies were updated
    • dependencies
      • puppeteer-core bumped from 19.0.0 to ^19.1.0

v19.0.0

Compare Source

⚠ BREAKING CHANGES
  • use ~/.cache/puppeteer for browser downloads (#​9095)
  • deprecate createBrowserFetcher in favor of BrowserFetcher (#​9079)
  • refactor custom query handler API (#​9078)
  • remove puppeteer.devices in favor of KnownDevices (#​9075)
  • deprecate indirect network condition imports (#​9074)
Features
Bug Fixes
Dependencies
  • The following workspace dependencies were updated
    • dependencies
      • puppeteer-core bumped from 18.2.1 to ^19.0.0

v18.2.1

Compare Source

Bug Fixes
Dependencies
  • The following workspace dependencies were updated
    • dependencies
      • puppeteer-core bumped from 18.2.0 to ^18.2.1

v18.2.0

Compare Source

Features
Dependencies
  • The following workspace dependencies were updated
    • dependencies
      • puppeteer-core bumped from 18.1.0 to ^18.2.0

v18.1.0

Compare Source

Features

v18.0.5

Compare Source

Bug Fixes

v18.0.4

Compare Source

Bug Fixes

v18.0.3

Compare Source

Bug Fixes

v18.0.2

Compare Source

Bug Fixes

v18.0.1

Compare Source

Bug Fixes

v18.0.0

Compare Source

⚠ BREAKING CHANGES
  • fix bounding box visibility conditions (#​8954)
Features
Bug Fixes

v17.1.3

Compare Source

Bug Fixes

v17.1.2

Compare Source

Bug Fixes

v17.1.1

Compare Source

Bug Fixes

v17.1.0

Compare Source

Features
Bug Fixes

v17.0.0

Compare Source

⚠ BREAKING CHANGES
  • remove root from WaitForSelectorOptions (#​8848)
  • internalize execution context (#​8844)
Bug Fixes

v16.2.0

Compare Source

Features
Bug Fixes

v16.1.1

Compare Source

Bug Fixes

v16.1.0

Compare Source

Features
Bug Fixes

v16.0.0

Compare Source

⚠ BREAKING CHANGES
  • With Chromium, Puppeteer will now attach to page/iframe targets immediately to allow reliable configuration of targets.
Features
Bug Fixes

v15.5.0

Compare Source

Features

v15.4.2

Compare Source

Bug Fixes

v15.4.1

Compare Source

Bug Fixes

v15.4.0

Compare Source

Features
Bug Fixes

v15.3.2

Compare Source

Bug Fixes

v15.3.1

Compare Source

Bug Fixes

v15.3.0

Compare Source

Features
Bug Fixes

v15.2.0

Compare Source

Features
Bug Fixes

v15.1.1

Compare Source

Bug Fixes

v15.1.0

Compare Source

Features

v15.0.2

Compare Source

Bug Fixes

v15.0.1

Compare Source

Bug Fixes

v15.0.0

Compare Source

⚠ BREAKING CHANGES
  • type inference for evaluation types (#​8547)
Features

v14.4.1

Compare Source

Bug Fixes
  • avoid instanceof Object check in isErrorLike (#​8527) (6cd5cd0)
  • export devices, errors, and more (cba58a1)

v14.4.0

Compare Source

Features
Bug Fixes

v14.3.0

Compare Source

Features
Bug Fixes

v14.2.1

Compare Source

Bug Fixes

v14.2.0

Compare Source

Features
Bug Fixes

v14.1.2

Compare Source

Bug Fixes

v14.1.1

Compare Source

Bug Fixes

v14.1.0

Compare Source

Features
Bug Fixes
  • disable AvoidUnnecessaryBeforeUnloadCheckSync to fix navigations (#​8330) (4854ad5)
  • If currentNode and root are the same, do not include them in the result (#​8332) (a61144d)

v14.0.0

Compare Source

⚠ BREAKING CHANGES
  • strict mode fixes for HTTMRequest/Response classes (#​8297)
  • Node 12 is no longer supported.
Features
Bug Fixes

v13.7.0

Compare Source

Features
Bug Fixes

v13.6.0

Compare Source

Features
Bug Fixes

v13.5.2

Compare Source

Bug Fixes

v13.5.1

Compare Source

Bug Fixes

v13.5.0

Compare Source

Features
Bug Fixes
  • Inherit browser-level proxy settings from incognito context (#​7770) (3feca32)
  • page: page.createIsolatedWorld error catching has been added (#​7848) (309e8b8)
  • tests: ensure all tests honour BINARY envvar (#​8092) (3b8b9ad)

v13.4.1

Compare Source

Bug Fixes

v13.4.0

Compare Source

Features
Bug Fixes

v13.3.2

Compare Source

Bug Fixes
rollup/rollup

v4.21.2

Compare Source

2024-08-30

Bug Fixes
  • Handle IIFE/UMD namespace definitions conflicting with a builtin property (#​5605)
Merge Requests

v4.21.1

Compare Source

2024-08-26

Bug Fixes
  • Ensure closeWatcher hook is called when watch mode is aborted via Ctrl+C (#​5618)
  • Do not produce invalid code for import.meta.url in compact mode (#​5624)
  • Do not throw when generating chunk names when preserving modules in Windows (#​5625)
Merge Requests

v4.21.0

Compare Source

2024-08-18

Features
  • Add option to configure directory for virtual modules when preserving modules (#​5602)
Merge Requests

v4.20.0

Compare Source

2024-08-03

Features
  • Allow plugins to specify the original file name when emitting assets (#​5596)
Merge Requests

v4.19.2

Compare Source

2024-08-01

Bug Fixes
  • Avoid "cannot get value of null" error when using optional chaining with namespaces (#​5597)
Merge Requests

v4.19.1

Compare Source

2024-07-27

Bug Fixes
  • Do not remove parantheses when tree-shaking logical expressions (#​5584)
  • Do not ignore side effects in calls left of an optional chaining operator (#​5589)
Merge Requests

v4.19.0

Compare Source

2024-07-20

Features
  • Implement support for decorators (#​5562)
Bug Fixes
  • Improve soucemap generation when tree-shaking logical expressions (#​5581)
Merge Requests

v4.18.1

Compare Source

2024-07-08

Bug Fixes
  • Prevent "%" in generated file names to ensure imports resolve (#​5535)
Merge Requests

v4.18.0

Compare Source

2024-05-22

Features
  • Resolve import.meta.filename and .dirname in transpiled plugins (#​5520)
Merge Requests

v4.17.2

Compare Source

2024-04-30

Bug Fixes
  • Fix tree-shaking problems when using spread arguments (#​5503)
Merge Requests

v4.17.1

Compare Source

2024-04-29

Bug Fixes
  • Prevent infinite recursions for certain constructor invocations (#​5500)
Merge Requests

v4.17.0

Compare Source

2024-04-27

Features
  • Track function call arguments to optimize functions only called once or with the same literal values (re-release from 4.16.0) (#​5483)
Bug Fixes
  • Reduce browser WASM size to a fraction by changing optimization settings (#​5494)
Merge Requests

v4.16.4

Compare Source

2024-04-23

Bug Fixes
  • Revert function parameter tracking logic introduced in 4.16.0 to work on some remaining issues (#​5487)
Merge Requests

v4.16.3

Compare Source

2024-04-23

Bug Fixes
  • Do not optimize IIFEs that have a name and are again referenced inside their definition (#​5486)
Merge Requests

v4.16.2

Compare Source

2024-04-22

Bug Fixes
  • Resolve a situation condition where reassignments of function parameters were not tracked properly (#​5482)
  • Make sure that for armv7 packages, only one package is downloaded for the user (musl or gnu) (#​5479)
Merge Requests

v4.16.1

Compare Source

2024-04-21

Bug Fixes
  • Fix crash when rendering logical or conditional expressions (#​5481)
Merge Requests

v4.16.0

Compare Source

2024-04-21

Features
  • Track function call arguments to optimize functions only called once or with the same literal values (#​5443)
Merge Requests

v4.15.0

Compare Source

2024-04-20

Features
  • Add output.importAttributesKey option to select whether to use "with" or "assert" for import attributes (#​5474)
Merge Requests

v4.14.3

Compare Source

2024-04-15

Bug Fixes
  • Support Alpine Linux and other MUSL builds on ARM (#​5471)
Merge Requests

v4.14.2

Compare Source

2024-04-12

Bug Fixes
  • Do not create invalid code when reexporting both a namespace and the default export from that namespace (#​5466)
  • Ensure ppc64 platform is properly detected (#​5460)
Merge Requests

v4.14.1

Compare Source

2024-04-07

Bug Fixes
  • Show better error when running on musl Linux where the musl build is not supported (#​5454)
Merge Requests

v4.14.0

Compare Source

2024-04-03

Features
  • Display error causes in Rollup CLI (#​5422)
  • Add basic support for explicit resource management via "using" and "await using" (#​5423)
Merge Requests

v4.13.2

Compare Source

2024-03-28

Bug Fixes
  • Ensure accessing module info is cached after the build phase for improved performance (#​5438)
  • Support powerpc64le CPUs (#​5350)
Merge Requests

v4.13.1

Compare Source

2024-03-27

Bug Fixes
  • Add new linux-s390x-gnu native binary package (#​5346)
Merge Requests

v4.13.0

Compare Source

2024-03-12

Features
  • Ensure that the location of parse errors and other logs is encoded in the error message as well (#​5424)
Merge Requests

v4.12.1

Compare Source

2024-03-06

Bug Fixes
  • Escape special characters in file references (#​5404)
Merge Requests

v4.12.0

Compare Source

2024-02-16

Features
  • Improve raw bundling performance by 10-15% when not using the cache or plugins that return an AST (#​5391)
Merge Requests

v4.11.0

Compare Source

2024-02-15

Features
  • Add output.reexportProtoFromExternal option to disable special code for handling __proto__ reexports (#​5380)
Bug Fixes
  • Ensure namespace reexport code can be parsed by cjs-module-lexer (#​5380)
  • Throw when trying to reassing const variables (#​5388)
Merge Requests

v4.10.0

Compare Source

2024-02-10

Features
  • Support base-36 and base-16 hashes again via new output.hashCharacters option (#​5371)
Bug Fixes
  • Do not crash process for panics in native code but throw them as JavaScript errors (#​5383)
Merge Requests

v4.9.6

Compare Source

2024-01-21

Bug Fixes
  • Detect side effects when an element that was pushed into an array is modified via the array (#​5352)
Merge Requests

v4.9.5

Compare Source

2024-01-12

Bug Fixes
  • Fix issue where on Windows, Rollup would not load due to problems with the MSVC executable (#​5335)
Merge Requests

v4.9.4

Compare Source

2024-01-06

Bug Fixes
  • Use quotes for keys in namespaces that are only numbers but are not valid integers (#​5328)
  • Allow to have comments between pure annotations and the annoted node (#​5332)
Merge Requests

v4.9.3

Compare Source

2024-01-05

Bug Fixes
  • Support __proto__ as export/import name (#​5313)
  • Use ESTree AST type over custom type in user-facing types (#​5323)
Merge Requests

v4.9.2

Compare Source

2023-12-30

Bug Fixes
  • Extend support for arbitrary namespace identifiers in SystemJS (#​5321)
  • Do not wrongly flag functions without side effects as side effects if moduleSideEffects is false (#​5322)
Merge Requests

v4.9.1

Compare Source

2023-12-17

Bug Fixes
  • Fix an issue where break statements could include the wrong label (#​5297)
Merge Requests

v4.9.0

Compare Source

2023-12-13

Features
  • Fully support arbitrary strings as import and export identifiers (#​5298)
Merge Requests

v4.8.0

Compare Source

2023-12-11

Features
  • Improve experimentalMinChunkSize to take already loaded modules from dynamic imports into account (#​5294)
Merge Requests

v4.7.0

Compare Source

2023-12-08

Features
  • Add build for Linux riscv64 architecture (#​5288)
Bug Fixes
  • Improve error message when native Windows build does not start (#​5284)
Merge Requests

v4.6.1

Compare Source

2023-11-30

Bug Fixes
  • Resolve a situation where declaring the same var several times was considered a conflict (#​5276)
Merge Requests

v4.6.0

Compare Source

2023-11-26

Features
  • Allow this.addWatchFile in all plugin hooks (#​5270)
Bug Fixes
  • Show helpful error when native binaries are not installed due to an npm issue (#​5267)
  • Do not access this context in this.addWatchFile so it does not need to be bound when passed around (#​5270)
Merge Requests

v4.5.2

Compare Source

2023-11-24

Bug Fixes
  • Handle files with UTF-8 BOM when using the commonjs plugin (#​5268)
Merge Requests

v4.5.1

Compare Source

2023-11-21

Bug Fixes
  • Do not error when a function expression uses the same name for a parameter and its id (#​5262)
Merge Requests

v4.5.0

Compare Source

2023-11-18

Bug Fixes
  • Show a proper error when using native Rollup on armv7 musl Linux (#​5255)
Merge Requests

v4.4.1

Compare Source

2023-11-14

Bug Fixes
  • Do not flag duplicate function declarations in function scopes as syntax errors (#​5248)
Merge Requests

v4.4.0

Compare Source

2023-11-12

Features
  • Replace SWC linting with faster internal linting to error on duplicate declarations etc. (#​5207)
Bug Fixes
  • Show proper error when an entry exports non-existing bindings (#​5207)
Merge Requests

v4.3.1

Compare Source

2023-11-11

Bug Fixes
  • Fix rename error when handling errors in watch mode (#​5240)
  • Prevent warning when using --forceExit (#​5245)
Merge Requests

v4.3.0

Compare Source

2023-11-03

Features
  • Add forceExit CLI flag for situations where the CLI does not exit gracefully (#​5195)
Bug Fixes
  • Properly catch errors when removing a temporary config file fails (#​5198)
Merge Requests

v4.2.0

Compare Source

2023-10-31

Features
  • Run parsing in multiple threads and introduce parseAstAsync helper function (#​5202)
Merge Requests

v4.1.6

Compare Source

2023-10-31

Bug Fixes
  • Fix a bug where emtpy block comments in certain positions could freeze Rollup (#​5231)
Merge Requests

v4.1.5

Compare Source

2023-10-28

Bug Fixes
  • Fix an issue where actual entries that were also implicit entries could remain implicit (#​5220)
Merge Requests

v4.1.4

Compare Source

2023-10-16

Bug Fixes
Merge Requests

v4.1.3

Compare Source

2023-10-15

Bug Fixes
  • Fix WASM build as hash function was not exported (#​5203)
Merge Requests

v4.1.1

Compare Source

2023-10-15

Bug Fixes
  • Improve Node parsing performance (#​5201)
Merge Requests

v4.1.0

Compare Source

2023-10-14

Features
  • Reduce memory usage of Rollup builds (#​5133)
Merge Requests

v4.0.2

Compare Source

2023-10-06

Bug Fixes
  • Fix annotation detection logic to not fail when a non-ASCII character precedes a double underscore (#​5178)
Merge Requests

v4.0.1

Compare Source

2023-10-06

Bug Fixes
  • Do not panic on trailing semicolons after class methods (#​5173)
  • Add artifact for arm64 linux musl target (#​5176)
Merge Requests

v4.0.0

Compare Source

2023-10-05

BREAKING CHANGES
General Changes
  • The minimal required Node version is now 18.0.0 (#​5142)
  • The browser build now relies on a WASM artifact that needs to be provided as well (#​5073)
  • The NodeJS build now relies on an optional native binary; for unsupported platforms, users can use the @rollup/wasm-node package that has the same interface as Rollup but relies on WASM artifacts (#​5073)
  • The INVALID_IMPORT_ASSERTION error code has been replaced with INVALID_IMPORT_ATTRIBUTE (#​5073)
  • Rollup will now warn for @__PURE__ and @__NO_SIDE_EFFECTS__ annotations in invalid locations (#​5165)
  • If an entry module starts with a shebang comment #!..., this comment will be prepended to the output for es and cjs formats (#​5163)
  • File hashes will now use url-safe base64 encoded hashes (#​5155)
  • The maximum hash length has been reduced to 22 characters (#​5155)
  • The RollupWarning type has been removed in favor of the RollupLog type (#​5147)
Changes to Rollup Options
  • Acorn plugins are no longer supported, the acornInjectPlugins option has been removed (#​5073)
  • The acorn option has been removed (#​5073)
  • output.externalImportAssertions has been deprecated in favor of output.externalImportAttributes (#​5073)
  • inlineDynamicImports, manualChunks and preserveModules have been removed on input option level: Please use the corresponding output options of the same names (#​5143)
  • Removed output options (#​5143):
    • output.experimentalDeepDynamicChunkOptimization: This option is no longer needed as Rollup now always runs the full chunking algorithm
    • output.dynamicImportFunction: Use the renderDynamicImport plugin hook instead
    • output.namespaceToStringTag: Use output.generatedCode.symbols instead
    • output.preferConst: Use output.generatedCode.constBindings instead
Plugin API Changes
  • For this.resolve, the default of the skipSelf option is now true (#​5142)
  • this.parse now only supports the allowReturnOutsideFunction option for now (#​5073)
  • Import assertions now use the new import attribute AST structure ( #​5073)
  • "assertions" have been replaced with "attributes" in various places of the plugin interface (#​5073)
  • If the import of a module id is handled by the load hook of a plugin, rollup.watch no longer watches the actual file if the module id corresponds to a real path; if this is intended, then the plugin is responsible for calling this.addWatchFile for any dependency files (#​5150)
  • The normalized input options provided by buildStart and other hooks no longer contain an onwarn handler; plugins should use onLog instead (#​5147)
  • this.moduleIds has been removed from the plugin context: Use this.getModuleIds() instead (#​5143)
  • The hasModuleSideEffects flag has been removed from the ModuleInfo returned by this.getModuleInfo(): Use moduleSideEffects on the ModuleInfo instead (#​5143)
Features
  • Improve parsing speed by switching to a native SWC-based parser (#​5073)
  • Rollup will now warn for @__PURE__ and @__NO_SIDE_EFFECTS__ annotations in invalid locations (#​5165)
  • The parser is now exposed as a separate export parseAst (#​5169)
Bug Fixes
  • Rollup no longer tries to watch virtual files if their name corresponds to an actual file name; instead, plugins handle watching via this.addWatchFile() (#​5150)
Merge Requests

v3.29.4

Compare Source

2023-09-28

Bug Fixes
  • Fix static analysis when an exported function uses callbacks (#​5158)
Merge Requests

v3.29.3

Compare Source

2023-09-24

Bug Fixes
  • Fix a bug where code was wrongly tree-shaken after mutating function parameters (#​5153)
Merge Requests

v3.29.2

Compare Source

2023-09-15

Bug Fixes
  • Export TreeshakingPreset type (#​5131)
Merge Requests

v3.29.1

Compare Source

2023-09-10

Bug Fixes
  • Fix time measurement of plugin hooks in watch mode (#​5114)
  • Ensure accessing document.currentScript in import.meta.url returns correct results (#​5118)
Merge Requests

v3.29.0

Compare Source

2023-09-06

Features
  • Add output.sourcemapFileNames option (#​5105)
  • Add generic type parameter for api to Plugin type (#​5112)
Bug Fixes
  • Ensure mutations of CustomEvent details are tracked (#​5123)
Merge Requests

v3.28.1

Compare Source

2023-08-22

Bug Fixes
  • Ensure external files with relative import paths outside the target are rendered correctly (#​5099)
Merge Requests

v3.28.0

Compare Source

2023-08-09

Features
  • Add a new property preliminaryFileName to generated chunks containing the file name placeholder (#​5086)
  • Improve performance of sourcemap generation by lazily decoding mappings (#​5087)
Bug Fixes
  • Make the code property of rendered modules in the output readonly (#​5091)
Merge Requests

v3.27.2

Compare Source

2023-08-04

Bug Fixes
  • Revert sourcemap performance improvement for now as it causes issues with Vite (#​5075)
Merge Requests

v3.27.1

Compare Source

2023-08-03

Bug Fixes
  • Improve performance when generating sourcemaps (#​5075)
Merge Requests

v3.27.0

Compare Source

2023-07-28

Features
  • Mark Object.values and Object.entries as pure if their argument does not contain getters (#​5072)
Merge Requests

v3.26.3

Compare Source

2023-07-17

Bug Fixes
  • Do not pass external modules to manualChunks to avoid breaking existing configs (#​5068)
Merge Requests

v3.26.2

Compare Source

2023-07-06

Bug Fixes
  • Improve error handling when manual chunks would contain external modules (#​5050)
Merge Requests
  • #​5050: fix: improve error for manualChunks' modules that are resolved as an external module (@​TrickyPi)

v3.26.1

Compare Source

2023-07-05

Bug Fixes
  • Support hasOwnProperty as exported name in CommonJS (#​5010)
  • Properly reference browser types in package file (#​5051)
Merge Requests

v3.26.0

Compare Source

2023-06-30

Features
  • Add --filterLogs CLI flag and ROLLUP_FILTER_LOGS environment variable for log filtering (#​5035)
Merge Requests

v3.25.3

Compare Source

2023-06-26

Bug Fixes
  • Fix error when inlining dynamic imports that contain unused reexported variables (#​5047)
Merge Requests

v3.25.2

Compare Source

2023-06-24

Bug Fixes
  • Handle plugin errors where code is not a string (#​5042)
  • Use current transformed source when generating code frames with positions in transform hooks (#​5045)
Merge Requests

v3.25.1

Compare Source

2023-06-12

Bug Fixes
  • Respect __NO_SIDE_EFFECTS__ for async functions (#​5031)
Merge Requests

v3.25.0

Compare Source

2023-06-11

Features
  • Add this.info and this.debug plugin context logging functions (#​5026)
  • Add onLog option to read, map and filter logs (#​5026)
  • Add logLevel option to fully suppress logs by level (#​5026)
  • Support function logs in this.warn, this.info and this.debug to avoid heavy computations based on log level ( #​5026)
  • Add onLog plugin hook to read, filter and map logs from plugins (#​5026)
Merge Requests

v3.24.1

Compare Source

2023-06-10

Bug Fixes
  • Fix an issue where bundles with @rollup/plugin-commonjs were missing internal dependencies when code-splitting ( #​5029)
  • Do not use process.exit(0) in watch mode to avoid issues in embedded scenarios (#​5027)
Merge Requests

v3.24.0

Compare Source

2023-06-07

Features
  • Add new annotation /* #__NO_SIDE_EFFECTS__ */ to mark function declarations as side effect free (#​5024)
Merge Requests
  • #​5024: feat: support #__NO_SIDE_EFFECTS__ annotation for function declaration (@​antfu)

v3.23.1

Compare Source

2023-06-04

Bug Fixes
  • Ensure the last segment of sourcemapBaseUrl is never omitted (#​5022)
Merge Requests

v3.23.0

Compare Source

2023-05-22

Features
  • Support emitting "prebuilt chunks" from plugins (#​4990)
Bug Fixes
  • Mark Sets and Maps as pure when they receive an array literal as argument (#​5005)
Merge Requests

v3.22.1

Compare Source

2023-05-21

Bug Fixes
  • Remove force quit again as it caused some issues (#​5004)
Merge Requests

v3.22.0

Compare Source

2023-05-17

Features
  • Prevent empty non-facade chunks by merging them into other suitable chunks (#​4989)
  • Avoid facade chunks in some situations involving reexports (#​4989)
  • Improve algorithm for best merge target when using experimentalMinChunkSize to take tree-shaking into account ( #​4989)
Bug Fixes
  • Take side effects of external dependencies into account when merging chunks for experimentalMinChunkSize (#​4989)
Merge Requests

v3.21.8

Compare Source

2023-05-16

Bug Fixes
  • Allow a namespace to properly contain itself as a named export (#​4991)
Merge Requests

v3.21.7

Compare Source

2023-05-13

Bug Fixes
  • Show correct error on uncaught exceptions in watch mode (#​4987)
Merge Requests

v3.21.6

Compare Source

2023-05-09

Bug Fixes
  • Ensure Rollup CLI prints everything to stdout before exiting (#​4980)
Merge Requests

v3.21.5

Compare Source

2023-05-05

Bug Fixes
  • Keep all consecutive lines at the top of each module that start with a comment (#​4975)
  • Ensure that declarations inside switch cases do not use the same scope as the discriminator (#​4979)
Merge Requests

v3.21.4

Compare Source

2023-05-03

Bug Fixes
  • Resolve crash when shimming a missing export in an otherwise non-included module when preserving modules (#​4971)
Merge Requests

v3.21.3

Compare Source

2023-05-02

Bug Fixes
  • Run process.exit() when Rollup CLI finishes successfully to solve issues on some systems (#​4969)
Merge Requests

v3.21.2

Compare Source

2023-04-30

Bug Fixes
  • Mark global functions that trigger iterators as impure for now (#​4955)
Merge Requests

v3.21.1

Compare Source

2023-04-29

Bug Fixes
  • Make sure call arguments are properly deoptimized when a function uses the arguments variable (#​4965)
Merge Requests

v3.21.0

Compare Source

2023-04-23

Features
  • Support tree-shaking of named exports in dynamic imports when using destructuring and similar patterns (#​4952)
Merge Requests

v3.20.7

Compare Source

2023-04-21

Bug Fixes
  • Properly track array element mutations when iterating with a for-of loop (#​4949)
  • Handle default exporting an anonymous class that extends another class (#​4950)
Merge Requests

v3.20.6

Compare Source

2023-04-18

Bug Fixes
  • Revert handling of non-JS import and export names due to regressions (#​4914)
Merge Requests

v3.20.5

Compare Source

2023-04-18

Bug Fixes
  • Handle import and export names that are not valid JavaScript identifiers (#​4939)
Merge Requests

v3.20.4

Compare Source

2023-04-17

Bug Fixes
  • Do not remove breaks statements after switch statements with conditional breaks (#​4937)
Merge Requests

v3.20.3

Compare Source

2023-04-16

Bug Fixes
  • Reduce memory consumption for function call parameter analysis (#​4938)
  • Fix types for shouldTransformCachedModule (#​4932)
Merge Requests

v3.20.2

Compare Source

2023-03-24

Bug Fixes
  • Fix a crash when using a manual chunk entry that is not already included in the module graph (#​4921)
  • Fix a crash when reporting a warning with incorrect sourcemap information (#​4922)
Merge Requests

v3.20.1

Compare Source

2023-03-23

Bug Fixes
  • Fix returned file name from this.getFileName when assets are deduplicated (#​4919)
Merge Requests

v3.20.0

Compare Source

2023-03-20

Features
  • Allow dynamically imported files to have synthetic named exports when preserving modules (#​4913)
Bug Fixes
  • Use deterministic file name when emitting several files with same source (#​4912)
  • Fix a crash when dynamically importing a file with synthetic named exports when preserving modules (#​4913)
Merge Requests

v3.19.1

Compare Source

2023-03-10

Bug Fixes
  • Produce valid code when the first statement in aclass static block is tree-shaken (#​4898)
Merge Requests

v3.19.0

Compare Source

2023-03-09

Features
  • Make reassignment tracking of call parameters more specific to no lose information when an object is passed to a function (#​4892)
Merge Requests

v3.18.0

Compare Source

2023-03-01

Features
  • Add experimentalLogSideEffects to log the first detected side effect in every module (#​4871)
  • Ignore-list sourcemaps of files inside node_modules by default (#​4877)
Merge Requests

v3.17.3

Compare Source

2023-02-25

Bug Fixes
  • Handle non-URL-safe characters when poly-filling import.meta.url (#​4875)
Merge Requests

v3.17.2

Compare Source

2023-02-20

Bug Fixes
  • Do not omit code if a file that only re-exports a used variable has moduleSideEffects set to true (#​4867)
  • Add missing needsCodeReference property in TypeScript for asset tree-shaking (#​4868)
  • Add correct side effect configuration for additional Object and Promise methods (#​4323)
Merge Requests

v3.17.1

Compare Source

2023-02-18

Bug Fixes
  • Add TypeScript types for loadConfigFile (#​4853)
  • Fix an issue that could include unused classes in the bundle if their super class was in a file with moduleSideEffects: false (#​4866)
Merge Requests

v3.17.0

Compare Source

2023-02-18

Features
  • Deprecate experimentalDeepDynamicChunkOptimization and always run the full chunk generation algorithm (#​4862)
Bug Fixes
  • Fix an issue that caused very slow builds for projects with over 1000 dynamic imports when experimentalDeepDynamicChunkOptimization was enabled (#​4862)
Merge Requests

v3.16.0

Compare Source

2023-02-17

Features
  • Support output.sourcemapIgnoreList option to mark file sources as ignored in the x_google_ignoreList attribute of the resulting sourcemap (#​4848)
  • Support sourcemaps where sourcesContent contains null entries (#​4846)
  • Allow explicitly passing true for the cache option to override Vite's default (#​4859)
Bug Fixes
  • Fix an issue where unrelated side effects spilled into other chunks when using the experimentalMinChunkSize option ( #​4851)
Merge Requests

v3.15.0

Compare Source

2023-02-10

Features
  • Do not consider instantiating a constructor a side effect if it adds properties to "this" and is instantiated elsewhere (#​4842)
Bug Fixes
  • Improve side effect detection in constructors (#​4842)
Merge Requests

v3.14.0

Compare Source

2023-02-05

Features
  • Add experimentalDeepDynamicChunkOptimization option to produce fewer chunks from dynamic imports (#​4837)
Merge Requests

v3.13.0

Compare Source

2023-02-03

Features
  • Prevent chunk cycles when using experimentalMinChunkSize (#​4723)
Merge Requests

v3.12.1

Compare Source

2023-02-01

Bug Fixes
  • Handle self-references in class static blocks and construtors when the class is renamed (#​4827)
  • Improve warnings when creating circular chunks taht reexport variables (#​4829)
Merge Requests

v3.12.0

Compare Source

2023-01-28

Features
  • Change generated external namespace reexport helper code for CommonJS to better work with NodeJS named export detection (#​4826)
Merge Requests

v3.11.0

Compare Source

2023-01-26

Features
  • Support opt-in tree-shaking for emitted assets based on code references (#​4805)
Bug Fixes
  • Adapt documentation references in Rollup to new website (#​4807)
Merge Requests

v3.10.1

Compare Source

2023-01-20

Bug Fixes
  • Fix some crashes when using optional chaining with namespaces and improve tree-shaking (#​4812)
  • Avoid wrongly removed code when using optional chaining (#​4812)
Merge Requests

v3.10.0

Compare Source

2023-01-12

Features
  • Add information about the resolving plugin to resolved ids (#​4789)
  • Improve treeshaking for optional chaining when the root is nullish (#​4797)
Bug Fixes
  • Remove unnecessary internal defaults for acorn options (#​4786)
Merge Requests

v3.9.1

Compare Source

2023-01-02

Bug Fixes
  • Sort keys in generated dynamic namespace objects (#​4780)
  • Do not consider Array.group to be side effect free as the specs have changed (#​4779)
Merge Requests

v3.9.0

Compare Source

2022-12-28

Features
  • Support ES2022 arbitrary module namespace identifiers (#​4770)
  • Add optional version property to plugin type (#​4771)
Merge Requests

v3.8.1

Compare Source

2022-12-23

Bug Fixes
  • Reduce memory footprint when explicitly passing cache: false (#​4762)
  • Fix a crash when preserving modules and reexporting namespaces (#​4766)
Merge Requests

v3.8.0

Compare Source

2022-12-22

Features
  • Deduplicate ESM exports and reexports when preserving modules (#​4759)
Bug Fixes
  • Handle files that are emitted as a side effect of the manualChunks option (#​4759)
Merge Requests

v3.7.5

Compare Source

2022-12-17

Bug Fixes
  • Avoid name shadowing when default exporting a class that matches the name of another class (#​4756)
  • Do not display the error message both in a separate line and in the stack trace in rollup CLI (#​4749)
  • Make type of RollupWarning.cause compatible with Error.cause (#​4757)
  • Do not swallow side effects when interacting with modules namespaces nested in another object (#​4758)
Merge Requests

v3.7.4

Compare Source

2022-12-13

Bug Fixes
  • Do not remove calls to .exec and .test for included stateful regular expressions (#​4742)
Merge Requests

v3.7.3

Compare Source

2022-12-11

Bug Fixes
  • Ensure this.getFileName no longer returns a placeholder as soon as hash placeholders have been resolved (#​4747)
Merge Requests

v3.7.2

Compare Source

2022-12-10

Bug Fixes
  • Improve chunk generation performance when one module is dynamically imported by many other modules (#​4736)
Merge Requests

v3.7.1

Compare Source

2022-12-09

Bug Fixes
Merge Requests

v3.7.0

Compare Source

2022-12-08

Features
  • Do not treat .test and .exec on regular expressions as side effects (#​4737)
Merge Requests

v3.6.0

Compare Source

2022-12-05

Features
  • extend this.getModuleInfo with information about exports (#​4731)
Merge Requests

v3.5.1

Compare Source

2022-12-01

Bug Fixes
  • Accept functions returning a config in defineConfig (#​4728)
Merge Requests
  • #​4728: Overload defineConfig to accept a RollupOptionsFunction parameter (@​Septh)

v3.5.0

Compare Source

2022-11-27

Features
  • Add treeshake.manualPureFunctions to override static analysis for explicit function names (#​4718)
Bug Fixes
  • Do not throw when a plugin uses this.load without awaiting its result (#​4725)
Merge Requests

v3.4.0

Compare Source

2022-11-22

Features
  • Do not keep unused Object.freeze calls on object literals (#​4720)
Merge Requests

v3.3.0

Compare Source

2022-11-12

Features
  • Add "experimentalMinChunkSize" option to merge smaller chunks into larger ones (#​4705)
  • Automatically deduplicate assets again when the source is a Buffer (#​4712)
  • Deduplicate Buffer with string assets (#​4712)
Bug Fixes
  • Support plugins with object hooks when using perf: true (#​4707)
Merge Requests

v3.2.5

Compare Source

2022-11-01

Bug Fixes
  • We deconflicting classes, ensure the original class name still does not shadow variables (#​4697)
Merge Requests

v3.2.4

Compare Source

2022-10-31

Bug Fixes
  • Always use forward slashes in chunk ids when preserving modules, even on Windows (#​4693)
  • Escape problematic characters in ids when rewriting import.meta.url (#​4693)
Merge Requests

v3.2.3

Compare Source

2022-10-18

Bug Fixes
  • Fix an issue whre Rollup confused new.target with import.meta (#​4679)
  • Ensure that Rollup does not make assumptions about the value of unknown namespace import members (#​4684)
Merge Requests

v3.2.2

Compare Source

2022-10-16

Bug Fixes
  • Do not hang/crash on hashbang comments in input modules (#​4676)
Merge Requests

v3.2.1

Compare Source

2022-10-16

Bug Fixes
  • Rewrite class declarations to preserve their .name property if necessary (#​4674)
Merge Requests

v3.2.0

Compare Source

2022-10-15

Features
  • Support providing Promises as plugins like Vite (#​4671)
Merge Requests

v3.1.0

Compare Source

2022-10-12

Features
  • Support using arrays of plugins as plugins like Vite (#​4657)
Merge Requests

v3.0.1

Compare Source

2022-10-12

Bug Fixes
  • Fix installation on Windows (#​4662)
  • Avoid missing parameters that are only used in a destructuring initializer (#​4663)
Merge Requests

v3.0.0

Compare Source

2022-10-11

Breaking Changes
General Changes
  • Rollup now requires at least Node 14.18.0 to run (#​4548 and #​4596)
  • The browser build has been split into a separate package @rollup/browser (#​4593)
  • The node build uses the node: prefix for imports of builtin modules (#​4596)
  • Some previously deprecated features have been removed (#​4552):
    • Some plugin context functions have been removed:
      • this.emitAsset(): use this.emitFile()
      • this.emitChunk(): use this.emitFile()
      • this.getAssetFileName(): use this.getFileName()
      • this.getChunkFileName(): use this.getFileName()
      • this.isExternal(): use this.resolve()
      • this.resolveId(): use this.resolve()
    • The resolveAssetUrl plugin hook has been removed: use resolveFileUrl
    • Rollup no longer passes assetReferenceId or chunkReferenceId parameters to resolveFileUrl
    • The treeshake.pureExternalModules option has been removed: use treeshake.moduleSideEffects: 'no-external'
    • You may no longer use true or false for output.interop. As a replacement for true, you can use "compat"
    • Emitted assets no longer have an isAsset flag in the bundle
    • Rollup will no longer fix assets added directly to the bundle by adding the type: "asset" field
  • Some features that were previously marked for deprecation now show warnings when used (#​4552):
    • Some options have been deprecated:
      • inlineDynamicImports as part of the input options: use output. inlineDynamicImports
      • manualChunks as part of the input options: use output. manualChunks
      • maxParallelFileReads: use `maxParallelFileOps
      • output.preferConst: use output.generatedCode.constBindings
      • output.dynamicImportFunction: use the renderDynamicImport plugin hook
      • output.namespaceToStringTag: use output.generatedCode.symbols
      • preserveModules as part of the input options: use output. preserveModules
    • You should no longer access this.moduleIds in plugins: use this.getModuleIds()
    • You should no longer access this.getModuleInfo(...).hasModuleSideEffects in plugins: use this.getModuleInfo(...).moduleSideEffects
  • Configuration files are only bundled if either the --configPlugin or the --bundleConfigAsCjs options are used. The configuration is bundled to an ES module unless the --bundleConfigAsCjs option is used. In all other cases, configuration is now loaded using Node's native mechanisms (#​4574 and #​4621)
  • The properties attached to some errors have been changed so that there are fewer different possible properties with consistent types (#​4579)
  • Some errors have been replaced by others (ILLEGAL_NAMESPACE_REASSIGNMENT -> ILLEGAL_REASSIGNMENT, NON_EXISTENT_EXPORT -> MISSING_EXPORT) (#​4579)
  • Files in rollup/dist/* can only be required using their file extension (#​4581)
  • The loadConfigFile helper now has a named export of the same name instead of a default export (#​4581)
  • When using the API and sourcemaps, sourcemap comments are contained in the emitted files and sourcemaps are emitted as regular assets (#​4605)
  • Watch mode no longer uses Node's EventEmitter but a custom implementation that awaits Promises returned from event handlers (#​4609)
  • Assets may only be deduplicated with previously emitted assets if their source is a string (#​4644)
  • By default, Rollup will keep external dynamic imports as import(…) in commonjs output unless output.dynamicImportInCjs is set to false (#​4647)
Changes to Rollup Options
  • As functions passed to output.banner/footer/intro/outro are now called per-chunk, they should be careful to avoid performance-heavy operations (#​4543)
  • entryFileNames/chunkFileNames functions now longer have access to the rendered module information via modules, only to a list of included moduleIds (#​4543)
  • The path of a module is no longer prepended to the corresponding chunk when preserving modules (#​4565)
  • When preserving modules, the [name] placeholder (as well as the chunkInfo.name property when using a function) now includes the relative path of the chunk as well as optionally the file extension if the extension is not one of .js, .jsx, .mjs, .cjs, .ts, .tsx, .mts, or .cts (#​4565)
  • The [ext], [extName] and [assetExtName] placeholders are no longer supported when preserving modules (#​4565)
  • The perf option no longer collects timings for the asynchronous part of plugin hooks as the readings were wildly inaccurate and very misleading, and timings are adapted to the new hashing algorithm (#​4566)
  • Change the default value of makeAbsoluteExternalsRelative to "ifRelativeSource" so that absolute external imports will no longer become relative imports in the output, while relative external imports will still be renormalized ( #​4567)
  • Change the default for output.generatedCode.reservedNamesAsProps to no longer quote properties like default by default (#​4568)
  • Change the default for preserveEntrySignatures to "exports-only" so that by default, empty facades for entry chunks are no longer created (#​4576)
  • Change the default for output.interop to "default" to better align with NodeJS interop (#​4611)
  • Change the default for output.esModule to "if-default-prop", which only adds __esModule when the default export would be a property (#​4611)
  • Change the default for output.systemNullSetters to true, which requires at least SystemJS 6.3.3 (#​4649)
Plugin API Changes
  • Plugins that add/change/remove imports or exports in renderChunk should make sure to update ChunkInfo.imports/importedBindings/exports accordingly (#​4543)
  • The order of plugin hooks when generating output has changed (#​4543)
  • Chunk information passed to renderChunk now contains names with hash placeholders instead of final names, which will be replaced when used in the returned code or ChunkInfo.imports/importedBindings/exports (#​4543 and #​4631)
  • Hooks defined in output plugins will now run after hooks defined in input plugins (used to be the other way around) ( #​3846)
Features
  • Functions passed to output.banner/footer/intro/outro are now called per-chunk with some chunk information (#​4543)
  • Plugins can access the entire chunk graph via an additional parameter in renderChunk (#​4543)
  • Chunk hashes only depend on the actual content of the chunk and are otherwise stable against things like renamed/moved source files or changed module resolution order (#​4543)
  • The length of generated file hashes can be customized both globally and per-chunk (#​4543)
  • When preserving modules, the regular entryFileNames logic is used and the path is included in the [name] property. This finally gives full control over file names when preserving modules (#​4565)
  • output.entryFileNames now also supports the [hash] placeholder when preserving modules (#​4565)
  • The perf option will now collect (synchronous) timings for all plugin hooks, not just a small selection (#​4566)
  • All errors thrown by Rollup have name: RollupError now to make clearer that those are custom error types (#​4579)
  • Error properties that reference modules (such as id and ids) will now always contain the full ids. Only the error message will use shortened ids (#​4579)
  • Errors that are thrown in response to other errors (e.g. parse errors thrown by acorn) will now use the standardized cause property to reference the original error (#​4579)
  • If sourcemaps are enabled, files will contain the appropriate sourcemap comment in generateBundle and sourcemap files are available as regular assets (#​4605)
  • Returning a Promise from an event handler attached to a RollupWatcher instance will make Rollup wait for the Promise to resolve (#​4609)
  • There is a new value "compat" for output.interop that is similar to "auto" but uses duck-typing to determine if there is a default export (#​4611)
  • There is a new value "if-default-prop" for esModule that only adds an __esModule marker to the bundle if there is a default export that is rendered as a property (#​4611)
  • Rollup can statically resolve checks for foo[Symbol.toStringTag] to "Module" if foo is a namespace (#​4611)
  • There is a new CLI option --bundleConfigAsCjs which will force the configuration to be bundled to CommonJS (#​4621)
  • Import assertions for external imports that are present in the input files will be retained in ESM output (#​4646)
  • Rollup will warn when a module is imported with conflicting import assertions (#​4646)
  • Plugins can add, remove or change import assertions when resolving ids (#​4646)
  • The output.externalImportAssertions option allows to turn off emission of import assertions (#​4646)
  • Use output.dynamicImportInCjs to control if dynamic imports are emitted as import(…) or wrapped require(…) when generating commonjs output (#​4647)
Bug Fixes
  • Chunk hashes take changes in renderChunk, e.g. minification, into account (#​4543)
  • Hashes of referenced assets are properly reflected in the chunk hash (#​4543)
  • No longer warn about implicitly using default export mode to not tempt users to switch to named export mode and break Node compatibility (#​4624)
  • Avoid performance issues when emitting thousands of assets (#​4644)
Merge Requests

v2.79.1

Compare Source

2022-09-22

Bug Fixes
  • Avoid massive performance degradation when creating thousands of chunks (#​4643)
Merge Requests

v2.79.0

Compare Source

2022-08-31

Features
  • Add amd.forceJsExtensionForImports to enforce using .js extensions for relative AMD imports (#​4607)
Merge Requests

v2.78.1

Compare Source

2022-08-19

Bug Fixes
  • Avoid inferring "arguments" as name for a default export placeholder variable (#​4613)
Merge Requests

v2.78.0

Compare Source

2022-08-14

Features
  • Support writing plugin hooks as objects with a "handler" property (#​4600)
  • Allow changing execution order per plugin hook (#​4600)
  • Add flag to execute plugins in async parallel hooks sequentially (#​4600)
Merge Requests

v2.77.3

Compare Source

2022-08-11

Bug Fixes
  • Correctly resolve preserveModulesRoot in Vite (#​4591)
Merge Requests

v2.77.2

Compare Source

2022-07-27

Bug Fixes
  • Avoid a rendering failure when mixing outputs with inlined and non-inlined dynamic imports (#​4589)
Merge Requests

v2.77.1

Compare Source

2022-07-26

Bug Fixes
  • Ensure IIFE output generates a global variable when generating ES5 (#​4588)
Merge Requests

v2.77.0

Compare Source

2022-07-15

Features
  • Introduce maxParallelFileOps to limit both read and write operations, default to 20 and replaces maxParallelFileRead (#​4570)
Bug Fixes
  • Avoid including variables referenced from return statements that are never reached (#​4573)
Merge Requests

v2.76.0

Compare Source

2022-07-08

Features
  • Allow setting a sourcmapBaseUrl for absolute paths in sourcemaps (#​4527)
Bug Fixes
  • Support absolute CLI plugin paths on Windows (#​4533)
Merge Requests

v2.75.7

Compare Source

2022-06-20

Bug Fixes
  • Mark Array.prototype.group/groupToMap as side effect free. (#​4531)
Merge Requests

v2.75.6

Compare Source

2022-06-07

Bug Fixes
  • Properly deoptimize "this" when using member expressions with getters/setters in for loops and update expressions ( #​4522)
Merge Requests

v2.75.5

Compare Source

2022-06-01

Bug Fixes
  • Avoid crashes when using logical expressions for unused constructor arguments (#​4519)
  • Fix missing parameter defaults for calls from try statements and functions returned by functions (#​4520)
Merge Requests

v2.75.4

Compare Source

2022-05-31

Bug Fixes
  • Ensure parameter defaults are retained when a function is used as an object property (#​4516)
Merge Requests

v2.75.3

Compare Source

2022-05-29

Bug Fixes
  • Retain parameter defaults for functions that are defaults themselves (#​4515)
  • Track mutations for objects as default values (#​4515)
Merge Requests

v2.75.2

Compare Source

v2.75.1

Compare Source

2022-05-28

Merge Requests

v2.75.0

Compare Source

2022-05-27

Features
  • Re-implement default parameter tree-shaking for top-level functions (#​4510)
  • Do not consider calling string methods like .trim() on template literals a side effect (#​4511)
Merge Requests

v2.74.1

Compare Source

2022-05-19

Bug Fixes
  • Revert #​4498 until some issues are understood and resolved

v2.74.0

Compare Source

2022-05-19

Features
  • Remove unneeded default values for function parameters (#​4498)
Bug Fixes
  • Use a consistent mechanism to resolve the config file to avoid issues on Windows (#​4501)
  • Avoid an inaccurate warning about an event emitter leak for complicated builds (#​4502)
  • Ensure that reexporting values from other chunks via dynamic imports does not reference non-imported variables (#​4499)
Merge Requests

v2.73.0

Compare Source

2022-05-13

Features
  • Do not treat Object.defineProperty/ies as side effect when called on an unused object (#​4493)
  • Do not assume that assigning a property can create a getter with side effects (#​4493)
  • Do not treat string.prototype.replace(All) as side effect when used with two literals (#​4493)
Bug Fixes
  • Detect side effects when manually declaring getters on functions (#​4493)
Merge Requests

v2.72.1

Compare Source

2022-05-07

Bug Fixes
  • Improve tree-shaking of classes with super classes in certain scenarios (#​4489)
Merge Requests

v2.72.0

Compare Source

2022-05-05

Features
  • Add CLI hooks to run external commands at certain points in watch mode (#​4457)
Bug Fixes
  • Fix an issue that could accidentally treat relevant assignments as side effect free (#​4486)
Merge Requests

v2.71.1

Compare Source

2022-04-30

Bug Fixes
  • Allow importing loadConfigFile without extension (#​4483)
Merge Requests

v2.71.0

Compare Source

2022-04-30

v2.70.2

Compare Source

2022-04-15

Bug Fixes
  • Do not enforce undefined return values in TypeScript types (#​4463)
Merge Requests

v2.70.1

Compare Source

2022-03-14

Bug Fixes
  • Handle unfinished hook action errors as regular errors and avoid console logging (#​4434)
  • Allow access to "dist" folder in a Node 17 compatible way (#​4436)
Merge Requests

v2.70.0

Compare Source

2022-03-07

Features
  • Make the watchChange and closeWatcher hooks asynchronous and make Rollup wait for these hooks before continuing ( #​4427)
Bug Fixes
  • Do not abort watch mode for errors in watchChange but display them properly (#​4427)
Merge Requests

v2.69.2

Compare Source

2022-03-06

Bug Fixes
  • Mark Object.entries and Object.fromEntries as pure (#​4429)
  • Make sure new properties on Array.prototype and Object.prototype are not evaluated as "undefined" (#​4428)
Merge Requests

v2.69.1

Compare Source

2022-03-04

Bug Fixes
  • Approximate source position instead of ignoring it when using a low-resolution source map in a transform hook (#​4334)
Merge Requests

v2.69.0

Compare Source

2022-03-02

Features
  • Introduce new output.generatedCode.symbols to control the usage of Symbols in Rollup-generated code (#​4378)
  • soft-deprecate output.namespaceToStringTag in favor of output.generatedCode.symbols (#​4378)
Bug Fixes
  • Properly handle ./ and ../ as external dependencies (#​4419)
  • Make generated "Module" namespace toStringTag non-enumerable for correct Object.assign/spread behaviour (#​4378)
  • Add file name to error when top-level-await is used in disallowed formats (#​4421)
Merge Requests

v2.68.0

Compare Source

2022-02-22

Features
  • provide information about cached import resolutions in shouldTransformCachedModule (#​4414)
  • Add "types" field to Rollup's package exports (#​4416)
Merge Requests

v2.67.3

Compare Source

2022-02-18

Bug Fixes
  • Do not swallow other errors when unfinished hook actions are detected (#​4409)
  • Add additional information to output when there are unfinished hook actions (#​4409)
Merge Requests

v2.67.2

Compare Source

2022-02-10

Bug Fixes
  • Ensure consistent order between manual chunks to fix hashing issues (#​4397)
Merge Requests

v2.67.1

Compare Source

2022-02-07

Bug Fixes
  • Make chunk file and variable names more deterministic when emitting chunks (#​4386)
  • Improve default module resolver performance by using non-blocking IO (#​4386)
Merge Requests
stylelint/stylelint

v16.9.0

Compare Source

  • Changed: secondaryOptions argument type of the Rule function (#​7950) (@​Mouvedia).
  • Fixed: color-function-notation reporting functions with less than 3 arguments (#​7948) (@​Mouvedia).
  • Fixed: declaration-property-value-no-unknown false positives/negatives (#​7944 & #​7957 & #​7956) (@​Mouvedia & @​sidverma32).
    • false positives: overflow, word-break, width
    • false negatives: anchor-name, field-sizing, text-box-edge, text-box-trim, text-spacing-trim, text-wrap, text-wrap-mode, text-wrap-style, view-timeline, view-timeline-axis, view-timeline-inset, view-timeline-name, view-transition-name
  • Fixed: keyframe-block-no-duplicate-selectors/keyframe-declaration-no-important/keyframe-selector-notation/no-unknown-animations false negatives for @-o-keyframes and @-ms-keyframes (#​7953) (@​Mouvedia).
  • Fixed: no-duplicate-selectors reported ranges (#​7938) (@​romainmenke).
  • Fixed: property-no-vendor-prefix report for -webkit-background-size (#​7940) (@​Mouvedia).
  • Fixed: selector-class-pattern reported ranges (#​7959) (@​Mouvedia).
  • Fixed: selector-no-qualifying-type reported ranges (#​7937) (@​romainmenke).
  • Fixed: honour Node.js --no-deprecation flag for rule deprecation warnings (#​7943) (@​Mouvedia).

v16.8.2

Compare Source

v16.8.1

Compare Source

v16.8.0

Compare Source

v16.7.0

Compare Source

v16.6.1

Compare Source

v16.6.0

Compare Source

v16.5.0

Compare Source

v16.4.0

Compare Source

v16.3.1

Compare Source

v16.3.0

Compare Source

v16.2.1

Compare Source

  • Fixed: report flags not reporting on subsequent runs when cache is used (#​7483) (@​ybiquitous).
  • Fixed: custom-property-no-missing-var-function false positives for properties that can contain author-defined identifiers (#​7478) (@​ybiquitous).
  • Fixed: selector-pseudo-class-no-unknown false positives for :seeking, the media loading state and sound state pseudo-classes (#​7490) (@​Mouvedia).
  • Fixed: selector-max-specificity false positives with ignoreSelectors option for of <selector> syntax (#​7475) (@​ybiquitous).
  • Fixed: function-calc-no-unspaced-operator performance (#​7505) (@​ybiquitous).
  • Fixed: validateOptions to report when secondary option object is an empty object or null (#​7476) (@​ybiquitous).
  • Fixed: report() error message responsibility for a missing node or line number (#​7474) (@​ybiquitous).

v16.2.0

Compare Source

v16.1.0

Compare Source

v16.0.2

Compare Source

v16.0.1

Compare Source

v16.0.0

Compare Source

Migrating to 16.0.0 guide.

v15.11.0

Compare Source

  • Added: ignoreRules to max-nesting-depth (#​7215) (@​mattxwang).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for grid-template with repeat() (#​7230) (@​mattxwang).
  • Fixed: declaration-block-no-redundant-longhand-properties false negative for font-synthesis (#​7214) (@​mattxwang).
  • Fixed: declaration-block-no-redundant-longhand-properties false negatives for *-block and *-inline logical properties (#​7208) (@​mattxwang).
  • Fixed: declaration-block-no-redundant-longhand-properties false negatives for overflow, overscroll-behavior, scroll-margin, scroll-padding, and new Box Alignment shorthands (#​7213) (@​mattxwang).
  • Fixed: function-no-unknown false positives for light-dark, linear and xywh (#​7242) (@​mattxwang).

v15.10.3

Compare Source

v15.10.2

Compare Source

  • Fixed: declaration-property-value-no-unknown false negatives for nested declarations (#​7079) (@​romainmenke).
  • Fixed: selector-pseudo-element-no-unknown false positives for view-transition pseudo-elements (#​7070) (@​danielroe).

v15.10.1

Compare Source

v15.10.0

Compare Source

v15.9.0

Compare Source

  • Added: insideFunctions: {"function": int} to number-max-precision (#​6932) (@​romainmenke).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for border-radius shorthand (#​6958) (@​mattxwang).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for border-width shorthand (#​6956) (@​mattxwang).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for grid-column and grid-row (#​6957) (@​mattxwang).

v15.8.0

Compare Source

v15.7.0

Compare Source

v15.6.3

Compare Source

v15.6.2

Compare Source

v15.6.1

Compare Source

v15.6.0

Compare Source

  • Added: allowEmptyInput, cache, fix options to configuration object (#​6778) (@​mattxwang).
  • Added: ignore: ["with-var-inside"] to color-function-notation (#​6802) (@​mattxwang).
  • Fixed: declaration-block-no-duplicate-properties autofix for 3 or more duplicates (#​6801) (@​mattxwang).
  • Fixed: declaration-block-no-duplicate-properties false positives with option ignore: ["consecutive-duplicates-with-different-syntaxes"] (#​6797) (@​romainmenke).
  • Fixed: declaration-block-no-duplicate-properties syntax error (#​6792) (@​yoyo837).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for grid-template (#​6777) (@​mattxwang).
  • Fixed: function-url-quotes autofix for comments in SCSS function (#​6800) (@​ybiquitous).

v15.5.0

Compare Source

v15.4.0

Compare Source

v15.3.0

Compare Source

v15.2.0

Compare Source

v15.1.0

Compare Source

v15.0.0

Compare Source

Migrating to 15.0.0 guide.

v14.16.1

Compare Source

  • Fixed: customSyntax resolution with configBasedir (#​6536) (@​ybiquitous).
  • Fixed: declaration-block-no-duplicate-properties autofix for !important (#​6528) (@​sidx1024).
  • Fixed: function-no-unknown false positives for scroll, -webkit-gradient, color-stop, from, and to (#​6539) (@​Mouvedia).
  • Fixed: value-keyword-case false positives for mixed case ignoreFunctions option (#​6517) (@​kimulaco).
  • Fixed: unexpected output in Node.js API lint result when any rule contains disableFix: true (#​6543) (@​adrianjost).

v14.16.0

Compare Source

v14.15.0

Compare Source

v14.14.1

Compare Source

  • Fixed: declaration-block-no-redundant-longhand-properties false positives for inherit keyword (#​6419) (@​kimulaco).
  • Fixed: shorthand-property-no-redundant-values message to be consistent (#​6417) (@​fpetrakov).
  • Fixed: unit-no-unknown false positives for *vi & *vb viewport units (#​6428) (@​sidverma32).

v14.14.0

Compare Source

v14.13.0

Compare Source

v14.12.1

Compare Source

v14.12.0

Compare Source

v14.11.0

Compare Source

  • Added: ignoreAfterCombinators: [] to selector-max-universal (#​6275).
  • Fixed: createPlugin type definition (#​6264).
  • Fixed: alpha-value-notation false negatives for SVG properties (#​6284).
  • Fixed: keyframes-name-pattern false positives for interpolation (#​6265).
  • Fixed: selector-nested-pattern end positions (#​6259).
  • Fixed: selector-no-qualifying-type message, positions, and false positives (#​6260).
  • Fixed: selector-no-vendor-prefix end positions (#​6261).
  • Fixed: selector-pseudo-class-allowed-list end positions and message (#​6262).
  • Fixed: selector-pseudo-class-disallowed-list end positions and message (#​6263).
  • Fixed: selector-pseudo-element-allowed-list end positions and message (#​6270).
  • Fixed: selector-pseudo-element-disallowed-list end positions and message (#​6270).
  • Fixed: shorthand-property-no-redundant-values message (#​6272).
  • Fixed: time-min-milliseconds end positions (#​6273).

v14.10.0

Compare Source

  • Added: rule metadata to public LinterResult API (#​6166).
  • Added: longhand sub-properties of shorthand properties reference data to public API (#​6168).
  • Added: meta.fixable property to each rule (#​6181).
  • Added: support for loading custom formatter from package (#​6228).
  • Added: annotation-no-unknown rule (#​6155).
  • Added: keyframe-selector-notation rule (#​6164).
  • Added: percentage-unless-within-keyword-only-block primary option to keyframe-selector-notation (#​6194).
  • Added: github formatter (#​6150).
  • Added: tally to string and verbose formatters (#​6153).
  • Added: fixable status to verbose and github formatters (#​6183).
  • Added: invalid rule primary option message for false (#​6250).
  • Fixed: exit code when nothing is passed to stylelint command (#​6175).
  • Fixed: rule message function type to not require users to handle all kind of arguments (#​6147).
  • Fixed: at-rule-* end positions (#​6163).
  • Fixed: declaration-block-no-redundant-longhand-properties end positions (#​6219).
  • Fixed: declaration-property-value-allowed-list false positives for multiple match (#​6190).
  • Fixed: declaration-property-value-disallowed-list false negatives for multiple match (#​6188).
  • Fixed: named-grid-areas-no-invalid end positions (#​6205).
  • Fixed: no-descending-specificity false positives for pseudo-classes (#​6195).
  • Fixed: no-unknown-animations end positions (#​6221).
  • Fixed: no-unknown-animations false positives for SCSS interpolation (#​6185).
  • Fixed: number-max-precision end positions (#​6184).
  • Fixed: property-* end positions (#​6174).
  • Fixed: rule-selector-property-disallowed-list end positions (#​6222).
  • Fixed: selector-attribute-name-disallowed-list end positions (#​6223).
  • Fixed: selector-attribute-operator-allowed-list end positions (#​6224).
  • Fixed: selector-attribute-operator-disallowed-list end positions (#​6225).
  • Fixed: selector-attribute-quotes end positions (#​6226).
  • Fixed: selector-class-pattern end positions (#​6227).
  • Fixed: selector-combinator-allowed-list and selector-combinator-disallowed-list end positions (#​6229).
  • Fixed: selector-disallowed-list end positions (#​6230).
  • Fixed: selector-id-pattern end positions (#​6231).
  • Fixed: selector-not-notation end positions (#​6201).
  • Fixed: selector-pseudo-element-colon-notation end positions (#​6235).
  • Fixed: string-no-newline end positions (#​6218).
  • Fixed: unit-* start and end positions (#​6169).
  • Fixed: value-no-vendor-prefix end positions (#​6173).

v14.9.1

Compare Source

  • Fixed: selector-max-specificity false positives for :nth-child (#​6140).

v14.9.0

Compare Source

  • Added: import-notation rule (#​6102).
  • Fixed: no-duplicate-selectors false positives for SCSS/Less nested interpolations (#​6118).
  • Fixed: no-descending-specificity and selector-max-specificity false positives for :is() and :where() (#​6131).

v14.8.5

Compare Source

  • Fixed: no-duplicate-selectors false positives with Less syntax (#​6111).

v14.8.4

Compare Source

  • Fixed: no-duplicate-selectors error with non-standard selectors (#​6106).

v14.8.3

Compare Source

  • Fixed: at-rule-no-unknown false positives for @layer (#​6093).
  • Fixed: length-zero-no-unit autofix for .0 values (#​6098).
  • Fixed: media-feature-name-no-unknown false positives for display-mode (#​6073).
  • Fixed: no-descending-specificity end positions (#​6049).
  • Fixed: no-duplicate-* end positions (#​6047).
  • Fixed: no-invalid-* end positions (#​6072).
  • Fixed: no-invalid-position-at-import-rule false positives for @layer (#​6094).

v14.8.2

Compare Source

  • Fixed: function-calc-no-unspaced-operator false positives for non-standard variables (#​6053).
  • Fixed: selector-*-no-unknown end positions (#​6046).

v14.8.1

Compare Source

  • Fixed: declaration-block-no-* end positions that avoid errors (#​6040).
  • Fixed: function-calc-no-unspaced-operator false positives and memory leak (#​6045).
  • Fixed: named-grid-areas-no-invalid false positives for arealess templates (#​6042).

v14.8.0

Compare Source

  • Added: keyframe-block-no-duplicate-selectors rule (#​6024).
  • Added: property-*-list support for vendor prefixes (#​6025).
  • Fixed: at-rule-*-list end positions (#​6032).
  • Fixed: at-rule-no-unknown end positions (#​6026).
  • Fixed: function-linear-gradient-no-nonstandard-direction false negative about -ms-linear-gradient (#​6031).
  • Fixed: function-no-unknown end positions (#​6038).
  • Fixed: property-no-unknown end positions (#​6039).

v14.7.1

Compare Source

  • Fixed: a regression for /* stylelint-disable */ comments (#​6018).
  • Fixed: font-family-name-quotes false positives for ui-* generic system font keywords (#​6017).

v14.7.0

Compare Source

  • Added: ranges for warnings that can be used by formatters and integrations (#​5725).
  • Added: selector-not-notation rule (#​5975).
  • Fixed: font-weight-notation false positives for Sass functions and column position (#​6005).

v14.6.1

Compare Source

  • Fixed: custom-property-pattern TypeError for "Cannot destructure property..." (#​5982).
  • Fixed: selector-type-case false positives for SVG elements (#​5973).
  • Fixed: unit-no-unknown false positives for large/small/dynamic viewport units (#​5970).

v14.6.0

Compare Source

  • Added: declaration-property-max-values rule (#​5920).
  • Fixed: *-no-important column position (#​5957).
  • Fixed: custom-property-pattern false positives for interpolation in property name (#​5949).
  • Fixed: font-family-name-quotes column position (#​5955).
  • Fixed: selector-pseudo-*-no-unknown false positives and negatives (#​5959).
  • Fixed: selector-pseudo-class-no-unknown false positives and negatives (#​5956).

v14.5.3

Compare Source

  • Fixed: *-list invalid option warnings for strings (#​5934).

v14.5.2

Compare Source

  • Fixed: clarity of invalid option warning message for objects (#​5923).
  • Fixed: *-list false negatives for invalid options (#​5924).
  • Fixed: custom-property-pattern false positives for interpolation inside var() (#​5925).
  • Fixed: declaration-property-value-*-list column position (#​5926).
stylelint/stylelint-config-standard

v36.0.1

Compare Source

  • Fixed: missing funding field in package.json.

v36.0.0

Compare Source

  • Removed: stylelint less than 16.1.0 from peer dependencies.
  • Added: lightness-notation: "percentage" rule.

v35.0.0

Compare Source

v34.0.0

Compare Source

v33.0.0

Compare Source

  • Removed: stylelint less than 15.5.0 from peer dependencies.
  • Changed: updated to stylelint-config-recommended@12.0.0.
  • Changed: restored declaration-block-single-line-max-declarations removed on 30.0.0.

v32.0.0

Compare Source

  • Removed: stylelint less than 15.4.0 from peer dependencies.
  • Added: media-feature-range-notation: "context" rule.

v31.0.0

Compare Source

v30.0.1

Compare Source

v30.0.0

Compare Source

  • Removed: stylelint less than 15.0.0 from peer dependencies.
  • Removed: 64 rules deprecated in stylelint@15.0.0. For details, see the migration guide.
  • Fixed: length-zero-no-unit to ignore custom properties.
  • Fixed: value-no-vendor-prefix to ignore -webkit-inline-box.

v29.0.0

Compare Source

  • Removed: stylelint less than 14.14.0 from peer dependencies.
  • Changed: import-notation to be "url".
  • Added: custom parameter messages to *-pattern rules.
  • Fixed: value-no-vendor-prefix to ignore -webkit-box.

v28.0.0

Compare Source

  • Removed: stylelint less than 14.11.0 from peer dependencies.
  • Changed: alpha-value-notation to be "number" for SVG *-opacity properties.

v27.0.0

Compare Source

v26.0.0

Compare Source

  • Removed: stylelint less than 14.9.0 from peer dependencies.
  • Changed: updated to stylelint-config-recommended@8.0.0.
  • Added: import-notation rule.
  • Added: selector-not-notation rule.

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This MR will be recreated if closed unmerged. Get config help if that's undesired.


  • [ ] If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Edited by Guillaume Grossetie

Merge request reports

Loading