Skip to content

Commit fcfb71a

Browse files
committed
Release v4.11.2
1 parent cea80a2 commit fcfb71a

File tree

8 files changed

+35
-23
lines changed

8 files changed

+35
-23
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,26 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres
66
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). All scales should have the 'format' parameter.
77

8+
## [4.11.2] - 2025-09-12
9+
10+
This release is 100% compatible with Lets-Plot [v 4.7.3](https://github.com/JetBrains/lets-plot/releases/tag/v4.7.3),
11+
GeoTools [v 33.2](https://github.com/geotools/geotools/releases/tag/33.2)
12+
13+
### Changed
14+
15+
- `ggsave()`: large plot dimensions without units now require explicit `unit` specification. <br>
16+
When plot size exceeds 20 without specifying units (e.g., `ggsave(p, w=300, h=400)`), <br>
17+
we ask to specify units explicitly: <br>
18+
`ggsave(p, w=300, h=400, unit="px")` or `ggsave(p, w=3, h=4, unit="in")`.
19+
20+
### Fixed
21+
22+
- `ggtb()` support in Swing/Batik frontend [[LPK-265](https://github.com/JetBrains/lets-plot-kotlin/issues/265)].
23+
- Multiline support for axis labels in polar coordinates.
24+
- When the plot size in `ggsave()` is specified in pixels, `dpi` now affects <br>
25+
only the physical size, not the pixel dimensions as before.
26+
- Blocking `SwingUtilities.invokeAndWait()` call on plot image export (JVM app)
27+
828

929
## [4.11.1] - 2025-09-02
1030

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ In this case the latest `library descriptor` will be pulled from the [Kotlin Jup
103103
#### Library Descriptor Parameters
104104

105105
```
106-
%use lets-plot(v=4.11.1, isolatedFrame=false)
106+
%use lets-plot(v=4.11.2, isolatedFrame=false)
107107
```
108108
- `v` - version of the Lets-Plot Kotlin API.
109109
- `isolatedFrame` - If `false`: load JS just once per notebook (default in Jupyter).

USAGE_BATIK_JFX_JS.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ plugins {
5252

5353
dependencies {
5454
// Lets-Plot Kotlin API
55-
implementation("org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.11.1")
55+
implementation("org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.11.2")
5656
// Lets-Plot Multiplatform (Batik rendering)
57-
implementation("org.jetbrains.lets-plot:lets-plot-batik:4.7.2")
57+
implementation("org.jetbrains.lets-plot:lets-plot-batik:4.7.3")
5858
}
5959
```
6060

@@ -75,9 +75,9 @@ plugins {
7575

7676
dependencies {
7777
// Lets-Plot Kotlin API
78-
implementation("org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.11.1")
78+
implementation("org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.11.2")
7979
// Lets-Plot Multiplatform (JFX Scene rendering)
80-
implementation("org.jetbrains.lets-plot:lets-plot-jfx:4.7.2")
80+
implementation("org.jetbrains.lets-plot:lets-plot-jfx:4.7.3")
8181
}
8282
```
8383

@@ -95,7 +95,7 @@ kotlin {
9595
named("jsMain") {
9696
dependencies {
9797
// Lets-Plot Kotlin API
98-
implementation("org.jetbrains.lets-plot:lets-plot-kotlin-js:4.11.1")
98+
implementation("org.jetbrains.lets-plot:lets-plot-kotlin-js:4.11.2")
9999
}
100100
}
101101
}
@@ -193,7 +193,7 @@ val rawSpec = figure.toSpec()
193193
```kotlin
194194
val html: String = PlotHtmlExport.buildHtmlFromRawSpecs(
195195
plotSpec = rawSpec,
196-
scriptUrl = PlotHtmlHelper.scriptUrl(version="4.7.2"),
196+
scriptUrl = PlotHtmlHelper.scriptUrl(version="4.7.3"),
197197
iFrame = true
198198
)
199199
```

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ if (project.file("local.properties").exists()) {
3636

3737
allprojects {
3838
group = "org.jetbrains.lets-plot"
39-
version = "4.11.2-SNAPSHOT"
39+
version = "4.11.3-SNAPSHOT"
4040
// version = "0.0.0-SNAPSHOT" // for local publishing only
4141

4242
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().all {
@@ -62,7 +62,7 @@ val mavenReleasePublishUrl by extra { layout.buildDirectory.dir("maven/artifacts
6262
// define Maven Snapshot repository URL.
6363
val mavenSnapshotPublishUrl by extra { "https://central.sonatype.com/repository/maven-snapshots/" }
6464

65-
// Configure a workaround tasks for publishing to the Sonatype Central Repository,
65+
// Configure workaround tasks for publishing to the Sonatype Central Repository,
6666
// as there is currently no official Gradle plugin support.
6767
// Refer to documentation: https://central.sonatype.org/publish/publish-portal-gradle/
6868
val packageMavenArtifacts by tasks.registering(Zip::class) {
@@ -150,7 +150,7 @@ subprojects {
150150
}
151151

152152
afterEvaluate {
153-
// Add LICENSE file to the META-INF folder inside published JAR files
153+
// Add the LICENSE file to the META-INF folder inside published JAR files
154154
tasks.filterIsInstance<org.gradle.jvm.tasks.Jar>()
155155
.forEach {
156156
it.metaInf {

devdocs/RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
### Make Version
44

55
##### 1. Update CHANGELOG.md file
6-
Also update "What's New" section in the README.md file.
6+
Also update the "What's New" section in the README.md file.
77

88
##### 2. Set the Release Version
99

future_changes.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
1-
## [4.11.2] - 2025-mm-dd
1+
## [4.11.3] - 2025-mm-dd
22

33
This release is 100% compatible with Lets-Plot [v 4.7.3](https://github.com/JetBrains/lets-plot/releases/tag/v4.7.3),
44
GeoTools [v 33.2](https://github.com/geotools/geotools/releases/tag/33.2)
55

66
### Added
77

88
### Changed
9-
- `ggsave()`: Large plot dimensions without units now require explicit unit specification. <br>
10-
When plot size exceeds 20 without specifying units (e.g., `ggsave(p, w=300, h=400)`), <br>
11-
we ask to specify units explicitly: <br>
12-
`ggsave(p, w=300, h=400, unit="px")` or `ggsave(p, w=3, h=4, unit="in")`.
139

1410
### Fixed
15-
- Multiline support for axis labels in polar coordinates.
16-
- When the plot size in `ggsave()` is specified in pixels, `dpi` now affects <br>
17-
only the physical size, not the pixel dimensions as before.
18-
- Blocking `SwingUtilities.invokeAndWait()` call in plot image export (AWT backend)

plot-api/src/jvmMain/kotlin/org/jetbrains/letsPlot/export/ggsave.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ private const val DEF_EXPORT_DIR = "lets-plot-images"
3131
* Large plot dimensions without units require explicit unit specification.
3232
* When `w` or `h` value exceeds 20 without specifying units (e.g., `ggsave(p, 300, 400)`),
3333
* we ask to specify units explicitly:
34-
* `ggsave(p, 300, 400, unit='px')` or `ggsave(p, 3, 4, unit='in')`.
34+
* `ggsave(p, 300, 400, unit="px")` or `ggsave(p, 3, 4, unit="in")`.
3535
*
3636
* The output format is inferred from the file extension.
3737
*
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
lets_plot.version=4.7.2
2-
lets_plot_kotlin_api.version=4.11.1
1+
lets_plot.version=4.7.3
2+
lets_plot_kotlin_api.version=4.11.2

0 commit comments

Comments
 (0)