Update all dependencies (major)
This MR contains the following updates:
Release Notes
11ty/eleventy
v2.0.1
Eleventy v2.0.1 is now available! You can try it out in your project now:
npm install @​11ty/eleventy@latest
- Read more about project versus global installation.
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.
- Build a blog from scratch in 6 minutes with Eleventy
- Watch The State of Eleventy in Two Minutes
- Read more about Eleventy’s project goals.
Features and Fixes
- Fixed:
this.eleventy
in JavaScript template functions #2790 - Fixed:
lodash
security audits #2877 - Fixed: pagination targets with object bracket notation #2851
- Fixed:
11ty.js
templates were too aggressively cached on watch/serve #2839 #2838 - Fixed: Handlebars partials were too aggressively cached on watch/serve #2799
- Fixed: Configuration reload fixes #2864 #2869 #2867
- New: Serverless pagination now works with Arrays and Objects #2853 #2544 Learn more: https://www.11ty.dev/docs/plugins/serverless/#dynamic-slugs-to-subset-your-pagination
- Typo fixes by @deining in #2845
Housekeeping
- Full milestone/issue list: https://github.com/11ty/eleventy/milestone/43?closed=1
- Full changelog: https://github.com/11ty/eleventy/compare/v2.0.0...v2.0.1
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 ❤️.
- A huge thank you to Netlify, especially: @biilmann, Chris Bach, Lauren Sell (alum), and Claire Knight, without whom this release would not have been possible.
- 🏆 A special thanks to @pdehaan for their tireless contributions on the Eleventy Issue tracker.
- Yet more thanks to the all star Discord Moderators and Meetup Coordinators @BenDMyers, @clottman, @dleatherman, @darthmall, @nachtfunke, @siakaramalegos and @5t3ph.
- All of our supporters on Open Collective ❤️
- Contribute on Open Collective
- How else can you contribute to Eleventy?
Open Collective Supporters
- Gold Sponsors: Sanity.io, Nordhealth, CloudCannon, Transloadit
- Silver Sponsors: Unabridged Software, PQINA, Bejamas, Nathan Smith, Monarch Air Group, Getform.io, Mercury Jets, OCEG
- Backers: Tyler Gaw, Ariel Salminen, Peter deHaan, Melanie Sumner, Ben Nash, Alejandro Rodríguez, Mat Marquis, Philip Borenstein, Jérôme Coupé, Nicolas Hoizey, Mike Aparicio, Ben Myers, Katie Sylor-Miller, Mark Buskbjerg, mortendk, Aaron Hans, Lauris Consulting, John Meyerhofer, Todd Libby, shawn j sandy, Luke Bonaccorsi, Higby, Jenn Schiffer, Dimitrios Grammatikogiannis, Devin Clark, Eric Bailey, Manuel Matuzovic, Tim Giles, Kyosuke Nakamura, Rob Sterlini, Horacio Gonzalez, Hans Gerwitz, Makoto Kawasaki, Josh Crain, Richard Hemmer, Nick Nisi, John SJ Anderson, Ryan Swaney, Alistair Shepherd, Ivo Herrmann, Flaki, Angelique Weger, John Hall, Scott McCracken, James Steinbach, Miriam Suzanne, Bentley Davis, Ara Abcarians, vince falconi, Martin Schneider, Stephanie Eckles, Frontend Weekly Tokyo, Dorin Vancea, Chris Burnell, Ximenav Vf., Rich Holman, Kasper Storgaard, Kevin Healy, Greg Gibson, Michelle Barker, Alesandro Ortiz, David A. Herron, Paul Robert Lloyd, Andrea Vaghi, Bryan Robinson, Ashur Cabrera, Raymond Camden, John Meguerian, Joe Lamyman, Dan Ryan, Sam, Brett Nelson, Paul Welsh, Ingo Steinke, Noel Forte, Melanie Richards, Marco Zehe, Wes Ruvalcaba, Luc Poupard, Entle Web Solutions, Ken Hawkins, Fershad Irani, Nikita Dubko, Aaron Gustafson, Chris, Christian Miles, Benjamin Geese, Marcus Relacion, Netin nopeustesti, Raphael Höser, Cthos, Sia Karamalegos, Jon Kuperman, Saneef Ansari, Michel van der Kroef, Flemming Meyer, Colin Fahrion, Dan Burzo, 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, Richmond Insulation, Patrick Byrne, zapscribbles, Frank Reding, quinnanya, Cory Birdsong, Aram ZS, Andy Stevenson, Robin Rendle, HelppoHinta.fi, Tanner Dolby, jpoehnelt, xdesro, Alex Zappa, Richmond Concrete, Alexander Wunschik, Tom, CelineDesign, Nic Chan, Duc Lam, Stephen Bell, Robert Haselbacher, Lene, Brett DeWoody, alistairtweedie, Meta Tier List, Iva Tech, Daniel Saunders, Josh Vickerson, Dan Urbanowicz, dan leatherman, Jens Grochtdreis, CBD Review, Eric Gallager, Softermii, Eric Carlisle, Claus Conrad, Anna E. Cook, David Luhr, Matt Obee, Kiekkotorni - Nikotiinipussit
v2.0.0
🚨 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
- Read more about local versus global installation.
- Watch a short video about 2.0 on YouTube.
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
- ✅ Dependencies decreased by 32.1%: 211 modules (311 in v1.0.2)
- ✅
node_modules
file weight decreased by 77.8%: 34.3 MB (155 MB in v1.0.2) - ✅ 30.5% faster
npm install
time
Faster Builds
- Improved build performance (tested on a sample 500 page site against v1.0.2) using:
- Liquid: ✅ 18.18% faster
- Nunjucks: ✅ 17.74% faster
- Markdown (with Liquid): ✅ 17.95% faster
- JavaScript (11ty.js): ✅ 8.33% faster
-
--incremental
for incremental builds #108- Smarter incremental builds with support for layout dependencies, registered dependencies on custom templates, dependencies in
pagination
data oreleventyImport
#975
- Smarter incremental builds with support for layout dependencies, registered dependencies on custom templates, dependencies in
-
--ignore-initial
command line option to skip the first build (best paired with--incremental
) - Use emulated passthrough copy to serve passthrough files directly without triggering a build (will still work with live reload) #2456
Plugins
- Support for WebC, the new single file format for web components
- Eleventy Edge will render Eleventy templates in an Edge Function for dynamic content (bundled with Eleventy)
- Eleventy Dev Server replaces Browsersync, adds support for DOM-diffing live reloads. #1305 (bundled with Eleventy)
- Render Plugin will render any template syntax inside other files (bundled with Eleventy)
- Internationalization (i18n) Plugin makes it easy to create localized sites (bundled with Eleventy)
-
HTML
<base>
Plugin makes it easy to deploy your site to any folder path without changing any content (works great with the path prefix feature) (bundled with Eleventy) - Support for the Vite plugin
And more…
- Support for aliasing to an existing template language #2248
- This unlocks TypeScript or JSX in Eleventy when you use
esbuild-register
and alias11ty.ts
or11ty.tsx
to11ty.js
.
- This unlocks TypeScript or JSX in Eleventy when you use
-
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
, orserve
), orresults
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
- Bump minimum Node version to Node 14+ #2336
- Disable indented code blocks in Markdown by default #2438
-
Both
.git
and nestednode_modules
folders are ignored by default (previously we ignorednode_modules/**
, now**/node_modules/**
) #2436 -
Dates will now be stripped from the parent directory for
page.fileSlug
when the file name isindex.*
. e.g.YYYY-MM-DD-myslug/index.md
has apage.fileSlug
ofmyslug
when previously it wasYYYY-MM-DD-myslug
#1947 #2111 - Dots in global data file names should be preserved in key name for data cascade #1242 #1912
- Removes deprecated in v1.0 (and undocumented)
renderData
feature (use Computed Data instead) #2356 - Removes pre-processing global JSON data files with a template language #2728
- Removes
--passthroughall
command line flag #2682 - Major dependency bumps:
-
liquidjs
from v9 to v10 Release notes #2678 -
luxon
from v2 to v3 Release notes -
markdown-it
from v12 to v13 Release notes
-
The Small Features
- Adds support for configuration default file names
eleventy.config.js
andeleventy.config.cjs
in addition to.eleventy.js
#1029 -
addShortcode
is now async-friendly #2726 -
addFilter
is now async-friendly #2536 (also adds anaddAsyncFilter
API method) - File watching:
- Eleventy Dev Server includes a
watch
option to trigger live reloads on file changes outside of your Eleventy build. Works great when you’re using a bundler in parallel! - Decoupled ignore APIs for template processing (
eleventyConfig.ignores
) and file watching (eleventyConfig.watchIgnores
) #893
- Eleventy Dev Server includes a
- Access advanced
recursive-copy
options in passthrough file copy #1686- Unlocks passthrough copy with symlinks #530
-
log
filter supports chaining #2467 - Adds new
git Created
date option #2468 - Adds options for
read
andencoding
to custom data formats- This unlocks using binary files (like images) to populate the Data Cascade
Even Smaller Features
- Adds
eleventy.env.runMode
to global data. #2770 -
setDataFileSuffixes
API method to customize Template and Directory data file suffixes (or opt-out of the Template and Directory Data Files feature) #2681 -
Serverless option
singleTemplateScope: false
simplifies using collections in serverless mode. #2736 - A variety of bug fixes for
--serve
issues that required server restarts. - Data Consistency:
-
this.page
andthis.eleventy
are now available on Shortcodes, 🆕 Filters, 🆕 Linters, and 🆕 Transforms page
andcontent
on Collection entries
-
- Adds
getCollectionItemIndex
universal filter #2676 - Throw error on circular layout dependencies #2076
- Plugins can now reference
eleventyConfig.pathPrefix
#2526 -
generatePageOnEmptyData
to generate an empty results page with an empty paginated data set #1698 #756 #731 #2208 - Creating an empty JSON data file no longer throws an error #2299
Housekeeping
- Full issue list: https://github.com/11ty/eleventy/milestone/38?closed=1
- Full changelog: https://github.com/11ty/eleventy/compare/v1.0.2...v2.0.0
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 ❤️.
- A huge thank you to Netlify, especially: @biilmann, Chris Bach, Lauren Sell (alum), and Claire Knight, without whom this release would not have been possible.
- 🏆 A special thanks to @pdehaan for their tireless contributions on the Eleventy Issue tracker.
- Yet more thanks to the all star Discord Moderators and Meetup Coordinators @BenDMyers, @clottman, @dleatherman, @darthmall, @nachtfunke, @siakaramalegos and @5t3ph.
- All of our supporters on Open Collective ❤️
- Contribute on Open Collective
- How else can you contribute to Eleventy?
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
- Gold Sponsors: Sanity.io, Nordhealth, CloudCannon, Transloadit
- Silver Sponsors: Unabridged Software, PQINA, Bejamas, Nathan Smith, Monarch Air Group, Getform.io, Mercury Jets, and OCEG
- Backers: Tyler Gaw, Ariel Salminen, Peter deHaan, Melanie Sumner, Ben Nash, Alejandro Rodríguez, Mat Marquis, Philip Borenstein, Jérôme Coupé, Nicolas Hoizey, Mike Aparicio, Ben Myers, Katie Sylor-Miller, Mark Buskbjerg, mortendk, Aaron Hans, Lauris Consulting, John Meyerhofer, Todd Libby, Luke Bonaccorsi, shawn j sandy, Jenn Schiffer, Dimitrios Grammatikogiannis, Devin Clark, Eric Bailey, Manuel Matuzovic, Higby, Tim Giles, Kyosuke Nakamura, Horacio Gonzalez, Hans Gerwitz, Makoto Kawasaki, Rob Sterlini, Josh Crain, Nick Nisi, John SJ Anderson, Ryan Swaney, Richard Hemmer, Alistair Shepherd, Flaki, Angelique Weger, John Hall, Scott McCracken, James Steinbach, Miriam Suzanne, Ivo Herrmann, Bentley Davis, vince falconi, Martin Schneider, Stephanie Eckles, Frontend Weekly Tokyo, Chris Burnell, Ximenav Vf., Rich Holman, Kasper Storgaard, Kevin Healy, Dorin Vancea, 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, Ara Abcarians, Dan Ryan, Sam, Brett Nelson, Paul Welsh, Ingo Steinke, Melanie Richards, Noel Forte, Marco Zehe, Wes Ruvalcaba, Luc Poupard, Entle Web Solutions, Ken Hawkins, Fershad Irani, Nikita Dubko, Aaron Gustafson, Chris, Christian Miles, Benjamin Geese, Marcus Relacion, Netin nopeustesti, Sia Karamalegos, Raphael Höser, Cthos, Saneef Ansari, Flemming Meyer, Colin Fahrion, Dan Burzo, Jon Kuperman, Michel van der Kroef, 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, quinnanya, Richmond Insulation, Cory Birdsong, Aram ZS, Frank Reding, Andy Stevenson, HelppoHinta.fi, Robin Rendle, Tanner Dolby, jpoehnelt, Richmond Concrete, Andrew Weisbeck, CelineDesign, Nic Chan, Duc Lam, Alex Zappa, Stephen Bell, xdesro, Alexander Wunschik, alistairtweedie, Tom, Robert Haselbacher, Lene, Brett DeWoody, Meta Tier List, Iva Tech, kylepfeeley, Daniel Saunders, Dan Urbanowicz, dan leatherman, Josh Vickerson, Viewality Media, Aviator Game, Softermii, Eric Carlisle, Claus Conrad, Eric Gallager, Matt Obee, CBD Review
v1.0.2
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 ❤️.
- 🏆 A super special thanks to Peter DeHaan for their tireless contributions on the Eleventy Issue tracker.
- All of our supporters on Open Collective ❤️
- Gold Sponsors: Sanity.io, Nordhealth, CloudCannon and 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
- A full list of Backers can be found below!
- Contribute on Open Collective
- How else can you contribute to Eleventy?
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
- Fixes for liquid argument parsing on shortcodes #2154 #2348 #2367 #2369
- Help from @epelc @lexoyo @denisenadal @mahnunchik @harttle
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
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 ❤️.
- 🏆 A super special thanks to Peter DeHaan for their tireless contributions on the Eleventy Issue tracker.
- All of our supporters on Open Collective ❤️
- Gold Sponsors: Sanity.io, Nordhealth and Silver Sponsors: Set Creative Studio, Unabridged Software, PQINA, The Coders Guild, Bejamas, Nathan Smith, Flatirons Development, Monarch Air Group
- A full list of Backers can be found below!
- Contribute on Open Collective
- How else can you contribute to Eleventy?
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
- Performance improvement to
lodash/isPlainObject
resulted in 28% build time improvement to web.dev (and likely made your project speedier too!) #2214 #2219 - Adds new
date: git Last Modified
feature to fix issues with Content Dates in production environments #142 - New default global data:
eleventy.version
(holds the current version e.g.1.0.1
) andeleventy.generator
(for use in<meta name="generator" content="{{ eleventy.generator }}">
) #1217 #2293 - Extra argument to the pagination
before
callback with current template’s data. #1209 - Improved error messaging with Transforms and Plugins #646
- jsdoc Comments for ConsoleLogger class #1914
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 andreturn;
in thecompile
function to skip/ignore a template. -
#2217 Fix for
this.defaultRenderer is not a function
error when using anasync function
withaddExtension
’scompile
-
#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
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
- @roseckyj made their first contribution in https://github.com/asciidoctor/asciidoctor.js/pull/1722
Full Changelog: https://github.com/asciidoctor/asciidoctor.js/compare/v3.0.3...v3.0.4
v3.0.3
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
andnode_name
accessor in the type definition - thanks @RayOffiah
Infrastructure
- Update development dependencies
New Contributors
- @RayOffiah made their first contribution in https://github.com/asciidoctor/asciidoctor.js/pull/1718
- @sinedied made their first contribution in https://github.com/asciidoctor/asciidoctor.js/pull/1715
Full Changelog: https://github.com/asciidoctor/asciidoctor.js/compare/v3.0.2...v3.0.3
v3.0.2
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
andfindBy
type definition (#1621) - Bridge common Ruby object methods (#1491)
-
parseContent
now callstoHash
on attrs (#1519)
Improvements
-
Map
this.super.<method>
to call the parent function (#1682) -
Map
AbstractBlock.getContentModel
andAbstractBlock.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
- Upgrade GraalVM to 20.1.0 (#1035)
Documentation
- Improve contributing guide by @cunka (#1676)
- Remove call to
convert()
on return value of process method for inline macro extension by @mojavelinux (#1653)
New Contributors
- @djencks made their first contribution in https://github.com/asciidoctor/asciidoctor.js/pull/978
- @bitPogo made their first contribution in https://github.com/asciidoctor/asciidoctor.js/pull/1083
- @cm-wada-yusuke made their first contribution in https://github.com/asciidoctor/asciidoctor.js/pull/1176
- @abelsromero made their first contribution in https://github.com/asciidoctor/asciidoctor.js/pull/1290
- @benjaminleonard made their first contribution in https://github.com/asciidoctor/asciidoctor.js/pull/1659
- @cunka made their first contribution in https://github.com/asciidoctor/asciidoctor.js/pull/1676
v3.0.1
v3.0.0
v2.2.8
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
- Build against Asciidoctor 2.0.23 by @ggrossetie
v2.2.7
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
- Build against Asciidoctor 2.0.22 by @ggrossetie in https://github.com/asciidoctor/asciidoctor.js/pull/1725
codemirror/commands
v6.6.1
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
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
New features
The insertNewlineKeepIndent
command inserts a newline along with the same indentation as the line before.
v6.4.0
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
Bug fixes
Fix an issue causing cursor motion commands to not dispatch a transaction when the change only affects cursor associativity.
v6.3.2
Bug fixes
Fix a regression that caused deleteCharBackward
to sometimes delete a large chunk of text.
v6.3.1
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
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
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
Bug fixes
The by-subword motion commands now properly treat dashes, underscores, and similar as subword separators.
v6.2.3
Bug fixes
Block commenting the selection no longer includes indentation on the first line.
v6.2.2
Bug fixes
Fix a bug where line commenting got confused when commenting a range that crossed language boundaries.
v6.2.1
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
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
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
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
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
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
Bug fixes
Announce to the screen reader when the selection is deleted.
Also bind Ctrl-Shift-z to redo on Linux.
v6.0.0
Bug fixes
Fix a bug where by-page selection commands sometimes moved one line too far.
v0.20.0
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
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
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
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
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
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
New features
The new FacetReader
type provides a way to export a read-only handle to a Facet
.
v6.2.1
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
New features
EditorSelection.range
now accepts an optional 4th argument to specify the bidi level of the range's head position.
v6.1.4
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
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
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
Bug fixes
Fix a bug in range set span iteration that would cause decorations to be inappropriately split in some situations.
v6.1.0
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
Bug fixes
Fix a problem that caused effects' map
methods to be called with an incorrect change set when filtering changes.
v6.0.0
Breaking changes
Update dependencies to 6.0.0
v0.20.1
New features
EditorView.phrase
now accepts additional arguments, which it will interpolate into the phrase in the place of $
markers.
v0.20.0
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
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
Bug fixes
Fix a bug where facet values with computed inputs could incorrectly retain their old value on reconfiguration.
v0.19.7
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
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
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
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
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
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
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
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
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
Bug fixes
Fix a bug where EditContext-based editing could corrupt the document in some situations.
v6.28.3
Bug fixes
Fix an issue causing the IME interface to appear in the wrong spot on Chrome Windows.
v6.28.2
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
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
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
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
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
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
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
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
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
Bug fixes
Fix accidental non-optional field in layer config objects.
v6.25.0
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
Bug fixes
Fix a crash that happens when hover tooltips are active during changes, introduced in 6.24.0.
v6.24.0
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
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
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
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
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
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
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
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
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
Bug fixes
Fix a regression that broke dragging text from inside the editor.
v6.21.1
Bug fixes
Fix a bug that could corrupt the DOM view for specific changes involving newlines and mark decorations.
v6.21.0
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
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
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
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
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
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
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
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
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
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
Bug fixes
Fix another crash regression for compositions before line breaks.
v6.15.2
Bug fixes
Fix the check that made sure compositions are dropped when the selection is moved.
v6.15.1
Bug fixes
Fix a regression that could cause the composition content to be drawn incorrectly.
v6.15.0
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
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
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
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
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
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
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
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
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
Bug fixes
Don't preserve the DOM around a composition that spans multiple lines.
v6.11.0
New features
Gutters now support a widgetMarker
option that can be used to add markers next to block widgets.
v6.10.1
Bug fixes
Limit cursor height in front of custom placeholder DOM elements.
v6.10.0
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
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
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
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
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
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
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
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
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
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
Bug fixes
Fix a bug in posAtCoords
that could cause incorrect results for positions to the left of a wrapped line.
v6.7.2
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
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
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
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
Bug fixes
Fix a bug that caused marked unnecessary splitting of mark decoration DOM elements in some cases.
v6.5.0
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
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
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
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
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
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
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
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
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
Bug fixes
Don't reset the selection for selection change events that were suppressed by a node view.
v6.2.1
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
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
Bug fixes
Make selection-restoration on focus more reliable.
v6.1.3
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
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
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
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
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
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
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
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
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
Bug fixes
Make sure the editor re-measures itself when its attributes are updated.
v0.20.5
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
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
Bug fixes
Fix a bug where the input handling could crash on repeated (or held) backspace presses on Chrome Android.
v0.20.2
New features
The new hideOn
option to hoverTooltip
allows more fine-grained control over when the tooltip should hide.
v0.20.1
Bug fixes
Remove debug statements that accidentally made it into 0.20.0.
Fix a regression in moveVertically
.
v0.20.0
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
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
Bug fixes
Fix an issue where block widgets at the start of the viewport could break height computations.
v0.19.46
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
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
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
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
Bug fixes
Fix a regression in cursor position determination after making an edit next to a widget.
v0.19.41
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
v5.0.19
v5.0.18
v5.0.17
v5.0.16
v5.0.15
v5.0.14
v5.0.13
v5.0.12
v5.0.8
v5.0.7
v5.0.6
v5.0.5
v5.0.4
v5.0.3
v5.0.2
v5.0.1
fontsource/font-files (@fontsource/source-code-pro)
v5.0.19
v5.0.18
v5.0.17
v5.0.16
v5.0.15
v5.0.14
v5.0.13
v5.0.12
v5.0.8
v5.0.7
v5.0.6
v5.0.5
v5.0.4
v5.0.3
v5.0.2
v5.0.1
fontsource/font-files (@fontsource/urbanist)
v5.0.21
v5.0.20
v5.0.19
v5.0.18
v5.0.17
v5.0.16
v5.0.15
v5.0.14
v5.0.13
v5.0.12
v5.0.11
v5.0.8
v5.0.7
v5.0.6
v5.0.5
v5.0.4
v5.0.3
v5.0.2
v5.0.1
rollup/plugins (@rollup/plugin-babel)
v6.0.4
2023-10-05
Bugfixes
- fix: ensure rollup 4 compatibility #1595
v6.0.3
2022-11-25
Updates
- docs: small typo in babel plugin readme #1355
v6.0.2
2022-10-21
Updates
- chore: update rollup dependencies (3038271)
v6.0.1
Skipped for repo rebase
v6.0.0
2022-10-08
Breaking Changes
- fix: prepare for Rollup 3 #1303
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
2023-10-15
Bugfixes
- fix: bump magic-string version #1596
v25.0.6
2023-10-15
Bugfixes
- fix: Keep the shebang at the top of the file content #1610
v25.0.5
2023-10-05
Bugfixes
- fix: ensure rollup 4 compatibility #1595
v25.0.4
2023-08-11
Updates
- docs: update docs #1545
v25.0.3
2023-07-15
Bugfixes
- fix: preserve
this
reference in the child class #1537
v25.0.2
2023-06-19
Bugfixes
- fix: add classBodyDepth flag #1507
v25.0.1
2023-06-10
Bugfixes
- fix: change dynamicRequireRoot to normalizedDynamicRequireRoot && tweak related tests #1508
v25.0.0
2023-05-12
Breaking Changes
- fix: dynamic require root check was broken in some cases #1461
v24.1.0
2023-04-11
Features
- feat: Do not use getters for module.exports #1455
v24.0.1
2023-01-20
Bugfixes
- fix: types should come first in exports #1403
v24.0.0
2022-12-18
Breaking Changes
- fix: check if defaultIsModuleExports is auto for getDefaultExportFromCjs #1358
v23.0.7
2022-12-17
Bugfixes
- fix: produce code which works when __esModule is already defined #1379
v23.0.6
2022-12-17
Bugfixes
- fix: update magic-string #1373
v23.0.5
2022-12-15
Bugfixes
- fix: resolve export exports not found #1363
v23.0.4
2022-12-07
Bugfixes
v23.0.3
2022-11-27
Bugfixes
- fix: correctly wrap a default class export from cjs module #1350
v23.0.2
2022-10-21
Updates
- chore: update rollup dependencies (3038271)
v23.0.1
Skipped for repo rebase
v23.0.0
2022-10-09
Breaking Changes
- fix: prepare for Rollup 3 #1300
v22.0.2
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
2023-10-08
Bugfixes
- fix: modulePaths default is not set #1534
v15.2.2
2023-10-05
Bugfixes
- fix: ensure rollup 4 compatibility #1595
v15.2.1
2023-08-22
Bugfixes
- fix: Implement package exports / imports resolution algorithm according to Node documentation #1549
v15.2.0
2023-08-17
Features
- feat: pass original importee to secondary resolve #1557
v15.1.0
2023-05-30
Features
- feat: Resolve js/jsx/mjs/cjs imports from TypeScript files #1498
v15.0.2
2023-04-04
Bugfixes
- fix: bump is-builtin-module version, imports with a trailing slash #1424
v15.0.1
2022-10-21
Updates
- chore: update rollup dependencies (3038271)
v15.0.0
2022-10-10
Breaking Changes
- fix: prepare for Rollup 3 #1288
v14.1.0
2022-09-12
Features
- feat: add new option, modulePaths (#1104)
v14.0.1
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
Bug Fixes
- Fix layer rule deduping https://github.com/cssnano/cssnano/pull/1656
v7.0.4
Bug fixes
- fix(postcss-convert-values): preserve percent sign in border-image-width in https://github.com/cssnano/cssnano/pull/1645
v7.0.3
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
Bug Fixes
- fix invalid output in some cases where selectors contain comments
v7.0.1
Patch changes
Update postcss-calc dependency to latest version
v7.0.0
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
Bug Fixes
- preserve correct order of
gap
andcolumn-gap
properties
Patch Changes
- update autoprefixer
v6.1.1
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
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
Bug Fixes
- correctly minify
font
declaration in edge cases - preserve
initial
property in-webkit-line-clamp
v6.0.4
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
Bug fixes
- do not sort unknown properties
Other
- Require latest browserslist and postcss-selector-parser
v6.0.2
- 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
Bug Fixes
- fix(postcss-merge-rules): do not merge nested rules (https://github.com/cssnano/cssnano/commit/eb9a9a18132d360cb8639f0ca6be4d24401bcde9)
- fix(postcss-reduce-idents): minify grid line names correctly (https://github.com/cssnano/cssnano/commit/2af6687e63978a7b0a08f97d095aa9e6b593eb4f)
v6.0.0
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
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
Bug Fixes
- fix: update autoprefixer and browserslist
- fix(postcss-reduce-initial): improve initial properties data
v5.1.13
Bug Fixes
- fix TypeScript type of
cssnano()
return value (https://github.com/cssnano/cssnano/commit/b92dbe3ab1db16141dc6296cd350f3fdf5c2defe)
v5.1.12
Bug Fixes
- fix: preserve hyphenated property case (https://github.com/cssnano/cssnano/commit/120a88899376a29c8756234fdc648c519921f515)
- fix: ensure sorting properties does not break the output (https://github.com/cssnano/cssnano/commit/0a3a1331e29f3d1009d2a938181ffa4b34ab5b32)
- fix: recognize 'constant' as a function (https://github.com/cssnano/cssnano/commit/858a8b77c951f3698b14e834f38128b176438edc)
v5.1.11
Bug Fixes
- postcss-ordered-values: preserve constant values (32ab4d9b7d20d)
v5.1.10
Bug Fixes
- postcss-minify-selectors: preserve similar nested selectors (f6c29fb3e75ac26a2635d)
v5.1.9
Bug Fixes
- postcss-merge-longhand: preserve more color function fallbacks (712993cb4a4e0)
v5.1.8
Bug Fixes
- postcss-convert-values: preserve percentage sign on IE 11 (57f060ad21734)
v5.1.7
v5.1.6
Bug Fixes
- preserve border color when merging border properties (5f5080a)
v5.1.5
v5.1.4
Bug Fixes
- postcss-merge-longhand: preserve custom property case (5428d5fc9)
v5.1.3
Bug Fixes
- fix: do not merge declarations containing custom properties when it might create invalid declarations (2c699341)
v5.1.2
Bug fixes
- preserve empty custom properties and ensure they work in Chrome (4ed39679)
v5.1.1
v5.1.0
New Feature
Add TypeScript types
eslint/eslint
v9.9.1
Bug Fixes
Documentation
-
4840930
docs: Update README with version support and clean up content (#18804) (Nicholas C. Zakas) -
f61f40d
docs: Update globals examples (#18805) (Nicholas C. Zakas) -
241fcea
docs: Use and define languages (#18795) (Nicholas C. Zakas) -
5dbdd63
docs: eslint-plugin-markdown -> @eslint/markdown (#18797) (Nicholas C. Zakas) -
c6c8ddd
docs: update links to eslint-visitor-keys repo (#18796) (Francesco Trotta) -
f981d05
docs: Update README (GitHub Actions Bot) -
b516974
docs: update links toeslint/js
repo (#18781) (Francesco Trotta) -
fb7a3f5
docs: update note for package managers (#18779) (Jay)
Chores
-
b0c34d0
chore: upgrade to @eslint/js@9.9.1 (#18809) (Francesco Trotta) -
cd5a0da
chore: package.json update for @eslint/js release (Jenkins) -
e112642
refactor: Extract parsing logic from Linter (#18790) (Nicholas C. Zakas) -
0f68a85
chore: use eslint-plugin-yml on yaml files only (#18801) (Milos Djermanovic) -
f8d1b3c
chore: update dependencies for browser tests (#18794) (Christian Bromann) -
aed2624
chore: update dependency @eslint/config-array to ^0.18.0 (#18788) (renovate[bot]) -
5c29128
chore: update dependency @eslint/core to ^0.4.0 (#18789) (renovate[bot]) -
5d66fb2
chore: migrate linting workflow to use trunk check meta-linter (#18643) (Chris Clearwater) -
bf96855
chore: add ids to github issue templates (#18775) (Strek)
v9.9.0
Features
-
41d0206
feat: Add support for TS config files (#18134) (Arya Emami) -
3a4eaf9
feat: add suggestion torequire-await
to removeasync
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
-
461b2c3
chore: upgrade to@eslint/js@9.9.0
(#18765) (Francesco Trotta) -
59dba1b
chore: package.json update for @eslint/js release (Jenkins) -
fea8563
chore: update dependency @eslint/core to ^0.3.0 (#18724) (renovate[bot]) -
aac191e
chore: update dependency @eslint/json to ^0.3.0 (#18760) (renovate[bot]) -
b97fa05
chore: update wdio dependencies for more stable tests (#18759) (Christian Bromann)
v9.8.0
Features
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
-
282df1a
docs: Add system theme option (#18617) (Amaresh S M) -
53b1ff0
docs: Debug config docs (#18698) (Nicholas C. Zakas) -
a7016a5
docs: fix search input stylings (#18682) (Amaresh S M)
Build Related
Chores
-
deee448
chore: upgrade to@eslint/js@9.8.0
(#18720) (Francesco Trotta) -
4aaf2b3
chore: package.json update for @eslint/js release (Jenkins) -
8e1a627
chore: update dependency @eslint/core to ^0.2.0 (#18700) (renovate[bot])
v9.7.0
Features
-
7bd9839
feat: add support for es2025 duplicate named capturing groups (#18630) (Yosuke Ota) -
1381394
feat: addregex
option inno-restricted-imports
(#18622) (Nitin Kumar)
Bug Fixes
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 optioncwd
(#18641) (Francesco Trotta)
Chores
-
793b718
chore: upgrade @eslint/js@9.7.0 (#18680) (Francesco Trotta) -
7ed6f9a
chore: package.json update for @eslint/js release (Jenkins) -
7bcda76
refactor: Add type references (#18652) (Nicholas C. Zakas) -
51bf57c
chore: add tech sponsors through actions (#18624) (Strek) -
6320732
refactor: don't useparent
property inNodeEventGenerator
(#18653) (Milos Djermanovic) -
9e6d640
refactor: move "Parsing error" prefix adding to Linter (#18650) (Milos Djermanovic)
v9.6.0
Features
-
e2b16e2
feat: Implement feature flags (#18516) (Nicholas C. Zakas) -
8824aa1
feat: addecmaVersion: 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: improveno-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
-
b15ee30
chore: upgrade @eslint/js@9.6.0 (#18632) (Milos Djermanovic) -
d655503
chore: package.json update for @eslint/js release (Jenkins) -
7c78ad9
refactor: Use language.visitorKeys and check for non-JS SourceCode (#18625) (Nicholas C. Zakas) -
69ff64e
refactor: Return value of applyInlineConfig() (#18623) (Nicholas C. Zakas) -
d2d06f7
refactor: use/
separator when adjustingignorePatterns
on Windows (#18613) (Milos Djermanovic) -
6421973
refactor: fix disable directives for languages with 0-based lines (#18605) (Milos Djermanovic) -
0a13539
refactor: Allow optional methods for languages (#18604) (Nicholas C. Zakas) -
c7ddee0
chore: make internal-rules not being a package (#18601) (Milos Djermanovic) -
3379164
chore: remove.eslintrc.js
(#18011) (唯然) -
d0c3a32
chore: update knip (with webdriver-io plugin) (#18594) (Lars Kappert)
v9.5.0
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 universalfiles
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
andoverrideConfig
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
-
f588160
chore: upgrade @eslint/js@9.5.0 (#18591) (Milos Djermanovic) -
5890841
chore: package.json update for @eslint/js release (Jenkins) -
e9f4ccd
chore: remove unused eslint-disable directive (#18589) (Milos Djermanovic) -
4b23ffd
refactor: Move JS parsing logic into JS language (#18448) (Nicholas C. Zakas) -
1495b93
chore: update WebdriverIO packages (#18558) (Christian Bromann) -
cea7ede
chore: add website donate link instead of opencollective (#18582) (Strek) -
ec94880
chore: package.json update for eslint-config-eslint release (Jenkins) -
6912586
chore: extract formatting rules into separate config (#18560) (Milos Djermanovic) -
9738f7e
ci: fix CLI flags for c8, raise thresholds (#18554) (Francesco Trotta) -
c6de7bb
chore: update dependency markdownlint-cli to ^0.41.0 (#18538) (renovate[bot]) -
2c8fd34
ci: pin @wdio/browser-runner v8.36.0 (#18540) (唯然)
v9.4.0
Features
Bug Fixes
-
f6534d1
fix: skip processor code blocks that match only universal patterns (#18507) (Milos Djermanovic) -
7226ebd
fix: allow implicit undefined return inno-constructor-return
(#18515) (Ali Rezvani) -
389744b
fix: use@eslint/config-inspector@latest
(#18483) (唯然) -
70118a5
fix:func-style
false positive with arrow functions andsuper
(#18473) (Milos Djermanovic)
Documentation
-
d7ab6f5
docs: update theme when whenprefers-color-scheme
changes (#18510) (Nitin Kumar) -
525fdff
docs: fix components files (#18519) (Tanuj Kanti) -
80747d2
docs: refactorprefer-destructuring
rule (#18472) (Tanuj Kanti) -
f06e0b5
docs: clarify func-style (#18477) (Cameron Steffen)
Chores
-
010dd2e
chore: upgrade to@eslint/js@9.4.0
(#18534) (Francesco Trotta) -
5e1b5dc
chore: package.json update for @eslint/js release (Jenkins) -
594145f
refactor: switch to@eslint/config-array
(#18527) (Francesco Trotta)
v9.3.0
Features
-
b32153c
feat: addoverrides.namedExports
tofunc-style
rule (#18444) (Percy Ma) -
b67eba4
feat: addrestrictedNamedExportsPattern
tono-restricted-exports
(#18431) (Akul Srivastava) -
069aa68
feat: add optionallowEscape
tono-misleading-character-class
rule (#18208) (Francesco Trotta) -
05ef92d
feat: deprecatemultiline-comment-style
&line-comment-position
(#18435) (唯然) -
db0b174
feat: addenforceForInnerExpressions
option tono-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 whenfs.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 ofno-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 ofno-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
-
58e2719
chore: update dependencies for v9.3.0 release (#18469) (Francesco Trotta) -
b681ecb
chore: package.json update for @eslint/js release (Jenkins) -
06f1d1c
chore: update dependency @humanwhocodes/retry to ^0.3.0 (#18463) (renovate[bot]) -
a63ed72
refactor: Usenode:
protocol for built-in Node.js modules (#18434) (Milos Djermanovic) -
040700a
chore: update dependency markdownlint-cli to ^0.40.0 (#18425) (renovate[bot]) -
f47847c
chore: update actions/stale action to v9 (#18426) (renovate[bot]) -
c18ad25
chore: update actions/upload-artifact action to v4 (#18427) (renovate[bot]) -
27e3060
chore: Disable documentation label (#18423) (Nicholas C. Zakas)
v9.2.0
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
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
-
b346605
chore: upgrade @eslint/js@9.2.0 (#18413) (Milos Djermanovic) -
c4c18e0
chore: package.json update for @eslint/js release (Jenkins) -
284722c
chore: package.json update for eslint-config-eslint release (Jenkins) -
347d44f
chore: remove eslintrc export from eslint-config-eslint (#18400) (Milos Djermanovic) -
f316e20
ci: run tests in Node.js 22 (#18393) (Francesco Trotta)
v9.1.1
Bug Fixes
-
a26b402
fix: use @eslint/create-config latest (#18373) (唯然)
v9.1.0
Features
-
03068f1
feat: Provide helpful error message for nullish configs (#18357) (Nicholas C. Zakas) -
751b518
feat: replace dependency graphemer withIntl.Segmenter
(#18110) (Francesco Trotta) -
4d11e56
feat: addname
to eslint configs (#18289) (唯然) -
1cbe1f6
feat: allowwhile(true)
inno-constant-condition
(#18286) (Tanuj Kanti) -
0db676f
feat: addIntl
in es6 globals (#18318) (唯然)
Bug Fixes
-
8d18958
fix: Remove name from eslint/js packages (#18368) (Nicholas C. Zakas) -
594eb0e
fix: do not crash on error infs.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
andpatterns
difference inno-restricted-imports
(#18273) (Tanuj Kanti) -
c537d76
docs: updatenpm init @​eslint/config
generated file names (#18298) (唯然) -
e1e305d
docs: fixlinebreak-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
Chores
-
d9a2983
chore: upgrade @eslint/js to v9.1.1 (#18367) (Francesco Trotta) -
50d406d
chore: package.json update for @eslint/js release (Jenkins) -
155c71c
chore: package.json update for @eslint/js release (Jenkins) -
0588fc5
refactor: Move directive gathering to SourceCode (#18328) (Nicholas C. Zakas) -
9048e21
chore: lintdocs/src/_data
js files (#18335) (Milos Djermanovic) -
4820790
chore: upgrade globals@15.0.0 dev dependency (#18332) (Milos Djermanovic) -
698d9ff
chore: upgrade jsdoc & unicorn plugins in eslint-config-eslint (#18333) (Milos Djermanovic) -
32c08cf
chore: drop Node < 18 and use @eslint/js v9 in eslint-config-eslint (#18323) (Milos Djermanovic) -
a76fb55
chore: @eslint-community/eslint-plugin-eslint-comments v4.3.0 (#18319) (Milos Djermanovic) -
78e45b1
chore: eslint-plugin-eslint-plugin v6.0.0 (#18316) (唯然) -
36103a5
chore: eslint-plugin-n v17.0.0 (#18315) (唯然)
v9.0.0
Breaking Changes
-
b7cf3bd
fix!: correctcamelcase
rule schema forallow
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 forenforceForClassMembers
inno-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-varsvarsIgnorePattern
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!: removeno-inner-declarations
fromeslint: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 defaultschema: []
, drop support for function-style rules (#17792) (Milos Djermanovic) -
0b21e1f
feat!: add two more cases tono-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!: Updateeslint:recommended
configuration (#17716) (Milos Djermanovic) -
c2cf85a
feat!: drop support for string configurations in flat config array (#17717) (Milos Djermanovic) -
c314fd6
feat!: RemoveSourceCode#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: AddreportUsedIgnorePattern
option tono-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 inindexOf
andlastIndexOf
with fromIndex (#18225) (Tanuj Kanti) -
b8fb572
feat: addreportUnusedFallthroughComment
option to no-fallthrough rule (#18188) (Kirk Waiblinger) -
1c173dc
feat: addignoreClassWithStaticInitBlock
option tono-unused-vars
(#18170) (Tanuj Kanti) -
a451b32
feat: makeno-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 addedallowImportNames
(#16196) (M Pater) -
74124c2
feat: add suggestions touse-isnan
inindexOf
&lastIndexOf
calls (#18063) (StyleShit) -
53f0f47
feat: Add loadESLint() API method for v9 (#18097) (Nicholas C. Zakas) -
2d11d46
feat: add suggestions touse-isnan
in binary expressions (#17996) (StyleShit) -
26093c7
feat: fix false negatives inno-this-before-super
(#17762) (Yosuke Ota) -
5471e43
feat: convert unsafe autofixes to suggestions inno-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: addno-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: Supportusing
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 onSequenceExpression
s (#18059) (StyleShit) -
39076fb
fix: handle absolute file paths inRuleTester
(#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 aboutname
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: fixecmaVersion
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 ofsort-imports
options (#18198) (gyeongwoo park) -
4769c86
docs: fix incorrect example inno-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 inno-fallthrough
(#18158) (Tanuj Kanti) -
450d0f0
docs: fixignore
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 malformedeslint
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: updateno-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 forno-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 removedcontext
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: showNEXT
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 andmeta.schema
changes to v9 migration guide (#17912) (Milos Djermanovic) -
1da0723
docs: updateeslint: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 ofmax-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
-
19f9a89
chore: Update dependencies for v9.0.0 (#18275) (Nicholas C. Zakas) -
7c957f2
chore: package.json update for @eslint/js release (Jenkins) -
d73a33c
chore: ignore/docs/v8.x
in link checker (#18274) (Milos Djermanovic) -
44a81c6
chore: upgrade knip (#18272) (Lars Kappert) -
e80b60c
chore: remove code for testing version selectors (#18266) (Milos Djermanovic) -
a98babc
chore: add npm script to run WebdriverIO test (#18238) (Francesco Trotta) -
9b7bd3b
chore: update dependency markdownlint to ^0.34.0 (#18237) (renovate[bot]) -
297416d
chore: package.json update for eslint-9.0.0-rc.0 (#18223) (Francesco Trotta) -
d363c51
chore: package.json update for @eslint/js release (Jenkins) -
1b841bb
chore: fix some comments (#18213) (avoidaway) -
29c3595
chore: remove repetitive words (#18193) (cuithon) -
acc2e06
chore: Introduce Knip (#18005) (Lars Kappert) -
7509276
chore: upgrade @eslint/js@9.0.0-beta.2 (#18180) (Milos Djermanovic) -
96087b3
chore: package.json update for @eslint/js release (Jenkins) -
925afa2
chore: Remove some uses oflodash.merge
(#18179) (Milos Djermanovic) -
972ef15
chore: remove invalid type in @eslint/js (#18164) (Nitin Kumar) -
32ffdd1
chore: upgrade @eslint/js@9.0.0-beta.1 (#18146) (Milos Djermanovic) -
e41425b
chore: package.json update for @eslint/js release (Jenkins) -
bb3b9c6
chore: upgrade @eslint/eslintrc@3.0.2 (#18145) (Milos Djermanovic) -
e462524
chore: upgrade eslint-release@3.2.2 (#18138) (Milos Djermanovic) -
8e13a6b
chore: fix spelling mistake in README.md (#18128) (Will Eastcott) -
66f52e2
chore: remove unused tools rule-types.json, update-rule-types.js (#18125) (Josh Goldberg ✨) -
bf0c7ef
ci: fix sync-labels value of pr-labeler (#18124) (Tanuj Kanti) -
cace6d0
ci: add MR labeler action (#18109) (Nitin Kumar) -
1a65d3e
chore: exportbase
config fromeslint-config-eslint
(#18119) (Milos Djermanovic) -
9aa4df3
refactor: removeglobals
dependency (#18115) (Milos Djermanovic) -
e40d1d7
chore: upgrade @eslint/js@9.0.0-beta.0 (#18108) (Milos Djermanovic) -
9870f93
chore: package.json update for @eslint/js release (Jenkins) -
2c62e79
chore: upgrade @eslint/eslintrc@3.0.1 (#18107) (Milos Djermanovic) -
81f0294
chore: upgrade espree@10.0.1 (#18106) (Milos Djermanovic) -
5e2b292
chore: upgrade eslint-visitor-keys@4.0.0 (#18105) (Milos Djermanovic) -
ce838ad
chore: replace dependency npm-run-all with npm-run-all2 ^5.0.0 (#18045) (renovate[bot]) -
54df731
chore: update dependency markdownlint-cli to ^0.39.0 (#18084) (renovate[bot]) -
8f06a60
chore: update dependency shelljs to ^0.8.5 (#18079) (Francesco Trotta) -
93ffe30
chore: update dependency file-entry-cache to v8 (#17903) (renovate[bot]) -
6ffdcbb
chore: upgrade @eslint/js@9.0.0-alpha.2 (#18038) (Milos Djermanovic) -
2c12715
chore: package.json update for @eslint/js release (Jenkins) -
cc74c4d
chore: upgrade espree@10.0.0 (#18037) (Milos Djermanovic) -
dfb68b6
chore: use Node.js 20 for docs sites (#18026) (Milos Djermanovic) -
8c1b8dd
test: add more tests for ignoring files and directories (#18018) (Milos Djermanovic) -
60b966b
chore: update dependency @eslint/js to v9.0.0-alpha.1 (#18014) (renovate[bot]) -
c893bc0
chore: updatemarkdownlint
tov0.33.0
(#17995) (Nitin Kumar) -
c5e50ee
chore: package.json update for @eslint/js release (Jenkins) -
1bf2520
chore: Split Docs CI from core CI (#17897) (Nicholas C. Zakas) -
320787e
chore: delete relative-module-resolver.js (#17981) (Francesco Trotta) -
4926f33
refactor: useObject.hasOwn()
(#17948) (Milos Djermanovic) -
df200e1
refactor: useArray.prototype.at()
to get last elements (#17949) (Milos Djermanovic) -
750b8df
chore: update dependency glob to v10 (#17917) (renovate[bot]) -
74794f5
chore: removed unused eslintrc modules (#17938) (Milos Djermanovic) -
10ed29c
chore: remove unused dependency rimraf (#17934) (Francesco Trotta) -
903ee60
ci: use--force
flag when installing eslint (#17921) (Milos Djermanovic) -
17fedc1
chore: upgrade @eslint/js@9.0.0-alpha.0 (#17928) (Milos Djermanovic) -
cb89ef3
chore: package.json update for @eslint/js release (Jenkins) -
f6f4a45
chore: drop structuredClone polyfill for v9 (#17915) (Kevin Gibbons) -
412dcbb
chore: upgrade eslint-plugin-n@16.6.0 (#17916) (Milos Djermanovic) -
02a8baf
chore: Rename files with underscores (#17910) (Nicholas C. Zakas) -
c0f5d91
chore: remove creating an unused instance of Linter in tests (#17902) (Milos Djermanovic) -
3826cdf
chore: use jsdoc/no-multi-asterisks with allowWhitespace: true (#17900) (Percy Ma) -
a9a17b3
chore: fix getting scope in tests (#17899) (Milos Djermanovic) -
595a1f6
test: ensure that CLI tests run with FlatESLint (#17884) (Francesco Trotta) -
c7eca43
chore: update dependency markdownlint-cli to ^0.38.0 (#17865) (renovate[bot]) -
cc0c9f7
ci: bump github/codeql-action from 2 to 3 (#17873) (dependabot[bot])
v8.57.0
Features
-
1120b9b
feat: Add loadESLint() API method for v8 (#18098) (Nicholas C. Zakas) -
dca7d0f
feat: Enableeslint.config.mjs
andeslint.config.cjs
(#18066) (Nitin Kumar)
Bug Fixes
-
2196d97
fix: handle absolute file paths inFlatRuleTester
(#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
-
84922d0
docs: Show prerelease version in dropdown (#18139) (Nicholas C. Zakas) -
5b8c363
docs: Switch to Ethical Ads (#18117) (Milos Djermanovic) -
77dbfd9
docs: show NEXT in version selectors (#18052) (Milos Djermanovic)
Chores
-
1813aec
chore: upgrade @eslint/js@8.57.0 (#18143) (Milos Djermanovic) -
5c356bb
chore: package.json update for @eslint/js release (Jenkins) -
f4a1fe2
test: add more tests for ignoring files and directories (#18068) (Nitin Kumar) -
42c0aef
ci: Enable CI forv8.x
branch (#18047) (Milos Djermanovic)
v8.56.0
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
-
ba6af85
chore: upgrade @eslint/js@8.56.0 (#17864) (Milos Djermanovic) -
60a531a
chore: package.json update for @eslint/js release (Jenkins) -
ba87a06
chore: update dependency markdownlint to ^0.32.0 (#17783) (renovate[bot]) -
9271d10
chore: add GitHub issue template for docs issues (#17845) (Josh Goldberg ✨) -
70a686b
chore: Convert rule tests to FlatRuleTester (#17819) (Nicholas C. Zakas) -
f3a599d
chore: upgrade eslint-plugin-unicorn to v49.0.0 (#17837) (唯然) -
905d4b7
chore: upgrade eslint-plugin-eslint-plugin v5.2.1 (#17838) (唯然) -
4d7c3ce
chore: update eslint-plugin-n v16.4.0 (#17836) (唯然) -
fd0c60c
ci: unpin Node.js 21.2.0 (#17821) (Francesco Trotta)
v8.55.0
Features
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 forno-unused-vars
(#17788) (Tanuj Kanti) -
5a8efd5
docs: add specific stylistic rule for each deprecated rule (#17778) (Etienne)
Chores
-
eb8950c
chore: upgrade @eslint/js@8.55.0 (#17811) (Milos Djermanovic) -
93df384
chore: package.json update for @eslint/js release (Jenkins) -
fe4b954
chore: upgrade @eslint/eslintrc@2.1.4 (#17799) (Milos Djermanovic) -
bd8911d
ci: pin Node.js 21.2.0 (#17809) (Milos Djermanovic) -
b29a16b
chore: fix severalcli
tests to run in the intended flat config mode (#17797) (Milos Djermanovic) -
de165c1
chore: remove unused config-extends fixtures (#17781) (Milos Djermanovic) -
d4304b8
chore: remove formatting/stylistic rules from new rule templates (#17780) (Francesco Trotta) -
21024fe
chore: check rule examples for syntax errors (#17718) (Francesco Trotta)
v8.54.0
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: updateno-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: Usecwd
constructor option as configbasePath
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
-
d644de9
chore: upgrade @eslint/js@8.54.0 (#17773) (Milos Djermanovic) -
1e6e314
chore: package.json update for @eslint/js release (Jenkins) -
6fb8805
chore: Fixed grammar in issue_templates/rule_change (#17770) (Joel Mathew Koshy) -
85db724
chore: upgrademarkdownlint
to 0.31.1 (#17754) (Nitin Kumar) -
6d470d2
chore: update dependency recast to ^0.23.0 (#17736) (renovate[bot]) -
b7121b5
chore: update dependency markdownlint-cli to ^0.37.0 (#17735) (renovate[bot]) -
633b9a1
chore: update dependency regenerator-runtime to ^0.14.0 (#17739) (renovate[bot]) -
acac16f
chore: update dependency vite-plugin-commonjs to ^0.10.0 (#17740) (renovate[bot]) -
ba8ca7e
chore: add .github/renovate.json5 (#17567) (Josh Goldberg ✨)
v8.53.0
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 inno-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
-
ba4d4d5
chore: remove metascraper (#17707) (Milos Djermanovic) -
0d07338
chore: Update dependencies (#17706) (Milos Djermanovic) -
93256a3
chore: package.json update for @eslint/js release (ESLint Jenkins) -
485ec7d
test: fix ESLint tests for caching (#17699) (Milos Djermanovic) -
db06a7f
ci: bump actions/setup-node from 3 to 4 (#17676) (dependabot[bot]) -
994596b
ci: run tests in Node.js 21 (#17673) (Francesco Trotta)
v8.52.0
Features
Bug Fixes
-
5de9637
fix: Ensure shared references in rule configs are separated (#17666) (Nicholas C. Zakas) -
dcfe573
fix: add preceding semicolon in suggestions ofno-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: Updateno-irregular-whitespace
and fix examples (#17626) (Francesco Trotta) -
6b8acfb
docs: Add real whitespace tono-trailing-spaces
examples (#17630) (Francesco Trotta) -
1000187
docs: Fix examples inunicode-bom
(#17631) (Francesco Trotta) -
000290c
docs: Update README (GitHub Actions Bot)
Chores
-
6d1f0c2
chore: upgrade @eslint/js@8.52.0 (#17671) (Milos Djermanovic) -
d63d4fe
chore: package.json update for @eslint/js release (ESLint Jenkins) -
f30cefe
test: fix FlatESLint tests for caching (#17658) (Milos Djermanovic) -
ef650cb
test: update tests for no-promise-executor-return (#17661) (Milos Djermanovic)
v8.51.0
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 tosourceType: "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
-
1ef39ea
chore: upgrade @eslint/js@8.51.0 (#17624) (Milos Djermanovic) -
f8c7403
chore: package.json update for @eslint/js release (ESLint Jenkins) -
2665552
test: fix flat config linter tests to use Linter in flat config mode (#17616) (Milos Djermanovic) -
7b77bcc
chore: Refactor CodePathState (#17510) (Nicholas C. Zakas) -
bc77c9a
chore: Document and refactor ForkContext (#17566) (Nicholas C. Zakas) -
24e1f14
chore: Refactor and document CodePath (#17558) (Nicholas C. Zakas)
v8.50.0
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 ruleno-object-constructor
, deprecateno-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 inno-misleading-character-class
(#17571) (Yosuke Ota)
Documentation
-
1800537
docs: Fix and standardize JSX code examples (#17591) (Francesco Trotta) -
48a44a7
docs: Add correct/incorrect tags toprefer-arrow-callback
(#17589) (Francesco Trotta) -
20893d4
docs: fix incorrect tag's place (#17575) (Tanuj Kanti) -
bd7a71f
docs: Update README (GitHub Actions Bot)
Chores
-
f8a8a2d
chore: upgrade @eslint/js@8.50.0 (#17599) (Milos Djermanovic) -
38ada6d
chore: package.json update for @eslint/js release (ESLint Jenkins)
v8.49.0
Features
-
da09f4e
feat: Implement onUnreachableCodePathStart/End (#17511) (Nicholas C. Zakas) -
32b2327
feat: Emit deprecation warnings in RuleTester (#17527) (Nicholas C. Zakas) -
acb7df3
feat: add newenforce
option tolines-between-class-members
(#17462) (Nitin Kumar)
Documentation
-
ecfb54f
docs: Update README (GitHub Actions Bot) -
de86b3b
docs: updateno-promise-executor-return
examples (#17529) (Nitin Kumar) -
032c4b1
docs: add typescript template (#17500) (James) -
cd7da5c
docs: Update README (GitHub Actions Bot)
Chores
-
b7621c3
chore: remove browser test fromnpm test
(#17550) (Milos Djermanovic) -
cac45d0
chore: upgrade @eslint/js@8.49.0 (#17549) (Milos Djermanovic) -
cd39508
chore: package.json update for @eslint/js release (ESLint Jenkins) -
203a971
ci: bump actions/checkout from 3 to 4 (#17530) (dependabot[bot]) -
a40fa50
chore: use eslint-plugin-jsdoc's flat config (#17516) (Milos Djermanovic) -
926a286
test: replace Karma with Webdriver.IO (#17126) (Christian Bromann) -
f591d2c
chore: Upgrade config-array (#17512) (Nicholas C. Zakas)
v8.48.0
Features
-
1fbb3b0
feat: correct update direction infor-direction
(#17483) (Francesco Trotta) -
d73fbf2
feat: rule tester do not create empty valid or invalid test suites (#17475) (fnx) -
ee2f718
feat: Allowvoid
in ruleno-promise-executor-return
(#17282) (nopeless)
Bug Fixes
Documentation
-
7a51d77
docs: no-param-reassign mention strict mode (#17494) (Stephen Hardy) -
9cd7ac2
docs: addfetch
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
-
8dd3cec
chore: upgrade @eslint/js@8.48.0 (#17501) (Milos Djermanovic) -
6d0496e
chore: package.json update for @eslint/js release (ESLint Jenkins) -
9d4216d
chore: Refactor and document CodePathSegment (#17474) (Nicholas C. Zakas)
v8.47.0
Features
Bug Fixes
Documentation
-
a766a48
docs: document lack of config file names (#17442) (James) -
a1635d6
docs: Update README (GitHub Actions Bot) -
47a0859
docs: updaterequire-unicode-regexp.md
as following up #17402 (#17441) (SUZUKI Sosuke) -
fcdc85d
docs: Update README (GitHub Actions Bot) -
2a92b6c
docs: update with "Specifying Parser Options" (#17435) (Cheol-Won) -
d743ed3
docs: add metadata for parser/processor (#17438) (Huáng Jùnliàng) -
224376c
docs: Update README (GitHub Actions Bot) -
a41a8e4
docs: update script names in README (#17432) (Nitin Kumar)
Chores
-
bf69aa6
chore: Update dependencies (#17456) (Nicholas C. Zakas) -
0e45760
chore: package.json update for @eslint/js release (ESLint Jenkins) -
757bfe1
chore: Remove add-to-triage (#17450) (Nicholas C. Zakas) -
b066640
chore: standardize npm script names (#17431) (Nitin Kumar) -
6b2410f
chore: Update add-to-triage.yml (#17444) (Nicholas C. Zakas)
v8.46.0
Features
-
8a93438
feat:require-unicode-regexp
supportv
flag (#17402) (SUZUKI Sosuke) -
1a2f966
feat:no-useless-escape
supportv
flag (#17420) (Yosuke Ota) -
ee68d1d
feat:no-empty-character-class
supportv
flag (#17419) (Milos Djermanovic) -
853d32b
feat: deprecate no-return-await (#17417) (Carlos Lopez) -
d4f02e4
feat:no-control-regex
supportv
flag (#17405) (Yosuke Ota) -
2a35f3e
feat:prefer-named-capture-group
supportv
flag (#17409) (Yosuke Ota) -
8ca8b50
feat: Better error message for flat config plugins (#17399) (Nicholas C. Zakas) -
509f753
feat:no-misleading-character-class
supportv
flag (#17406) (Yosuke Ota) -
3caf514
feat:no-regex-spaces
supportv
flag (#17407) (Yosuke Ota) -
b7fad2b
feat:prefer-regex-literals
supportv
flag (#17410) (Yosuke Ota) -
a6a3ad4
feat:no-useless-backreference
supportv
flag (#17408) (Yosuke Ota) -
94954a7
feat:no-invalid-regexp
supportv
flag (#17404) (Yosuke Ota) -
1af6eac
feat: adds option for allowing empty object patterns as parameter (#17365) (Tanuj Kanti) -
cf03104
feat: Improve config error messages (#17385) (Nicholas C. Zakas)
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 ofopen in playground
button (#17403) (Tanuj Kanti) -
7fc3a2c
docs: Add private class features info to no-underscore-dangle (#17386) (Matt Wilkinson) -
da73e58
docs: Migratingeslint-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
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 inno-useless-escape
(#17339) (Francesco Trotta) -
c667055
fix: provide uniquefix
andfix.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
rulecode
andtabWidth
as positional arguments (#17331) (Jesús Leganés-Combarro)
Chores
-
68f63d7
chore: package.json update for @eslint/js release (ESLint Jenkins) -
5ca9b4d
chore: update eslint-config-eslint exports (#17336) (Milos Djermanovic) -
7bf2e86
chore: remove unused dependencies (#17352) (Percy Ma) -
c6f8cd0
chore: RemovedefaultIgnores
from FlatESLint private members (#17349) (Francesco Trotta) -
0052374
chore: move jsdoc settings to eslint-config-eslint (#17338) (唯然)
v8.44.0
Features
-
1766771
feat: addes2023
andes2024
environments (#17328) (Milos Djermanovic) -
4c50400
feat: addecmaVersion: 2024
, regexpv
flag parsing (#17324) (Milos Djermanovic) -
4d411e4
feat: add ternaryOperandBinaryExpressions option to no-extra-parens rule (#17270) (Percy Ma) -
c8b1f4d
feat: MoveparserServices
toSourceCode
(#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: Removeno-unused-labels
autofix before potential directives (#17314) (Francesco Trotta) -
391ed38
fix: Removeno-extra-semi
autofix before potential directives (#17297) (Francesco Trotta)
Documentation
-
526e911
docs: resubmit pr 17115 doc changes (#17291) (唯然) -
e1314bf
docs: Integration section and tutorial (#17132) (Ben Perlmutter) -
19a8c5d
docs: Update README (GitHub Actions Bot)
Chores
-
49e46ed
chore: upgrade @eslint/js@8.44.0 (#17329) (Milos Djermanovic) -
a1cb642
chore: package.json update for @eslint/js release (ESLint Jenkins) -
840a264
test: More test cases for no-case-declarations (#17315) (Elian Cordoba) -
e6e74f9
chore: package.json update for eslint-config-eslint release (ESLint Jenkins) -
eb3d794
chore: upgrade semver@7.5.3 (#17323) (Ziyad El Abid) -
cf88439
chore: upgrade optionator@0.9.3 (#17319) (Milos Djermanovic) -
9718a97
refactor: remove unnecessary code inflat-eslint.js
(#17308) (Milos Djermanovic) -
f82e56e
perf: various performance improvements (#17135) (moonlightaria) -
da81e66
chore: update eslint-plugin-jsdoc to 46.2.5 (#17245) (唯然) -
b991640
chore: switch eslint-config-eslint to the flat format (#17247) (唯然)
v8.43.0
Features
-
14581ff
feat: directive prologue detection and autofix condition inquotes
(#17284) (Francesco Trotta) -
e50fac3
feat: add declaration loc to message in block-scoped-var (#17252) (Milos Djermanovic) -
1b7faf0
feat: addskipJSXText
option tono-irregular-whitespace
rule (#17182) (Azat S)
Bug Fixes
-
5338b56
fix: normalizecwd
passed toESLint
/FlatESLint
constructor (#17277) (Milos Djermanovic) -
54383e6
fix: Removeno-extra-parens
autofix for potential directives (#17022) (Francesco Trotta)
Documentation
-
8b855ea
docs: resubmit pr17061 doc changes (#17292) (唯然) -
372722e
docs: resubmit pr17012 doc changes (#17293) (唯然) -
67e7af3
docs: resubmit custom-rules doc changes (#17294) (唯然) -
9e3d77c
docs: Resubmit Fix formatting in Custom Rules docs (#17281) (Milos Djermanovic) -
503647a
docs: Resubmit markVariableAsUsed docs (#17280) (Nicholas C. Zakas) -
e0cf0d8
docs: Custom rule & plugin tutorial (#17024) (Ben Perlmutter) -
8e51ea9
docs: resubmitno-new
rule documentation (#17264) (Nitin Kumar) -
1b217f8
docs: resubmitCustom Processors
documentation (#17265) (Nitin Kumar) -
428fc76
docs: resubmitCreate Plugins
documentation (#17268) (Nitin Kumar) -
bdca88c
docs: resubmitConfiguration Files
documentation (#17267) (Nitin Kumar) -
f5c01f2
docs: resubmitManage Issues
documentation (#17266) (Nitin Kumar) -
b199295
docs: Resubmit custom rules update docs (#17273) (Ben Perlmutter) -
0e9980c
docs: add newomitLastInOneLineClassBody
option to thesemi
rule (#17263) (Nitin Kumar) -
cb2560f
docs: Resubmit getScope/getDeclaredVariables docs (#17262) (Nicholas C. Zakas) -
85d2b30
docs: explain how to include predefined globals (#17261) (Marcus Wyatt) -
de4d3c1
docs: update flat config default ignore patterns (#17258) (Milos Djermanovic) -
3912f3a
docs: Improveignores
documentation (#17239) (Francesco Trotta) -
35e11d3
docs: fix typos and missing info (#17257) (Ed Lucas) -
0bc257c
docs: Clarifyno-div-regex
rule docs (#17051) (#17255) (Francesco Trotta) -
788d836
docs: add references to MIT License (#17248) (Milos Djermanovic) -
58aab6b
docs: Update README (GitHub Actions Bot) -
3ef5814
docs: Revert all changes after the license change (#17227) (Milos Djermanovic) -
03fc4aa
docs: Update README (GitHub Actions Bot)
Chores
-
78350f6
chore: upgrade @eslint/js@8.43.0 (#17295) (Milos Djermanovic) -
62bf759
chore: package.json update for @eslint/js release (ESLint Jenkins) -
e0a2448
chore: docs package.license ISC => MIT (#17254) (唯然) -
6a0196c
chore: use eslint-plugin-eslint-plugin flat configs (#17204) (Milos Djermanovic)
v8.42.0
Features
Bug Fixes
-
a589636
fix: Config withignores
and withoutfiles
should not always apply (#17181) (Milos Djermanovic) -
c4fad17
fix: Correct ignore message for "node_modules" subfolders (#17217) (Francesco Trotta)
Documentation
Chores
-
6ca5b7c
chore: upgrade @eslint/js@8.42.0 (#17236) (Milos Djermanovic) -
67fc5e7
chore: package.json update for @eslint/js release (ESLint Jenkins) -
0892412
refactor: removeIdentifier
listener in no-irregular-whitespace (#17235) (Milos Djermanovic) -
f67d298
test: AddFlatESLint
tests with missing config files (#17164) (Milos Djermanovic) -
5b68d51
chore: Fixfixedsize
attribute in code path analysis DOT debug output (#17202) (Milos Djermanovic) -
37432f2
chore: update descriptions in key-spacing tests (#17195) (Milos Djermanovic)
v8.41.0
Features
-
880a431
feat: change default ignore pattern to**/node_modules/
in flat config (#17184) (Milos Djermanovic) -
8bf5505
feat: exposeshouldUseFlatConfig
(#17169) (Connor Prussin)
Bug Fixes
-
4f5440d
fix: incorrect warning message for ignored dotfiles (#17196) (Milos Djermanovic) -
94da96c
fix: unifyLintMessage
type (#17076) (Brandon Mills) -
0c415cd
fix: validateignorePatterns
constructor option inFlatESLint
class (#17139) (Milos Djermanovic) -
9682d66
fix: switchgrapheme-splitter
tographemer
(#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
-
f43216a
chore: upgrade @eslint/js@8.41.0 (#17200) (Milos Djermanovic) -
95c3007
chore: package.json update for @eslint/js release (ESLint Jenkins) -
ddc5291
chore: don't use deprecatedcontext
methods inast-utils
tests (#17194) (Milos Djermanovic) -
b1516db
chore: Fix return type offindFlatConfigFile
(#17161) (Milos Djermanovic) -
918b0fd
perf: Store indent descriptors in a plain array (#17148) (Francesco Trotta) -
4caa344
refactor: locateConfigFileToUse returns an Error object (#17159) (唯然)
v8.40.0
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: addsourceCode
property to the rule context (#17107) (Nitin Kumar) -
1468f5b
feat: addphysicalFilename
property to the rule context (#17111) (Nitin Kumar) -
0df4d4f
feat: addcwd
to rule context (#17106) (Nitin Kumar) -
52018f2
feat: addfilename
property to the rule context (#17108) (Nitin Kumar) -
559ff4e
feat: add newomitLastInOneLineClassBody
option to thesemi
rule (#17105) (Nitin Kumar)
Bug Fixes
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
-
4053004
chore: upgrade @eslint/js@8.40.0 (#17156) (Milos Djermanovic) -
50fed1d
chore: package.json update for @eslint/js release (ESLint Jenkins) -
4c7a170
chore: upgrade @eslint/eslintrc@2.0.3 (#17155) (Milos Djermanovic) -
e80b7cc
chore: upgrade espree@9.5.2 (#17154) (Milos Djermanovic) -
ce3ac91
chore: upgrade eslint-visitor-keys@3.4.1 (#17153) (Milos Djermanovic) -
9094d79
chore: addlatest/
tometa.docs.url
in all core rules (#17136) (Milos Djermanovic) -
d85efad
perf: don't usegrapheme-splitter
on ASCII strings in key-spacing rule (#17122) (Milos Djermanovic)
v8.39.0
Features
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
-
60a6f26
chore: upgrade @eslint/js@8.39.0 (#17102) (Milos Djermanovic) -
d5ba5c0
chore: package.json update for @eslint/js release (ESLint Jenkins) -
f57eff2
ci: run tests on Node.js v20 (#17093) (Nitin Kumar) -
9d1b8fc
perf: Binary search in token storeutils.search
(#17066) (Francesco Trotta) -
07a4435
chore: Add request for minimal repro to bug report (#17081) (Nicholas C. Zakas) -
eac4943
refactor: remove unnecessary use ofSourceCode#getAncestors
in rules (#17075) (Milos Djermanovic) -
0a7b60a
chore: update description ofSourceCode#getDeclaredVariables
(#17072) (Milos Djermanovic) -
6e2df71
chore: remove unnecessary references to the LICENSE file (#17071) (Milos Djermanovic)
v8.38.0
Features
-
a1d561d
feat: Move getDeclaredVariables and getAncestors to SourceCode (#17059) (Nicholas C. Zakas)
Bug Fixes
-
1c1ece2
fix: do not report onRegExp(...args)
inrequire-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 toeslint-community
(#17061) (Pelle Wessman) -
a3aa6f5
docs: Clarifyno-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
-
59ed060
chore: upgrade @eslint/js@8.38.0 (#17069) (Milos Djermanovic) -
88c0898
chore: package.json update for @eslint/js release (ESLint Jenkins) -
cf682d2
refactor: simplify new-parens rule schema (#17060) (MHO) -
0dde022
ci: bump actions/add-to-project from 0.4.1 to 0.5.0 (#17055) (dependabot[bot])
v8.37.0
Features
-
b6ab8b2
feat:require-unicode-regexp
add suggestions (#17007) (Josh Goldberg) -
10022b1
feat: Copy getScope() to SourceCode (#17004) (Nicholas C. Zakas) -
1665c02
feat: Use plugin metadata for flat config serialization (#16992) (Nicholas C. Zakas) -
b3634f6
feat: docs license (#17010) (Samuel Roldan) -
892e6e5
feat: languageOptions.parser must be an object. (#16985) (Nicholas C. Zakas)
Bug Fixes
-
619f3fd
fix: correctly handlenull
default config inRuleTester
(#17023) (Brad Zacher) -
1fbf118
fix:getFirstToken
/getLastToken
on comment-only node (#16889) (Francesco Trotta) -
129e252
fix: Fix typo inlogical-assignment-operators
rule description (#17000) (Francesco Trotta)
Documentation
-
75339df
docs: fix typos and missing info in id-match docs (#17029) (Ed Lucas) -
ec2d830
docs: Fix typos in thesemi
rule docs (#17012) (Andrii Lundiak) -
e39f28d
docs: add back to top button (#16979) (Tanuj Kanti) -
721c717
docs: Custom Processors cleanup and expansion (#16838) (Ben Perlmutter) -
d049f97
docs: 'How ESLint is Maintained' page (#16961) (Ben Perlmutter) -
5251a92
docs: Describe guard options for guard-for-in (#16986) (alope107) -
6157d81
docs: Add example to guard-for-in docs. (#16983) (alope107) -
fd47998
docs: updateArray.prototype.toSorted
specification link (#16982) (Milos Djermanovic) -
3e1cf6b
docs: Copy edits on Maintain ESLint docs (#16939) (Ben Perlmutter)
Chores
-
c67f299
chore: upgrade @eslint/js@8.37.0 (#17033) (Milos Djermanovic) -
ee9ddbd
chore: package.json update for @eslint/js release (ESLint Jenkins) -
dddb475
chore: upgrade @eslint/eslintrc@2.0.2 (#17032) (Milos Djermanovic) -
522431e
chore: upgrade espree@9.5.1 (#17031) (Milos Djermanovic) -
f5f9a88
chore: upgrade eslint-visitor-keys@3.4.0 (#17030) (Milos Djermanovic) -
4dd8d52
ci: bump actions/stale from 7 to 8 (#17026) (dependabot[bot]) -
ad9dd6a
chore: remove duplicate scss, (#17005) (Strek) -
ada6a3e
ci: unpin Node 19 (#16993) (Milos Djermanovic) -
c3da975
chore: Remove triage label from template (#16990) (Nicholas C. Zakas) -
69bc0e2
ci: pin Node 19 to 19.7.0 (#16987) (Milos Djermanovic)
v8.36.0
Features
-
c89a485
feat: AddcheckJSDoc
option to multiline-comment-style (#16807) (Laurent Cozic) -
f5f5e11
feat: Serialize parsers/processors in flat config (#16944) (Nicholas C. Zakas) -
4799297
feat: use @eslint-community dependencies (#16784) (Michaël De Boey)
Bug Fixes
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
-
602b111
chore: upgrade @eslint/js@8.36.0 (#16978) (Milos Djermanovic) -
43c2345
chore: package.json update for @eslint/js release (ESLint Jenkins) -
00afb84
chore: upgrade @eslint/eslintrc@2.0.1 (#16977) (Milos Djermanovic) -
698c5aa
chore: upgrade espree@9.5.0 (#16976) (Milos Djermanovic) -
75acdd2
chore: lint more js files in docs (#16964) (Milos Djermanovic) -
89d9844
ci: bump actions/add-to-project from 0.4.0 to 0.4.1 (#16943) (dependabot[bot])
v8.35.0
Features
-
8e34a04
feat: addafterHashbangComment
option tolines-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
-
f9f195e
docs: Plugin docs cleanup & expansion (#16862) (Ben Perlmutter) -
df809fd
docs: Custom Formatters page cleanup/expansion (#16886) (Ben Perlmutter) -
0700d1b
docs: Add PostCSS/Autoprefixer/CSSNano (#16502) (Nick Schonning) -
7b9e9bf
docs: support unicode anchors (#16782) (Percy Ma) -
5fbc0bf
docs: Update README (GitHub Actions Bot) -
67865a0
docs: Remove mention of mailing list (#16869) (Amaresh S M) -
43af24a
docs: Add explanation of when to use 'warn' severity (#16882) (Nicholas C. Zakas) -
ed2999b
docs: Shareable configs page edits and expansion (#16824) (Ben Perlmutter) -
2780635
docs: fix typos (#16884) (Lioness100) -
5bdaae2
docs: Ways to Extend ESLint page (#16861) (Ben Perlmutter)
Chores
-
cdcbe12
chore: upgrade @eslint/js@8.35.0 (#16935) (Brandon Mills) -
c954c34
chore: package.json update for @eslint/js release (ESLint Jenkins) -
5a517da
chore: package.json update for @eslint/js release (ESLint Jenkins) -
9f10926
chore: upgrade @eslint/eslintrc@2.0.0 (#16928) (Milos Djermanovic) -
da728fa
ci: use LTS node version in workflows (#16907) (Nitin Kumar) -
c57b4f3
perf: upgrade to esquery@1.4.2 (#16901) (Milos Djermanovic) -
9122f07
chore: Update stale bot settings (#16870) (Nicholas C. Zakas)
v8.34.0
Features
Bug Fixes
Documentation
-
f0a9883
docs: split rules documentation (#16797) (Ben Perlmutter) -
67aa37b
docs: fix typo in command-line-interface.md (#16871) (Kevin Rouchut) -
337f7ed
docs: fix width of language input (#16849) (Tanuj Kanti) -
71349a1
docs: Configure a Parser page (#16803) (Ben Perlmutter) -
de7e925
docs: remove extra line numbers in example (#16848) (jonz94) -
ad38d77
docs: Update README (GitHub Actions Bot)
Chores
-
9dbe06d
chore: addtype
property to array-element-newline schema (#16877) (MHO) -
a061527
chore: Remove unused functions (#16868) (Nicholas C. Zakas)
v8.33.0
Features
-
2cc7954
feat: addrestrictDefaultExports
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
Features
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
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 inkey-spacing
(#16677) (Francesco Trotta)
Bug Fixes
-
35439f1
fix: correct syntax error inprefer-arrow-callback
autofix (#16722) (Francesco Trotta) -
87b2470
fix: new instance of FlatESLint should load latest config file version (#16608) (Milos Djermanovic)
Documentation
-
4339dc4
docs: Update README (GitHub Actions Bot) -
4e4049c
docs: optimize code block structure (#16669) (Sam Chen) -
54a7ade
docs: do not escape code blocks of formatters examples (#16719) (Sam Chen) -
e5ecfef
docs: Add function call example for no-undefined (#16712) (Elliot Huffman) -
a3262f0
docs: Add mastodon link (#16638) (Amaresh S M) -
a14ccf9
docs: clarify files property (#16709) (Sam Chen) -
3b29eb1
docs: fix npm link (#16710) (Abdullah Osama) -
a638673
docs: fix search bar focus onEsc
(#16700) (Shanmughapriyan S) -
f62b722
docs: country flag missing in windows (#16698) (Shanmughapriyan S) -
4d27ec6
docs: display zh-hans in the docs language switcher (#16686) (Percy Ma) -
8bda20e
docs: remove manually maintained anchors (#16685) (Percy Ma) -
b68440f
docs: User Guide Getting Started expansion (#16596) (Ben Perlmutter)
Chores
-
65d4e24
chore: Upgrade @eslint/eslintrc@1.4.1 (#16729) (Brandon Mills) -
8d93081
chore: fix CI failure (#16721) (Sam Chen) -
8f17247
chore: Set up automatic updating of README (#16717) (Nicholas C. Zakas) -
4cd87cb
ci: bump actions/stale from 6 to 7 (#16713) (dependabot[bot]) -
fd20c75
chore: sort package.json scripts in alphabetical order (#16705) (Darius Dzien) -
10a5c78
chore: update ignore patterns ineslint.config.js
(#16678) (Milos Djermanovic)
v8.30.0
Features
-
075ef2c
feat: add suggestion for no-return-await (#16637) (Daniel Bartholomae) -
7190d98
feat: update globals (#16654) (Sébastien Règne)
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
-
6a8cd94
docs: Clarify Discord info in issue template config (#16663) (Nicholas C. Zakas) -
ad44344
docs: CLI documentation standardization (#16563) (Ben Perlmutter) -
293573e
docs: fix broken line numbers (#16606) (Sam Chen) -
fa2c64b
docs: use relative links for internal links (#16631) (Percy Ma) -
75276c9
docs: reorder options in no-unused-vars (#16625) (Milos Djermanovic) -
7276fe5
docs: Fix anchor in URL (#16628) (Karl Horky) -
6bef135
docs: don't apply layouts to html formatter example (#16591) (Tanuj Kanti) -
dfc7ec1
docs: Formatters page updates (#16566) (Ben Perlmutter) -
8ba124c
docs: update theprefer-const
example (#16607) (Pavel) -
e6cb05a
docs: fix css leaking (#16603) (Sam Chen)
Chores
-
f2c4737
chore: upgrade @eslint/eslintrc@1.4.0 (#16675) (Milos Djermanovic) -
ba74253
chore: standardize npm script names per #14827 (#16315) (Patrick McElhaney) -
0d9af4c
ci: fix npm v9 problem withfile:
(#16664) (Milos Djermanovic) -
90c9219
refactor: migrate off deprecated function-style rules in all tests (#16618) (Bryan Mishkin)
v8.29.0
Features
-
49a07c5
feat: addallowParensAfterCommentPattern
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
-
0311d81
docs: Configuring Plugins page intro, page tweaks, and rename (#16534) (Ben Perlmutter) -
57089b1
docs: add a property assignment example for camelcase rule (#16605) (Milos Djermanovic) -
b6ab030
docs: add docs codeowners (#16601) (Strek) -
6380c87
docs: fix sitemap and feed (#16592) (Milos Djermanovic) -
ade621d
docs: perf debounce the search query (#16586) (Shanmughapriyan S) -
fbcf3ab
docs: fix searchbar clear button (#16585) (Shanmughapriyan S) -
f894035
docs: HTTPS link to yeoman.io (#16582) (Christian Oliff) -
de12b26
docs: Update configuration file pages (#16509) (Ben Perlmutter) -
1ae9f20
docs: update correct code examples forno-extra-parens
rule (#16560) (Nitin Kumar)
Chores
-
7628403
chore: add discord channel link (#16590) (Amaresh S M) -
f5808cb
chore: fix rule doc headers check (#16564) (Milos Djermanovic)
v8.28.0
Features
-
63bce44
feat: addignoreClassFieldInitialValues
option to no-magic-numbers (#16539) (Milos Djermanovic) -
8385ecd
feat: multiline properties in rulekey-spacing
with optionalign
(#16532) (Francesco Trotta) -
a4e89db
feat:no-obj-calls
supportIntl
(#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
-
34c05a7
docs: Language Options page intro and tweaks (#16511) (Ben Perlmutter) -
3e66387
docs: add intro and edit ignoring files page (#16510) (Ben Perlmutter) -
436f712
docs: fix Header UI inconsistency (#16464) (Tanuj Kanti) -
f743816
docs: switch to wrench emoji for auto-fixable rules (#16545) (Bryan Mishkin) -
bc0547e
docs: improve styles for versions and languages page (#16553) (Nitin Kumar) -
6070f58
docs: clarify esquery issue workaround (#16556) (Milos Djermanovic) -
b48e4f8
docs: Command Line Interface intro and tweaks (#16535) (Ben Perlmutter) -
b92b30f
docs: Add Rules page intro and content tweaks (#16523) (Ben Perlmutter) -
1769b42
docs: Integrations page introduction (#16548) (Ben Perlmutter) -
a8d0a57
docs: make table of contents sticky on desktop (#16506) (Sam Chen) -
a01315a
docs: fix route of japanese translation site (#16542) (Tanuj Kanti) -
0515628
docs: use emoji instead of svg for deprecated rule (#16536) (Bryan Mishkin) -
68f1288
docs: set default layouts (#16484) (Percy Ma) -
776827a
docs: init config about specifying shared configs (#16483) (Percy Ma) -
5c39425
docs: fix broken link to plugins (#16520) (Ádám T. Nagy) -
c97c789
docs: Add missing no-new-native-nonconstructor docs code fence (#16503) (Brandon Mills)
Chores
-
e94a4a9
chore: Add tests to verify #16038 is fixed (#16538) (Nicholas C. Zakas) -
e13f194
chore: stricter validation ofmeta.docs.description
in core rules (#16529) (Milos Djermanovic) -
72dbfbc
chore: usepkg
parameter ingetNpmPackageVersion
(#16525) (webxmsj)
v8.27.0
Features
-
f14587c
feat: newno-new-native-nonconstructor
rule (#16368) (Sosuke Suzuki) -
978799b
feat: add new ruleno-empty-static-block
(#16325) (Sosuke Suzuki) -
69216ee
feat: no-empty suggest to add comment in empty BlockStatement (#16470) (Nitin Kumar) -
319f0a5
feat: usecontext.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 ingetRulesMetaForResults
(#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
Features
-
4715787
feat: checkObject.create()
in getter-return (#16420) (Yuki Hirasawa) -
28d1902
feat:no-implicit-globals
supportsexported
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: usebaseConfig
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 aruleId
ingetRulesMetaForResults
(#16409) (Francesco Trotta) -
8f9759e
fix:--ignore-pattern
in flat config mode should be relative tocwd
(#16425) (Milos Djermanovic) -
325ad37
fix: makegetRulesMetaForResults
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
-
e917a9a
ci: add node v19 (#16443) (Koichi ITO) -
4b70b91
chore: Add VS Code issues link (#16423) (Nicholas C. Zakas) -
232d291
chore: suppress a Node.js deprecation warning (#16398) (Koichi ITO)
v8.25.0
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
-
90c6028
docs: Conflicting fixes (#16366) (Ben Perlmutter) -
5a3fe70
docs: Add VS to integrations page (#16381) (Maria José Solano) -
49bd1e5
docs: remove unused link definitions (#16376) (Nick Schonning) -
3bd380d
docs: typo cleanups for docs (#16374) (Nick Schonning) -
b3a0837
docs: remove duplicate words (#16378) (Nick Schonning) -
a682562
docs: addBigInt
tonew-cap
docs (#16362) (Sosuke Suzuki) -
f6d57fb
docs: Update docs README (#16352) (Ben Perlmutter) -
7214347
docs: fix logical-assignment-operators option typo (#16346) (Jonathan Wilsson)
Chores
-
1f78594
chore: upgrade @eslint/eslintrc@1.3.3 (#16397) (Milos Djermanovic) -
8476a9b
chore: Remove CODEOWNERS (#16375) (Nick Schonning) -
720ff75
chore: use "ci" for Dependabot commit message (#16377) (Nick Schonning) -
42f5479
chore: bump actions/stale from 5 to 6 (#16350) (dependabot[bot]) -
e5e9e27
chore: removejsdoc
dev dependency (#16344) (Milos Djermanovic)
v8.24.0
Features
-
1729f9e
feat: account forsourceType: "commonjs"
in the strict rule (#16308) (Milos Djermanovic) -
b0d72c9
feat: add rule logical-assignment-operators (#16102) (fnx) -
f02bcd9
feat:array-callback-return
supportfindLast
andfindLastIndex
(#16314) (Sosuke Suzuki)
Documentation
-
2c152ff
docs: note false positiveObject.getOwnPropertyNames
in prefer-reflect (#16317) (AnnAngela) -
bf7bd88
docs: fix warn severity description for new config files (#16324) (Nitin Kumar) -
8cc0bbe
docs: use more clean link syntax (#16309) (Percy Ma) -
6ba269e
docs: fix typo (#16288) (jjangga0214)
Chores
-
131e646
chore: Upgrade @humanwhocodes/config-array for perf (#16339) (Nicholas C. Zakas) -
504fe59
perf: switch from object spread toObject.assign
when merging globals (#16311) (Milos Djermanovic)
v8.23.1
Bug Fixes
-
b719893
fix: Upgrade eslintrc to stop redefining plugins (#16297) (Brandon Mills) -
734b54e
fix: improve autofix for theprefer-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
-
38e8171
perf: migrate rbTree to js-sdsl (#16267) (Zilong Yao) -
1c388fb
chore: switch nyc to c8 (#16263) (唯然) -
67db10c
chore: enable linting.eleventy.js
again (#16274) (Milos Djermanovic) -
42bfbd7
chore: fixnpm run perf
crashes (#16258) (唯然)
v8.23.0
Features
-
3e5839e
feat: Enable eslint.config.js lookup from CLI (#16235) (Nicholas C. Zakas) -
30b1a2d
feat: addallowEmptyCase
option to no-fallthrough rule (#15887) (Amaresh S M) -
43f03aa
feat: no-warning-comments support comments with decoration (#16120) (Lachlan Hunt)
Documentation
-
b1918da
docs: package.json conventions (#16206) (Patrick McElhaney) -
0e03c33
docs: remove word immediately (#16217) (Strek) -
c6790db
docs: add anchor link for "migrating from jscs" (#16207) (Percy Ma) -
7137344
docs: auto-generation edit link (#16213) (Percy Ma)
Chores
-
2e004ab
chore: upgrade @eslint/eslintrc@1.3.1 (#16249) (Milos Djermanovic) -
d35fbbe
chore: Upgrade to espree@9.4.0 (#16243) (Milos Djermanovic) -
ed26229
test: add no-extra-parens tests with rest properties (#16236) (Milos Djermanovic) -
deaf69f
chore: fix off-by-onemin-width: 1023px
media queries (#15974) (Milos Djermanovic) -
63dec9f
refactor: simplifyparseListConfig
(#16241) (Milos Djermanovic)
v8.22.0
Features
-
2b97607
feat: Implement caching for FlatESLint (#16190) (Nicholas C. Zakas) -
fd5d3d3
feat: addmethodsIgnorePattern
option to object-shorthand rule (#16185) (Milos Djermanovic)
Documentation
-
9f5a752
docs: optimize image assets (#16170) (Sam Chen) -
61b2948
docs: add svgo command to pre commit hook (#16178) (Amaresh S M) -
784096d
docs: improve search result UI (#16187) (Sam Chen) -
d0f4cb4
docs: use shorthand property name in example (#16180) (Kevin Elliott)
Chores
v8.21.0
Features
-
7b43ea1
feat: Implement FlatESLint (#16149) (Nicholas C. Zakas) -
92bf49a
feat: improve the key width calculation inkey-spacing
rule (#16154) (Nitin Kumar) -
c461542
feat: add newallowLineSeparatedGroups
option to thesort-keys
rule (#16138) (Nitin Kumar) -
1cdcbca
feat: add deprecation warnings for legacy API inRuleTester
(#16063) (Nitin Kumar)
Bug Fixes
-
0396775
fix: lines-around-comment applyallowBlockStart
for switch statements (#16153) (Nitin Kumar)
Documentation
Chores
-
8892511
chore: Upgrade to Espree 9.3.3 (#16173) (Brandon Mills) -
1233bee
chore: switch to eslint-plugin-node's maintained fork (#16150) (唯然) -
97b95c0
chore: upgrade puppeteer v13 (#16151) (唯然)
v8.20.0
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
-
845c4f4
docs: Add website team details (#16115) (Nicholas C. Zakas) -
5a0dfdb
docs: Link to blog post in no-constant-binary-expression (#16112) (Jordan Eldredge) -
bc692a9
docs: remove install command (#16084) (Strek) -
49ca3f0
docs: don't show toc when content not found (#16095) (Amaresh S M) -
ba19e3f
docs: enhance 404 page UI (#16097) (Amaresh S M) -
a75d3b4
docs: remove unused meta.docs.category field in working-with-rules page (#16109) (Brandon Scott) -
cdc0206
docs: add formatters page edit link (#16094) (Amaresh S M) -
4d1ed22
docs: preselect default theme (#16098) (Strek) -
4b79612
docs: add missing correct/incorrect containers (#16087) (Milos Djermanovic) -
09f6acb
docs: fix UI bug on rules index and details pages (#16082) (Deepshika S) -
f5db264
docs: remove remaining duplicate rule descriptions (#16093) (Milos Djermanovic) -
32a6b2a
docs: Add scroll behaviour smooth (#16056) (Amaresh S M)
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
Features
-
7023628
feat: add importNames support for patterns in no-restricted-imports (#16059) (Brandon Scott) -
472c368
feat: fix handling of blocklesswith
statements in indent rule (#16068) (Milos Djermanovic)
Bug Fixes
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
-
e884933
chore: usegithub-slugger
for markdown anchors (#16067) (Strek) -
02e9cb0
chore: revamp carbon ad style (#16078) (Amaresh S M) -
b6aee95
chore: remove unwanted comments from rules markdown (#16054) (Strek) -
6840940
chore: correctly use .markdownlintignore in Makefile (#16060) (Bryan Mishkin) -
48904fb
chore: add missing images (#16017) (Amaresh S M) -
910f741
chore: add architecture to nav (#16039) (Strek) -
9bb24c1
chore: add correct incorrect in all rules doc (#16021) (Deepshika S) -
5a96af8
chore: prepare versions data file (#16035) (Nicholas C. Zakas) -
50afe6f
chore: Included githubactions in the dependabot config (#15985) (Naveen) -
473411e
chore: add deploy workflow for playground (#16034) (Milos Djermanovic) -
a30b66c
chore: fix print style (#16025) (Amaresh S M) -
f4dad59
chore: add noindex meta tag (#16016) (Milos Djermanovic) -
db387a8
chore: fix sitemap (#16026) (Milos Djermanovic) -
285fbc5
chore: remove TOC from printable (#16020) (Strek) -
8e84c21
chore: remove ligatures from fonts (#16019) (Strek)
v8.18.0
Features
Bug Fixes
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
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 topathPrefix
(#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
Features
-
55319e1
feat: fix indent bug with semicolon-first style (#15951) (Milos Djermanovic) -
f6d7920
feat: addallowNamedExports
option to no-use-before-define (#15953) (Milos Djermanovic)
Bug Fixes
-
54c0953
fix: cleanup typos (#15939) (Nick Schonning) -
845a7af
fix: typo ocatal -> octal (#15940) (Nick Schonning)
Documentation
-
b915018
docs: Update website UI to latest (#15944) (Nicholas C. Zakas) -
f0bb609
docs: Update Exponentiation operator MDN link (#15960) (Pranjal Jain) -
baa0153
docs: Use correct past tense "left" instead of "leaved" (#15950) (Frederik Braun) -
1351a9b
docs: Add Resources section to rule pages (#15901) (Nicholas C. Zakas) -
68cf0fb
docs: cleanup typos (#15936) (Nick Schonning) -
13b62ae
docs: use-dart-sass instead of node-sass (#15912) (Deepshika S) -
c81c5d6
docs: add social media links (#15920) (Deepshika S) -
0d6a50b
docs: fix openjs link (#15917) (Amaresh S M) -
54910f5
docs: display version in mobile view (#15909) (Amaresh S M)
Chores
-
da694b9
chore: avoid theme flashes (#15927) (Strek) -
f836743
chore: Use build hook for docs deploy (#15945) (Nicholas C. Zakas) -
ce035e5
test: cleanup typos (#15937) (Nick Schonning) -
10249ad
chore: use addEventListener instead of addListener (#15923) (Amaresh S M) -
5f5c1fb
chore: lint eleventy config file (#15904) (Milos Djermanovic) -
8513d37
chore: update Rule typedefs (#15915) (Milos Djermanovic) -
55534f1
test: ensure no-restricted-imports works with NodeJS imports (#15907) (Nick Mazuk)
v8.16.0
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
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
-
1768d0d
chore: upgrade @eslint/eslintrc@1.3.0 (#15903) (Milos Djermanovic) -
c686e4c
chore: Add deploy workflow for docs site (#15894) (Nicholas C. Zakas) -
c7894cd
chore: enable some rules from eslint-plugin-unicorn internally (#15878) (Bryan Mishkin) -
ea65cb5
chore: upgrade eslint-plugin-eslint-plugin@^4.2.0 (#15882) (唯然) -
cc29c69
chore: Upgrade official GitHub actions to latest versions (#15880) (Darius Dzien) -
5891c75
chore: Refactor rule docs format (#15869) (Nicholas C. Zakas)
v8.15.0
Features
Bug Fixes
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: markSourceCode#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
-
1ba6a92
chore: upgrade @eslint/eslintrc@1.2.3 (#15847) (Milos Djermanovic) -
8167aa7
chore: bump version of minimatch due to security issue MRISMA-2022-0039 (#15774) (Jan Opravil) -
b8995a4
chore: Implement docs site (#15815) (Nicholas C. Zakas) -
6494e3e
chore: update link incodeql-analysis.yml
(#15817) (Milos Djermanovic) -
36503ec
chore: enable no-constant-binary-expression in eslint-config-eslint (#15807) (唯然)
v8.14.0
Features
Bug Fixes
-
35fa1dd
fix: allow project paths to have URL-encoded characters (#15795) (Milos Djermanovic) -
413f1d5
fix: updateastUtils.isDirectiveComment
withglobals
andexported
(#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
Features
Bug Fixes
Documentation
-
c32482e
docs: Typo in space-infix-ops docs (#15754) (kmin-jeong) -
f2c2d35
docs: disambiguate typesFormatterFunction
andLoadedFormatter
(#15727) (Francesco Trotta)
Chores
-
bb4c0d5
chore: Refactor docs to work with docs.eslint.org (#15744) (Nicholas C. Zakas) -
d36f12f
chore: removelib/init
from eslint config (#15748) (Milos Djermanovic) -
a59a4e6
chore: replacetrimLeft
/trimRight
withtrimStart
/trimEnd
(#15750) (Milos Djermanovic)
v8.12.0
Features
-
685a67a
feat: fix logic for top-levelthis
in no-invalid-this and no-eval (#15712) (Milos Djermanovic)
Chores
-
18f5e05
chore: padding-line-between-statements remove uselessadditionalItems
(#15706) (Martin Sadovy)
v8.11.0
Features
-
800bd25
feat: adddestructuredArrayIgnorePattern
option inno-unused-vars
(#15649) (Nitin Kumar) -
8933fe7
feat: Catchundefined
andBoolean()
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 banundefined
(#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 abouteslint-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
Features
-
6e2c325
feat: AddignoreOnInitialization
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: AddonlyOneSimpleParam
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 incamelcase
with combined properties (#15581) (Nitin Kumar)
Documentation
-
1005bd5
docs: update CLA information (#15630) (Nitin Kumar) -
5d65c3b
docs: Fix typo inno-irregular-whitespace
(#15634) (Ryota Sekiya) -
b93af98
docs: add links between rules about whitespace around block curly braces (#15625) (Milos Djermanovic) -
ebc0460
docs: update babel links (#15624) (Milos Djermanovic)
Chores
-
7cec74e
chore: upgrade @eslint/eslintrc@1.2.0 (#15648) (Milos Djermanovic) -
11c8580
chore: readESLINT_MOCHA_TIMEOUT
env var in Makefile.js (#15626) (Piggy) -
bfaa548
test: add integration tests with built-in configs (#15612) (Milos Djermanovic) -
39a2fb3
perf: fix lazy loading of core rules (#15606) (Milos Djermanovic) -
3fc9196
chore: includetests/conf
in test runs (#15610) (Milos Djermanovic)
postcss/postcss-import
v16.1.0
v16.0.1
v16.0.0
- 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
isfalse
, handles import cycles correctly (#462, #535) - Add
warnOnEmpty
option to allow disabling warnings for empty files (#84, #541) - Use proper
node.error
s (#518, #540)
Huge thanks to @romainmenke
for all the hard work he put into this release.
v15.1.0
- Add
data:
URL support (this is not useful for most consumers) (#515)
v15.0.1
- Preserve layer in ignored
@import
s (#510, #511) - Join media queries in the correct order (#512, #513)
v15.0.0
- 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
- Add
@layer
support (#483)
csstools/postcss-plugins
v10.0.2
August 18, 2024
- Updated
@csstools/postcss-logical-viewport-units
to3.0.1
(patch) - Updated
@csstools/postcss-content-alt-text
to2.0.1
(patch) - Updated
@csstools/postcss-light-dark-function
to2.0.2
(patch) - Updated
@csstools/postcss-exponential-functions
to2.0.1
(patch) - Updated
@csstools/postcss-media-minmax
to2.0.1
(patch) - Updated
@csstools/postcss-media-queries-aspect-ratio-number-values
to3.0.1
(patch) - Updated
@csstools/postcss-stepped-value-functions
to4.0.1
(patch) - Updated
@csstools/postcss-trigonometric-functions
to4.0.1
(patch) - Updated
postcss-custom-media
to11.0.1
(patch) - Updated
postcss-custom-properties
to14.0.1
(patch) - Updated
postcss-custom-selectors
to8.0.1
(patch) - Updated
@csstools/postcss-color-function
to4.0.2
(patch) - Updated
@csstools/postcss-color-mix-function
to3.0.2
(patch) - Updated
@csstools/postcss-gamut-mapping
to2.0.2
(patch) - Updated
@csstools/postcss-gradients-interpolation-method
to5.0.2
(patch) - Updated
@csstools/postcss-hwb-function
to4.0.2
(patch) - Updated
@csstools/postcss-oklab-function
to4.0.2
(patch) - Updated
@csstools/postcss-relative-color-syntax
to3.0.2
(patch) - Updated
postcss-color-functional-notation
to7.0.2
(patch) - Updated
postcss-lab-function
to7.0.2
(patch)
v10.0.1
August 14, 2024
- Updated
@csstools/postcss-light-dark-function
to2.0.1
(patch) - Updated
@csstools/postcss-text-decoration-shorthand
to4.0.1
(patch) - Updated
@csstools/postcss-color-function
to4.0.1
(patch) - Updated
@csstools/postcss-color-mix-function
to3.0.1
(patch) - Updated
@csstools/postcss-gamut-mapping
to2.0.1
(patch) - Updated
@csstools/postcss-gradients-interpolation-method
to5.0.1
(patch) - Updated
@csstools/postcss-hwb-function
to4.0.1
(patch) - Updated
@csstools/postcss-oklab-function
to4.0.1
(patch) - Updated
@csstools/postcss-relative-color-syntax
to3.0.1
(patch) - Updated
postcss-color-functional-notation
to7.0.1
(patch) - Updated
postcss-lab-function
to7.0.1
(patch)
v10.0.0
August 3, 2024
Read more about the specific changes on our wiki
- Updated: Support for Node v18+ (major).
- Updated
@csstools/postcss-cascade-layers
to5.0.0
(major) - Updated
@csstools/postcss-font-format-keywords
to4.0.0
(major) - Updated
@csstools/postcss-initial
to2.0.0
(major) - Updated
@csstools/postcss-is-pseudo-class
to5.0.0
(major) - Updated
@csstools/postcss-logical-float-and-clear
to3.0.0
(major) - Updated
@csstools/postcss-logical-overflow
to2.0.0
(major) - Updated
@csstools/postcss-logical-overscroll-behavior
to2.0.0
(major) - Updated
@csstools/postcss-logical-resize
to3.0.0
(major) - Updated
@csstools/postcss-logical-viewport-units
to3.0.0
(major) - Updated
@csstools/postcss-nested-calc
to4.0.0
(major) - Updated
@csstools/postcss-normalize-display-values
to4.0.0
(major) - Updated
@csstools/postcss-progressive-custom-properties
to4.0.0
(major) - Updated
@csstools/postcss-scope-pseudo-class
to4.0.0
(major) - Updated
@csstools/postcss-text-decoration-shorthand
to4.0.0
(major) - Updated
@csstools/postcss-unset-value
to4.0.0
(major) - Updated
css-blank-pseudo
to7.0.0
(major) - Updated
css-has-pseudo
to7.0.0
(major) - Updated
css-prefers-color-scheme
to10.0.0
(major) - Updated
postcss-attribute-case-insensitive
to7.0.0
(major) - Updated
postcss-color-hex-alpha
to10.0.0
(major) - Updated
postcss-color-rebeccapurple
to10.0.0
(major) - Updated
postcss-dir-pseudo-class
to9.0.0
(major) - Updated
postcss-focus-visible
to10.0.0
(major) - Updated
postcss-focus-within
to9.0.0
(major) - Updated
postcss-gap-properties
to6.0.0
(major) - Updated
postcss-image-set-function
to7.0.0
(major) - Updated
postcss-logical
to8.0.0
(major) - Updated
postcss-nesting
to13.0.0
(major) - Updated
postcss-overflow-shorthand
to6.0.0
(major) - Updated
postcss-place
to10.0.0
(major) - Updated
postcss-pseudo-class-any-link
to10.0.0
(major) - Updated
postcss-selector-not
to8.0.0
(major) - Updated
@csstools/postcss-content-alt-text
to2.0.0
(major) - Updated
@csstools/postcss-ic-unit
to4.0.0
(major) - Updated
@csstools/postcss-light-dark-function
to2.0.0
(major) - Updated
postcss-double-position-gradients
to6.0.0
(major) - Updated
@csstools/postcss-exponential-functions
to2.0.0
(major) - Updated
@csstools/postcss-media-minmax
to2.0.0
(major) - Updated
@csstools/postcss-media-queries-aspect-ratio-number-values
to3.0.0
(major) - Updated
@csstools/postcss-stepped-value-functions
to4.0.0
(major) - Updated
@csstools/postcss-trigonometric-functions
to4.0.0
(major) - Updated
postcss-custom-media
to11.0.0
(major) - Updated
postcss-custom-properties
to14.0.0
(major) - Updated
postcss-custom-selectors
to8.0.0
(major) - Updated
@csstools/postcss-color-function
to4.0.0
(major) - Updated
@csstools/postcss-color-mix-function
to3.0.0
(major) - Updated
@csstools/postcss-gamut-mapping
to2.0.0
(major) - Updated
@csstools/postcss-gradients-interpolation-method
to5.0.0
(major) - Updated
@csstools/postcss-hwb-function
to4.0.0
(major) - Updated
@csstools/postcss-oklab-function
to4.0.0
(major) - Updated
@csstools/postcss-relative-color-syntax
to3.0.0
(major) - Updated
postcss-color-functional-notation
to7.0.0
(major) - Updated
postcss-lab-function
to7.0.0
(major)
v9.6.0
July 7, 2024
- Added
@csstools/postcss-content-alt-text
Check the plugin README for usage details. - Updated
cssdb
to8.1.0
(minor) - Updated
@csstools/postcss-progressive-custom-properties
to3.3.0
(minor) - Updated
@csstools/postcss-color-function
to3.0.19
(patch) - Updated
@csstools/postcss-color-mix-function
to2.0.19
(patch) - Updated
@csstools/postcss-gradients-interpolation-method
to4.0.20
(patch) - Updated
@csstools/postcss-hwb-function
to3.0.18
(patch) - Updated
@csstools/postcss-ic-unit
to3.0.7
(patch) - Updated
@csstools/postcss-light-dark-function
to1.0.8
(patch) - Updated
@csstools/postcss-oklab-function
to3.0.19
(patch) - Updated
@csstools/postcss-relative-color-syntax
to2.0.19
(patch) - Updated
postcss-color-functional-notation
to6.0.14
(patch) - Updated
postcss-double-position-gradients
to5.0.7
(patch) - Updated
postcss-lab-function
to6.0.19
(patch)
v9.5.16
July 6, 2024
- Added list of browsers that require a polyfill in the log output of
debug
(by @clarfonthey) - Updated detection for
areaHrefNeedsFixing
to exclude Edge 79 and later - Updated
@csstools/postcss-logical-viewport-units
to2.0.11
(patch) - Updated
@csstools/postcss-light-dark-function
to1.0.7
(patch) - Updated
@csstools/postcss-exponential-functions
to1.0.9
(patch) - Updated
@csstools/postcss-media-minmax
to1.1.8
(patch) - Updated
@csstools/postcss-media-queries-aspect-ratio-number-values
to2.0.11
(patch) - Updated
@csstools/postcss-stepped-value-functions
to3.0.10
(patch) - Updated
@csstools/postcss-trigonometric-functions
to3.0.10
(patch) - Updated
postcss-custom-media
to10.0.8
(patch) - Updated
postcss-custom-properties
to13.3.12
(patch) - Updated
postcss-custom-selectors
to7.1.12
(patch) - Updated
@csstools/postcss-color-function
to3.0.18
(patch) - Updated
@csstools/postcss-color-mix-function
to2.0.18
(patch) - Updated
@csstools/postcss-gamut-mapping
to1.0.11
(patch) - Updated
@csstools/postcss-gradients-interpolation-method
to4.0.19
(patch) - Updated
@csstools/postcss-hwb-function
to3.0.17
(patch) - Updated
@csstools/postcss-oklab-function
to3.0.18
(patch) - Updated
@csstools/postcss-relative-color-syntax
to2.0.18
(patch) - Updated
postcss-color-functional-notation
to6.0.13
(patch) - Updated
postcss-lab-function
to6.0.18
(patch)
v9.5.15
June 29, 2024
- Updated
@csstools/postcss-logical-viewport-units
to2.0.10
(patch) - Updated
@csstools/postcss-text-decoration-shorthand
to3.0.7
(patch) - Updated
@csstools/postcss-light-dark-function
to1.0.6
(patch) - Updated
@csstools/postcss-exponential-functions
to1.0.8
(patch) - Updated
@csstools/postcss-media-minmax
to1.1.7
(patch) - Updated
@csstools/postcss-media-queries-aspect-ratio-number-values
to2.0.10
(patch) - Updated
@csstools/postcss-stepped-value-functions
to3.0.9
(patch) - Updated
@csstools/postcss-trigonometric-functions
to3.0.9
(patch) - Updated
postcss-custom-media
to10.0.7
(patch) - Updated
postcss-custom-properties
to13.3.11
(patch) - Updated
postcss-custom-selectors
to7.1.11
(patch) - Updated
@csstools/postcss-color-function
to3.0.17
(patch) - Updated
@csstools/postcss-color-mix-function
to2.0.17
(patch) - Updated
@csstools/postcss-gamut-mapping
to1.0.10
(patch) - Updated
@csstools/postcss-gradients-interpolation-method
to4.0.18
(patch) - Updated
@csstools/postcss-hwb-function
to3.0.16
(patch) - Updated
@csstools/postcss-oklab-function
to3.0.17
(patch) - Updated
@csstools/postcss-relative-color-syntax
to2.0.17
(patch) - Updated
postcss-color-functional-notation
to6.0.12
(patch) - Updated
postcss-lab-function
to6.0.17
(patch)
v9.5.14
May 23, 2024
- Updated
postcss-nesting
to12.1.5
(patch)
v9.5.13
May 13, 2024
- Updated
@csstools/postcss-cascade-layers
to4.0.6
(patch) - Updated
@csstools/postcss-is-pseudo-class
to4.0.8
(patch) - Updated
css-has-pseudo
to6.0.5
(patch) - Updated
postcss-nesting
to12.1.4
(patch)
v9.5.12
May 11, 2024
- Updated
@csstools/postcss-cascade-layers
to4.0.5
(patch) - Updated
@csstools/postcss-is-pseudo-class
to4.0.7
(patch) - Updated
css-has-pseudo
to6.0.4
(patch) - Updated
postcss-nesting
to12.1.3
(patch)
v9.5.11
May 4, 2024
- Updated
@csstools/postcss-logical-viewport-units
to2.0.9
(patch) - Updated
@csstools/postcss-light-dark-function
to1.0.5
(patch) - Updated
@csstools/postcss-exponential-functions
to1.0.7
(patch) - Updated
@csstools/postcss-media-minmax
to1.1.6
(patch) - Updated
@csstools/postcss-media-queries-aspect-ratio-number-values
to2.0.9
(patch) - Updated
@csstools/postcss-stepped-value-functions
to3.0.8
(patch) - Updated
@csstools/postcss-trigonometric-functions
to3.0.8
(patch) - Updated
postcss-custom-media
to10.0.6
(patch) - Updated
postcss-custom-properties
to13.3.10
(patch) - Updated
postcss-custom-selectors
to7.1.10
(patch) - Updated
@csstools/postcss-color-function
to3.0.16
(patch) - Updated
@csstools/postcss-color-mix-function
to2.0.16
(patch) - Updated
@csstools/postcss-gamut-mapping
to1.0.9
(patch) - Updated
@csstools/postcss-gradients-interpolation-method
to4.0.17
(patch) - Updated
@csstools/postcss-hwb-function
to3.0.15
(patch) - Updated
@csstools/postcss-oklab-function
to3.0.16
(patch) - Updated
@csstools/postcss-relative-color-syntax
to2.0.16
(patch) - Updated
postcss-color-functional-notation
to6.0.11
(patch) - Updated
postcss-lab-function
to6.0.16
(patch)
v9.5.10
May 4, 2024
- Updated
@csstools/postcss-logical-viewport-units
to2.0.8
(patch) - Updated
@csstools/postcss-light-dark-function
to1.0.4
(patch) - Updated
@csstools/postcss-exponential-functions
to1.0.6
(patch) - Updated
@csstools/postcss-media-minmax
to1.1.5
(patch) - Updated
@csstools/postcss-media-queries-aspect-ratio-number-values
to2.0.8
(patch) - Updated
@csstools/postcss-stepped-value-functions
to3.0.7
(patch) - Updated
@csstools/postcss-trigonometric-functions
to3.0.7
(patch) - Updated
postcss-custom-media
to10.0.5
(patch) - Updated
postcss-custom-properties
to13.3.9
(patch) - Updated
postcss-custom-selectors
to7.1.9
(patch) - Updated
@csstools/postcss-color-function
to3.0.15
(patch) - Updated
@csstools/postcss-color-mix-function
to2.0.15
(patch) - Updated
@csstools/postcss-gamut-mapping
to1.0.8
(patch) - Updated
@csstools/postcss-gradients-interpolation-method
to4.0.16
(patch) - Updated
@csstools/postcss-hwb-function
to3.0.14
(patch) - Updated
@csstools/postcss-oklab-function
to3.0.15
(patch) - Updated
@csstools/postcss-relative-color-syntax
to2.0.15
(patch) - Updated
postcss-color-functional-notation
to6.0.10
(patch) - Updated
postcss-lab-function
to6.0.15
(patch)
v9.5.9
April 22, 2024
- Updated
postcss-custom-properties
to13.3.8
(patch)
v9.5.8
April 21, 2024
- Updated
postcss-pseudo-class-any-link
to9.0.2
(patch)
v9.5.7
April 21, 2024
- Updated
postcss-nesting
to12.1.2
(patch) - Updated
@csstools/postcss-text-decoration-shorthand
to3.0.6
(patch) - Updated
@csstools/postcss-color-function
to3.0.14
(patch) - Updated
@csstools/postcss-color-mix-function
to2.0.14
(patch) - Updated
@csstools/postcss-gamut-mapping
to1.0.7
(patch) - Updated
@csstools/postcss-gradients-interpolation-method
to4.0.15
(patch) - Updated
@csstools/postcss-hwb-function
to3.0.13
(patch) - Updated
@csstools/postcss-oklab-function
to3.0.14
(patch) - Updated
@csstools/postcss-relative-color-syntax
to2.0.14
(patch) - Updated
postcss-color-functional-notation
to6.0.9
(patch) - Updated
postcss-lab-function
to6.0.14
(patch)
v9.5.6
April 18, 2024
- Updated
css-blank-pseudo
to6.0.2
(patch)
v9.5.5
April 11, 2024
- Updated
postcss-custom-properties
to13.3.7
(patch)
v9.5.4
April 2, 2024
- Updated
@csstools/postcss-light-dark-function
to1.0.3
(patch)
v9.5.3
March 31, 2024
- Updated
cssdb
to8.0.0
(major) - Updated
@csstools/postcss-progressive-custom-properties
to3.2.0
(minor) - Updated
@csstools/postcss-cascade-layers
to4.0.4
(patch) - Updated
@csstools/postcss-ic-unit
to3.0.6
(patch) - Updated
@csstools/postcss-is-pseudo-class
to4.0.6
(patch) - Updated
@csstools/postcss-light-dark-function
to1.0.2
(patch) - Updated
@csstools/postcss-text-decoration-shorthand
to3.0.5
(patch) - Updated
css-has-pseudo
to6.0.3
(patch) - Updated
postcss-double-position-gradients
to5.0.6
(patch) - Updated
postcss-nesting
to12.1.1
(patch) - Updated
@csstools/postcss-color-function
to3.0.13
(patch) - Updated
@csstools/postcss-color-mix-function
to2.0.13
(patch) - Updated
@csstools/postcss-gamut-mapping
to1.0.6
(patch) - Updated
@csstools/postcss-gradients-interpolation-method
to4.0.14
(patch) - Updated
@csstools/postcss-hwb-function
to3.0.12
(patch) - Updated
@csstools/postcss-oklab-function
to3.0.13
(patch) - Updated
@csstools/postcss-relative-color-syntax
to2.0.13
(patch) - Updated
postcss-color-functional-notation
to6.0.8
(patch) - Updated
postcss-lab-function
to6.0.13
(patch)
v9.5.2
March 17, 2024
- Updated
@csstools/postcss-color-function
to3.0.12
(patch) - Updated
@csstools/postcss-color-mix-function
to2.0.12
(patch) - Updated
@csstools/postcss-gamut-mapping
to1.0.5
(patch) - Updated
@csstools/postcss-gradients-interpolation-method
to4.0.13
(patch) - Updated
@csstools/postcss-hwb-function
to3.0.11
(patch) - Updated
@csstools/postcss-oklab-function
to3.0.12
(patch) - Updated
@csstools/postcss-relative-color-syntax
to2.0.12
(patch) - Updated
postcss-color-functional-notation
to6.0.7
(patch) - Updated
postcss-lab-function
to6.0.12
(patch)
v9.5.1
July 6, 2024
- Added list of browsers that require a polyfill in the log output of
debug
(by @clarfonthey) - Updated detection for
areaHrefNeedsFixing
to exclude Edge 79 and later - Updated
@csstools/postcss-logical-viewport-units
to2.0.11
(patch) - Updated
@csstools/postcss-light-dark-function
to1.0.7
(patch) - Updated
@csstools/postcss-exponential-functions
to1.0.9
(patch) - Updated
@csstools/postcss-media-minmax
to1.1.8
(patch) - Updated
@csstools/postcss-media-queries-aspect-ratio-number-values
to2.0.11
(patch) - Updated
@csstools/postcss-stepped-value-functions
to3.0.10
(patch) - Updated
@csstools/postcss-trigonometric-functions
to3.0.10
(patch) - Updated
postcss-custom-media
to10.0.8
(patch) - Updated
postcss-custom-properties
to13.3.12
(patch) - Updated
postcss-custom-selectors
to7.1.12
(patch) - Updated
@csstools/postcss-color-function
to3.0.18
(patch) - Updated
@csstools/postcss-color-mix-function
to2.0.18
(patch) - Updated
@csstools/postcss-gamut-mapping
to1.0.11
(patch) - Updated
@csstools/postcss-gradients-interpolation-method
to4.0.19
(patch) - Updated
@csstools/postcss-hwb-function
to3.0.17
(patch) - Updated
@csstools/postcss-oklab-function
to3.0.18
(patch) - Updated
@csstools/postcss-relative-color-syntax
to2.0.18
(patch) - Updated
postcss-color-functional-notation
to6.0.13
(patch) - Updated
postcss-lab-function
to6.0.18
(patch)
v9.5.0
March 6, 2024
- Add support for array options, e.g.
{ 'nesting-rules': ['auto', { noIsPseudoSelector: false }] }
- Updated
@csstools/postcss-gradients-interpolation-method
to4.0.11
(patch) - Updated
postcss-nesting
to12.1.0
(minor) - Updated
cssdb
to7.11.1
(patch)
v9.4.0
February 19, 2024
- Added
@csstools/postcss-light-dark-function
Check the plugin README for usage details. - Fix type definitions
- Remove extraneous dependency on
postcss-value-parser
- Updated
@csstools/postcss-cascade-layers
to4.0.3
(patch) - Updated
@csstools/postcss-color-function
to3.0.9
(patch) - Updated
@csstools/postcss-color-mix-function
to2.0.9
(patch) - Updated
@csstools/postcss-exponential-functions
to1.0.4
(patch) - Updated
@csstools/postcss-font-format-keywords
to3.0.2
(patch) - Updated
@csstools/postcss-gamut-mapping
to1.0.3
(patch) - Updated
@csstools/postcss-gradients-interpolation-method
to4.0.10
(patch) - Updated
@csstools/postcss-hwb-function
to3.0.9
(patch) - Updated
@csstools/postcss-ic-unit
to3.0.4
(patch) - Updated
@csstools/postcss-initial
to1.0.1
(patch) - Updated
@csstools/postcss-is-pseudo-class
to4.0.5
(patch) - Updated
@csstools/postcss-logical-float-and-clear
to2.0.1
(patch) - Updated
@csstools/postcss-logical-overflow
to1.0.1
(patch) - Updated
@csstools/postcss-logical-overscroll-behavior
to1.0.1
(patch) - Updated
@csstools/postcss-logical-resize
to2.0.1
(patch) - Updated
@csstools/postcss-logical-viewport-units
to2.0.6
(patch) - Updated
@csstools/postcss-media-minmax
to1.1.3
(patch) - Updated
@csstools/postcss-media-queries-aspect-ratio-number-values
to2.0.6
(patch) - Updated
@csstools/postcss-nested-calc
to3.0.2
(patch) - Updated
@csstools/postcss-normalize-display-values
to3.0.2
(patch) - Updated
@csstools/postcss-oklab-function
to3.0.10
(patch) - Updated
@csstools/postcss-progressive-custom-properties
to3.1.0
(minor) - Updated
@csstools/postcss-relative-color-syntax
to2.0.10
(patch) - Updated
@csstools/postcss-scope-pseudo-class
to3.0.1
(patch) - Updated
@csstools/postcss-stepped-value-functions
to3.0.5
(patch) - Updated
@csstools/postcss-text-decoration-shorthand
to3.0.4
(patch) - Updated
@csstools/postcss-trigonometric-functions
to3.0.5
(patch) - Updated
@csstools/postcss-unset-value
to3.0.1
(patch) - Updated
css-blank-pseudo
to6.0.1
(patch) - Updated
css-has-pseudo
to6.0.2
(patch) - Updated
css-prefers-color-scheme
to9.0.1
(patch) - Updated
cssdb
to7.11.0
(minor) - Updated
postcss-attribute-case-insensitive
to6.0.3
(patch) - Updated
postcss-color-functional-notation
to6.0.5
(patch) - Updated
postcss-color-hex-alpha
to9.0.4
(patch) - Updated
postcss-color-rebeccapurple
to9.0.3
(patch) - Updated
postcss-custom-media
to10.0.3
(patch) - Updated
postcss-custom-properties
to13.3.5
(patch) - Updated
postcss-custom-selectors
to7.1.7
(patch) - Updated
postcss-dir-pseudo-class
to8.0.1
(patch) - Updated
postcss-double-position-gradients
to5.0.4
(patch) - Updated
postcss-focus-visible
to9.0.1
(patch) - Updated
postcss-focus-within
to8.0.1
(patch) - Updated
postcss-gap-properties
to5.0.1
(patch) - Updated
postcss-image-set-function
to6.0.3
(patch) - Updated
postcss-lab-function
to6.0.10
(patch) - Updated
postcss-logical
to7.0.1
(patch) - Updated
postcss-nesting
to12.0.3
(patch) - Updated
postcss-overflow-shorthand
to5.0.1
(patch) - Updated
postcss-place
to9.0.1
(patch) - Updated
postcss-pseudo-class-any-link
to9.0.1
(patch) - Updated
postcss-selector-not
to7.0.2
(patch)
v9.3.0
October 31, 2023
- Added
@csstools/postcss-logical-overflow
Check the plugin README for usage details. - Added
@csstools/postcss-logical-overscroll-behavior
Check the plugin README for usage details. - Updated
cssdb
to7.9.0
(minor) - Updated
@csstools/postcss-cascade-layers
to4.0.1
(patch)
v9.2.0
October 9, 2023
- Added
@csstools/postcss-gamut-mapping
Check the plugin README for usage details. - Updated
cssdb
to7.8.0
(minor) - Updated
@csstools/postcss-color-function
to3.0.7
(patch) - Updated
@csstools/postcss-color-mix-function
to2.0.7
(patch) - Updated
@csstools/postcss-exponential-functions
to1.0.1
(patch) - Updated
@csstools/postcss-gradients-interpolation-method
to4.0.7
(patch) - Updated
@csstools/postcss-hwb-function
to3.0.6
(patch) - Updated
@csstools/postcss-ic-unit
to3.0.2
(patch) - Updated
@csstools/postcss-is-pseudo-class
to4.0.3
(patch) - Updated
@csstools/postcss-logical-viewport-units
to2.0.3
(patch) - Updated
@csstools/postcss-media-minmax
to1.1.0
(minor) - Updated
@csstools/postcss-media-queries-aspect-ratio-number-values
to2.0.3
(patch) - Updated
@csstools/postcss-oklab-function
to3.0.7
(patch) - Updated
@csstools/postcss-progressive-custom-properties
to3.0.2
(patch) - Updated
@csstools/postcss-relative-color-syntax
to2.0.7
(patch) - Updated
@csstools/postcss-stepped-value-functions
to3.0.2
(patch) - Updated
@csstools/postcss-trigonometric-functions
to3.0.2
(patch) - Updated
postcss-color-functional-notation
to6.0.2
(patch) - Updated
postcss-custom-media
to10.0.2
(patch) - Updated
postcss-custom-properties
to13.3.2
(patch) - Updated
postcss-custom-selectors
to7.1.6
(patch) - Updated
postcss-double-position-gradients
to5.0.2
(patch) - Updated
postcss-lab-function
to6.0.7
(patch)
v9.1.4
September 18, 2023
- Updated
@csstools/postcss-is-pseudo-class
to4.0.2
(patch) - Updated
@csstools/postcss-logical-viewport-units
to2.0.2
(patch) - Updated
@csstools/postcss-normalize-display-values
to3.0.1
(patch) - Updated
@csstools/postcss-progressive-custom-properties
to3.0.1
(patch) - Updated
@csstools/postcss-text-decoration-shorthand
to3.0.3
(patch) - Updated
postcss-color-rebeccapurple
to9.0.1
(patch) - Updated
postcss-custom-properties
to13.3.1
(patch) - Updated
postcss-image-set-function
to6.0.1
(patch) - Updated
@csstools/postcss-color-function
to3.0.4
(patch) - Updated
@csstools/postcss-color-mix-function
to2.0.4
(patch) - Updated
@csstools/postcss-gradients-interpolation-method
to4.0.4
(patch) - Updated
@csstools/postcss-ic-unit
to3.0.1
(patch) - Updated
@csstools/postcss-oklab-function
to3.0.4
(patch) - Updated
@csstools/postcss-relative-color-syntax
to2.0.4
(patch) - Updated
postcss-color-functional-notation
to6.0.1
(patch) - Updated
postcss-double-position-gradients
to5.0.1
(patch) - Updated
postcss-lab-function
to6.0.4
(patch) - Updated
postcss-custom-media
to10.0.1
(patch) - Updated
postcss-custom-selectors
to7.1.5
(patch)
v9.1.3
September 2, 2023
- Updated
@csstools/postcss-is-pseudo-class
to4.0.1
(patch) - Updated
@csstools/postcss-text-decoration-shorthand
to3.0.2
(patch) - Updated
@csstools/postcss-color-function
to3.0.3
(patch) - Updated
@csstools/postcss-color-mix-function
to2.0.3
(patch) - Updated
@csstools/postcss-gradients-interpolation-method
to4.0.3
(patch) - Updated
@csstools/postcss-hwb-function
to3.0.3
(patch) - Updated
@csstools/postcss-oklab-function
to3.0.3
(patch) - Updated
@csstools/postcss-relative-color-syntax
to2.0.3
(patch) - Updated
postcss-lab-function
to6.0.3
(patch)
v9.1.2
August 28, 2023
- Updated
cssdb
to7.7.1
(patch) - Updated
@csstools/postcss-text-decoration-shorthand
to3.0.1
(patch) - Updated
@csstools/postcss-color-function
to3.0.2
(patch) - Updated
@csstools/postcss-color-mix-function
to2.0.2
(patch) - Updated
@csstools/postcss-gradients-interpolation-method
to4.0.2
(patch) - Updated
@csstools/postcss-hwb-function
to3.0.2
(patch) - Updated
@csstools/postcss-oklab-function
to3.0.2
(patch) - Updated
@csstools/postcss-relative-color-syntax
to2.0.2
(patch) - Updated
postcss-lab-function
to6.0.2
(patch)
v9.1.1
August 5, 2023
- Display multiple feature suggestions when an unknown feature is used in plugin options
- Fix
env
option for plugin specific options by @BPScott - Updated
postcss-nesting
to12.0.1
(patch) - Updated
@csstools/postcss-media-minmax
to1.0.7
(patch) - Updated
@csstools/postcss-media-queries-aspect-ratio-number-values
to2.0.2
(patch)
v9.1.0
July 24, 2023
- Added
@csstools/postcss-exponential-functions
Check the plugin README for usage details. - Added
env
option to control which browserslist environment to target by @BPScott - Fix browserslist supports queries
- Updated
cssdb
to7.7.0
(minor) - Updated
@csstools/postcss-logical-viewport-units
to2.0.1
(patch) - Updated
@csstools/postcss-color-function
to3.0.1
(patch) - Updated
@csstools/postcss-color-mix-function
to2.0.1
(patch) - Updated
@csstools/postcss-gradients-interpolation-method
to4.0.1
(patch) - Updated
@csstools/postcss-hwb-function
to3.0.1
(patch) - Updated
@csstools/postcss-media-minmax
to1.0.6
(patch) - Updated
@csstools/postcss-media-queries-aspect-ratio-number-values
to2.0.1
(patch) - Updated
@csstools/postcss-oklab-function
to3.0.1
(patch) - Updated
@csstools/postcss-relative-color-syntax
to2.0.1
(patch) - Updated
@csstools/postcss-stepped-value-functions
to3.0.1
(patch) - Updated
@csstools/postcss-trigonometric-functions
to3.0.1
(patch) - Updated
postcss-custom-properties
to13.3.0
(minor) - Updated
postcss-lab-function
to6.0.1
(patch)
v9.0.0
July 3, 2023
- Change license to
MIT-0
(read more about this change in the blog post) - Updated
@csstools/postcss-cascade-layers
to4.0.0
(major) - Updated
@csstools/postcss-font-format-keywords
to3.0.0
(major) - Updated
@csstools/postcss-is-pseudo-class
to4.0.0
(major) - Updated
@csstools/postcss-logical-float-and-clear
to2.0.0
(major) - Updated
@csstools/postcss-logical-resize
to2.0.0
(major) - Updated
@csstools/postcss-logical-viewport-units
to2.0.0
(major) - Updated
@csstools/postcss-nested-calc
to3.0.0
(major) - Updated
@csstools/postcss-normalize-display-values
to3.0.0
(major) - Updated
@csstools/postcss-progressive-custom-properties
to3.0.0
(major) - Updated
@csstools/postcss-scope-pseudo-class
to3.0.0
(major) - Updated
@csstools/postcss-text-decoration-shorthand
to3.0.0
(major) - Updated
@csstools/postcss-unset-value
to3.0.0
(major) - Updated
css-blank-pseudo
to6.0.0
(major) - Updated
css-has-pseudo
to6.0.0
(major) - Updated
css-prefers-color-scheme
to9.0.0
(major) - Updated
postcss-color-rebeccapurple
to9.0.0
(major) - Updated
postcss-dir-pseudo-class
to8.0.0
(major) - Updated
postcss-focus-visible
to9.0.0
(major) - Updated
postcss-focus-within
to8.0.0
(major) - Updated
postcss-gap-properties
to5.0.0
(major) - Updated
postcss-image-set-function
to6.0.0
(major) - Updated
postcss-logical
to7.0.0
(major) - Updated
postcss-nesting
to12.0.0
(major) - Updated
postcss-overflow-shorthand
to5.0.0
(major) - Updated
postcss-place
to9.0.0
(major) - Updated
postcss-pseudo-class-any-link
to9.0.0
(major) - Updated
@csstools/postcss-ic-unit
to3.0.0
(major) - Updated
@csstools/postcss-media-minmax
to1.0.5
(patch) - Updated
@csstools/postcss-media-queries-aspect-ratio-number-values
to2.0.0
(major) - Updated
@csstools/postcss-stepped-value-functions
to3.0.0
(major) - Updated
@csstools/postcss-trigonometric-functions
to3.0.0
(major) - Updated
postcss-color-functional-notation
to6.0.0
(major) - Updated
postcss-custom-media
to10.0.0
(major) - Updated
postcss-custom-properties
to13.2.1
(patch) - Updated
postcss-custom-selectors
to7.1.4
(patch) - Updated
postcss-double-position-gradients
to5.0.0
(major) - Updated
@csstools/postcss-gradients-interpolation-method
to4.0.0
(major) - Updated
@csstools/postcss-hwb-function
to3.0.0
(major) - Updated
@csstools/postcss-oklab-function
to3.0.0
(major) - Updated
@csstools/postcss-relative-color-syntax
to2.0.0
(major) - Updated
postcss-lab-function
to6.0.0
(major)
v8.5.1
June 21, 2023
- Updated
@csstools/postcss-media-minmax
to1.0.4
(patch) - Updated
@csstools/postcss-media-queries-aspect-ratio-number-values
to1.0.4
(patch) - Updated
postcss-custom-media
to9.1.5
(patch)
v8.5.0
June 14, 2023
- Add warning when using the deprecated
@nest
rule - Updated
@csstools/postcss-relative-color-syntax
to1.0.2
(patch) - Updated
postcss-nesting
to11.3.0
(minor)
v8.4.2
June 1, 2023
- Updated
@csstools/postcss-progressive-custom-properties
to2.3.0
(minor) - Updated
postcss-custom-properties
to13.2.0
(minor) - Updated
@csstools/postcss-color-function
to2.2.3
(patch) - Updated
@csstools/postcss-color-mix-function
to1.0.3
(patch) - Updated
@csstools/postcss-gradients-interpolation-method
to3.0.6
(patch) - Updated
@csstools/postcss-ic-unit
to2.0.4
(patch) - Updated
@csstools/postcss-media-minmax
to1.0.3
(patch) - Updated
@csstools/postcss-media-queries-aspect-ratio-number-values
to1.0.3
(patch) - Updated
@csstools/postcss-oklab-function
to2.2.3
(patch) - Updated
@csstools/postcss-relative-color-syntax
to1.0.1
(patch) - Updated
postcss-color-functional-notation
to5.1.0
(minor) - Updated
postcss-custom-media
to9.1.4
(patch) - Updated
postcss-double-position-gradients
to4.0.4
(patch) - Updated
postcss-lab-function
to5.2.3
(patch)
v8.4.1
May 19, 2023
- Added
@csstools/postcss-relative-color-syntax
Check the plugin README for usage details (really this time).
v8.4.0
May 19, 2023
- Added
@csstools/postcss-relative-color-syntax
Check the plugin README for usage details. - Updated
cssdb
to7.6.0.
(minor) - Updated
@csstools/postcss-progressive-custom-properties
to2.2.0
(minor) - Updated
@csstools/postcss-ic-unit
to2.0.3
(patch) - Updated
@csstools/postcss-text-decoration-shorthand
to2.2.4
(patch) - Updated
postcss-double-position-gradients
to4.0.3
(patch) - Updated
@csstools/postcss-color-function
to2.2.2
(patch) - Updated
@csstools/postcss-color-mix-function
to1.0.2
(patch) - Updated
@csstools/postcss-gradients-interpolation-method
to3.0.5
(patch) - Updated
@csstools/postcss-hwb-function
to2.2.2
(patch) - Updated
@csstools/postcss-oklab-function
to2.2.2
(patch) - Updated
postcss-lab-function
to5.2.2
(patch)
v8.3.3
May 19, 2023
- Update plugin order to preserve more original values.
- Fix exception on unknown features #969
- Updated
@csstools/postcss-is-pseudo-class
to3.2.1
(patch) - Updated
postcss-logical
to6.2.0
(minor)
v8.3.2
April 17, 2023
- Updated
@csstools/postcss-gradients-interpolation-method
to3.0.4
(patch)
v8.3.1
April 10, 2023
- Updated
@csstools/postcss-logical-viewport-units
to1.0.3
(patch) - Updated
@csstools/postcss-media-minmax
to1.0.2
(patch) - Updated
@csstools/postcss-media-queries-aspect-ratio-number-values
to1.0.2
(patch) - Updated
@csstools/postcss-stepped-value-functions
to2.1.1
(patch) - Updated
@csstools/postcss-trigonometric-functions
to2.1.1
(patch) - Updated
postcss-custom-media
to9.1.3
(patch) - Updated
postcss-custom-properties
to13.1.5
(patch) - Updated
postcss-custom-selectors
to7.1.3
(patch) - Updated
@csstools/postcss-color-function
to2.2.1
(patch) - Updated
@csstools/postcss-color-mix-function
to1.0.1
(patch) - Updated
@csstools/postcss-gradients-interpolation-method
to3.0.3
(patch) - Updated
@csstools/postcss-hwb-function
to2.2.1
(patch) - Updated
@csstools/postcss-oklab-function
to2.2.1
(patch) - Updated
postcss-lab-function
to5.2.1
(patch)
v8.3.0
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
to7.5.3
(patch)
v8.2.0
March 28, 2023
- Added
@csstools/postcss-gradients-interpolation-method
Check the plugin README for usage details. - Updated
cssdb
to7.5.2
(patch)
v8.1.0
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
to3.0.1
(patch) - Updated
@csstools/postcss-color-function
to2.2.0
(minor) - Updated
@csstools/postcss-font-format-keywords
to2.0.2
(patch) - Updated
@csstools/postcss-hwb-function
to2.2.0
(minor) - Updated
@csstools/postcss-ic-unit
to2.0.2
(patch) - Updated
@csstools/postcss-is-pseudo-class
to3.1.1
(minor) - Updated
@csstools/postcss-logical-float-and-clear
to1.0.1
(patch) - Updated
@csstools/postcss-logical-resize
to1.0.1
(patch) - Updated
@csstools/postcss-logical-viewport-units
to1.0.2
(patch) - Updated
@csstools/postcss-media-queries-aspect-ratio-number-values
to1.0.1
(patch) - Updated
@csstools/postcss-nested-calc
to2.0.2
(patch) - Updated
@csstools/postcss-normalize-display-values
to2.0.1
(patch) - Updated
@csstools/postcss-oklab-function
to2.1.0
(minor) - Updated
@csstools/postcss-progressive-custom-properties
to2.1.0
(minor) - Updated
@csstools/postcss-scope-pseudo-class
to2.0.2
(patch) - Updated
@csstools/postcss-stepped-value-functions
to2.1.0
(minor) - Updated
@csstools/postcss-text-decoration-shorthand
to2.2.1
(minor) - Updated
@csstools/postcss-trigonometric-functions
to2.1.0
(minor) - Updated
@csstools/postcss-unset-value
to2.0.1
(patch) - Updated
autoprefixer
to10.4.14
(patch) - Updated
browserslist
to4.21.5
(patch) - Updated
css-blank-pseudo
to5.0.2
(patch) - Updated
css-has-pseudo
to5.0.2
(patch) - Updated
css-prefers-color-scheme
to8.0.2
(patch) - Updated
cssdb
to7.5.1
(minor) - Updated
postcss-attribute-case-insensitive
to6.0.2
(patch) - Updated
postcss-color-functional-notation
to5.0.2
(patch) - Updated
postcss-color-hex-alpha
to9.0.2
(patch) - Updated
postcss-color-rebeccapurple
to8.0.2
(patch) - Updated
postcss-custom-media
to9.1.2
(patch) - Updated
postcss-custom-properties
to13.1.4
(patch) - Updated
postcss-custom-selectors
to7.1.2
(patch) - Updated
postcss-dir-pseudo-class
to7.0.2
(patch) - Updated
postcss-double-position-gradients
to4.0.2
(patch) - Updated
postcss-focus-visible
to8.0.2
(patch) - Updated
postcss-focus-within
to7.0.2
(patch) - Updated
postcss-gap-properties
to4.0.1
(patch) - Updated
postcss-image-set-function
to5.0.2
(patch) - Updated
postcss-lab-function
to5.2.0
(minor) - Updated
postcss-logical
to6.1.0
(minor) - Updated
postcss-nesting
to11.2.1
(minor) - Updated
postcss-opacity-percentage
to2.0.0
(major) - Updated
postcss-overflow-shorthand
to4.0.1
(patch) - Updated
postcss-page-break
to3.0.4
(patch) - Updated
postcss-place
to8.0.1
(patch) - Updated
postcss-pseudo-class-any-link
to8.0.2
(patch) - Updated
postcss-selector-not
to7.0.1
(patch)
v8.0.1
January 28, 2023
- Improve
types
declaration inpackage.json
v8.0.0
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
andoverflow-wrap-property
now follow thepreserve
plugin option - Removed a workaround to consider
blank-pseudo-class
andprefers-color-scheme-query
asstage: 1
features when using default options. - Removed
postcss-env-function
(breaking). - Removed
importFrom
andexportTo
plugin options from multiple plugins. (breaking)postcss-custom-media
postcss-custom-properties
postcss-custom-selectors
- Breaking:
enableClientSidePolyfills
is nowfalse
by default (wastrue
) - Updated
@csstools/postcss-cascade-layers
to3.0.0
(major) - Updated
@csstools/postcss-color-function
to2.0.0
(major) - Updated
@csstools/postcss-font-format-keywords
to2.0.0
(major) - Updated
@csstools/postcss-hwb-function
to2.0.0
(major) - Updated
@csstools/postcss-ic-unit
to2.0.0
(major) - Updated
@csstools/postcss-is-pseudo-class
to3.0.0
(major) - Updated
@csstools/postcss-nested-calc
to2.0.0
(major) - Updated
@csstools/postcss-normalize-display-values
to2.0.0
(major) - Updated
@csstools/postcss-oklab-function
to2.0.0
(major) - Updated
@csstools/postcss-scope-pseudo-class
to2.0.0
(major) - Updated
@csstools/postcss-stepped-value-functions
to2.0.0
(major) - Updated
@csstools/postcss-text-decoration-shorthand
to2.0.0
(major) - Updated
@csstools/postcss-trigonometric-functions
to2.0.0
(major) - Updated
@csstools/postcss-unset-value
to2.0.0
(major) - Updated
css-blank-pseudo
to5.0.0
(major) - Updated
css-has-pseudo
to5.0.0
(major) - Updated
css-prefers-color-scheme
to8.0.0
(major) - Updated
postcss-attribute-case-insensitive
to6.0.0
(major) - Updated
postcss-color-functional-notation
to5.0.0
(major) - Updated
postcss-color-hex-alpha
to9.0.0
(major) - Updated
postcss-color-rebeccapurple
to8.0.0
(major) - Updated
postcss-custom-media
to9.1.0
(major) - Updated
postcss-custom-properties
to13.1.0
(minor) - Updated
postcss-custom-selectors
to7.1.0
(minor) - Updated
postcss-dir-pseudo-class
to7.0.0
(major) - Updated
postcss-double-position-gradients
to4.0.0
(major) - Updated
postcss-focus-visible
to8.0.0
(major) - Updated
postcss-focus-within
to7.0.0
(major) - Updated
postcss-gap-properties
to4.0.0
(major) - Updated
postcss-image-set-function
to5.0.0
(major) - Updated
postcss-lab-function
to5.0.0
(major) - Updated
postcss-logical
to6.0.0
(major) - Updated
postcss-nesting
to11.0.0
(major) - Updated
postcss-overflow-shorthand
to4.0.0
(major) - Updated
postcss-place
to8.0.0
(major) - Updated
postcss-pseudo-class-any-link
to8.0.0
(major) - Updated
postcss-selector-not
to7.0.0
(major)
v7.8.3
November 14, 2022
- Update
autoprefixer
to10.4.13
(patch) - Update
browserlist
to4.21.4
(patch) - Update
postcss-custom-properties
to12.1.10
(patch) - Update
@csstools/postcss-cascade-layers
to1.1.1
(patch)
v7.8.2
September 15, 2022
- Update
@csstools/postcss-cascade-layers
to1.1.0
(minor) - Update
autoprefixer
to10.4.11
(patch) - Update
postcss-custom-properties
to12.1.9
(patch) - Update
postcss-nesting
to10.2.0
(minor)
v7.8.1
September 7, 2022
- Update
cssdb
to7.0.1
(patch) - Update
@csstools/postcss-cascade-layers
to1.0.6
(patch)
v7.8.0
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
to1.0.5
(patch) - Update
@csstools/postcss-color-function
to1.1.1
(patch) - Update
@csstools/postcss-font-format-keywords
to1.0.1
(patch) - Update
@csstools/postcss-hwb-function
to1.0.2
(patch) - Update
@csstools/postcss-ic-unit
to1.0.1
(patch) - Update
@csstools/postcss-is-pseudo-class
to2.0.7
(patch) - Update
@csstools/postcss-normalize-display-values
to1.0.1
(patch) - Update
@csstools/postcss-oklab-function
to1.1.1
(patch) - Update
@csstools/postcss-stepped-value-functions
to1.0.1
(patch) - Update
@csstools/postcss-trigonometric-functions
to1.0.2
(patch) - Update
@csstools/postcss-unset-value
to1.0.2
(patch) - Update
autoprefixer
to10.4.8
(patch) - Update
browserslist
to4.21.3
(patch) - Update
cssdb
to7.0.0
(major) - Update
postcss-attribute-case-insensitive
to5.0.2
(patch) - Update
postcss-color-functional-notation
to4.2.4
(patch) - Update
postcss-color-rebeccapurple
to7.1.1
(patch) - Update
postcss-dir-pseudo-class
to6.0.5
(patch) - Update
postcss-double-position-gradients
to3.1.2
(patch) - Update
postcss-gap-properties
to3.0.5
(patch) - Update
postcss-image-set-function
to4.0.7
(patch) - Update
postcss-lab-function
to4.2.1
(patch) - Update
postcss-nesting
to10.1.10
(patch) - Update
postcss-overflow-shorthand
to3.0.4
(patch) - Update
postcss-place
to7.0.5
(patch) - Update
postcss-pseudo-class-any-link
to7.1.6
(patch) - Update
postcss-selector-not
to6.0.1
(patch)
v7.7.2
June 23, 2022
- Fix
op_mini all
not working as a browser list. - Updated
postcss-color-rebeccapurple
to7.1.0
(minor) - Updated
browserslist
to4.21.0
(minor) - Updated
@csstools/postcss-cascade-layers
to1.0.4
(patch) - Updated
@csstools/postcss-is-pseudo-class
to2.0.6
(patch) - Updated
postcss-color-hex-alpha
to8.0.4
(patch) - Updated
postcss-custom-media
to8.0.2
(patch) - Updated
postcss-custom-properties
to12.1.8
(patch) - Updated
postcss-custom-selectors
to6.0.3
(patch) - Updated
postcss-nesting
to10.1.9
(patch) - Updated
postcss-pseudo-class-any-link
to7.1.5
(patch)
v7.7.1
June 3, 2022
- Updated
postcss-selector-not
to6.0.0
(major) - Updated
@csstools/postcss-trigonometric-functions
to1.0.1
(patch) - Updated
postcss-attribute-case-insensitive
to5.0.1
(patch) - Updated
postcss-custom-media
to8.0.1
(patch) - Updated
postcss-custom-selectors
to6.0.2
(patch) - Updated
cssdb
to6.6.3
(patch)
v7.7.0
May 31, 2022
- Added
@csstools/postcss-trigonometric-functions
Check the plugin README for usage details. - Updated
@csstools/postcss-cascade-layers
to1.0.2
(patch) - Updated
postcss-color-functional-notation
to4.2.3
(patch) - Updated
postcss-nesting
to10.1.7
(patch)
v7.6.0
May 19, 2022
- Added
@csstools/postcss-cascade-layers
Check the plugin README for usage details. - Updated
@csstools/postcss-hwb-function
to1.0.1
(patch) - Updated
@csstools/postcss-is-pseudo-class
to2.0.4
(patch) - Updated
@csstools/postcss-unset-value
to1.0.1
(patch) - Updated
postcss-nesting
to10.1.6
(patch) - Updated
postcss-pseudo-class-any-link
to7.1.4
(patch) - Updated
autoprefixer
to10.4.7
(patch)
v7.5.0
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
to6.6.0
(minor) - Updated
autoprefixer
to10.4.6
(patch)
v7.4.4
April 26, 2022
- Updated
@csstools/postcss-color-function
to1.1.0
(minor) - Updated
@csstools/postcss-is-pseudo-class
to2.0.2
(patch) - Updated
@csstools/postcss-oklab-function
to1.1.0
(minor) - Updated
autoprefixer
to10.4.5
(patch) - Updated
browserslist
to4.20.3
(patch) - Updated
postcss-custom-properties
to12.1.7
(patch) - Updated
postcss-lab-function
to4.2.0
(minor) - Updated
postcss-nesting
to10.1.4
(patch) - Updated
postcss-pseudo-class-any-link
to7.1.2
(patch)
v7.4.3
March 19, 2022
- Fix manually enabling a feature that doesn't meet the required vendor implementations. #310
- Updated
postcss-clamp
to4.1.0
(minor) - Updated
@csstools/postcss-color-function
to1.0.3
(patch) - Updated
@csstools/postcss-is-pseudo-class
to2.0.1
(patch) - Updated
@csstools/postcss-oklab-function
to1.0.2
(patch) - Updated
@csstools/postcss-progressive-custom-properties
to1.3.0
(minor) - Updated
autoprefixer
to10.4.4
(patch) - Updated
browserslist
to4.20.2
(patch) - Updated
cssdb
to6.5.0
(minor) - Updated
postcss-custom-properties
to12.1.5
(patch) - Updated
postcss-double-position-gradients
to3.1.1
(patch) - Updated
postcss-env-function
to4.0.6
(patch) - Updated
postcss-lab-function
to4.1.2
(patch) - Updated
postcss-nesting
to10.1.3
(patch) - Remove internal patch for
postcss-clamp
- Document all features. csstools/postcss-preset-env#156
v7.4.2
March 2, 2022
- Adding internal patch for
postcss-clamp
to fix issue whenclamp
was being used with any other values along. #274
v7.4.1
February 17, 2022
- Updated
postcss-clamp
to4.0.0
(major)
v7.4.0
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
to1.2.0
(minor) - Updated
cssdb
to6.3.1
(patch) - Updated
postcss-double-position-gradients
to3.1.0
(minor) - Updated
postcss-lab-function
to4.1.1
(patch)
v7.3.3
February 13, 2022
- Updated
cssdb
to6.3.0
(minor)
v7.3.2
February 12, 2022
- Updated
postcss-lab-function
to4.1.0
(minor)
postcss-lab-function
now supports wide gamut colors and out of gamut color mapping.
- Updated
css-blank-pseudo
to3.0.3
(patch) - Updated
css-has-pseudo
to3.0.4
(patch) - Updated
cssdb
to6.2.1
(patch) - Updated
postcss-color-functional-notation
to4.2.2
(patch) - Updated
postcss-color-hex-alpha
to8.0.3
(patch) - Updated
postcss-dir-pseudo-class
to6.0.4
(patch) - Updated
postcss-double-position-gradients
to3.0.5
(patch) - Updated
postcss-env-function
to4.0.5
(patch) - Updated
postcss-focus-visible
to6.0.4
(patch) - Updated
postcss-focus-within
to5.0.4
(patch) - Updated
postcss-gap-properties
to3.0.3
(patch) - Updated
postcss-image-set-function
to4.0.6
(patch) - Updated
postcss-logical
to5.0.4
(patch) - Updated
postcss-overflow-shorthand
to3.0.3
(patch) - Updated
postcss-place
to7.0.4
(patch) - Updated
postcss-pseudo-class-any-link
to7.1.1
(patch) - Updated
@csstools/postcss-progressive-custom-properties
to1.1.0
.
puppeteer/puppeteer
v23.2.2
v23.2.1
v23.2.0
v23.1.1
v23.1.0
v23.0.2
v23.0.1
v23.0.0
v22.15.0
v22.14.0
v22.13.1
v22.13.0
v22.12.1
v22.12.0
v22.11.2
v22.11.1
v22.11.0
v22.10.1
v22.10.0
v22.9.0
v22.8.2
v22.8.1
v22.8.0
v22.7.1
v22.7.0
v22.6.5
v22.6.4
v22.6.3
v22.6.2
v22.6.1
v22.6.0
v22.5.0
v22.4.1
v22.4.0
v22.3.0
v22.2.0
v22.1.0
v22.0.0
v21.11.0
v21.10.0
v21.9.0
v21.8.0
v21.7.0
v21.6.1
v21.6.0
v21.5.2
v21.5.1
v21.5.0
v21.4.1
v21.4.0
v21.3.8
v21.3.7
v21.3.6
v21.3.5
v21.3.4
v21.3.3
v21.3.2
v21.3.1
v21.3.0
v21.2.1
v21.2.0
v21.1.1
v21.1.0
v21.0.3
v21.0.2
v21.0.1
v21.0.0
v20.9.0
v20.8.3
v20.8.2
v20.8.1
v20.8.0
v20.7.4
v20.7.3
v20.7.2
v20.7.1
v20.7.0
v20.6.0
v20.5.0
v20.4.0
v20.3.0
v20.2.1
v20.2.0
v20.1.2
v20.1.1
v20.1.0
v20.0.0
v19.11.1
v19.11.0
v19.10.1
v19.10.0
v19.9.1
v19.9.0
v19.8.5
v19.8.4
v19.8.3
v19.8.2
v19.8.1
v19.8.0
v19.7.5
v19.7.4
v19.7.3
v19.7.2
v19.7.1
v19.7.0
v19.6.3
v19.6.2
v19.6.1
v19.6.0
v19.5.2
v19.5.1
v19.5.0
v19.4.1
v19.4.0
v19.3.0
v19.2.2
Dependencies
- The following workspace dependencies were updated
- dependencies
- puppeteer-core bumped from 19.2.1 to ^19.2.2
- dependencies
v19.2.1
Dependencies
- The following workspace dependencies were updated
- dependencies
- puppeteer-core bumped from 19.2.0 to ^19.2.1
- dependencies
v19.2.0
Features
Dependencies
- The following workspace dependencies were updated
- dependencies
- puppeteer-core bumped from 19.1.1 to ^19.2.0
- dependencies
v19.1.2
Bug Fixes
v19.1.1
Dependencies
- The following workspace dependencies were updated
- dependencies
- puppeteer-core bumped from 19.1.0 to ^19.1.1
- dependencies
v19.1.0
Features
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- puppeteer-core bumped from 19.0.0 to ^19.1.0
- dependencies
v19.0.0
⚠ BREAKING CHANGES
- use
~/.cache/puppeteer
for browser downloads (#9095) - deprecate
createBrowserFetcher
in favor ofBrowserFetcher
(#9079) - refactor custom query handler API (#9078)
- remove
puppeteer.devices
in favor ofKnownDevices
(#9075) - deprecate indirect network condition imports (#9074)
Features
- deprecate
createBrowserFetcher
in favor ofBrowserFetcher
(#9079) (7294dfe), closes #8999 - use
~/.cache/puppeteer
for browser downloads (#9095) (3df375b)
Bug Fixes
- deprecate indirect network condition imports (#9074) (41d0122)
- refactor custom query handler API (#9078) (1847704)
- remove
puppeteer.devices
in favor ofKnownDevices
(#9075) (87c08fd)
Dependencies
- The following workspace dependencies were updated
- dependencies
- puppeteer-core bumped from 18.2.1 to ^19.0.0
- dependencies
v18.2.1
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- puppeteer-core bumped from 18.2.0 to ^18.2.1
- dependencies
v18.2.0
Features
Dependencies
- The following workspace dependencies were updated
- dependencies
- puppeteer-core bumped from 18.1.0 to ^18.2.0
- dependencies
v18.1.0
Features
v18.0.5
Bug Fixes
v18.0.4
Bug Fixes
v18.0.3
Bug Fixes
v18.0.2
Bug Fixes
v18.0.1
Bug Fixes
v18.0.0
⚠ BREAKING CHANGES
- fix bounding box visibility conditions (#8954)
Features
Bug Fixes
- fix bounding box visibility conditions (#8954) (ac9929d)
- suppress init errors if the target is closed (#8947) (cfaaa5e)
- use win64 version of chromium when on arm64 windows (#8927) (64843b8)
v17.1.3
Bug Fixes
- FirefoxLauncher should not use BrowserFetcher in puppeteer-core (#8920) (f2e8de7), closes #8919
- linux arm64 check on windows arm (#8917) (f02b926), closes #8915
v17.1.2
Bug Fixes
- add missing code coverage ranges that span only a single character (#8911) (0c577b9)
- add Page.getDefaultTimeout getter (#8903) (3240095), closes #8901
- don't detect project root for puppeteer-core (#8907) (b4f5ea1), closes #8896
- support scale for screenshot clips (#8908) (260e428), closes #5329
- work around a race in waitForFileChooser (#8905) (053d960), closes #6040
v17.1.1
Bug Fixes
v17.1.0
Features
Bug Fixes
- allow getting a frame from an elementhandle (#8875) (3732757)
- typos in documentation (#8858) (8d95a9b)
- use the timeout setting in waitForFileChooser (#8856) (f477b46)
v17.0.0
⚠ BREAKING CHANGES
Bug Fixes
- allow multiple navigations to happen in LifecycleWatcher (#8826) (341b669), closes #8811
- internalize execution context (#8844) (2f33237)
- remove
root
fromWaitForSelectorOptions
(#8848) (1155c8e) - remove deferred promise timeouts (#8835) (202ffce), closes #8832
v16.2.0
Features
Bug Fixes
v16.1.1
Bug Fixes
- custom sessions should not emit targetcreated events (#8788) (3fad05d), closes #8787
- deprecate
ExecutionContext
(#8792) (b5da718) - deprecate
root
inWaitForSelectorOptions
(#8795) (65a5ce8) - deprecate
waitForTimeout
(#8793) (8f612d5) - make sure there is a check for targets when timeout=0 (#8765) (c23cdb7), closes #8763
- resolve navigation flakiness (#8768) (2580347), closes #8644
- specify Puppeteer version for Chromium 105.0.5173.0 (#8766) (b5064b7)
- use targetFilter in puppeteer.launch (#8774) (ee2540b), closes #8772
v16.1.0
Features
Bug Fixes
- resolve target manager init if no existing targets detected (#8748) (8cb5043), closes #8747
- specify the target filter in setDiscoverTargets (#8742) (49193cb)
v16.0.0
⚠ BREAKING CHANGES
- With Chromium, Puppeteer will now attach to page/iframe targets immediately to allow reliable configuration of targets.
Features
- add Dockerfile (#8315) (936ed86)
- detect Firefox in connect() automatically (#8718) (2abd772)
- use CDP's auto-attach mechanism (#8520) (2cbfdeb)
Bug Fixes
- address flakiness in frame handling (#8688) (6f81b23)
- disable AcceptCHFrame (#8706) (96d9608), closes #8479
- use loaderId to reduce test flakiness (#8717) (d2f6db2)
v15.5.0
Features
v15.4.2
Bug Fixes
v15.4.1
Bug Fixes
v15.4.0
Features
Bug Fixes
v15.3.2
Bug Fixes
- cache dynamic imports (#8652) (1de0383)
- expose a RemoteObject getter (#8642) (d0c4291), closes #8639
- page: fix page.#scrollIntoViewIfNeeded method (#8631) (b47f066)
v15.3.1
Bug Fixes
v15.3.0
Features
Bug Fixes
v15.2.0
Features
- add fromSurface option to page.screenshot (#8496) (79e1198)
- export public types only (#8584) (7001322)
Bug Fixes
v15.1.1
Bug Fixes
- export
ElementHandle
(e0198a7)
v15.1.0
Features
v15.0.2
Bug Fixes
v15.0.1
Bug Fixes
v15.0.0
⚠ BREAKING CHANGES
- type inference for evaluation types (#8547)
Features
- add experimental
client
toHTTMRequest
(#8556) (ec79f3a) - type inference for evaluation types (#8547) (26c3acb)
v14.4.1
Bug Fixes
- avoid
instanceof Object
check inisErrorLike
(#8527) (6cd5cd0) - export
devices
,errors
, and more (cba58a1)
v14.4.0
Features
Bug Fixes
- parse empty options in <select> (#8489) (b30f3f4)
- use error-like (#8504) (4d35990)
- use OS-independent abs. path check (#8505) (bfd4e68)
v14.3.0
Features
Bug Fixes
- don't throw on bad access (#8472) (e837866)
- Kill browser process when killing process group fails (#8477) (7dc8e37)
- only lookup
localhost
for DNS lookups (1b025b4) - robustly check for launch executable (#8468) (b54dc55)
v14.2.1
Bug Fixes
v14.2.0
Features
- chromium: roll to Chromium 103.0.5059.0 (r1002410) (#8410) (54efc2c)
- support node 18 (#8447) (f2d8276)
- use strict typescript (#8401) (b4e751f)
Bug Fixes
- multiple same request event listener (#8404) (9211015)
- NodeNext incompatibility in package.json (#8445) (c4898a7)
- process documentation during publishing (#8433) (d111d19)
v14.1.2
Bug Fixes
- do not use loaderId for lifecycle events (#8395) (c96c915)
- fix release-please bot (#8400) (5c235c7)
- use strict TS in Input.ts (#8392) (af92a24)
v14.1.1
Bug Fixes
- kill browser process when 'taskkill' fails on Windows (#8352) (dccfadb)
- only check loading iframe in lifecycling (#8348) (7438030)
- recompile before funit and unit commands (#8363) (8735b78), closes #8362
v14.1.0
Features
- add waitForXPath to ElementHandle (#8329) (7eaadaf)
- allow handling other targets as pages internally (#8336) (3b66a2c)
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
⚠ BREAKING CHANGES
- strict mode fixes for HTTMRequest/Response classes (#8297)
- Node 12 is no longer supported.
Features
- add support for Apple Silicon chromium builds (#7546) (baa017d), closes #6622
- chromium: roll to Chromium 102.0.5002.0 (r991974) (#8319) (be4c930)
- support ES modules (#8306) (6841bd6)
Bug Fixes
-
make sure inner OOPIFs can be attached to (#8304) (5539598)
-
strict mode fixes for HTTMRequest/Response classes (#8297) (2804ae8), closes #6769
v13.7.0
Features
- add
back
andforward
mouse buttons (#8284) (7a51bff) - support chrome headless mode (#8260) (1308d9a)
Bug Fixes
- doc typo (#8263) (952a2ae)
- use different test names for browser specific tests in launcher.spec.ts (#8250) (c6cf1a9)
v13.6.0
Features
- chromium: roll to Chromium 101.0.4950.0 (r982053) (#8213) (ec74bd8)
- respond multiple headers with same key (#8183) (c1dcd85)
Bug Fixes
- also kill Firefox when temporary profile is used (#8233) (b6504d7)
- consider existing frames when waiting for a frame (#8200) (0955225)
- disable bfcache in the launcher (#8196) (9ac7318), closes #8182
- enable page.spec event handler test for firefox (#8214) (2b45027)
- forget queuedEventGroup when emitting response in responseReceivedExtraInfo (#8234) (#8239) (91a8e73)
- forget request will be sent from the _requestWillBeSentMap list. (#8226) (4b786c9)
- ignore favicon requests in page.spec event handler tests (#8208) (04e5c88)
- network.spec.ts: typo in the word should (#8223) (e93faad)
v13.5.2
Bug Fixes
- chromium downloading hung at 99% (#8169) (8f13470)
- get extra headers from Fetch.requestPaused event (#8162) (37ede68)
v13.5.1
Bug Fixes
v13.5.0
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
Bug Fixes
v13.4.0
Features
- add support for async waitForTarget (#7885) (dbf0639)
- export
Frame._client
through getter (#8041) (e9278fc) - HTTMResponse: expose timing information (#8025) (30b3d49)
Bug Fixes
- change kill to signal the whole process group to terminate (#6859) (0eb9c78)
- element screenshot issue in headful mode (#8018) (5346e70), closes #7999
- ensure dom binding is not called after detach (#8024) (5c308b0), closes #7814
- use both __dirname and require.resolve to support different bundlers (#8046) (e6a6295), closes #8044
v13.3.2
Bug Fixes
rollup/rollup
v4.21.2
2024-08-30
Bug Fixes
- Handle IIFE/UMD namespace definitions conflicting with a builtin property (#5605)
Merge Requests
- #5605: fix: Wrong namespace property definition (@thirumurugan-git, @lukastaegert)
- #5630: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5631: chore(deps): lock file maintenance (@renovate[bot])
- #5632: chore(deps): lock file maintenance (@renovate[bot])
v4.21.1
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
- #5591: chore(deps): update dependency @types/eslint to v9 (@renovate[bot], @lukastaegert)
- #5618: preload the WASM file even though the version is undefined. (@TrickyPi)
- #5619: Call and await closeWatcher hooks on exit signals (@lukastaegert)
- #5622: chore(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #5624: fix: add space for DOCUMENT_CURRENT_SCRIPT template (@TrickyPi)
- #5625: fix: get the right chunk name for preserve modules in Windows (@TrickyPi, @lukastaegert)
v4.21.0
2024-08-18
Features
- Add option to configure directory for virtual modules when preserving modules (#5602)
Merge Requests
- #5602: feat: introduce the virtualDirname option to customize the virtual directory name (@TrickyPi)
- #5607: chore(deps): update typescript-eslint monorepo to v8 (major) (@renovate[bot], @lukastaegert)
- #5608: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
-
#5611: chore: fix the
noConflict
option in REPL. (@7086cmd) - #5613: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5614: chore(deps): lock file maintenance (@renovate[bot])
v4.20.0
2024-08-03
Features
- Allow plugins to specify the original file name when emitting assets (#5596)
Merge Requests
- #5596: Add originalFIleName property to emitted assets (@lukastaegert)
- #5599: chore(deps): update dependency eslint-plugin-unicorn to v55 (@renovate[bot], @lukastaegert)
- #5600: chore(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
v4.19.2
2024-08-01
Bug Fixes
- Avoid "cannot get value of null" error when using optional chaining with namespaces (#5597)
Merge Requests
- #5597: Fix retrieval of literal values for chained namespaces (@lukastaegert)
v4.19.1
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
- #5584: fix: find whitespace from operator position to start (@TrickyPi)
- #5587: docs: improve command by code-group (@thinkasany, @lukastaegert)
- #5589: Fix side effect detection in optional chains (@lukastaegert)
- #5592: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5593: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5594: chore(deps): lock file maintenance (@renovate[bot])
- #5595: chore(deps): lock file maintenance (@renovate[bot])
v4.19.0
2024-07-20
Features
- Implement support for decorators (#5562)
Bug Fixes
- Improve soucemap generation when tree-shaking logical expressions (#5581)
Merge Requests
- #5562: feat: implementing decorator support (@TrickyPi, @lukastaegert)
- #5570: refactor(finalisers): condition branch (@Simon-He95, @zhangmo8)
- #5572: Improve chunk and asset type information in docs (@lukastaegert)
- #5573: Switch to audit resolver to ignore requirejs vulnerability (@lukastaegert)
- #5575: chore(deps): update dependency inquirer to v10 (@renovate[bot], @lukastaegert)
- #5576: chore(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #5580: chore(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #5581: When tree-shaking logical expression, make sure to remove all trailing white-space. (@lukastaegert)
v4.18.1
2024-07-08
Bug Fixes
- Prevent "%" in generated file names to ensure imports resolve (#5535)
Merge Requests
- #5524: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5525: chore(deps): lock file maintenance (@renovate[bot])
- #5526: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5527: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5529: Use Spanned trait to simplify logic (@lukastaegert)
- #5530: Fix typos in ARCHITECTURE.md (@younggglcy)
- #5532: Use Rust macros for converters where possible (@lukastaegert)
-
#5535: fix: escape
%
if URI malformed (@baseballyama, @lukastaegert) - #5536: chore(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #5541: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5542: chore(deps): lock file maintenance (@renovate[bot])
- #5543: Watch rust files and rebuild during dev (@lukastaegert)
- #5544: Refactor AST converters (@lukastaegert)
- #5545: chore(deps): update dependency @rollup/plugin-commonjs to v26 (@renovate[bot])
- #5546: chore(deps): update dependency nyc to v17 (@renovate[bot])
- #5547: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5548: chore(deps): lock file maintenance (@renovate[bot])
- #5549: chore(deps): lock file maintenance (@renovate[bot])
- #5550: chore(deps): update dependency eslint-plugin-unicorn to v54 (@renovate[bot], @lukastaegert)
- #5551: chore(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #5555: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5556: chore(deps): lock file maintenance (@renovate[bot])
- #5558: Consider that the body of ClassBody might be of type StaticBlock (@TrickyPi)
- #5565: refactor(ast): conditional branch (@Simon-He95)
- #5566: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5567: chore(deps): lock file maintenance (@renovate[bot])
v4.18.0
2024-05-22
Features
- Resolve import.meta.filename and .dirname in transpiled plugins (#5520)
Merge Requests
- #5504: Auto generate node index (@lukastaegert)
- #5507: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5508: chore(deps): lock file maintenance (@renovate[bot])
- #5510: Split up converter.rs into AST nodes (@lukastaegert)
- #5512: chore(deps): update dependency builtin-modules to v4 (@renovate[bot], @lukastaegert)
- #5514: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5518: chore(deps): update dependency eslint-plugin-unicorn to v53 (@renovate[bot], @lukastaegert)
- #5519: chore(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #5520: Resolve import.meta.{filename,dirname} in files imported from config (@BPScott)
- #5521: docs: correct base32 to base36 in documentation (@highcastlee)
v4.17.2
2024-04-30
Bug Fixes
- Fix tree-shaking problems when using spread arguments (#5503)
Merge Requests
- #5501: Slightly improve perf report (@lukastaegert)
- #5503: fix: rest element should deoptimize parameter values (@liuly0322)
v4.17.1
2024-04-29
Bug Fixes
- Prevent infinite recursions for certain constructor invocations (#5500)
Merge Requests
- #5500: fix: parameter variable infinite recursion error (@liuly0322)
v4.17.0
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
- #5483: feature(fix): function parameter tracking (@liuly0322)
- #5488: Report performance in CI (@TrickyPi)
- #5489: Create FUNDING.json (@BenJam)
- #5492: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5493: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5494: Use opt-level=z for browser wasm (@sapphi-red)
v4.16.4
2024-04-23
Bug Fixes
- Revert function parameter tracking logic introduced in 4.16.0 to work on some remaining issues (#5487)
Merge Requests
- #5487: Revert function parameter tracking logic for now (@lukastaegert)
v4.16.3
2024-04-23
Bug Fixes
- Do not optimize IIFEs that have a name and are again referenced inside their definition (#5486)
Merge Requests
- #5486: fix: only optimize annoymous iife (@liuly0322)
v4.16.2
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
- #5479: Add libc field to armv7 packages (@sapphi-red)
- #5482: fix: function parameter reassigned update (@liuly0322)
v4.16.1
2024-04-21
Bug Fixes
- Fix crash when rendering logical or conditional expressions (#5481)
Merge Requests
- #5481: fix: conditional/logical expression should request a new tree-shaking (@liuly0322)
v4.16.0
2024-04-21
Features
- Track function call arguments to optimize functions only called once or with the same literal values (#5443)
Merge Requests
- #5443: feat: improve tree-shaking by propagate const parameter (@liuly0322, @lukastaegert)
v4.15.0
2024-04-20
Features
- Add output.importAttributesKey option to select whether to use "with" or "assert" for import attributes (#5474)
Merge Requests
- #5474: Add ImportAttributesKey to choose keyword ("with" | "assert") (@doubleaa93, @lukastaegert)
- #5475: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5477: Try to run emulated smoke tests for Linux environments (@lukastaegert)
v4.14.3
2024-04-15
Bug Fixes
- Support Alpine Linux and other MUSL builds on ARM (#5471)
Merge Requests
- #5471: Add linux arm musl build (@sapphi-red)
v4.14.2
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
- #5456: Add high-level architecture documentation (@lukastaegert)
- #5460: Fix ppc64le target (@lukastaegert)
- #5463: chore: tweak the comment about files should not be edited (@TrickyPi)
- #5466: Ensure reexported namespaces do not prevent creation of default export helpers (@lukastaegert)
- #5468: chore(deps): update dependency eslint-plugin-unicorn to v52 (@renovate[bot], @lukastaegert)
- #5469: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5470: chore(deps): lock file maintenance (@renovate[bot])
v4.14.1
2024-04-07
Bug Fixes
- Show better error when running on musl Linux where the musl build is not supported (#5454)
Merge Requests
- #5451: chore: generate string constants from config (@TrickyPi)
- #5452: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5453: chore(deps): lock file maintenance (@renovate[bot])
- #5454: Improve error message when running on unsupported MUSL Linux (@lukastaegert)
- #5455: Remove inlining logic in AST (de-)serializer (@lukastaegert)
v4.14.0
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
- #5422: feat: show all cause in Error (@devohda, @lukastaegert)
- #5444: feat: support explicit-resource-management (@TrickyPi)
-
#5445: docs: add
@shikiji/vitepress-twoslash
(@sapphi-red) - #5447: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
- #5448: chore(deps): lock file maintenance (@renovate[bot])
v4.13.2
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
- #5350: Add support for ppc64le (@pavolloffay, @lukastaegert)
- #5438: Cache module info getters before output generation (@bluwy, @lukastaegert)
v4.13.1
2024-03-27
Bug Fixes
- Add new linux-s390x-gnu native binary package (#5346)
Merge Requests
- #5346: Add support for linux s390x gnu (@edlerd)
- #5430: chore(deps): update dependency @vue/eslint-config-typescript to v13 (@renovate[bot], @lukastaegert)
- #5431: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
- #5432: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
- #5436: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
- #5437: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
v4.13.0
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
- #5417: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
- #5418: chore(deps): lock file maintenance (@renovate[bot])
- #5419: chore: fix typo (@OnlyWick)
- #5424: Add locations to logs, warnings and error messages ( @lukastaegert)
v4.12.1
2024-03-06
Bug Fixes
- Escape special characters in file references (#5404)
Merge Requests
-
#5398: Rename
getRollupEror
togetRollupError
(@MrRefactoring) - #5399: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
-
#5404: fix: escape ids in
import.meta.ROLLUP_FILE_URL_referenceId
correctly (@sapphi-red) - #5406: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
- #5407: chore(deps): lock file maintenance (@renovate[bot])
- #5411: Chunk assignment - Fix comment line breaks and typo (@yoavweiss, @lukastaegert)
v4.12.0
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
- #5391: Improve performance by directly constructing AST from buffer ( @lukastaegert)
- #5393: chore(deps): update dependency eslint-plugin-unicorn to v51 ( @renovate[bot])
- #5394: chore(deps): update typescript-eslint monorepo to v7 (major) ( @renovate[bot])
- #5395: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
v4.11.0
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
-
#5380: fix: separately export
__proto__
for compatibility with CJS Transpiler Re-exports (@TrickyPi) - #5388: Add const reassign rule (@TrickyPi)
v4.10.0
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
- #5359: chore(deps): update actions/cache action to v4 (@renovate[bot])
- #5360: chore(deps): update dependency pretty-ms to v9 (@renovate[bot])
- #5366: chore(deps): update dependency husky to v9 (@renovate[bot])
- #5367: chore(deps): update peter-evans/create-or-update-comment action to v4 (@renovate[bot])
- #5368: chore(deps): update peter-evans/find-comment action to v3 ( @renovate[bot])
- #5369: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
- #5370: Fix dependency range for Node types (@lukastaegert)
- #5371: Implement "output.hashCharacters" option to define character set for file hashes (@lukastaegert)
- #5372: Roll back vitepress as 1.0.0-rc.40 breaks the development build ( @lukastaegert)
- #5382: Update documentation (@TrickyPi)
- #5383: Catch Rust panics and then throw them in JS (@TrickyPi)
- #5384: chore(deps): update codecov/codecov-action action to v4 ( @renovate[bot])
- #5385: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
- #5386: Resolve all rollup imports to node_modules to avoid type conflict (@TrickyPi)
v4.9.6
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
- #5337: Generate AST transformers from config (@lukastaegert)
- #5340: Also type-check d.ts files (@lukastaegert)
- #5348: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
- #5351: chore(deps): update dependency vite to v5.0.12 [security] ( @renovate[bot])
- #5352: Track mutations of elements pushed into arrays (@lukastaegert)
v4.9.5
2024-01-12
Bug Fixes
- Fix issue where on Windows, Rollup would not load due to problems with the MSVC executable (#5335)
Merge Requests
- #5334: Fix typo in commondir.ts (@akiomik)
- #5335: build: static link msvc runtime on Windows x64 platform ( @Brooooooklyn)
- #5338: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
v4.9.4
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
- #5328: Correctly handling number key (@LongTengDao)
- #5332: Handle pure annotations that are separated by a comment ( @lukastaegert)
v4.9.3
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
- #5313: Correctly handling proto export as module object key ( @LongTengDao)
- #5323: fix: Add estree.Program type to rollup.d.ts (@TrickyPi)
- #5326: docs: fix grammar (@gigabites19)
- #5329: chore(deps): update dependency @vue/eslint-config-prettier to v9 (@renovate[bot])
- #5330: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
v4.9.2
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
- #5305: Add JSDoc types to internal scripts (@lukastaegert)
- #5309: chore(deps): update actions/download-artifact action to v4 ( @renovate[bot])
- #5311: chode: add node badge (@btea)
- #5312: Remove rollup-plugin-thatworks from devDeps (@TrickyPi)
- #5318: chore(deps): update dependency eslint-plugin-unicorn to v50 ( @renovate[bot])
- #5319: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
- #5321: Handle arbitrary namespace identifiers in some SystemJS scenarios (@lukastaegert)
- #5322: Do not handle declarations in modules without side effects as TDZ (@lukastaegert)
v4.9.1
2023-12-17
Bug Fixes
- Fix an issue where break statements could include the wrong label (#5297)
Merge Requests
- #5297: fix: use a new includedLabels in the body of the LabeledStatement (@TrickyPi)
- #5300: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
v4.9.0
2023-12-13
Features
- Fully support arbitrary strings as import and export identifiers (#5298)
Merge Requests
- #5296: Do not assume setTimeout return type (@kapouer)
- #5298: Fully support arbitrary module namespace identifiers for all formats (@lukastaegert)
v4.8.0
2023-12-11
Features
- Improve
experimentalMinChunkSize
to take already loaded modules from dynamic imports into account (#5294)
Merge Requests
- #5294: Find more merge targets for experimentalMinChunkSize ( @lukastaegert)
v4.7.0
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
- #5278: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
- #5281: Add logs and experimentalLogSideEffects to REPL (@lukastaegert)
- #5284: Add friendly error for missing MSVC redistributable (@sapphi-red)
- #5285: chore(deps): update dependency vite to v5.0.5 [security] ( @renovate[bot])
- #5288: Add support for linux riscv64 gnu (@kxxt)
- #5290: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
v4.6.1
2023-11-30
Bug Fixes
- Resolve a situation where declaring the same
var
several times was considered a conflict (#5276)
Merge Requests
- #5275: Add TNG as special sponsor (@lukastaegert)
- #5276: Allow to redeclare parameters multiple times in nested scopes ( @lukastaegert)
v4.6.0
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 inthis.addWatchFile
so it does not need to be bound when passed around (#5270)
Merge Requests
- #5267: Add friendly error for npm bug (@sapphi-red)
- #5270: Allow this.addWatchFile in all hooks (@lukastaegert)
- #5272: Debug deployed graphs (@lukastaegert)
v4.5.2
2023-11-24
Bug Fixes
- Handle files with UTF-8 BOM when using the commonjs plugin (#5268)
Merge Requests
- #5268: fix: strip BOM before calling transform hook (@TrickyPi)
- #5269: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
v4.5.1
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
- #5257: Fix graphs in docs, improve REPL colors (@lukastaegert)
- #5262: Allow function expression parameters to shadow the function id ( @lukastaegert)
v4.5.0
2023-11-18
Bug Fixes
- Show a proper error when using native Rollup on armv7 musl Linux (#5255)
Merge Requests
- #5251: doc fix import assertions to attributes in API plugin development page (@lhapaipai)
- #5253: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
- #5255: Error for armv7 musl build (@lukastaegert)
v4.4.1
2023-11-14
Bug Fixes
- Do not flag duplicate function declarations in function scopes as syntax errors (#5248)
Merge Requests
- #5248: Allow functions to redeclare vars and functions in function scopes (@lukastaegert)
v4.4.0
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
- #5207: perf: run lint while constructing nodes (@sapphi-red)
v4.3.1
2023-11-11
Bug Fixes
- Fix rename error when handling errors in watch mode (#5240)
- Prevent warning when using
--forceExit
(#5245)
Merge Requests
- #5240: fix: allow the name of Rollup Error to be modified (@TrickyPi)
- #5243: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
- #5245: Ensure --forceExit works without warning (@lukastaegert)
v4.3.0
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
-
#5195: Add
forceExit
CLI flag (@raphael-theriault-swi) -
#5198: fix: prevent
ENOENT
error on temp config removal (@jzempel) - #5237: chore: remove unused files and deps (@TrickyPi)
- #5238: chore(deps): update dependency eslint-plugin-unicorn to v49 ( @renovate[bot])
- #5239: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
v4.2.0
2023-10-31
Features
- Run parsing in multiple threads and introduce
parseAstAsync
helper function (#5202)
Merge Requests
-
#5202: perf: introduce
parseAstAsync
and parallelize parsing AST ( @sapphi-red)
v4.1.6
2023-10-31
Bug Fixes
- Fix a bug where emtpy block comments in certain positions could freeze Rollup (#5231)
Merge Requests
- #5228: build: ensure rust toolchain components for linting are installed (@jerome-benoit)
- #5231: Render emtpy block comments after tree-shaken statements ( @lukastaegert)
- #5232: Revert specifying rustfmt and clippy in toolchain file as it breaks REPL build (@lukastaegert)
v4.1.5
2023-10-28
Bug Fixes
- Fix an issue where actual entries that were also implicit entries could remain implicit (#5220)
Merge Requests
- #5209: Document Vite workaround for browser build (@curran)
- #5215: chore(deps): update dependency lint-staged to v15 ( @renovate[bot])
- #5216: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
- #5218: Update license plugin (@lukastaegert)
- #5219: Fix error highlight in REPL (@lukastaegert)
- #5220: Fix race condition when emitting implicitly dependent entries ( @lukastaegert)
- #5224: chore(deps): update actions/setup-node action to v4 ( @renovate[bot])
- #5225: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
v4.1.4
2023-10-16
Bug Fixes
- Reduce sizes @rollup/browser and @rollup/wasm-node WASM artifacts (#5204)
Merge Requests
- #5204: perf: shrink wasm size by avoid importing browserslist ( @sapphi-red)
v4.1.3
2023-10-15
Bug Fixes
- Fix WASM build as hash function was not exported (#5203)
Merge Requests
- #5203: fix: export xxhashBase64Url from wasm (@sapphi-red)
v4.1.1
2023-10-15
Bug Fixes
- Improve Node parsing performance (#5201)
Merge Requests
- #5201: perf: use mimalloc for bindings_napi (@sapphi-red)
v4.1.0
2023-10-14
Features
- Reduce memory usage of Rollup builds (#5133)
Merge Requests
- #5133: perf: reducing ast node memory overhead (@thebanjomatic)
- #5177: chore: explicitly set rust toolchain channel (@cijiugechu)
- #5179: Update migration guide for Rollup 4 (@lukastaegert)
- #5180: Resolve clippy errors (@cijiugechu)
- #5183: Add clippy to pipeline and fix remaining issues (@lukastaegert)
-
#5184: docs: fix code example for
onLog
(@tjenkinson) - #5186: Improve wording for native artifacts in migration guide ( @lukastaegert)
- #5190: test: add verifyAst type (@TrickyPi)
- #5196: chore(deps): update dependency rollup to v4 (@renovate[bot])
- #5197: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
v4.0.2
2023-10-06
Bug Fixes
- Fix annotation detection logic to not fail when a non-ASCII character precedes a double underscore (#5178)
Merge Requests
- #5178: Handle special characters before double underscores ( @lukastaegert)
v4.0.1
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
- #5172: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
- #5173: fix: ignores empty statements in class body that is returned by SWC parser (@TrickyPi)
- #5176: Fix linux arm musl build (@lukastaegert)
v4.0.0
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 withINVALID_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 fores
andcjs
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 theRollupLog
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 ofoutput.externalImportAttributes
(#5073) -
inlineDynamicImports
,manualChunks
andpreserveModules
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 therenderDynamicImport
plugin hook instead -
output.namespaceToStringTag
: Useoutput.generatedCode.symbols
instead -
output.preferConst
: Useoutput.generatedCode.constBindings
instead
-
Plugin API Changes
- For
this.resolve
, the default of theskipSelf
option is nowtrue
(#5142) -
this.parse
now only supports theallowReturnOutsideFunction
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 callingthis.addWatchFile
for any dependency files (#5150) - The normalized input options provided by
buildStart
and other hooks no longer contain anonwarn
handler; plugins should useonLog
instead (#5147) -
this.moduleIds
has been removed from the plugin context: Usethis.getModuleIds()
instead (#5143) - The
hasModuleSideEffects
flag has been removed from theModuleInfo
returned bythis.getModuleInfo()
: UsemoduleSideEffects
on theModuleInfo
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
- #5073: [v4.0] Switch parser to SWC and introduce native/WASM code ( @lukastaegert)
- #5142: [v4.0] Set the default of skipSelf to true (@TrickyPi)
- #5143: [v4.0] Remove deprecated features (@lukastaegert)
- #5144: [v4.0] Imporve the performance of generating ast and rollup ast nodes (@TrickyPi)
- #5147: [v4.0] Remove onwarn from normalized input options ( @lukastaegert)
- #5150: [v4.0] feat: Do not watch files anymore if their content is returned by the load hook (@TrickyPi)
- #5154: [v4.0] Add parse option to allow return outside function ( @lukastaegert)
- #5155: [v4.0] feat: implement hashing content in Rust (@TrickyPi)
- #5157: [v4.0] Handle empty exports (@lukastaegert)
- #5160: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
- #5163: [v4.0] feat: preserve shebang in entry module for CJS and ESM outputs (@TrickyPi)
- #5164: [v4.0] fix: also strip BOM from code strings in JS (@TrickyPi)
- #5165: [v4.0] warn for invalid annotations (@lukastaegert)
- #5168: [v4.0] Ensure we support new import attribute "with" syntax ( @lukastaegert)
- #5169: [v4.0] Expose parser (@lukastaegert)
v3.29.4
2023-09-28
Bug Fixes
- Fix static analysis when an exported function uses callbacks (#5158)
Merge Requests
- #5158: Deoptimize all parameters when losing track of a function ( @lukastaegert)
v3.29.3
2023-09-24
Bug Fixes
- Fix a bug where code was wrongly tree-shaken after mutating function parameters (#5153)
Merge Requests
- #5145: docs: improve the docs repl appearance in the light mode ( @TrickyPi)
- #5148: chore(deps): update dependency @vue/eslint-config-typescript to v12 (@renovate[bot])
- #5149: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
- #5153: Fully deoptimize first level path when deoptimizing nested parameter paths (@lukastaegert)
v3.29.2
2023-09-15
Bug Fixes
- Export
TreeshakingPreset
type (#5131)
Merge Requests
-
#5131: fix: exports
TreeshakingPreset
(@moltar) - #5134: docs: steps to enable symlinks on windows (@thebanjomatic)
- #5137: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
v3.29.1
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
- #5114: fix(perf): avoid superfluous timer wrappings in watch mode ( @ZhengLiu2825)
- #5118: fix: access document.currentScript at the top level (@TrickyPi)
- #5125: chore(deps): update actions/checkout action to v4 ( @renovate[bot])
- #5126: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
- #5129: re-enbale repl-artefacts workflow for rollup-swc branch ( @TrickyPi)
v3.29.0
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
- #5105: Added option to name sourcemap files, i.e. a output.sourcemapFileName… (@atti187)
- #5108: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
- #5109: Docs: load full path of rollup.browser.js for Rollup V4 ( @TrickyPi)
- #5112: feat(types): add generic type for plugin api (@sxzz)
- #5115: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
- #5123: Deoptimize custom event detail (@lukastaegert)
v3.28.1
2023-08-22
Bug Fixes
- Ensure external files with relative import paths outside the target are rendered correctly (#5099)
Merge Requests
- #5093: chore(deps): update dependency eslint-config-prettier to v9 ( @renovate[bot])
- #5094: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
- #5099: Fix resolution of relative external files outside target directory (@lukastaegert)
- #5101: chore(deps): update dependency lint-staged to v14 ( @renovate[bot])
- #5102: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
v3.28.0
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
-
#5086: feat: add
preliminaryFileName
toOutputChunk
(@lsdsjy) - #5087: perf(sourcemaps): add back lazy sourcemap decode and handling nullish mappings (@thebanjomatic)
- #5091: fix: the type of RenderedModule.code is readonly (@TrickyPi)
v3.27.2
2023-08-04
Bug Fixes
- Revert sourcemap performance improvement for now as it causes issues with Vite (#5075)
Merge Requests
- #5075: Revert perf(sourcemap): lazy compute decoded mappings ( @thebanjomatic)
v3.27.1
2023-08-03
Bug Fixes
- Improve performance when generating sourcemaps (#5075)
Merge Requests
- #5075: perf(sourcemap): lazy compute decoded mappings (@thebanjomatic)
v3.27.0
2023-07-28
Features
- Mark
Object.values
andObject.entries
as pure if their argument does not contain getters (#5072)
Merge Requests
- #5070: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
- #5071: docs(tutorial): change the .js extension to .mjs (@TrickyPi)
- #5072: Add known globals (@sapphi-red)
- #5078: chore(deps): update dependency @vue/eslint-config-prettier to v8 (@renovate[bot])
- #5079: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
v3.26.3
2023-07-17
Bug Fixes
- Do not pass external modules to
manualChunks
to avoid breaking existing configs (#5068)
Merge Requests
- #5056: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
- #5059: chore(config): migrate renovate config (@renovate[bot])
- #5064: chore(deps): update dependency prettier to v3 (@renovate[bot])
- #5065: chore(deps): update typescript-eslint monorepo to v6 (major) ( @renovate[bot])
- #5068: fix: don't pass external modules to the manualChunks function ( @TrickyPi)
v3.26.2
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
2023-07-05
Bug Fixes
- Support
hasOwnProperty
as exported name in CommonJS (#5010) - Properly reference browser types in package file (#5051)
Merge Requests
- #5010: safe hasOwnProperty call (@LongTengDao)
- #5051: @rollup/browser: fix types export map entry (@developit)
v3.26.0
2023-06-30
Features
- Add
--filterLogs
CLI flag andROLLUP_FILTER_LOGS
environment variable for log filtering (#5035)
Merge Requests
- #5035: Add ability to filter logs via CLI option or environment variable (@lukastaegert)
- #5049: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
v3.25.3
2023-06-26
Bug Fixes
- Fix error when inlining dynamic imports that contain unused reexported variables (#5047)
Merge Requests
- #5047: Do not add tree-shaken variables to namespaces when inlining dynamic imports (@lukastaegert)
v3.25.2
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
- #5038: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
- #5040: Fix typo in index.md (@vHeemstra)
- #5042: fix: a plugin error can contains numeric code (@TrickyPi)
-
#5045: Fix
this.error
withpos
intransform
hook (@sapphi-red) - #5046: chore(deps): update dependency locate-character to v3 ( @renovate[bot])
v3.25.1
2023-06-12
Bug Fixes
- Respect
__NO_SIDE_EFFECTS__
for async functions (#5031)
Merge Requests
v3.25.0
2023-06-11
Features
- Add
this.info
andthis.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
andthis.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
- #5026: Add Logging API (@lukastaegert)
v3.24.1
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
- #5027: fix turborepo with rollup --watch (@plumber-dhaval)
- #5028: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
- #5029: fix: get right sideEffectModules (@TrickyPi)
v3.24.0
2023-06-07
Features
- Add new annotation
/* #__NO_SIDE_EFFECTS__ */
to mark function declarations as side effect free (#5024)
Merge Requests
v3.23.1
2023-06-04
Bug Fixes
- Ensure the last segment of sourcemapBaseUrl is never omitted (#5022)
Merge Requests
- #5006: Better workflow caching (@lukastaegert)
- #5012: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
- #5022: fix: add a trailing slash automatically for sourcemapBaseUrl ( @TrickyPi)
- #5023: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
v3.23.0
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
- #4990: feat: this.emitFile support prebuilt-chunk type (@TrickyPi)
- #5005: feat: mark Set, Map, WeakSet and WeakMap with array arguments as pure (@TrickyPi)
v3.22.1
2023-05-21
Bug Fixes
- Remove force quit again as it caused some issues (#5004)
Merge Requests
- #5001: chore(deps): update dependency @rollup/plugin-commonjs to v25 ( @renovate[bot])
- #5002: chore(deps): update dependency eslint-plugin-unicorn to v47 ( @renovate[bot])
- #5003: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
- #5004: Do not force quit Rollup or close stdout (@lukastaegert)
v3.22.0
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
- #4989: Prevent empty chunks and thoroughly improve experimentalMinChunkSize (@lukastaegert)
v3.21.8
2023-05-16
Bug Fixes
- Allow a namespace to properly contain itself as a named export (#4991)
Merge Requests
- #4991: Handle self-referencing namespaces (@lukastaegert)
v3.21.7
2023-05-13
Bug Fixes
- Show correct error on uncaught exceptions in watch mode (#4987)
Merge Requests
- #4987: Properly quit on uncaught exceptions (@lukastaegert)
- #4988: test: add options type for function tests (@TrickyPi)
v3.21.6
2023-05-09
Bug Fixes
- Ensure Rollup CLI prints everything to stdout before exiting (#4980)
Merge Requests
- #4980: chore(deps): lock file maintenance minor/patch updates ( @renovate[bot])
- #4983: Prevent exit before stdout is drained (@lukastaegert)
v3.21.5
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
- #4975: Keep leading comments on consecutive lines (@lukastaegert)
- #4979: Use correct scope in switch statements (@lukastaegert)
v3.21.4
2023-05-03
Bug Fixes
- Resolve crash when shimming a missing export in an otherwise non-included module when preserving modules (#4971)
Merge Requests
- #4971: Handle shimming missing exports when preserving modules ( @lukastaegert)
- #4972: Configure Renovate (@renovate[bot])
v3.21.3
2023-05-02
Bug Fixes
- Run
process.exit()
when Rollup CLI finishes successfully to solve issues on some systems (#4969)
Merge Requests
- #4954: test: enable typecheck for _config files (@antfu)
- #4969: Automatically force close Rollup when done (@lukastaegert)
v3.21.2
2023-04-30
Bug Fixes
- Mark global functions that trigger iterators as impure for now (#4955)
Merge Requests
- #4955: fix: mark some known globals or their functions as impure ( @TrickyPi)
v3.21.1
2023-04-29
Bug Fixes
- Make sure call arguments are properly deoptimized when a function uses the
arguments
variable (#4965)
Merge Requests
- #4957: Update dependencies (@lukastaegert)
- #4964: Fix REPL in dev (@lukastaegert)
- #4965: Ensure arguments are deoptimized when arguments variable is used (@lukastaegert)
- #4967: Log REPL output to console (@lukastaegert)
v3.21.0
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
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
- #4943: Add a test for reserved keywords used as import/export specifiers (@Andarist)
- #4949: Deoptimize right side in for-of loops (@lukastaegert)
- #4950: Support default exported classes that extend other classes ( @lukastaegert)
v3.20.6
2023-04-18
Bug Fixes
- Revert handling of non-JS import and export names due to regressions (#4914)
Merge Requests
- #4914: feat: add locales in vitepress config (@iDestin)
- #4946: Revert #4939 for now (@lukastaegert)
v3.20.5
2023-04-18
Bug Fixes
- Handle import and export names that are not valid JavaScript identifiers (#4939)
Merge Requests
- #4939: Fixed imports/exports that are illegal identifiers in the es output (@Andarist)
- #4941: Reinstate global styles (@lukastaegert)
v3.20.4
2023-04-17
Bug Fixes
- Do not remove breaks statements after switch statements with conditional breaks (#4937)
Merge Requests
- #4937: fix: handle conditional breaks in nested switch statement cases ( @TrickyPi and @lukastaegert)
v3.20.3
2023-04-16
Bug Fixes
- Reduce memory consumption for function call parameter analysis (#4938)
- Fix types for
shouldTransformCachedModule
(#4932)
Merge Requests
- #4925: chore: repl style add scoped (@btea)
- #4926: docs: Update the x_google_ignorelist url (@jecfish)
- #4932: Allow shouldTransformCachedModule to return null (@bluwy)
- #4935: Bump peter-evans/create-or-update-comment from 2 to 3 ( @dependabot[bot])
- #4936: Disable puppeteer sandbox to fix Vercel deployment ( @lukastaegert)
- #4938: Improve memory usage for parameter deoptimizations ( @lukastaegert)
v3.20.2
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
- #4921: Handle manual chunks where the entry is not part of the module graph (@lukastaegert)
- #4922: Do not fail if the location of a warning is outside the original source (@lukastaegert)
v3.20.1
2023-03-23
Bug Fixes
- Fix returned file name from this.getFileName when assets are deduplicated (#4919)
Merge Requests
- #4919: Only set asset names when finalizing (@lukastaegert)
v3.20.0
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
- #4912: fix: make file name deterministic in parallel emits (fix #4909) ( @sun0day)
- #4913: Provide synthetic namespace for dynamic imports when perserving modules (@lukastaegert)
v3.19.1
2023-03-10
Bug Fixes
- Produce valid code when the first statement in aclass static block is tree-shaken (#4898)
Merge Requests
- #4898: fix: set a correct node location for static blocks (@TrickyPi)
-
#4900: docs: fix table at
output.sanitizeFileName
section (@0x009922)
v3.19.0
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
-
#4890: Fix
npm run dev
(@lukastaegert) - #4892: Only selectively deoptimize call parameters (@lukastaegert)
- #4897: Pre-render mermaid graphs on website (@lukastaegert)
v3.18.0
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
- #4871: Add experimental logging for side effects (@lukastaegert)
-
#4877: feat: mark files in a
node_modules
as ignore-listed by default (@bmeurer) - #4880: build: use @rollup/plugin-replace to replace chokidar fsevents ( @dnalborczyk)
- #4887: Refactor (@dnalborczyk)
v3.17.3
2023-02-25
Bug Fixes
- Handle non-URL-safe characters when poly-filling import.meta.url (#4875)
Merge Requests
- #4870: fix: style optimization in dark mode (@huodoushigemi)
-
#4875: Fix transformation of
import.meta.url
in CommonJS (@fasttime) - #4876: fix: wrong params of the transform hook (@ZzqiZQute)
- #4878: Improve test stability (@lukastaegert)
v3.17.2
2023-02-20
Bug Fixes
- Do not omit code if a file that only re-exports a used variable has
moduleSideEffects
set totrue
(#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
- #4323: feat: add known globals (@dnalborczyk)
- #4867: Include side effects of re-exporters unless they have moduleSideEffects: false (@lukastaegert)
-
#4868: Add
needsCodeReference
property toEmittedAsset
(@sapphi-red)
v3.17.1
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
- #4853: feat: export loadConfigFile type (@TrickyPi)
- #4866: Do not mark variable access in files without side effects as TDZ (@lukastaegert)
v3.17.0
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
- #4862: Improve chunking performance (@lukastaegert)
v3.16.0
2023-02-17
Features
- Support
output.sourcemapIgnoreList
option to mark file sources as ignored in thex_google_ignoreList
attribute of the resulting sourcemap (#4848) - Support sourcemaps where
sourcesContent
containsnull
entries (#4846) - Allow explicitly passing
true
for thecache
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
- #4846: Update magic-string and adjust types. (@bmeurer)
-
#4848: Introduce
sourcemapIgnoreList
predicate. (@bmeurer) - #4851: Fix chunk graph update when merging chunks for minChunkSize ( @lukastaegert)
- #4852: docs: make api params more readable (@cunzaizhuyi)
- #4856: simplify code in includeStatements (@TrickyPi)
- #4859: Allow to pass "true" to InputOptions.cache (@danielrentz)
v3.15.0
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
- #4842: fix: add this option to context.ignore (@TrickyPi)
- #4843: fixed the logo link (@oMatheuss)
- #4844: Update index.md (@cunzaizhuyi)
- #4845: docs: fix style (@TrickyPi)
v3.14.0
2023-02-05
Features
- Add
experimentalDeepDynamicChunkOptimization
option to produce fewer chunks from dynamic imports (#4837)
Merge Requests
- #4837: Add flag to re-enable deep dynamic chunk optimization ( @lukastaegert)
- #4839: fix: correct incorrect assertions (@TrickyPi)
v3.13.0
2023-02-03
Features
- Prevent chunk cycles when using
experimentalMinChunkSize
(#4723)
Merge Requests
- #4723: Improve minChunkSize algorithm (@lukastaegert)
- #4833: docs: Fix typo (@mturoci)
- #4835: Tables in docs (@lukastaegert)
v3.12.1
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
- #4827: fix: use the original class name in the class body (@TrickyPi)
- #4829: Improve and fix cross-chunk-reexport warning (@lukastaegert)
- #4830: Add Algolia doc search (@lukastaegert)
- #4831: Add warning not to add assets directly to the bundle ( @lukastaegert)
v3.12.0
2023-01-28
Features
- Change generated external namespace reexport helper code for CommonJS to better work with NodeJS named export detection (#4826)
Merge Requests
- #4825: Add and use anchors for nested options (@lukastaegert)
- #4826: Use old namespace reexport code pattern for better Node support ( @lukastaegert)
v3.11.0
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
- #4805: feat: add needsCodeReference field to EmittedAsset (@TrickyPi)
- #4807: Rewrite website in Vitepress and merge it into the main repository (@lukastaegert)
- #4816: web-publisher: Update docs/faqs/index.md (@PuruVJ)
- #4819: Replace fs-extra with built-ins (@dnalborczyk)
- #4820: Introduce timeout-minutes in Github actions ci (@dnalborczyk)
- #4822: Tweak document landing page (@sapphi-red)
- #4823: Minor migration guide improvements (@sapphi-red)
- #4824: Add most options to the REPL (@lukastaegert)
v3.10.1
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
- #4809: fix: rollup bin file is in dist folder (@saibotsivad)
- #4812: Rework tree-shaking support for optional chaining (@lukastaegert)
v3.10.0
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
- #4785: Use @jridgewell/sourcemap-codec (@bluwy)
- #4786: Remove default acorn options + other fixes (@dnalborczyk)
-
#4789: feat: add
resolvedBy
field toResolvedId
(@TrickyPi) - #4794: fix: import can be shortened (@cunzaizhuyi)
- #4796: Update dependencies (@lukastaegert)
- #4797: feat: treeshake for optional chaining (@antfu)
v3.9.1
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
- #4777: Import from node:fs/promises (@dnalborczyk)
- #4778: Bump deps (@dnalborczyk)
- #4779: Remove array grouping (web compat issue) (@dnalborczyk)
- #4780: Sort namespace object keys (@dnalborczyk)
- #4781: Use Set and builtin-modules package (@dnalborczyk)
- #4782: Use more restrictive types (@dnalborczyk)
v3.9.0
2022-12-28
Features
- Support ES2022 arbitrary module namespace identifiers (#4770)
- Add optional
version
property to plugin type (#4771)
Merge Requests
- #4768: Fix small typo in 999-big-list-of-options.md (@ericmutta)
- #4769: docs: add a instruction about how to run one test on your local computer (@TrickyPi)
- #4770: Add support for arbitrary module namespace identifiers ( @lukastaegert)
-
#4771: Add
version
property to Plugin type (@Septh)
v3.8.1
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
- #4762: Improve AST garbage collection (@bluwy)
- #4766: Fix handling of namespace reexports when preserving modules ( @lukastaegert)
v3.8.0
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
- #4759: feat: deduplicate reexports and renderedExports to simplify output (@TrickyPi)
- #4761: Support emitting files via manualChunks in output (@lukastaegert)
- #4763: docs: update outdated info (@TrickyPi)
v3.7.5
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 withError.cause
(#4757) - Do not swallow side effects when interacting with modules namespaces nested in another object (#4758)
Merge Requests
-
#4749: feat: simplify
stack
info in cli error (@TrickyPi) - #4756: Avoid name conflicts for default exported classes (@lukastaegert)
- #4757: fix: RollupLog cause allow unknown (@Shinigami92)
- #4758: Correctly handle side effects when a namespace is nested in an object (@lukastaegert)
v3.7.4
2022-12-13
Bug Fixes
- Do not remove calls to
.exec
and.test
for included stateful regular expressions (#4742)
Merge Requests
- #4742: fix: check whether RegExp have the global or sticky flags set ( @TrickyPi)
v3.7.3
2022-12-11
Bug Fixes
- Ensure
this.getFileName
no longer returns a placeholder as soon as hash placeholders have been resolved (#4747)
Merge Requests
- #4747: provide hashed file name when using this.getFileName in generateBundle (@lukastaegert)
v3.7.2
2022-12-10
Bug Fixes
- Improve chunk generation performance when one module is dynamically imported by many other modules (#4736)
Merge Requests
- #4736: Improve chunk assignment performance (@lukastaegert)
v3.7.1
2022-12-09
Bug Fixes
- Ad a hint to use @rollup/plugin-json when imports from a JSON file are not found (#4741)
Merge Requests
- #4741: fix: provide json hint when importing a no export json file ( @TrickyPi)
v3.7.0
2022-12-08
Features
- Do not treat
.test
and.exec
on regular expressions as side effects (#4737)
Merge Requests
- #4737: feat: add sutiable RegExp prototype methods (@TrickyPi)
v3.6.0
2022-12-05
Features
- extend
this.getModuleInfo
with information about exports (#4731)
Merge Requests
-
#4731: feat: add
exports
andexportedBindings
toModule
class ( @TrickyPi)
v3.5.1
2022-12-01
Bug Fixes
- Accept functions returning a config in defineConfig (#4728)
Merge Requests
v3.5.0
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
- #4718: Add simple way to manually declare pure functions (@lukastaegert)
- #4725: Fix isIncluded error when using rollup-plugin-typescript2 ( @lukastaegert)
v3.4.0
2022-11-22
Features
- Do not keep unused
Object.freeze
calls on object literals (#4720)
Merge Requests
- #4720: Only consider Object.freeze a side effect if the argument is used (@lukastaegert)
v3.3.0
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
withstring
assets (#4712)
Bug Fixes
- Support plugins with object hooks when using
perf: true
(#4707)
Merge Requests
- #4702: docs: add additional tips for heap out of memory (@benmccann)
- #4705: Allow to define minimum chunk size limit (@lukastaegert)
- #4707: Fix perf timers for object hooks (@lukastaegert)
- #4710: Update terser docs (@nikolas)
- #4712: feat: deduplicate assets with buffer source (@patak-dev)
v3.2.5
2022-11-01
Bug Fixes
- We deconflicting classes, ensure the original class name still does not shadow variables (#4697)
Merge Requests
- #4697: Prevent class ids from shadowing other variables (@lukastaegert)
v3.2.4
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
- #4685: update package-lock version (@jerry-lllman)
- #4689: Update 07-tools.md (@cokert)
- #4693: Use correct import.meta.url slashes on Windows (@lukastaegert)
v3.2.3
2022-10-18
Bug Fixes
- Fix an issue whre Rollup confused
new.target
withimport.meta
(#4679) - Ensure that Rollup does not make assumptions about the value of unknown namespace import members (#4684)
Merge Requests
- #4679: Do not rewrite new.target (@lukastaegert)
- #4683: Remove typo in resolveId documentation (@ChrispyChris)
- #4684: Return correct values for unknown namespace members ( @lukastaegert)
v3.2.2
2022-10-16
Bug Fixes
- Do not hang/crash on hashbang comments in input modules (#4676)
Merge Requests
- #4675: refactor: improve & simplify types (@sxzz)
- #4676: Ignore hashhbang comments (@lukastaegert)
v3.2.1
2022-10-16
Bug Fixes
- Rewrite class declarations to preserve their .name property if necessary (#4674)
Merge Requests
- #4674: Preserve rendered class names (@lukastaegert)
v3.2.0
2022-10-15
Features
- Support providing Promises as plugins like Vite (#4671)
Merge Requests
- #4666: Add unicorn plugin (@lukastaegert)
- #4667: refactor: improve types (@sxzz)
- #4668: fix: nested plugin in options stage (@sxzz)
- #4669: refactor: merge duplicate imports (@c0dedance)
- #4670: docs: fix minor typo in migration documentation (@ThisIsMissEm)
- #4671: feat: support async plugins (@sxzz)
v3.1.0
2022-10-12
Features
- Support using arrays of plugins as plugins like Vite (#4657)
Merge Requests
v3.0.1
2022-10-12
Bug Fixes
- Fix installation on Windows (#4662)
- Avoid missing parameters that are only used in a destructuring initializer (#4663)
Merge Requests
- #4661: Enforce type imports (@lukastaegert)
- #4662: fix: missing "node" causes run script error (@c0dedance)
- #4663: Ensure the initializer of a destructuring declaration is always included if the id is included (@lukastaegert)
- #4664: fix: remove lint:js:nofix script redundancy options (@c0dedance)
v3.0.0
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()
: usethis.emitFile()
-
this.emitChunk()
: usethis.emitFile()
-
this.getAssetFileName()
: usethis.getFileName()
-
this.getChunkFileName()
: usethis.getFileName()
-
this.isExternal()
: usethis.resolve()
-
this.resolveId()
: usethis.resolve()
-
- The
resolveAssetUrl
plugin hook has been removed: useresolveFileUrl
- Rollup no longer passes
assetReferenceId
orchunkReferenceId
parameters toresolveFileUrl
- The
treeshake.pureExternalModules
option has been removed: usetreeshake.moduleSideEffects: 'no-external'
- You may no longer use
true
orfalse
foroutput.interop
. As a replacement fortrue
, 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 plugin context functions have been removed:
- 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: useoutput. inlineDynamicImports
-
manualChunks
as part of the input options: useoutput. manualChunks
-
maxParallelFileReads
: use `maxParallelFileOps -
output.preferConst
: useoutput.generatedCode.constBindings
-
output.dynamicImportFunction
: use therenderDynamicImport
plugin hook -
output.namespaceToStringTag
: useoutput.generatedCode.symbols
-
preserveModules
as part of the input options: useoutput. preserveModules
-
- You should no longer access
this.moduleIds
in plugins: usethis.getModuleIds()
- You should no longer access
this.getModuleInfo(...).hasModuleSideEffects
in plugins: usethis.getModuleInfo(...).moduleSideEffects
- Some options have been deprecated:
- 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 unlessoutput.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 viamodules
, only to a list of includedmoduleIds
(#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 thechunkInfo.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 likedefault
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
totrue
, 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 updateChunkInfo.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 orChunkInfo.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 asimport(…)
or wrappedrequire(…)
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
- #3846: [v3.0] Run output plugins last (@aleclarson)
- #4543: [v3.0] New hashing algorithm that "fixes (nearly) everything" ( @lukastaegert)
- #4548: [v3.0] Deprecate Node 12 (@lukastaegert)
- #4552: [v3.0] Remove actively deprecated features, show warnings for other deprecated features (@lukastaegert)
- #4558: [v3.0] Convert build scripts to ESM, update dependencies ( @lukastaegert)
- #4565: [v3.0] Rework file name patterns when preserving modules ( @lukastaegert)
- #4566: [v3.0] Restructure timings (@lukastaegert)
- #4567: [v3.0] Change default for makeAbsoluteExternalsRelative ( @lukastaegert)
- #4568: [v3.0] Change default for output.generatedCode.reservedNamesAsProps (@lukastaegert)
- #4574: [v3.0] Better esm config file support (@lukastaegert)
- #4575: [v3.0] Show deprecation warning for maxParallelFileReads ( @lukastaegert)
- #4576: [v3.0] Change default for preserveEntrySignatures to exports-only (@lukastaegert)
- #4579: [v3.0] Refine errors and warnings (@lukastaegert)
- #4581: [v3.0] Use named export for loadConfigFile (@lukastaegert)
- #4592: [v3.0] Port doc changes from #4572 and #4583 to 3.0 (@berniegp)
- #4593: [v3.0] Browser build (@lukastaegert)
- #4596: [v3.0] Use "node:" prefix for imports of node builtins ( @lukastaegert)
- #4605: [v3.0] Better sourcemap emission (@lukastaegert)
- #4609: [v3.0] Custom awaiting watch emitter (@lukastaegert)
- #4611: [v3.0] Improve interop defaults (@lukastaegert)
- #4621: [v3.0] Always try to load config files via Node if possible ( @lukastaegert)
- #4624: [v3.0] Remove warning when using implicit default export mode ( @lukastaegert)
- #4631: [v3.0] Use ASCII characters for hash placeholders (@lukastaegert)
- #4644: [v3.0] Improve performance of asset emissions (@lukastaegert)
- #4646: [v3.0] Basic support for import assertions (@lukastaegert)
- #4647: [v3.0] Keep dynamic imports in CommonJS output (@lukastaegert)
- #4649: [v3.0] Change default for systemNullSetters (@lukastaegert)
- #4651: [v3.0] use compiler target ES2020 (@dnalborczyk)
v2.79.1
2022-09-22
Bug Fixes
- Avoid massive performance degradation when creating thousands of chunks (#4643)
Merge Requests
- #4639: fix: typo docs and contributors link in CONTRIBUTING.md ( @takurinton)
- #4641: Update type definition of resolveId (@ivanjonas)
- #4643: Improve performance of chunk naming collision check ( @lukastaegert)
v2.79.0
2022-08-31
Features
- Add
amd.forceJsExtensionForImports
to enforce using.js
extensions for relative AMD imports (#4607)
Merge Requests
v2.78.1
2022-08-19
Bug Fixes
- Avoid inferring "arguments" as name for a default export placeholder variable (#4613)
Merge Requests
- #4613: Prevent using arguments for generated variable names ( @lukastaegert)
v2.78.0
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
- #4600: Allow using objects as hooks to change execution order ( @lukastaegert)
v2.77.3
2022-08-11
Bug Fixes
- Correctly resolve preserveModulesRoot in Vite (#4591)
Merge Requests
- #4591: resolve currentPath (@cleverpp)
v2.77.2
2022-07-27
Bug Fixes
- Avoid a rendering failure when mixing outputs with inlined and non-inlined dynamic imports (#4589)
Merge Requests
- #4589: Handle generating non-inlined imports after inlined ones ( @lukastaegert)
v2.77.1
2022-07-26
Bug Fixes
- Ensure IIFE output generates a global variable when generating ES5 (#4588)
Merge Requests
- #4577: broken link removed (@Jawad-H)
- #4580: Update dependencies (@lukastaegert)
- #4584: Documentation clarity and syntax improvements (@berniegp)
- #4588: Use var for IIFE (@lukastaegert)
v2.77.0
2022-07-15
Features
- Introduce
maxParallelFileOps
to limit both read and write operations, default to 20 and replacesmaxParallelFileRead
(#4570)
Bug Fixes
- Avoid including variables referenced from return statements that are never reached (#4573)
Merge Requests
- #4570: Introduce maxParallelFileOps to limit parallel writes ( @lukastaegert)
- #4572: Document more ways to read package.json in ESM (@berniegp)
- #4573: Do not include unused return expressions (@lukastaegert)
v2.76.0
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
- #4527: Add sourcemapBaseUrl option (@nickgarlis)
- #4533: Add support for absolute plugin paths (@ygoe)
- #4538: chore: Included githubactions in the dependabot config ( @naveensrinivasan)
- #4546: Adapt Node versions on CI to prepare for v3 (@lukastaegert)
- #4556: Improve error message for invalid patterns (@DysphoricUnicorn)
- #4559: Update dependencies (@lukastaegert)
- #4560: Bump peter-evans/create-or-update-comment from 1 to 2 ( @dependabot)
- #4561: Bump peter-evans/find-comment from 1 to 2 (@dependabot)
- #4562: Bump codecov/codecov-action from 1 to 3 (@dependabot)
v2.75.7
2022-06-20
Bug Fixes
- Mark Array.prototype.group/groupToMap as side effect free. (#4531)
Merge Requests
- #4523: chore: remove source map workaround, bump deps (@dnalborczyk)
- #4525: Add regression tests for instanceof (@lukastaegert)
- #4528: chore: Set permissions for GitHub actions (@naveensrinivasan)
- #4531: fix: rename Array.prototype.group/groupToMap (@dnalborczyk)
- #4535: chore: bump resolve from 1.22.0 to 1.22.1 (@pos777)
v2.75.6
2022-06-07
Bug Fixes
- Properly deoptimize "this" when using member expressions with getters/setters in for loops and update expressions ( #4522)
Merge Requests
- #4522: Refactor side effect handling for property interactions ( @lukastaegert)
v2.75.5
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
- #4519: Try to make logical expression deoptimization more robust ( @lukastaegert)
- #4520: Roll back parameter default tree shaking (@lukastaegert)
v2.75.4
2022-05-31
Bug Fixes
- Ensure parameter defaults are retained when a function is used as an object property (#4516)
Merge Requests
- #4516: Deoptimize parameter defaults when referenced from object/array/class literals (@lukastaegert)
v2.75.3
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
- #4515: Ensure parameter defaults are deoptimized (@lukastaegert)
v2.75.2
v2.75.1
2022-05-28
Merge Requests
- #4513: Update link to node polyfill repo (@lukastaegert)
v2.75.0
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
- #4510: Tree-shake parameter defaults (replaces #4498) (@lukastaegert)
- #4511: Tree-shake side-effect-free string methods on template literals ( @lukastaegert)
v2.74.1
2022-05-19
Bug Fixes
- Revert #4498 until some issues are understood and resolved
v2.74.0
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
- #4498: Tree shake parameter defaults (@lukastaegert)
- #4499: Ensure reexports are available for namespaces (@lukastaegert)
- #4501: fix: config path problem on windows (@pos777)
- #4502: Avoid maximum listeners exceeded warning (@lukastaegert)
v2.73.0
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
- #4493: Handle getters on functions and improve property deoptimization ( @lukastaegert)
- #4494: Do not treat string.replace as side effect when used with a literal (@lukastaegert)
- #4495: Update docs for --configPlugin using typescript ( @Jimmydalecleveland)
v2.72.1
2022-05-07
Bug Fixes
- Improve tree-shaking of classes with super classes in certain scenarios (#4489)
Merge Requests
- #4489: Do not deoptimize entire super class when adding a property ( @lukastaegert)
v2.72.0
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
- #4457: feat: CLI event hook flags (@Harris-Miller)
- #4486: Fix reassignment tracking (@lukastaegert)
v2.71.1
2022-04-30
Bug Fixes
- Allow importing loadConfigFile without extension (#4483)
Merge Requests
- #4483: Add exports exception for loadConfigFile (@lukastaegert)
v2.71.0
2022-04-30
v2.70.2
2022-04-15
Bug Fixes
- Do not enforce undefined return values in TypeScript types (#4463)
Merge Requests
- #4463: use void for options hook instead of undefined (@ycmjason)
v2.70.1
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
- #4434: Track unfinished hook actions as regular errors (@lukastaegert)
- #4436: Update package.json (@frank-dspeed)
v2.70.0
2022-03-07
Features
- Make the
watchChange
andcloseWatcher
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
- #4427: Do not abort watch mode on errors in watchChange (@lukastaegert)
v2.69.2
2022-03-06
Bug Fixes
- Mark
Object.entries
andObject.fromEntries
as pure (#4429) - Make sure new properties on Array.prototype and Object.prototype are not evaluated as "undefined" (#4428)
Merge Requests
- #4428: Treat unknown prototype props as unknown (@lukastaegert)
- #4429: Treat unknown prototype props as unknown (@869288142)
v2.69.1
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
- #4334: fix(sourcemap): fall back to low-resolution line mapping ( @aleclarson and @lukastaegert)
v2.69.0
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 ofoutput.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
- #4378: Make namespace @@toStringTag "Module" non-enumerable ( @dnalborczyk and @lukastaegert)
- #4413: refactor: some code and type fixes (@dnalborczyk)
- #4418: chore: bump deps (@dnalborczyk)
- #4419: Properly handle upper directories as external dependencies ( @lukastaegert)
- #4421: Improve the error prompt and output the error file name ( @caoxiemeihao)
- #4423: Update 999-big-list-of-options.md (@leoj3n)
v2.68.0
2022-02-22
Features
- provide information about cached import resolutions in
shouldTransformCachedModule
(#4414) - Add "types" field to Rollup's package exports (#4416)
Merge Requests
- #4410: refactor: use map for declarations and name suggestions ( @dnalborczyk)
- #4411: refactor: use map for namespace reexports by name (@dnalborczyk)
- #4412: refactor: use includes where appropriate (@dnalborczyk)
- #4414: Add resolved sources to shouldTransformCachedModule ( @lukastaegert)
- #4416: Add Typescript 4.5 nodenext node12 module resolution support ( @frank-dspeed)
v2.67.3
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
- #4399: docs: remove const (@TrickyPi)
- #4401: Improve test stability by getting independent of module id ordering in more places (@lukastaegert)
- #4403: fix: remove unnecessary property descriptor spread (@dnalborczyk)
- #4404: refactor: use map for import descriptions + re-export descriptions (@dnalborczyk)
- #4405: refactor: module exports to map (@dnalborczyk)
- #4406: Fix a typo in 'Direct plugin communication' code example ( @younesmln)
- #4407: Document how resolveId is cached (@lukastaegert)
- #4409: Print ids for unfinished moduleParsed and shouldTransformCachedModule hooks (@lukastaegert)
v2.67.2
2022-02-10
Bug Fixes
- Ensure consistent order between manual chunks to fix hashing issues (#4397)
Merge Requests
- #4390: refactor: add @types/estree explicitly, fix dynamic type imports (@dnalborczyk)
- #4391: chore: remove acorn-walk ambient type definitions (@dnalborczyk)
- #4397: Sort manual chunks generated via a function by name ( @lukastaegert)
v2.67.1
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
- #4373: fix: even more types (@dnalborczyk)
- #4382: Update contribution tut link desc (@lemredd)
- #4383: chore: bump deps (@dnalborczyk)
- #4384: chore: move "wait" to utils + re-use (@dnalborczyk)
- #4385: refactor: convert watch tests to async functions (@dnalborczyk)
- #4386: refactor: use fs.promises in resolve id, Part 4 (@dnalborczyk and @lukastaegert)
- #4389: refactor: use fs.promises in generate license file, rollup config, Part 5 (@dnalborczyk)
stylelint/stylelint
v16.9.0
- Changed:
secondaryOptions
argument type of theRule
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
- false positives:
- 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
- Deprecated:
context.fix
usage in favour of recommending to pass afix
callback toreport()
(#7895) (@Mouvedia). - Added: deprecation notice annotation to the output of the
github
formatter (#7909) (@Mouvedia). - Fixed:
custom-property-no-missing-var-function
false positives forview-transition-name
(#7914) (@Mouvedia). - Fixed:
keyframe-block-no-duplicate-selectors
reported ranges (#7932) (@romainmenke). - Fixed:
no-invalid-double-slash-comments
reported ranges (#7907 & #7905) (@Mouvedia & @romainmenke). - Fixed:
selector-max-type
reported ranges (#7916) (@romainmenke). - Fixed:
selector-type-no-unknown
false positives for::highlight()
and::view-transition-*()
(#7913) (@Mouvedia).
v16.8.1
- Fixed:
no-duplicate-selectors
false positives with Less syntax (#7888) (@romainmenke).
v16.8.0
- Deprecated:
github
formatter (#7865) (@marcalexiei). - Fixed:
function-url-quotes
false positives for SCSS variables and#
/?
characters (#7874) (@vimalloc). - Fixed:
keyframe-selector-notation
false positives forentry-crossing
andexit-crossing
(#7859) (@romainmenke). - Fixed:
no-descending-specificity
false positives for nested rules without declarations (#7850) (@romainmenke). - Fixed:
no-duplicate-selectors
end positions (#7867) (@romainmenke). - Fixed:
no-duplicate-selectors
false negatives for three or more duplicates (#7867) (@romainmenke). - Fixed:
selector-max-compound-selectors
error for@nest
(#7875) (@romainmenke). - Fixed:
selector-pseudo-class-no-unknown
false positives for:active-view-transition
and:active-view-transition-type()
(#7868) (@Mouvedia). - Fixed:
selector-type-*
,selector-max-type
andselector-class-pattern
false positives for<timeline-range-name>
in keyframe selectors (#7856) (@romainmenke). - Fixed:
stylelint.utils.checkAgainstRule()
regression whenreportNeedlessDisables
andquiet
are both enabled (#7879) (@ybiquitous). - Fixed: configuration comments within selector and value lists being ignored (#7839) (@romainmenke).
v16.7.0
- Changed:
tap
formatter to support TAP14 (#7759) (@Mouvedia). - Added:
url
secondary option (#7743) (@emmacharp). - Fixed:
at-rule-no-unknown
false positives for@historical-forms
and@font-palette-values
(#7774) (@Mouvedia). - Fixed:
at-rule-no-unknown
false positives for@view-transition
(#7753) (@sebdanielsson). - Fixed:
at-rule-no-vendor-prefix
false negatives for@-moz-document
and@-webkit-viewport
(#7772) (@Mouvedia). - Fixed:
comment-whitespace-inside
end positions (#7744) (@Mouvedia). - Fixed:
declaration-block-no-duplicate-properties
reported ranges (#7758) (@Mouvedia). - Fixed:
declaration-block-no-redundant-longhand-properties
/declaration-block-no-shorthand-property-overrides
false negatives forfont-variant
(#7734) (@Bilie). - Fixed:
font-family-name-quotes
false negatives for-moz-*
/-webkit-*
keywords (#7777) (@Mouvedia). - Fixed:
font-family-no-missing-generic-family-keyword
false negatives for font families which names match a CSS3font-variant
keyword (#7823) (@Mouvedia). - Fixed:
function-name-case
end positions (#7747) (@Mouvedia). - Fixed:
function-no-unknown
performance by reducing file read count (#7801) (@ybiquitous). - Fixed:
media-feature-name-no-vendor-prefix
autofix (#7770) (@Mouvedia). - Fixed:
no-invalid-double-slash-comments
reported ranges (#7768) (@Mouvedia). - Fixed:
property-no-unknown
false positives fornavigation
and miscellaneous legacy properties (#7764) (@Mouvedia). - Fixed:
quietDeprecationWarnings
to suppressstylelint:003
warning (#7837) (@ybiquitous). - Fixed:
selector-no-vendor-prefix
autofix (#7763) (@Mouvedia). - Fixed:
selector-not-notation
end positions when new lines are part of the selector (#7755) (@Mouvedia). - Fixed:
selector-type-case
end positions (#7752) (@Mouvedia). - Fixed:
shorthand-property-no-redundant-values
false negatives for logical properties,overflow
,overscroll-behavior
,scroll-margin
andscroll-padding
(#7808) (@Mouvedia). - Fixed:
string-no-newline
false positives for escaped multi-line (#7818) (@romainmenke). - Fixed:
value-keyword-case
end positions (#7760) (@Mouvedia). - Fixed:
stylelint.utils.checkAgainstRule()
for Promise-based rules (#7821) (@aaronccasanova). - Fixed:
stylelint.utils.checkAgainstRule()
to useresult.stylelint
if present (#7833) (@ybiquitous). - Fixed: YAML diagnostic block end marker line of the
tap
formatter (#7759) (@Mouvedia). - Fixed: autofix of incorrectly implemented plugins when unscoped stylelint commands are present (#7733) (@romainmenke).
v16.6.1
- Fixed:
no-descending-specificity
false positives for nested selectors (#7724) (@romainmenke). - Fixed:
selector-type-no-unknown
false positive formodel
(#7718) (@Mouvedia).
v16.6.0
- Fixed:
function-calc-no-unspaced-operator
false negatives (#7655 & #7670 & #7676) (@ybiquitous & @romainmenke). - Fixed:
selector-not-notation
autofix of the"simple"
option (#7703) (@Mouvedia). - Fixed:
selector-max-specificity
end positions (#7685) (@romainmenke). - Fixed:
no-descending-specificity
end positions (#7701) (@romainmenke). - Fixed: missing GitHub Sponsor for
npm fund
(#7707) (@ybiquitous).
v16.5.0
- Added: regex support to
ignoreValues
forvalue-no-vendor-prefix
(#7650) (@Mouvedia). - Fixed:
shorthand-property-no-redundant-values
false negatives for functions (#7657) (@ybiquitous). - Fixed:
value-no-vendor-prefix
false negatives/positives (#7654 & #7658) (@Mouvedia). - Fixed:
CosmiconfigResult
type error (#7661) (@ybiquitous).
v16.4.0
- Added:
no-unknown-custom-media
(#7594) (@fpetrakov). - Added:
ignoreLonghands: []
todeclaration-block-no-redundant-longhand-properties
(#7611) (@Mouvedia). - Added:
ignore: ["keyframe-selectors"]
torule-selector-property-disallowed-list
(#7572) (@emmacharp). - Added: experimental support for post processors (#7568) (@YuanboXue-Amber).
- Fixed:
declaration-block-no-redundant-longhand-properties
autofix conflicts (#7626) (@Mouvedia). - Fixed:
declaration-block-no-redundant-longhand-properties
autofix fortext-decoration
(#7611) (@Mouvedia). - Fixed:
declaration-block-no-shorthand-property-overrides
false negatives forborder
(#7585) (@fpetrakov). - Fixed:
declaration-block-no-shorthand-property-overrides
false negatives forfont
andborder
(#7606) (@Mouvedia). - Fixed:
function-calc-no-unspaced-operator
false negatives for some math functions (#7619) (@Mouvedia). - Fixed:
function-no-unknown
false positives foranchor
,anchor-size
andpalette-mix
(#7607 & #7640) (@Mouvedia). - Fixed:
selector-max-attribute
end positions (#7592) (@romainmenke). - Fixed:
selector-max-class
end positions (#7590) (@romainmenke). - Fixed:
selector-max-combinators
end positions (#7596) (@romainmenke). - Fixed:
selector-max-compound-selectors
end positions (#7599) (@romainmenke). - Fixed:
selector-max-pseudo-class
end positions (#7598) (@romainmenke). - Fixed:
selector-max-universal
end positions (#7597) (@romainmenke). - Fixed:
selector-type-no-unknown
false positives for experimental and deprecated HTML tags (#7612) (@Mouvedia).
v16.3.1
- Fixed:
selector-max-id
end positions (#7571) (@romainmenke). - Fixed: import errors for configs and plugins omitting
/index.js
(#7578) (@ota-meshi).
v16.3.0
- Added:
ignoreSelectors: []
toselector-max-compound-selectors
(#7544) (@FloEdelmann). - Added: tally of fixable problems to
string
andverbose
formatters (#7539) (@m-allanson). - Added: support for
*-deprecation
command-line flags of Node.js (#7550) (@fpetrakov). - Fixed: false positive CJS deprecation warning for dual-package plugins (#7532) (@JounQin).
- Fixed:
rule-selector-property-disallowed-list
false positives for nesting selectors (#7558) (@romainmenke). - Fixed:
selector-pseudo-*-allowed-list
false positives for vendor prefixes (#7525) (@carlosjeurissen). - Fixed:
report()
forindex
/endIndex
zero values (#7565) (@romainmenke). - Fixed:
selector-max-type
end positions (#7518) (@romainmenke).
v16.2.1
- 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 withignoreSelectors
option forof <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
- Added:
media-query-no-invalid
specific problem messages (#7462) (@romainmenke). - Added:
checkContextFunctionalPseudoClasses: []
toselector-max-id
(#7380) (@brigitamaria). - Fixed:
declaration-property-value-no-unknown
false negatives for@starting-style
(#7461) (@fpetrakov). - Fixed:
function-no-unknown|value-keyword-case
false positives for template literals with line breaks (#7443) (@Sh031224). - Fixed:
allowEmptyInput
option ignored in configuration object regression (#7446) (@ybiquitous). - Fixed:
at-rule-no-unknown
false positives for@starting-style
(#7438) (@fpetrakov). - Fixed:
ERR_UNSUPPORTED_ESM_URL_SCHEME
for--custom-formatter
on Windows (#7432) (@JounQin). - Fixed:
Error: Could not find <package>
message clarity (#7456) (@jeddy3). - Fixed:
overrides.files
negated pattern regression introduced in 15.0.0 (#7468) (@ybiquitous).
v16.1.0
- Added:
lightness-notation
rule (#7366) (@fpetrakov). - Added:
ignore: ["keyframe-selectors"]
toselector-disallowed-list
(#7417) (@mattxwang). - Fixed:
selector-pseudo-class-no-unknown
false positive for:popover-open
(#7425) (@mattxwang). - Fixed:
declaration-property-value-no-unknown
and other false positives for multiline SCSS interpolation. (#7406) (@FloEdelmann). - Fixed:
function-url-quotes
false positives for SCSS variable and@
character (#7416) (@mattxwang).
v16.0.2
v16.0.1
- Fixed: type definitions for CommonJS and ESM compatibility (#7377) (@remcohaszing).
v16.0.0
- Removed: Node.js less than 18.12.0 support (#7020) (@ybiquitous).
- Removed: 76 rules deprecated in 15.0.0 (#6979) (@mattxwang).
- Changed:
stylelint.formatters
object to havePromise
values (#7184) (@ybiquitous). - Changed: exit code for CLI flag error (#7134) (@ybiquitous).
- Changed: default syntax behaviour to always use safe-parser with
fix
regardless of extension (#7357) (@ybiquitous). - Changed: TypeScript definitions for ESM (#7309) (@ybiquitous).
- Changed:
stylelint.rules
object to havePromise
values (#7279) (@ybiquitous). - Changed:
stylelint.utils.checkAgainstRule
to be an async function (#7339) (@ybiquitous). - Deprecated: CommonJS Node.js API (#7353) (@ybiquitous).
- Deprecated:
output
property in a Node.js API returned object. Instead,report
/code
properties are recommended (#7183) (@ybiquitous) & (@haocheng6). - Added:
exports
field topackage.json
for Conditional Exports (ESM/CommonJS) (#7307) (@ybiquitous). - Added: support for ESM plugins (#7339) (@ybiquitous).
- Added: support for ESM custom formatters (#7343) (@ybiquitous).
- Added: support for a package name as arguments to
--custom-formatter
(#7343) (@ybiquitous). - Added:
severity
secondary option's function support (#7202) (@kizu). - Added: support for a
Promise
formatter function (#7184) (@ybiquitous). - Added: support for ESM custom syntaxes (#7351) (@ybiquitous).
- Added:
report
/code
properties to a Node.js API returned object (#7183) (@ybiquitous) & (@haocheng6). - Fixed: no longer needed workaround for Cosmiconfig segfault (#7329) (@ybiquitous).
- Fixed: CLI regression to avoid waiting for stdin without any input (#7131) (@ybiquitous).
- Fixed: CLI to avoid different outputs on empty files and empty stdin (#7131) (@ybiquitous).
- Refactored:
.js
extension to.mjs
and.cjs
(#7307) (@ybiquitous).
v15.11.0
- Added:
ignoreRules
tomax-nesting-depth
(#7215) (@mattxwang). - Fixed:
declaration-block-no-redundant-longhand-properties
autofix forgrid-template
withrepeat()
(#7230) (@mattxwang). - Fixed:
declaration-block-no-redundant-longhand-properties
false negative forfont-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 foroverflow
,overscroll-behavior
,scroll-margin
,scroll-padding
, and new Box Alignment shorthands (#7213) (@mattxwang). - Fixed:
function-no-unknown
false positives forlight-dark
,linear
andxywh
(#7242) (@mattxwang).
v15.10.3
- Fixed:
declaration-property-value-no-unknown
false negatives for typed custom properties (#7078) (@romainmenke). - Fixed:
property-no-unknown
false positives for scroll-driven animations (#7090) (@renato-bohler).
v15.10.2
- Fixed:
declaration-property-value-no-unknown
false negatives for nested declarations (#7079) (@romainmenke). - Fixed:
selector-pseudo-element-no-unknown
false positives forview-transition
pseudo-elements (#7070) (@danielroe).
v15.10.1
- Security: fix for
semver
vulnerability (#7043) (@romainmenke). - Fixed: invalid option regression on Windows 10 (#7043) (@romainmenke).
v15.10.0
- Added:
media-query-no-invalid
(#6963) (@romainmenke). - Added: support for JS objects with
extends
config option (#6998) (@fpetrakov). - Fixed: inconsistent
errored
properties instylelint.lint()
return value (#6983) (@ybiquitous). - Fixed:
{selector,value}-no-vendor-prefix
performance (#7016) (@jeddy3). - Fixed:
custom-property-pattern
performance (#7009) (@jeddy3). - Fixed:
function-linear-gradient-no-nonstandard-direction
false positives for<color-interpolation-method>
(#6987) (@romainmenke). - Fixed:
function-name-case
performance (#7010) (@jeddy3). - Fixed:
function-no-unknown
performance (#7004) (@jeddy3). - Fixed:
function-url-quotes
performance (#7011) (@jeddy3). - Fixed:
hue-degree-notation
false negatives foroklch
(#7015) (@romainmenke). - Fixed:
hue-degree-notation
performance (#7012) (@jeddy3). - Fixed:
media-feature-name-no-unknown
false positives forenvironment-blending
,nav-controls
,prefers-reduced-data
, andvideo-color-gamut
(#6978) (@romainmenke). - Fixed:
media-feature-name-no-vendor-prefix
positions for*-device-pixel-ratio
(#6977) (@romainmenke). - Fixed:
no-descending-specificity
performance (#7026) (@romainmenke). - Fixed:
no-duplicate-at-import-rules
false negatives for imports withsupports
andlayer
conditions (#7001) (@romainmenke). - Fixed:
selector-anb-no-unmatchable
performance (#7042) (@romainmenke). - Fixed:
selector-id-pattern
performance (#7013) (@jeddy3). - Fixed:
selector-pseudo-class-no-unknown
false negatives for pseudo-elements with matching names (#6964) (@Mouvedia). - Fixed:
selector-pseudo-element-no-unknown
performance (#7007) (@jeddy3). - Fixed:
selector-type-case
performance (#7041) (@romainmenke). - Fixed:
selector-type-no-unknown
performance (#7027) (@romainmenke). - Fixed:
unit-disallowed-list
false negatives with percentages (#7018) (@romainmenke).
v15.9.0
- Added:
insideFunctions: {"function": int}
tonumber-max-precision
(#6932) (@romainmenke). - Fixed:
declaration-block-no-redundant-longhand-properties
autofix forborder-radius
shorthand (#6958) (@mattxwang). - Fixed:
declaration-block-no-redundant-longhand-properties
autofix forborder-width
shorthand (#6956) (@mattxwang). - Fixed:
declaration-block-no-redundant-longhand-properties
autofix forgrid-column
andgrid-row
(#6957) (@mattxwang).
v15.8.0
- Added:
media-feature-name-value-no-unknown
(#6906) (@romainmenke). - Added: support for
.mjs
configuration files (#6910) (@ybiquitous). - Fixed:
--print-config
description in CLI help (#6914) (@ybiquitous). - Fixed:
allowEmptyInput
option in configuration files (#6929) (@ybiquitous). - Fixed:
custom-property-no-missing-var-function
performance (#6922) (@romainmenke). - Fixed:
function-calc-no-unspaced-operator
performance (#6923) (@romainmenke). - Fixed:
function-linear-gradient-no-nonstandard-direction
performance (#6924) (@romainmenke). - Fixed:
function-no-unknown
false positives for SCSS functions with namespace (#6921) (@romainmenke). - Fixed:
max-nesting-depth
error for at-rules in Sass syntax (#6909) (@ybiquitous). - Fixed:
selector-anb-no-unmatchable
performance (#6925) (@romainmenke). - Fixed: remove
v8-compile-cache
dependency (#6907) (@ybiquitous).
v15.7.0
- Added:
splitList: boolean
toselector-nested-pattern
(#6896) (@is2ei). - Fixed:
unit-no-unknown
false positives forunicode-range
descriptors (#6892) (@romainmenke). - Fixed: segmentation fault errors for Cosmiconfig 8.2 (#6902) (@romainmenke).
v15.6.3
- Fixed:
alpha-value-notation
false positives forcolor()
(#6885) (@romainmenke). - Fixed:
alpha-value-notation
performance with improved benchmark script (#6864) (@romainmenke). - Fixed:
at-rule-property-required-list
performance (#6865) (@romainmenke). - Fixed:
color-*
performance (#6868) (@romainmenke). - Fixed:
length-zero-no-unit
false positives on new math functions (#6871) (@romainmenke). - Fixed:
string
formatter for unexpected truncation on non-ASCII characters (#6861) (@Max10240). - Fixed:
unit-no-unknown
false positives for the second and subsequentimage-set()
withx
descriptor (#6879) (@romainmenke).
v15.6.2
- Fixed:
alpha-value-notation
false negatives foroklab()
,oklch()
, andcolor()
(#6844) (@romainmenke). - Fixed:
declaration-block-no-redundant-longhand-properties
autofix withcubic-bezier()
(#6841) (@romainmenke). - Fixed:
function-no-unknown
false positives for unspaced operators against nested brackets (#6842) (@romainmenke). - Fixed:
function-url-quotes
false positives for SCSSwith()
construct (#6847) (@ybiquitous). - Fixed:
media-feature-name-no-unknown
false positives fornot
andor
(#6838) (@romainmenke).
v15.6.1
- Fixed:
declaration-block-no-redundant-longhand-properties
autofix fortransition
(#6815) (@mattxwang). - Fixed:
github
formatter for missing final newline (#6822) (@konomae). - Fixed:
selector-pseudo-class-no-unknown
false positive for:modal
(#6811) (@Yasir761).
v15.6.0
- Added:
allowEmptyInput
,cache
,fix
options to configuration object (#6778) (@mattxwang). - Added:
ignore: ["with-var-inside"]
tocolor-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 optionignore: ["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 forgrid-template
(#6777) (@mattxwang). - Fixed:
function-url-quotes
autofix for comments in SCSS function (#6800) (@ybiquitous).
v15.5.0
- Added:
ignore: ["consecutive-duplicates-with-different-syntaxes"]
todeclaration-block-no-duplicate-properties
(#6772) (@kimulaco). - Added:
ignoreProperties: []
todeclaration-block-no-duplicate-custom-properties
(#6773) (@mattxwang). - Added: raw regex support to
ignoreProperties
fordeclaration-block-no-duplicate-properties
(#6764) (@ybiquitous). - Fixed:
block-no-empty
false positives with non-whitespace characters (#6782) (@ybiquitous). - Fixed:
color-function-notation
false positives for namespaced imports (#6774) (@mattxwang). - Fixed:
custom-property-empty-line-before
false positives for CSS-in-JS (#6767) (@ybiquitous). - Fixed:
media-feature-range-notation
parse error (#6760) (@fpetrakov). - Fixed: CLI help improvements (#6783) (@ybiquitous).
v15.4.0
- Added:
--quiet-deprecation-warnings
flag (#6724) (@mattxwang). - Added:
-c
alias for--config
(#6720) (@sidverma32). - Added:
media-feature-range-notation
autofix (#6742) (@romainmenke). - Added:
no-unknown-custom-properties
rule (#6731) (@jameschensmith). - Fixed:
function-url-quotes
autofix for double-slash comments in SCSS maps (#6745) (@jgerigmeyer). - Fixed:
isPathIgnored()
utility's performance (#6728) (@ybiquitous). - Fixed:
rule-selector-property-disallowed-list
secondary options (#6723) (@mattxwang). - Fixed:
declaration-block-no-redundant-longhand-properties
with basic keywords (#6748) (@mattxwang). - Fixed: deprecation warnings for disabled rules (#6747) (@ybiquitous).
v15.3.0
- Added:
configurationComment
configuration property (#6629) (@ifitzpatrick). - Added:
selector-anb-no-unmatchable
rule (#6678) (@mattxwang). - Fixed: TypeScript error for CommonJS importing (#6703) (@remcohaszing).
- Fixed:
*-no-redundant-*
false negatives forinset
shorthand (#6699) (@rayrw). - Fixed:
function-url-quotes
autofix for multipleurl()
(#6711) (@ybiquitous). - Fixed:
value-keyword-case
false positives for Level 4 system colours (#6712) (@thewilkybarkid).
v15.2.0
- Added:
messageArgs
to 76 rules (#6589) (@kizu). - Fixed: TypeScript error to export
Plugin
andRuleContext
(#6664) (@henryruhs). - Fixed:
overrides.extends
order when including same rules (#6660) (@kuoruan). - Fixed:
annotation-no-unknown
false positives for CSS-in-JS template literals (#6666) (@hudochenkov). - Fixed:
declaration-property-value-no-unknown
false positives for at-rule descriptors (#6669) (@FloEdelmann). - Fixed:
declaration-property-value-no-unknown
parse error foralpha(opacity=n)
to report as violation (#6650) (@romainmenke). - Fixed:
function-name-case
false positives for CSS-in-JS template literals (#6666) (@hudochenkov). - Fixed:
function-no-unknown
false positives for CSS-in-JS template literals (#6666) (@hudochenkov). - Fixed:
unit-no-unknown
false positives for CSS-in-JS template literals (#6666) (@hudochenkov). - Fixed:
value-keyword-case
false positives for CSS-in-JS template literals (#6666) (@hudochenkov).
v15.1.0
- Added:
declaration-block-no-redundant-longhand-properties
autofix (#6580) (@mattxwang). - Fixed:
declaration-property-value-no-unknown
false positives forenv()
(#6646) (@romainmenke). - Fixed:
function-calc-no-unspaced-operator
TypeError on emptycalc()
(#6634) (@romainmenke). - Fixed: inaccurate
customSyntax
inference (#6645) (@ybiquitous).
v15.0.0
- Removed: Node.js 12 support (#6477) (@ybiquitous). (BREAKING)
- Removed: support for processors (#6479) (@ybiquitous). (BREAKING)
- Removed:
syntax
option (#6420) (@fpetrakov). (BREAKING) - Changed:
extends
inoverrides
to merge to be consistent withplugins
behaviour (#6380) (@jasikpark). (BREAKING) - Changed: type definitions to reorganize (#6510) (@ybiquitous). (BREAKING)
- Changed: type names to be more consistent (#6503) (@ybiquitous). (BREAKING)
- Deprecated: stylistic rules handled by Prettier (#6504) (@ybiquitous).
- Added:
declaration-property-value-no-unknown
rule (#6511) (@jeddy3). - Added:
media-feature-name-unit-allowed-list
rule (#6550) (@mattxwang). - Added:
function-url-quotes
autofix (#6558) (@mattxwang). - Added:
ignore: ["custom-elements"]
toselector-max-type
(#6588) (@muddv). - Added:
ignoreFunctions: []
tounit-disallowed-list
(#6592) (@mattxwang). - Added: deprecated rule warnings (#6561) (@ybiquitous).
- Added: message arguments to
declaration-property-unit-allowed-list
(#6570) (@mattxwang). - Fixed:
overrides.files
in config to allow basename glob patterns (#6547) (@ybiquitous). - Fixed:
at-rule-no-unknown
false positives for@scroll-timeline
(#6554) (@mattxwang). - Fixed:
function-no-unknown
false positives for interpolation and backticks in CSS-in-JS (#6565) (@hudochenkov). - Fixed:
keyframe-selector-notation
false positives for named timeline ranges (#6605) (@kimulaco). - Fixed:
property-no-unknown
false negatives for newer custom syntaxes (#6553) (@43081j). - Fixed:
selector-attribute-quotes
false positives for "never" (#6571) (@mattxwang). - Fixed:
selector-not-notation
autofix for "simple" option (#6608) (@Mouvedia).
v14.16.1
- Fixed:
customSyntax
resolution withconfigBasedir
(#6536) (@ybiquitous). - Fixed:
declaration-block-no-duplicate-properties
autofix for!important
(#6528) (@sidx1024). - Fixed:
function-no-unknown
false positives forscroll
,-webkit-gradient
,color-stop
,from
, andto
(#6539) (@Mouvedia). - Fixed:
value-keyword-case
false positives for mixed caseignoreFunctions
option (#6517) (@kimulaco). - Fixed: unexpected
output
in Node.js API lint result when any rule containsdisableFix: true
(#6543) (@adrianjost).
v14.16.0
- Added:
media-feature-range-notation
rule (#6497) (@jeddy3). - Added: support for plugin objects as config values (#6481) (@phoenisx).
- Fixed: incorrect output by all formatters except for
json
(#6480) (@ybiquitous).
v14.15.0
- Added:
--globby-options
flag (#6437) (@sidverma32). - Added: custom message formatting for
at-rule-disallowed-list
,declaration-property-unit-disallowed-list
,declaration-property-value-disallowed-list
,function-disallowed-list
, andproperty-disallowed-list
(#6463) (@chloerice). - Added: support autofix with
checkAgainstRule
(#6466) (@aaronccasanova). - Added: support for reporting with custom severity (#6444) (@aaronccasanova).
- Added: support to
checkAgainstRule
with custom rules (#6460) (@aaronccasanova). - Fixed: tally output of
string
formatter colorized (#6443) (@ybiquitous). - Fixed: usage of the
import-lazy
package to fit bundlers (#6449) (@phoenisx).
v14.14.1
- Fixed:
declaration-block-no-redundant-longhand-properties
false positives forinherit
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
- Added:
*-pattern
custom message formatting (#6391) (@ybiquitous). - Fixed:
block-no-empty
false positives forreportNeedlessDisables
(#6381) (@ybiquitous). - Fixed:
printf
-like formatting for custom messages (#6389) (@ybiquitous). - Fixed:
unit-no-unknown
false positives for font-relative length units (#6374) (@ybiquitous). - Fixed: false negatives on second run for cache and
severity
option (#6384) (@kimulaco). - Fixed: TS compilation error due to needless
file-entry-cache
import (#6393) (@adidahiya).
v14.13.0
- Added:
cacheStrategy
option (#6357) (@kaorun343). - Fixed: cache refresh when config is changed (#6356) (@kimulaco).
- Fixed:
selector-pseudo-element-no-unknown
false positives for::highlight
pseudo-element (#6367) (@jathak).
v14.12.1
- Fixed:
font-weight-notation
messages (#6350) (@ybiquitous). - Fixed: type declarations for custom message arguments (#6354) (@stof).
v14.12.0
- Added: support for multiple
--ignore-path
flags (#6345) (@kimulaco). - Added: experimental support for custom message arguments (#6312) (@ybiquitous).
- Added:
declaration-block-no-duplicate-properties
autofix (#6296) (@fpetrakov). - Added:
font-weight-notation
autofix (#6347) (@ybiquitous). - Added:
ignore: ["inside-block"]
andsplitList
toselector-disallowed-list
(#6334) (@mattmanuel90). - Added: regex support for
ignorePseudoClasses
option ofselector-pseudo-class-no-unknown
(#6316) (@ybiquitous). - Added: regex support for
ignorePseudoElements
option ofselector-pseudo-element-no-unknown
(#6317) (@ybiquitous). - Added: regex support for
ignoreSelectors
option ofselector-no-vendor-prefix
(#6327) (@ybiquitous). - Added: regex support for
ignoreTypes
option ofselector-type-case
(#6326) (@ybiquitous). - Fixed:
*-no-unknown
false positives for container queries (#6318) (@fpetrakov). - Fixed:
font-family-name-quotes
false positives for interpolation and shorthand (#6335) (@kimulaco). - Fixed:
time-min-milliseconds
incorrect location for matching violating times (#6319) (@kawaguchi1102).
v14.11.0
- Added:
ignoreAfterCombinators: []
toselector-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
- 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 tokeyframe-selector-notation
(#6194). - Added:
github
formatter (#6150). - Added: tally to
string
andverbose
formatters (#6153). - Added: fixable status to
verbose
andgithub
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
andselector-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
- Fixed:
selector-max-specificity
false positives for:nth-child
(#6140).
v14.9.0
- Added:
import-notation
rule (#6102). - Fixed:
no-duplicate-selectors
false positives for SCSS/Less nested interpolations (#6118). - Fixed:
no-descending-specificity
andselector-max-specificity
false positives for:is()
and:where()
(#6131).
v14.8.5
- Fixed:
no-duplicate-selectors
false positives with Less syntax (#6111).
v14.8.4
- Fixed:
no-duplicate-selectors
error with non-standard selectors (#6106).
v14.8.3
- 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 fordisplay-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
- Fixed:
function-calc-no-unspaced-operator
false positives for non-standard variables (#6053). - Fixed:
selector-*-no-unknown
end positions (#6046).
v14.8.1
- 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
- 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
- Fixed: a regression for
/* stylelint-disable */
comments (#6018). - Fixed:
font-family-name-quotes
false positives forui-*
generic system font keywords (#6017).
v14.7.0
- 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
- 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
- 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
- Fixed:
*-list
invalid option warnings for strings (#5934).
v14.5.2
stylelint/stylelint-config-standard
v36.0.1
- Fixed: missing
funding
field inpackage.json
.
v36.0.0
- Removed:
stylelint
less than16.1.0
from peer dependencies. - Added:
lightness-notation: "percentage"
rule.
v35.0.0
- Removed:
stylelint
less than16.0.0
from peer dependencies. - Removed: Node.js less than
18.12.0
support. - Changed: updated to
stylelint-config-recommended@14.0.0
.
v34.0.0
- Removed:
stylelint
less than15.10.0
from peer dependencies - Changed: updated to
stylelint-config-recommended@13.0.0
.
v33.0.0
- Removed:
stylelint
less than15.5.0
from peer dependencies. - Changed: updated to
stylelint-config-recommended@12.0.0
. - Changed: restored
declaration-block-single-line-max-declarations
removed on30.0.0
.
v32.0.0
- Removed:
stylelint
less than15.4.0
from peer dependencies. - Added:
media-feature-range-notation: "context"
rule.
v31.0.0
- Removed:
stylelint
less than15.3.0
from peer dependencies. - Changed: updated to
stylelint-config-recommended@11.0.0
.
v30.0.1
- Fixed: updated to
stylelint-config-recommended@10.0.1
.
v30.0.0
- Removed:
stylelint
less than15.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
- Removed:
stylelint
less than14.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
- Removed:
stylelint
less than14.11.0
from peer dependencies. - Changed:
alpha-value-notation
to be"number"
for SVG*-opacity
properties.
v27.0.0
- Removed:
stylelint
less than14.10.0
from peer dependencies. - Changed: updated to
stylelint-config-recommended@9.0.0
. - Added:
keyframe-selector-notation
rule.
v26.0.0
- Removed:
stylelint
less than14.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.