Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update all non-major dependencies #422

Merged
merged 1 commit into from
Feb 8, 2022
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 7, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
postcss (source) ^8.2.9 -> ^8.4.6 age adoption passing confidence
tailwindcss (source) ^3.0.18 -> ^3.0.19 age adoption passing confidence
tailwindcss (source) ^2.0.4 -> ^2.2.19 age adoption passing confidence

Release Notes

postcss/postcss

v8.4.6

Compare Source

  • Prevented comment removing when it change meaning of CSS.
  • Fixed parsing space in last semicolon-less CSS Custom Properties.
  • Fixed comment cleaning in CSS Custom Properties with space.
  • Fixed throwing an error on .root access for plugin-less case.

v8.4.5

Compare Source

  • Fixed raws types to make object extendable (by James Garbutt).
  • Moved from Yarn 1 to pnpm.

v8.4.4

Compare Source

  • Fixed absolute path in source map on zero plugins mode.

v8.4.3

Compare Source

  • Fixed this.css.replace is not a function error.

v8.4.2

Compare Source

  • Fixed previous source map support in zero plugins mode.

v8.4.1

Compare Source

  • Fixed Stringifier types (by James Garbutt).

v8.4.0

Compare Source

President Camio seal

PostCSS 8.4 brought ranges for warnings and errors, smaller node_modules size, lazy parsing to avoid PostCSS does nothing warning, and TypeScript fixes.

Thanks to Sponsors

This release was possible thanks to our community.

Sponsored by Tailwind CSS Sponsored by ThemeIsle

If your company wants to support the sustainability of front-end infrastructure or wants to give some love to PostCSS, you can join our supporters by:

Rages for Errors and Warnings

@​adalinesimonian, the author of amazing Stylelint extension for VS Code, added ranges to errors and warnings.

result.warn(msg, { index })           // One character warning at index
result.warn(msg, { endIndex })        // Starts at node start, ends at endIndex
result.warn(msg, { index, endIndex }) // Starts at index, ends at endIndex
result.warn(msg, { start })           // Starts at start, ends at node end
result.warn(msg, { end })             // Starts at node start, ends at end
result.warn(msg, { start, end })      // Starts at start, ends at end
result.warn(msg, { word })            // Starts at word location, ends at word index + length

It will improve DX in the IDE extension.

Lazy Parsing

Previously, we found that many tools run PostCSS even if the developer didn’t pass any PostCSS plugins. Parsing is the most expensive step in CSS processing. It led to a waste of resources without any reason.

We tried to resolve the problem by adding a PostCSS does nothing warning. But it didn’t force tool authors to be more careful with user’s resources.

If PostCSS sees that tool call it without passing plugins (or changing parser/stringifier), PostCSS will not parse CSS (until toll will call Result#root). In 8.4, @​bogdan0083 (with the help of @​WilhelmYakunin) tries to solve the problem in another way. It allows us to save resources and remove the PostCSS does nothing warning.

// No plugins, we do not parse CSS
let result = await postcss().process(css, { from  })
result.css  // Is the same string passed to process()
result.map  // Special 1-to-1 source map
result.root // CSS will parsed only here

Install Size Reduction

With ≈60M weekly downloads, PostCSS has responsibility for the world’s resource spending.

Together with @​7rulnik we reduced source-map-js size. It is transitive dependency of PostCSS.

In 8.4, we moved to a fixed version of source-map-js, which reduced the postcss size in your node_modules from ≈1 MB to 0.3 MB. With the huge popularity of PostCSS, it will free a lot of resources on our CIs.

PostCSS install size reduction #### Migration from Jest to `uvu`

@​kimoofey refactored all tests from the popular Jest framework to small and fast uvu.

It will not affect end-users. However, it reduced our node_modules size by 33 MB and made tests twice faster (yarn install & yarn unit: 24 → 13 seconds).

TypeScript Fixes

  • Added Processor types.
  • Added Stringifier types (by @​43081j).
  • Fixed types Root and Document in result values (by @​43081j).
  • Fixed Node#walkRules() types (by @​hudochenkov).

Other Changes

v8.3.11

Compare Source

  • Remove debugging code.

v8.3.10

Compare Source

  • Fixed Maximum call stack issue of some source maps (by Yeting Li).

v8.3.9

Compare Source

  • Replaced nanocolors to picocolors.
  • Reduced package size.

v8.3.8

Compare Source

  • Update nanocolors.

v8.3.7

Compare Source

  • Replaced colorette to nanocolors.
  • Added bug field to package.json (by Christian Oliff).
  • Improved docs (by Andrew Bruce and Paul Shryock).

v8.3.6

Compare Source

  • Fixed column in missed semicolon error (by @​Gusted).

v8.3.5

Compare Source

  • Fixed broken AST detection.

v8.3.4

Compare Source

  • Fixed broken AST detection.

v8.3.3

Compare Source

  • Fixed broken AST on postcss dependency duplication in custom parsers.

v8.3.2

Compare Source

  • Update changelog.

v8.3.1

Compare Source

  • Remove debugging code.

v8.3.0

Compare Source

Duke Murmur seal

PostCSS 8.3 improved source map parsing performance, added Node#assign() shortcut, and experimental Document node to AST.

Thanks to Sponsors

This release was possible thanks to our community.

Sponsored by Tailwind CSS Sponsored by ThemeIsle

If your company wants to support the sustainability of front-end infrastructure or wants to give some love to PostCSS, you can join our supporters by:

Source Map Performance

Because PostCSS needs synchronous API, we can’t move from the old `source-map 0.6 to 0.7 (many other open-source projects too).

@​7rulnik forked source-map 0.6 to source-map-js and back-ported performance improvements from 0.7. In 8.3 we switched from source-map to this source-map-js fork.

You map see 4x performance improvements in parsing map from processing step before PostCSS (for instance, Sass).

Document Nodes

Thanks to @​gucong3000, PostCSS already parse CSS from HTML and JS files (CSS-in-JS templates and objects).

But his plugin need big updates. @​hudochenkov from stylelint team decided to create new parsers for styles inside CSS-in-JS, HTML, and Markdown.

He suggested adding new Document node type to PostCSS AST to keep multiple Root nodes inside and JS/HTML/Markdown code blocks between these style blocks.

const document = htmlParser(
  '<html><style>a{color:black}</style><style>b{z-index:2}</style>'
)
document.type          //=> 'document'
document.nodes.length  //=> 2
document.nodes[0].type //=> 'root'

This is an experimental feature. Some aspects of this node could change within minor or patch version releases.

Node#assign() Shortcut

The creator of famous postcss-preset-env and many other PostCSS tools, @​jonathantneal suggested a nice shortcut to change multiple properties in the node:

decl.assign({ prop: 'word-wrap', value: 'break-word' })

v8.2.15

Compare Source

v8.2.14

Compare Source

  • Removed source-map from client-side bundle (by Barak Igal).

v8.2.13

Compare Source

  • Fixed ReDoS vulnerabilities in source map parsing (by Yeting Li).

v8.2.12

Compare Source

  • Fixed package.json exports.

v8.2.11

Compare Source

  • Fixed DEP0148 warning in Node.js 16.
  • Fixed docs (by @​semiromid).

v8.2.10

Compare Source

  • Fixed ReDoS vulnerabilities in source map parsing.
  • Fixed webpack 5 support (by Barak Igal).
  • Fixed docs (by Roeland Moors).
tailwindlabs/tailwindcss

v2.2.19

Compare Source

Fixed
  • Ensure corePlugins order is consisent in AOT mode (#​5928)

v2.2.18

Compare Source

Fixed
  • Bump versions for security vulnerabilities (#​5924)

v2.2.17

Compare Source

Fixed
  • Configure chokidar's awaitWriteFinish setting to avoid occasional stale builds on Windows (#​5758)

v2.2.16

Compare Source

Fixed
  • JIT: Properly handle animations that use CSS custom properties (#​5602)

v2.2.15

Compare Source

Fixed
  • Ensure using CLI without -i for input file continues to work even though deprecated (#​5464)

v2.2.14

Compare Source

Fixed
  • Only use @defaults in JIT, switch back to clean-css in case there's any meaningful differences in the output (bf248cb)

v2.2.13

Compare Source

Fixed
  • Replace clean-css with cssnano for CDN builds to fix minified builds (75cc3ca)

v2.2.12

Compare Source

Fixed
  • Ensure that divide utilities inject a default border color (#​5438)

v2.2.11

Compare Source

Fixed
  • Rebundle to fix missing CLI peer dependencies

v2.2.10

Compare Source

Fixed
  • Fix build error when using presets: [] in config file (#​4903)
Added
  • Reintroduce universal selector optimizations under experimental optimizeUniversalDefaults flag (a9e160c)

v2.2.9

Compare Source

Fixed
  • JIT: Fix @applying utilities that contain variants + the important modifier (#​4854)
  • JIT: Don't strip "null" when parsing tracked file paths (#​5008)
  • Pin clean-css to v5.1.4 to fix empty CSS variables in CDN builds (#​5338)

v2.2.8

Compare Source

Fixed
  • Improve accessibility of default link focus styles in Firefox (#​5082)
  • JIT: Fix animation variants corrupting keyframes rules (#​5223)
  • JIT: Ignore escaped commas when splitting selectors to apply prefixes (#​5239)
  • Nesting: Maintain PostCSS node sources when handling @apply (#​5249)
  • JIT: Fix support for animation lists (#​5252)
  • JIT: Fix arbitrary value support for object-position utilities (#​5245)
  • CLI: Abort watcher if stdin is closed to avoid zombie processes (#​4997)
  • JIT: Ignore arbitrary values with unbalanced brackets (#​5293)

v2.2.7

Compare Source

Fixed
  • Temporarily revert runtime performance optimizations introduced in v2.2.5, use universal selector again (#​5060)

v2.2.6

Compare Source

Fixed
  • Fix issue where base styles not generated for translate transforms in JIT (#​5038)

v2.2.5

Compare Source

Added
  • Added self-baseline utility (I know this is a patch release, no one's going to die relax) (#​5000)
Changed
  • JIT: Optimize universal selector usage by inlining only the relevant selectors (#​4850))

    This provides a very significant performance boost on pages with a huge number of DOM nodes, but there's a chance it could be a breaking change in very rare edge cases we haven't thought of. Please open an issue if anything related to shadows, rings, transforms, filters, or backdrop-filters seems to be behaving differently after upgrading.

Fixed
  • Fix support for step-start and step-end in animation utilities (#​4795))
  • JIT: Prevent presence of !* in templates from ruining everything (#​4816))
  • JIT: Improve support for quotes in arbitrary values (#​4817))
  • Fix filter/backdrop-filter/transform utilities being inserted into the wrong position if not all core plugins are enabled (#​4852))
  • JIT: Fix @layer rules being mistakenly inserted during incremental rebuilds (#​4853))
  • Improve build performance for projects with many small non-Tailwind stylesheets (#​4644)
  • Ensure [hidden] works as expected on elements where we override the default display value in Preflight (#​4873)
  • Fix variant configuration not being applied to backdropOpacity utilities (#​4892)

v2.2.4

Compare Source

Fixed
  • Remove postinstall script that was preventing people from installing the library (1eacfb9)

v2.2.3

Compare Source

Added
  • Pass extended color palette to theme closures so it can be used without installing Tailwind when using npx tailwindcss (359252c)
Fixed
  • JIT: Explicitly error when - is used as a custom separator (#​4704)
  • JIT: Don't add multiple ~ when stacking peer-* variants (#​4757)
  • Remove outdated focus style fix in Preflight (#​4780)
  • Enable purge if provided on the CLI (#​4772)
  • JIT: Fix error when not using a config file with postcss-cli (#​4773)
  • Fix issue with resolveConfig not being importable in Next.js pags (#​4725)

v2.2.2

Compare Source

Fixed
  • JIT: Reintroduce transform, filter, and backdrop-filter classes purely to create stacking contexts to minimize the impact of the breaking change (#​4700)

v2.2.1

Compare Source

Fixed
  • Ensure corePlugins order is consisent in AOT mode (#​5928)

v2.2.0

Compare Source

Changed
  • JIT: Use "tracking" context by default instead of "watching" context for improved reliability with most bundlers (#​4514)

    Depending on which tooling you use, you may need to explicitly set TAILWIND_MODE=watch until your build runner has been updated to support PostCSS's dir-dependency message type.

Added
  • Add background-origin utilities (#​4117)
  • Improve @apply performance in projects that process many CSS sources (#​3178)
  • JIT: Don't use CSS variables for color utilities if color opacity utilities are disabled (#​3984)
  • JIT: Redesign matchUtilities API to make it more suitable for third-party use (#​4232)
  • JIT: Support applying important utility variants (#​4260)
  • JIT: Support coercing arbitrary values when the type isn't detectable (#​4263)
  • JIT: Support for raw syntax in purge config (#​4272)
  • Add empty variant (#​3298)
  • Update modern-normalize to v1.1 (#​4287)
  • Implement theme function internally, remove postcss-functions dependency (#​4317)
  • Add screen function to improve nesting plugin compatibility (#​4318)
  • JIT: Add universal shorthand color opacity syntax (#​4348)
  • JIT: Add @tailwind variants directive to replace @tailwind screens (#​4356)
  • JIT: Add support for PostCSS dir-dependency messages in TAILWIND_DISABLE_TOUCH mode (#​4388)
  • JIT: Add per-side border color utilities (#​4404)
  • JIT: Add support for before and after pseudo-element variants and content utilities (#​4461)
  • Add new transform and extract APIs to simplify PurgeCSS/JIT customization (#​4469)
  • JIT: Add exhaustive pseudo-class and pseudo-element variant support (#​4482)
  • JIT: Add caret-color utilities (#​4499)
  • Rename lightBlue to sky, emit console warning when using deprecated name (#​4513)
  • New CLI with improved JIT support, --watch mode, and more (#​4526, 4558)
  • JIT: Add new peer-* variants for styling based on sibling state (#​4556)
  • Expose safelist as a top-level option under purge for both JIT and classic engines (#​4580)
  • JIT: Remove need for transform class when using classes like scale-*, rotate-*, etc. (#​4604)
  • JIT: Remove need for filter and backdrop-filter classes when using classes like contrast-*, backdrop-blur-*, etc. (#​4614)
  • Support passing a custom path for your PostCSS configuration in the Tailwind CLI (#​4607)
  • Add blur-none by default with intent to deprecate blur-0 (#​4614)
Fixed
  • JIT: Improve support for Svelte class bindings (#​4187)
  • JIT: Improve support for calc and var in arbitrary values (#​4147)
  • Convert hsl colors to hsla when transforming for opacity support instead of rgba (#​3850)
  • Fix backdropBlur variants not being generated (#​4188)
  • Improve animation value parsing (#​4250)
  • Ignore unknown object types when hashing config (82f4eaa)
  • Ensure variants are grouped properly for plugins with order-dependent utilities (#​4273)
  • JIT: Fix temp file storage when node temp directories are kept on a different drive than the project itself (#​4044)
  • Support border-opacity utilities alongside default border utility (#​4277)
  • JIT: Fix source maps for expanded @tailwind directives (2f15411)
  • JIT: Ignore whitespace when collapsing adjacent rules (15642fb)
  • JIT: Generate group parent classes correctly when using custom separator (#​4508)
  • JIT: Fix incorrect stacking of multiple group variants (#​4551)
  • JIT: Fix memory leak due to holding on to unused contexts (#​4571)
Internals
  • Add integration tests for popular build runners (#​4354)

v2.1.4

Compare Source

Fixed
  • Skip raw PurgeCSS sources when registering template dependencies (#​4542)

v2.1.3

Compare Source

Fixed
  • Register PurgeCSS paths as PostCSS dependencies to guarantee proper cache-busting in webpack 5 (#​4530)

v2.1.2

Compare Source

Fixed
  • Fix issue where JIT engine would generate the wrong CSS when using PostCSS 7 (#​4078)

v2.1.1

Compare Source

Fixed
  • Fix issue where JIT engine would fail to compile when a source path isn't provided by the build runner for the current input file (#​3978)

v2.1.0

Compare Source

Added
  • Add alternate JIT engine (in preview) (#​3905)
  • Add new mix-blend-mode and background-blend-mode utilities (#​3920)
  • Add new box-decoration-break utilities (#​3911)
  • Add new isolation utilities (#​3914)
  • Add inline-table display utility (#​3563)
  • Add list-item display utility (#​3929)
  • Add new filter and backdrop-filter utilities (#​3923)

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from 6e06e7d to da3be55 Compare February 8, 2022 11:54
@pi0 pi0 merged commit 749aa13 into main Feb 8, 2022
@delete-merged-branch delete-merged-branch bot deleted the renovate/all-minor-patch branch February 8, 2022 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants