4297 Commits
Author SHA1 Message Date
zandGitHub 5551a7fc57 Delete upstream workflows
This fork does not ship upstream's releases, and its hosted-runner jobs
never start here.

Claude-Session: https://claude.ai/code/session_01HuMDfgFssPUptYUzgZ6Cp8
2026-09-24 10:01:53 -07:00
zeekayandHanzo Dev af1526f220 ci: canonical pair — hanzo.yml + forge caller
github.com has no runner for hanzo-build-linux-amd64, so a caller under
.github/workflows is a gate that can never be scheduled. This is the ~7-line
caller on the plane that can (git.hanzo.ai git-runner fleet), pinned @v1.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-06 02:26:35 -07:00
Andrey Sitnik c5e0bbb118 Explain how to type plugin options 2026-07-29 14:06:29 +00:00
Hashim KhanandGitHub 14f8d11a0c docs: show ESM and TypeScript plugin declaration (#2118)
* docs: show ESM and TypeScript plugin declaration

Document the maintainer-recommended pattern of setting postcss = true on
the creator function and default-exporting it, so ES modules and TypeScript
do not need module.exports.

Fixes #1771

* docs: make ESM the default plugin example
2026-07-29 16:04:29 +02:00
Andrey Sitnik ac033c8e47 Release 8.5.25 version 8.5.25 2026-07-29 12:58:38 +00:00
Andrey Sitnik f121ccda0f Fix 8.5.17 visitor regression 2026-07-29 12:56:11 +00:00
Andrey Sitnik 2b83c89558 Add supply chain security requirement to PostCSS plugin guide 2026-07-29 09:35:10 +00:00
87b9ce6de2 fix: return empty array for empty string in list.split (#2121)
Co-authored-by: ferkans-amir <[email protected]>
2026-07-29 10:23:59 +02:00
Andrey Sitnik 5dca3b52fd Release 8.5.24 version 8.5.24 2026-07-28 11:40:36 +02:00
Andrey Sitnik 95e18706ed Update dependencies 2026-07-28 11:39:19 +02:00
Haïm DimerandGitHub 05a93532d1 Preserve the BOM when stringifying (#2119)
PostCSS aims for byte-to-byte equal output, but the stringifier dropped a
leading byte order mark: `parse('a{}').toString()` returned `a{}`. The
BOM is already detected (`Input#hasBOM`) but was never re-emitted, so the
`bom.css` round-trip test had to be skipped.

Emit the BOM in `Stringifier#root` when the source had one, and re-enable the
previously skipped test.
2026-07-28 11:38:17 +02:00
Andrey Sitnik 9f5b165d74 Fix types check 2026-07-24 17:05:04 +00:00
Andrey Sitnik f812274a95 Release 8.5.23 version 8.5.23 2026-07-24 17:03:51 +00:00
Andrey Sitnik 74fc4a5f42 Update dependencies 2026-07-24 17:02:38 +00:00
Andrey Sitnik 2a1afe6782 Does no load source map file without opts.from 2026-07-24 16:59:19 +00:00
Andrey Sitnik 34dc0fd278 Typo 2026-07-22 19:13:50 +00:00
Andrey Sitnik 94d0f84ec1 Update EM banner 2026-07-22 19:13:05 +00:00
Andrey Sitnik ca63c125a5 Update EM banner 2026-07-22 19:12:27 +00:00
Andrey Sitnik 5d8b2fb798 Release 8.5.22 version 8.5.22 2026-07-22 08:47:41 +00:00
Sarath FrancisandGitHub 2b6d01d957 Fix custom property losing its semicolon before a comment (#2117)
A custom property declaration that is the last non-comment child but is
followed by comment siblings was stringified without its terminating
semicolon. Unlike a normal declaration, a custom property keeps everything
up to the next `;` or `}` as its value, so on re-parse the trailing
comments were folded into the value and the comment nodes disappeared.

Building such a tree with append()/insertAfter()/after() therefore
silently dropped the comments. Emit the semicolon when a custom property
still has following siblings so the output round-trips, mirroring the
existing handling for childless at-rules.
2026-07-22 09:41:08 +02:00
Andrey Sitnik 808e14eb90 Release 8.5.21 version 8.5.21 2026-07-21 08:56:53 +00:00
Andrey Sitnik e741d2e9c1 Update dependencies 2026-07-21 08:55:33 +00:00
Sarath FrancisandGitHub cdc8897519 Fix childless at-rule losing its semicolon before a comment (#2115)
A childless (statement) at-rule that is the last non-comment child but is
followed by comment siblings was stringified without its terminating
semicolon. On re-parse the trailing comments were folded into the
at-rule prelude and dropped, so building such a tree with append() or
insertBefore() silently lost the comment nodes.

Emit the semicolon when a childless at-rule still has following siblings
so the output round-trips.
2026-07-21 10:53:42 +02:00
Ian KerinsandGitHub 633451b0da Fix mismatched JSDoc comments on Position (#2114)
Also, clarify that `column` is 1-based, like `line`.
2026-07-21 10:52:01 +02:00
Andrey Sitnik c0abed1865 Release 8.5.20 version 8.5.20 2026-07-19 08:44:02 +00:00
Sarath FrancisandGitHub 680ebe0244 Fix missing space when AtRule#params is set after parsing (#2113) 2026-07-19 10:23:15 +02:00
Andrey Sitnik 8b102a2574 Update dependencies 2026-07-16 09:01:57 +00:00
Andrey Sitnik b59dba23aa Move back to latest 11 pnpm 2026-07-16 09:00:42 +00:00
Andrey Sitnik 4f80bb3548 Update pnpm to check that CI is fixed 2026-07-16 08:59:22 +00:00
Mahin AnowarandGitHub 96354b9667 Rebuild nodes from another PostCSS copy in Warning (#2112) 2026-07-15 19:24:51 +02:00
Andrey Sitnik 61756ca2a0 Improve CI security 2026-07-15 16:35:41 +00:00
Andrey Sitnik 9e19e4adf0 Remove patch after updating dependency 2026-07-14 15:48:10 +00:00
Andrey Sitnik 51fff91423 Release 8.5.19 version 8.5.19 2026-07-13 10:41:10 +00:00
Andrey Sitnik 813f8260f1 Fix CI on Windows too 2026-07-13 10:39:22 +00:00
Mahin AnowarandGitHub 8faa4f8eee Keep explicitly set raws.before when inserting nodes into root (#2111) 2026-07-13 12:37:33 +02:00
Andrey Sitnik 5bcac3af0e Temporary fix CI 2026-07-13 10:36:59 +00:00
Andrey Sitnik 9e8657790d Release 8.5.18 version 8.5.18 2026-07-12 20:34:36 +00:00
Andrey Sitnik 201799774a Update dependencies 2026-07-12 20:31:53 +00:00
Andrey Sitnik c5fff770ca Limit where source map can be loaded for security reasons 2026-07-12 20:31:03 +00:00
Andrey Sitnik d973e5ab73 Release 8.5.17 version 8.5.17 2026-07-11 19:17:11 +00:00
Andrey Sitnik 69d5b399fd Fix Maximum call stack size exceeded error 2026-07-11 19:06:38 +00:00
Andrey Sitnik c05932eede Fix linter 2026-07-11 17:47:41 +00:00
Andrey Sitnik 3c60e5b691 Fix CI 2026-07-11 16:46:55 +00:00
Andrey Sitnik 62ad57f190 Prevent prototype hijacking in fromJSON 2026-07-11 16:44:46 +00:00
Andrey Sitnik 617c506988 Update dependencies 2026-07-11 16:42:10 +00:00
Masafumi KobaandGitHub eb5481f703 Fix non-closed <div align="center"> in README (#2110)
Fixes the problem that all elements after `<div align="center">` are centered in `README.md`.
2026-07-08 17:00:59 +02:00
Andrey Sitnik f4c637635c Remove old sponsors 2026-07-07 22:13:14 +00:00
777b574698 docs: fix invalid JS in writing-a-plugin examples (#2107)
Co-authored-by: Lenox Fernando <[email protected]>
2026-07-03 08:00:46 +02:00
Alexander KireyevandGitHub 64117f22bc Fix Input#origin() mixing null and undefined for unmapped end position (#2106)
When the requested end position has no mapping in the source map,
originalPositionFor() returns an object with line/column set to null
rather than omitting them. endLine picked that null up correctly, but
endColumn was computed as `to && to.column + 1`, which due to operator
precedence is `to && (to.column + 1)`, turning null into 1. So callers
could get back { endColumn: 1, endLine: null }, which doesn't match
how every other unmapped case in this function behaves (undefined for
both). Looks like the +1 fix in #2036 covered the mapped case but not
this one.

Guard `to` the same way `from` already is, so an unmapped end position
just stays undefined.
2026-06-30 23:14:26 +02:00
Andrey Sitnik 3227002b68 Release 8.5.16 version 8.5.16 2026-06-28 14:56:11 +00:00