Konv Suu and fisker
1664b5da29
Fix ICSS detection for nested exports ( #17929 )
...
Co-authored-by: fisker <lionkay@gmail.com >
2025-09-23 02:12:39 +08:00
fisker Cheung
5e93f1caa2
Fix crash on CSS custom properties ( #17899 )
2025-09-12 01:44:38 +08:00
Konv Suu and fisker
53b83f2058
Handle CSS attribute selector value ending with I flag ( #17865 )
...
Co-authored-by: fisker <lionkay@gmail.com >
2025-09-10 10:50:40 +08:00
f25615390a
Handle CSS attribute selector value ending with s flag ( #17841 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2025-09-09 16:54:53 +08:00
fisker
f67b32ba66
Clean changelog_unreleased
2025-06-23 10:10:54 +08:00
SUZUKI Sosuke
0ef2086cc9
Fix English grammer in changelog_unreleased ( #17635 )
2025-06-22 14:58:35 +09:00
SUZUKI Sosuke
9f472a2a03
Remove extra indentation for :has pseudo call ( #17541 )
...
* Fix indentation condition for `selector-selector`
* Add tests
* Add changelog
2025-06-01 13:11:42 +09:00
SUZUKI Sosuke
bd959e1757
Support @utility directive for Tailwind ( #17362 )
...
* Ignore operators in `@utility` directive
* Add tests for `@utility` directives
* Add changelog
2025-04-16 11:55:21 +09:00
Sosuke Suzuki
3fe8152c5c
Clean changelog_unreleased
2025-02-09 20:45:20 +09:00
Seiya
a7ddbdb899
Consitent break for comma seperated value ( #16907 )
...
* add softline before root paren group
* add changelog
* make conservative
2024-12-21 15:36:36 +09:00
Sosuke Suzuki
f53791a2c8
Clean changelog_unreleased
2024-11-26 13:53:25 +09:00
SUZUKI Sosuke and fisker
973f3b5940
Fix formatting of incomplete CSS value comments ( #16583 )
...
Co-authored-by: fisker <lionkay@gmail.com >
2024-10-10 13:15:06 +08:00
Seiya
3fd32a0258
Fix rule of fill violations in CSS ( #16570 )
2024-09-08 18:03:46 +08:00
SUZUKI Sosuke
1dfe28f857
Remove extra indentation in pseudo class function ( #16572 )
2024-08-14 09:52:53 +09:00
Sosuke Suzuki
266344398c
Clean changelog
2023-07-06 01:47:41 +09:00
Seiya and fisker Cheung
9500403c1d
Fix a bug: css urls are incorrectly stripped of commas ( #14476 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2023-03-29 09:12:38 +08:00
fisker
b61ef0d234
Merge 14208 into next
2023-03-23 09:51:35 +08:00
fisker Cheung
52fbecc89b
Merge branch 'main' into next
...
# Conflicts:
# docs/browser.md
# package.json
# yarn.lock
2022-11-23 19:44:31 +08:00
Sosuke Suzuki
9c45de6842
Clean changelog
2022-11-23 14:11:13 +09:00
fisker Cheung
a545d6f58d
Merge branch 'main' into next
2022-10-08 16:23:47 +08:00
Jed Fox
bfb09bf214
Format pseudo-selector args like a function call ( #13577 )
2022-10-02 11:11:44 -04:00
Sosuke Suzuki
40af3ed1ca
Keep trailing-comma for var function ( #13402 )
...
* Keep trailing-comma for last el
* Make hasComma function
* Fix tests
* Add changelog
2022-08-31 00:59:34 +09:00
fisker Cheung
c95c899b6f
Merge branch 'main' into next
...
# Conflicts:
# package.json
# scripts/build/bundler.mjs
# scripts/build/config.mjs
# scripts/vendors/vendor-meta.json
# scripts/vendors/vendors.mjs
# src/cli/format.js
# src/cli/logger.js
# src/cli/options/get-options-for-file.js
# src/cli/options/parse-cli-arguments.js
# src/main/core.js
# tests/config/install-prettier.js
# vendors/execa.js
# vendors/mem.js
# vendors/string-width.js
# vendors/tempy.js
# yarn.lock
2022-03-17 09:44:08 +08:00
Sosuke Suzuki
58e48b79da
Clean changelog_unreleased
2022-03-16 13:35:41 +09:00
eb671dd983
2.6 blog post ( #12412 )
...
* Generate
* Generate
* Add TS4.6 changelog
* Regenerate
* Add changelog to switch to esbuild
* Add category
* Update changelog_unreleased/blog-post-intro.md
Co-authored-by: Jed Fox <git@jedfox.com >
* Address review
* Regenerate
* Highlight TS 4.6
* Update changelog_unreleased/blog-post-intro.md
Co-authored-by: Jed Fox <git@jedfox.com >
* Regenerate
* Update changelog_unreleased/typescript/12390.md
Co-authored-by: Jed Fox <git@jedfox.com >
* Add thanks message for sponsors
* Address review!
* Update cspell.json
* Fix link of Ubie
* Generate
* Add `Thanks to our sponsors!`
* Update cspell
* Address review
* Update changelog_unreleased/blog-post-intro.md
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru >
* Regenerate
* Add `--print-truncate` option
* Address review
* Generate
Co-authored-by: Jed Fox <git@jedfox.com >
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru >
2022-03-16 13:25:48 +09:00
fisker Cheung
8118299c67
Merge branch 'main' into next
...
# Conflicts:
# .github/workflows/validate-vendor-versions.yml
# package.json
# src/language-css/printer-postcss.js
# src/language-js/print/assignment.js
2022-03-10 11:30:31 +08:00
737dd536c7
Fix lowercasing postcss values ( #12393 )
...
Co-authored-by: HallvardMM no-reply
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2022-03-09 06:36:14 +08:00
fisker Cheung
f0b63f3dff
Merge branch 'main' into next
...
# Conflicts:
# CONTRIBUTING.md
# cspell.json
# docs/options.md
# package.json
# scripts/build/bundler.mjs
# src/language-css/loc.js
# src/language-css/parser-postcss.js
# src/language-css/utils/index.js
# tests/format/js/arrows-bind/jsfmt.spec.js
# tests/format/js/async-do-expressions/jsfmt.spec.js
# tests/format/js/bind-expressions/jsfmt.spec.js
# tests/format/js/classes/top-level-super/jsfmt.spec.js
# tests/format/js/comments-pipeline-own-line/jsfmt.spec.js
# tests/format/js/decorator-comments/jsfmt.spec.js
# tests/format/js/decorators-export/jsfmt.spec.js
# tests/format/js/decorators/jsfmt.spec.js
# tests/format/js/do/jsfmt.spec.js
# tests/format/js/export-default/escaped/jsfmt.spec.js
# tests/format/js/export-extension/jsfmt.spec.js
# tests/format/js/export-star/jsfmt.spec.js
# tests/format/js/exports/jsfmt.spec.js
# tests/format/js/invalid-code/jsfmt.spec.js
# tests/format/js/logical-assignment/jsfmt.spec.js
# tests/format/js/multiparser-invalid/jsfmt.spec.js
# tests/format/js/no-semi-babylon-extensions/jsfmt.spec.js
# tests/format/js/object-property-comment/jsfmt.spec.js
# tests/format/js/partial-application/jsfmt.spec.js
# tests/format/js/pipeline-operator/jsfmt.spec.js
# tests/format/js/private-in/jsfmt.spec.js
# tests/format/js/record/jsfmt.spec.js
# tests/format/js/reserved-word/jsfmt.spec.js
# tests/format/js/strings/jsfmt.spec.js
# tests/format/js/throw_expressions/jsfmt.spec.js
# tests/format/js/trailing-whitespace/jsfmt.spec.js
# tests/format/js/v8_intrinsic/jsfmt.spec.js
# tests/format/misc/errors/js/literal/jsfmt.spec.js
# tests/format/misc/errors/js/object/jsfmt.spec.js
# tests/format/misc/errors/js/variable-declarator/jsfmt.spec.js
# tests/integration/__tests__/bundle.js
# tsconfig.json
# yarn.lock
2022-02-09 09:22:32 +08:00
Lucas Duailibe
e22c4911f8
Preserve empty lines in CSS/SCSS paren groups ( #12210 )
2022-02-02 07:38:59 -03:00
fisker Cheung
bdea56df87
Add changelog back ( #11980 )
2021-12-18 11:13:35 +08:00
fisker
77f8f0ddb5
Merge branch 'main' into next
...
# Conflicts:
# package.json
# scripts/build/bundler.mjs
# yarn.lock
2021-06-14 00:31:55 +08:00
Georgii Dolzhykov
171b1ee2bf
Clean changelog_unlreleased
2021-05-10 00:17:59 +03:00
fisker Cheung
60619338f1
Merge branch 'main' into next
...
# Conflicts:
# package.json
# tests/css/atrule/each.css
# tests/css/atrule/for.css
# tests/css/atrule/if-else.css
# tests/css/atrule/include.css
# tests/css/atrule/while.css
# tests/format/css/atrule/each.css
# tests/format/css/atrule/for.css
# tests/format/css/atrule/if-else.css
# tests/format/css/atrule/include.css
# tests/format/css/atrule/while.css
# tests/scss/atrule/each.scss
# tests/scss/atrule/for.scss
# tests/scss/atrule/if-else.scss
# tests/scss/atrule/include.scss
# tests/scss/atrule/while.scss
# yarn.lock
2021-05-06 16:00:12 +08:00
TJ Mazeika and fisker Cheung
7e4f4d5fe6
Exclude @keyframes params from being parsed as a Less variable ( #10773 )
...
* Exclude @keyframes params from being parsed as a Less variable
* Update changelog_unreleased/css/10773.md
Co-authored-by: fisker Cheung <lionkay@gmail.com >
* Update changelog_unreleased/css/10773.md
Co-authored-by: fisker Cheung <lionkay@gmail.com >
* Add "keyframes" to cspell.json
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2021-04-26 01:13:40 +03:00
Georgii Dolzhykov
88d765a4be
Edit changelog
2021-04-16 17:48:10 +03:00
sosukesuzuki
a79afc2cc6
Fix master => main in changelog
2021-01-25 13:25:51 +09:00
sosukesuzuki
b31cc7e3ca
Merge branch 'main' into next
2021-01-25 13:16:41 +09:00
fisker Cheung
12bddae20c
Switch default branch to main ( #10115 )
2021-01-23 19:14:13 +02:00
fisker
5eef4e1469
Fix changelog file name
2021-01-11 15:14:28 +08:00
fisker
fdfb6ff312
Merge branch 'master' into next
...
# Conflicts:
# docs/options.md
# package.json
# scripts/build/bundler.js
# src/language-css/printer-postcss.js
# yarn.lock
2021-01-11 14:26:20 +08:00
Christopher Chedeau
eec3e82f48
Fix absolute path in custom CSS url() calls ( #9966 )
...
At Facebook we have some custom pre-processor `-fb-url(/abs/path/)` that gets messed up as `-fb-url(/ abs/path)` with the current version of prettier.
The parser has hardcoded logic to only parse as path things that use `url()` but not `-fb-url()` and it parses it as `division /` and `abs/path/`. Because we put a space after division, the bug is introduced.
I don't really know the impact of changing the parser, but on the printer side, it is straightforward to not add a space after `/` if it's the first element in a group. I can't think of any reason why you could write `(/ something` in CSS so I think it's a safe change.
2020-12-28 20:22:25 -03:00
Sosuke Suzuki and fisker Cheung
d2b9b083ca
Add 2.2 blog post ( #9589 )
...
* Generate draft via script
* Add description
* Mention about pre-commit
* Remove pr-9209.md
* Mention about pre-commit
* Add pr-8937.md
* Update pr-9473
* Update pr-9473
* Update intro file
* Add links to TS 4.1
* Update blog-post
* Move pre-commit support to pre-commit repo
* Fix BLOG_POST_INTRO_TEMPLATE.md
* re-generate draft
* Fix switching versions and re-generate draft
* Update links for TS 4.1
* Update draft
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2020-11-20 13:54:09 +09:00
fisker Cheung
8616182e95
Revert #9500 ( #9584 )
2020-11-09 16:47:12 +08:00
Georgii Dolzhykov
d6858d52ad
Changelog edits for 2.2 ( #9603 )
2020-11-05 13:07:29 +09:00
Sosuke Suzuki and fisker
f7554c62a2
Revert breaking changes related to adding pure css parser for minor releasing ( #9500 )
...
* revert without tests
* Downgrade postcss-scss and postcss-less
* Fix tests
* Revert "Make `isSCSS*` function stricter (#9093 )"
This reverts commit 01f986bea9 .
* Revert "Remove `css` parser from `isLessParser` check (#9092 )"
This reverts commit c0bca1805d .
* Revert "Add pure css parser (#7933 )"
This reverts commit 589ebf670b .
* Disable `parser-postcss.js` minify
* Try to fix build script
* Update fs.mjs
* Update fs.mjs
* Style
Co-authored-by: fisker <lionkay@gmail.com >
2020-10-31 22:22:35 +09:00
fisker Cheung
b77da32a80
Update postcss to v8 ( #9209 )
...
* Update `postcss` v8
* Parser custom properties
* Improve logic
* Update lint script
* Fix node location
* Fix comments inside
* Add a test
* Test on `less` and `scss` too
* Fix empty prop print
* Clean
* Update `postcss`
* Exclude `regenerator`
* Test `no-semi`
* Add changelog
* Typo
* Apply review suggestion
* Style
* Simplify logic
* Remove error test, we don't throw on this anymore
* Style
* Update postcss
* Update postcss
2020-09-25 00:51:55 +08:00
fisker Cheung
01f986bea9
Make isSCSS* function stricter ( #9093 )
2020-09-01 16:58:35 +08:00
Georgii Dolzhykov
488e08d70b
Remove the need to add full GitHub links in changelog entry titles ( #9104 )
2020-09-01 08:51:32 +08:00
fisker Cheung
589ebf670b
Add pure css parser ( #7933 )
2020-08-28 13:07:49 +08:00
18b4cabc0c
Add 2.1 blog post ( #8932 )
...
* Add draft for 2.1 blog post
* Update cspell.json
* Update website/blog/2020-08-04-2.1.0.md
Co-authored-by: Chris Brody <chris.brody+brodybits@gmail.com >
* Update website/blog/2020-08-04-2.1.0.md
Co-authored-by: Chris Brody <chris.brody+brodybits@gmail.com >
* Update website/blog/2020-08-04-2.1.0.md
Co-authored-by: Chris Brody <chris.brody+brodybits@gmail.com >
* Update website/blog/2020-08-04-2.1.0.md
Co-authored-by: Chris Brody <chris.brody+brodybits@gmail.com >
* Update website/blog/2020-08-04-2.1.0.md
Co-authored-by: Chris Brody <chris.brody+brodybits@gmail.com >
* Update changelogs
* Add author to cspell ignore patterns
* Update cspell.json
* Fix original changelog
* Run draft script
* Update
* Fix TypeScript on Highlights
* Fix heading
* Fix author
* Fix changelog for 8410
* Fix syntax highlight
* Move changelog for 7844 to /scss
* Update website/blog/2020-08-21-2.1.0.md
Co-authored-by: ExE Boss <3889017+ExE-Boss@users.noreply.github.com >
* Remove changelog_unreleased
* Update filename
* Replace to actual version manually
Co-authored-by: Chris Brody <chris.brody+brodybits@gmail.com >
Co-authored-by: fisker Cheung <lionkay@gmail.com >
Co-authored-by: ExE Boss <3889017+ExE-Boss@users.noreply.github.com >
2020-08-24 20:36:52 +09:00