Skip to content

Commit f24256b

Browse files
committed
chore(java): Release 0.17.0
Signed-off-by: Dmitry Dygalo <[email protected]>
1 parent d77ba74 commit f24256b

File tree

4 files changed

+13
-10
lines changed

4 files changed

+13
-10
lines changed

bindings/java/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.17.0] - 2025-07-26
6+
57
### Added
68

79
- `keep_at_rules` option to keep all "at-rules" (ones starting with `@`) inside a "style" element [#265](https://github.com/Stranger6667/css-inline/issues/265)
@@ -34,5 +36,6 @@
3436

3537
- Initial public release
3638

37-
[Unreleased]: https://github.com/Stranger6667/css-inline/compare/java-v0.16.0...HEAD
39+
[Unreleased]: https://github.com/Stranger6667/css-inline/compare/java-v0.17.0...HEAD
40+
[0.17.0]: https://github.com/Stranger6667/css-inline/compare/java-v0.16.0...java-v0.17.0
3841
[0.16.0]: https://github.com/Stranger6667/css-inline/compare/java-v0.15.0...java-v0.16.0

bindings/java/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"
3-
version = "0.16.0"
3+
version = "0.17.0"
44
edition = "2024"
55
authors = ["Dmitry Dygalo <[email protected]>"]
66

bindings/java/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ repositories {
6464
}
6565
6666
dependencies {
67-
implementation 'org.css-inline:css-inline:0.16.0'
67+
implementation 'org.css-inline:css-inline:0.17.0'
6868
}
6969
```
7070

@@ -81,7 +81,7 @@ dependencies {
8181
<dependency>
8282
<groupId>org.css-inline</groupId>
8383
<artifactId>css-inline</artifactId>
84-
<version>0.16.0</version>
84+
<version>0.17.0</version>
8585
</dependency>
8686
</dependencies>
8787
```
@@ -250,12 +250,12 @@ Such tags will be kept in the resulting HTML even if the `keep_style_tags` optio
250250

251251
Here is the performance comparison:
252252

253-
| | Size | `css-inline 0.15.0` | `CSSBox 5.0.0` |
253+
| | Size | `css-inline 0.17.0` | `CSSBox 5.0.0` |
254254
|-------------|---------|---------------------|------------------------|
255-
| Basic | 230 B | 7.69 µs | 53.38 µs (**6.94x**) |
256-
| Realistic-1 | 8.58 KB | 123.36 µs | 1.55 ms (**12.60x**) |
257-
| Realistic-2 | 4.3 KB | 75.76 µs | 365.28 µs (**4.82x**) |
258-
| GitHub page | 1.81 MB | 167.96 ms | 317.85 ms (**1.89x**) |
255+
| Basic | 230 B | 7.43 µs | 52.02 µs (**7.00x**) |
256+
| Realistic-1 | 8.58 KB | 119.54 µs | 1.56 ms (**13.13x**) |
257+
| Realistic-2 | 4.3 KB | 75.23 µs | 360.92 µs (**4.79x**) |
258+
| GitHub page | 1.81 MB | 161.46 ms | 306.47 ms (**1.89x**) |
259259

260260
The benchmarking code is available in the `src/jmh/java/org/cssinline/CSSInlineBench.java` file. The benchmarks were conducted using the stable `rustc 1.87`, `OpenJDK 24.0.1` on Ryzen 9 9950X.
261261

bindings/java/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
}
66

77
group = 'org.css-inline'
8-
version = System.getenv('VERSION') ?: '0.16.0-SNAPSHOT'
8+
version = System.getenv('VERSION') ?: '0.17.0-SNAPSHOT'
99

1010
java {
1111
sourceCompatibility = JavaVersion.VERSION_17

0 commit comments

Comments
 (0)