Skip to content

Commit b41f335

Browse files
committed
chore(javascript): Release 0.20.0
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
1 parent 8eb262a commit b41f335

File tree

19 files changed

+86
-67
lines changed

19 files changed

+86
-67
lines changed

bindings/javascript/CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## [Unreleased]
44

5+
## [0.20.0] - 2026-02-07
6+
57
### Added
68

79
- `applyWidthAttributes` and `applyHeightAttributes` options to add dimension HTML attributes from CSS properties on supported elements (`table`, `td`, `th`, `img`). [#652](https://github.com/Stranger6667/css-inline/issues/652)
@@ -187,7 +189,8 @@
187189

188190
- Initial public release
189191

190-
[Unreleased]: https://github.com/Stranger6667/css-inline/compare/javascript-v0.19.2...HEAD
192+
[Unreleased]: https://github.com/Stranger6667/css-inline/compare/javascript-v0.20.0...HEAD
193+
[0.20.0]: https://github.com/Stranger6667/css-inline/compare/javascript-v0.19.2...javascript-v0.20.0
191194
[0.19.2]: https://github.com/Stranger6667/css-inline/compare/javascript-v0.19.1...javascript-v0.19.2
192195
[0.19.1]: https://github.com/Stranger6667/css-inline/compare/javascript-v0.19.0...javascript-v0.19.1
193196
[0.19.0]: https://github.com/Stranger6667/css-inline/compare/javascript-v0.18.0...javascript-v0.19.0

bindings/javascript/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "css-inline-js"
3-
version = "0.19.2"
3+
version = "0.20.0"
44
authors = ["Dmitry Dygalo <dmitry@dygalo.dev>"]
55
edition = "2024"
66
readme = "README.md"

bindings/javascript/js-binding.d.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,20 @@ export interface Options {
3737
preallocateNodeCapacity?: number
3838
/** Remove selectors that were successfully inlined from inline `<style>` blocks. */
3939
removeInlinedSelectors?: boolean
40+
/**
41+
* Apply `width` HTML attributes from CSS `width` properties on supported elements.
42+
*
43+
* This is useful for email compatibility with clients like Outlook that ignore CSS width.
44+
* Supported elements: `table`, `td`, `th`, `img`.
45+
*/
46+
applyWidthAttributes?: boolean
47+
/**
48+
* Apply `height` HTML attributes from CSS `height` properties on supported elements.
49+
*
50+
* This is useful for email compatibility with clients like Outlook that ignore CSS height.
51+
* Supported elements: `table`, `td`, `th`, `img`.
52+
*/
53+
applyHeightAttributes?: boolean
4054
}
4155

4256
export interface StylesheetCache {

bindings/javascript/js-binding.js

Lines changed: 52 additions & 52 deletions
Large diffs are not rendered by default.

bindings/javascript/npm/android-arm-eabi/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@css-inline/css-inline-android-arm-eabi",
3-
"version": "0.19.2",
3+
"version": "0.20.0",
44
"description": "High-performance library for inlining CSS into HTML 'style' attributes",
55
"keywords": [
66
"css",

bindings/javascript/npm/android-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@css-inline/css-inline-android-arm64",
3-
"version": "0.19.2",
3+
"version": "0.20.0",
44
"description": "High-performance library for inlining CSS into HTML 'style' attributes",
55
"keywords": [
66
"css",

bindings/javascript/npm/darwin-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@css-inline/css-inline-darwin-arm64",
3-
"version": "0.19.2",
3+
"version": "0.20.0",
44
"description": "High-performance library for inlining CSS into HTML 'style' attributes",
55
"keywords": [
66
"css",

bindings/javascript/npm/darwin-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@css-inline/css-inline-darwin-x64",
3-
"version": "0.19.2",
3+
"version": "0.20.0",
44
"description": "High-performance library for inlining CSS into HTML 'style' attributes",
55
"keywords": [
66
"css",

bindings/javascript/npm/linux-arm-gnueabihf/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@css-inline/css-inline-linux-arm-gnueabihf",
3-
"version": "0.19.2",
3+
"version": "0.20.0",
44
"description": "High-performance library for inlining CSS into HTML 'style' attributes",
55
"keywords": [
66
"css",

bindings/javascript/npm/linux-arm64-gnu/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@css-inline/css-inline-linux-arm64-gnu",
3-
"version": "0.19.2",
3+
"version": "0.20.0",
44
"description": "High-performance library for inlining CSS into HTML 'style' attributes",
55
"keywords": [
66
"css",

0 commit comments

Comments
 (0)