Debian Codegraph @

vendor/wikimedia/css-sanitizer/HISTORY.md

raw
1 # Release History
2
3 ## css-sanitizer 6.2.1 (2026-03-04)
4 * Pass first byte to ord() in DataSourceTokenizer for PHP 8.5 compatibility
5 * Add comprehensive EOF checks in DataSourceTokenizer
6
7 ## css-sanitizer 6.2.0 (2025-12-03)
8 * Allow var() inside calc() and other math functions
9 * Allow color functions inside var() fallback
10 * Allow color functions inside light-dark() function
11 * Allow var() inside color functions
12
13 ## css-sanitizer 6.1.0 (2025-10-29)
14 * Add support for CSS Scroll Snap Module Level 1
15 * Fix `ruby-align: space-around` support
16
17 ## css-sanitizer 6.0.0 (2025-07-23)
18
19 New modules:
20 * Add support for CSS Box Sizing Level 4 (as seen in draft from 2025-02-24)
21 - values: stretch, fit-content, and contain;
22 - properties: aspect-ratio, contain-intrinsic-* (size, width, height,
23 block-size, inline-size), min-intrinsic-size;
24 * Update Color to Level 4 (2025-04-24)
25 * Update Values and Units to Level 4 (WD 2024-03-12)
26 * Add support for Ruby Level 1 (WD 2022-12-31)
27 * Add support for Transforms Level 2 (WD 2021-11-09)
28 * Update Overflow Level 3 to WD 2023-03-29 and add support for Overflow Level 4
29 (WD 2023-03-21)
30 * Add support for Lists and Counters Level 3 (WD 2020-11-17) and Counter Styles
31 Level 3 (WD 2021-07-27)
32
33 Substantive updates:
34 * Update Align Level 3 to WD 2025-03-11
35 * Update Backgrounds Level 3 to CRD 2024-03-11
36 * Update Display Level 3 to CR 2023-03-30
37 * Update Compositing Level 1 to CRD 2024-03-21
38 * Update Images Level 3 to CRD 2023-12-18
39 * Update Masking Level 1 to CRD 2021-08-05
40 * Update Paged Media Level 3 to WD 2023-09-14
41 * Update Position Level 3 to WD 2025-03-11
42 * Update Pseudo-Elements Level 4 to WD 2022-12-30
43 * Update Shapes Level 1 to CRD 2022-11-15
44 * Update User Interface Level 4 to WD 2021-03-16
45
46 Documentation-only updates:
47 * Update Animations Level 1 to WD 2023-03-02
48 * Update Cascade Level 4 to CR 2022-01-13
49 * Update Easing Level 1 to CRD 2023-02-13
50 * Update Grid Level 1 to CRD 2025-03-26
51 * Update Multi-column Layout Level 1 to CR 2024-05-16
52 * Update Syntax Level 3 to CRD 2021-12-24
53 * Update Text Level 3 to CRD 2024-09-30
54 * Update Text Decoration Level 3 to CRD 2022-05-05
55
56 ## css-sanitizer 5.5.0 (2025-01-27)
57 * Ensure <-token and identifiers are always separated as a security
58 paranoia measure
59 * Add support for prefers-reduced-motion, prefers-reduced-transparency,
60 prefers-contrast and forced-colors media queries
61 * Add support for light-dark() color function
62 * [build] Bump dependencies
63
64 ## css-sanitizer 5.4.0 (2024-10-30)
65 * Add support for `:dir()` pseudo-class
66 * Add support for CSS Logical 1 properties and values
67
68 * code: Use explicit nullable type on parameter arguments
69 * build: Phan must ignore EmptyIterator type in UnorderedGroup
70 * build: Updating composer dependencies
71 * build: Updating mediawiki/mediawiki-codesniffer to 44.0.0
72 * build: Allow wikimedia/scopedcallback 5.0.0
73 * build: Allow wikimedia/testing-access-wrapper 3.0.0
74 * build: Remove use of `$PHPUNIT_ARGS`
75
76 ## css-sanitizer 5.3.0 (2024-04-18)
77 * Harden security by disallowing CSS custom properties for `border-color`
78 * Add support for fallback values for CSS custom properties in color attributes.
79
80 ## css-sanitizer 5.2.0 (2024-04-03)
81 * Add support for CSS custom properties in color attributes
82 * [build] Bump dependencies
83
84 ## css-sanitizer 5.1.0 (2024-02-21)
85 * Drop support for wikimedia/utfnormal 2.x
86 * Change use of AtEase to at operator
87 * Support @media (prefers-color-scheme:...) rule
88 * [build] Bump dependencies
89
90 ## css-sanitizer 5.0.0 (2023-08-29)
91 * Drop support for PHP < 7.4
92 * Support wikimedia/utfnormal ^4.0.0
93 * [build] Bump dependencies
94
95 ## css-sanitizer 4.0.1 (2022-07-09)
96 * Allow wikimedia/scoped-callback 4.0.0
97
98 ## css-sanitizer 4.0.0 (2022-07-03)
99 * Update for new versions of various standards
100 * Add return types to inbuilt interfaces
101 * [build] Bump dependencies
102
103 ## css-sanitizer 3.0.2 (2021-03-21)
104 * Relax wikimedia/at-ease to ^2.0.0
105 * [build] Bump dependencies
106
107 ## css-sanitizer 3.0.1 (2021-01-30)
108 * Support wikimedia/utfnormal ^3.0.1
109
110 ## css-sanitizer 3.0.0 (2021-01-04)
111 * Drop support for PHP < 7.2 and HHVM
112 * Switch to PHPUnit 8; drop support for PHPUnit 4
113 * Remove support for wikimedia/utfnormal 1.1.0
114 * Make Parser::CV_DEPTH_LIMIT private
115 * [BREAKING CHANGE] Rename match() and Match class for PHP 8.0
116 * [build] Bump dependencies
117
118 ## css-sanitizer 2.0.1 (2019-02-11)
119 * [build] Bump dependencies
120
121 ## css-sanitizer 2.0.0 (2018-08-24)
122 * Update for new versions of various standards
123 * Add CSS Intrinsic and Extrinsic Sizing Level 3
124 * Add hoisting option to StyleRuleSanitizer selector handling
125
126 ## css-sanitizer 1.0.6 (2018-04-18)
127 * [build] Bump dependencies
128
129 ## css-sanitizer 1.0.5 (2018-04-02)
130 * Workaround IE parsing bug
131 * [build] Bump dependencies
132
133 ## css-sanitizer 1.0.4 (2018-02-27)
134 * Optionally depend on wikimedia/utfnormal 2.0.0
135 * [build] Bump dependencies
136
137 ## css-sanitizer 1.0.3 (2018-01-17)
138 * [build] Bump dependencies
139
140 ## css-sanitizer 1.0.2 (2017-06-13)
141 * [SECURITY] Escape angle brackets numerically in strings and identifiers
142
143 ## css-sanitizer 1.0.1 (2017-06-06)
144 * Fix escaping of various characters
145
146 ## css-sanitizer 1.0.0 (2017-04-06)
147 * Initial release.