Skip to content

Commit

Permalink
Release v4.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
alshan committed Dec 16, 2024
1 parent 2631545 commit 97e1da4
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 14 deletions.
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,39 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). All scales should have the 'format' parameter.

## [4.9.3] - 2024-12-16

This release is 100% compatible with Lets-Plot [v 4.5.2](https://github.com/JetBrains/lets-plot/releases/tag/v4.5.2),
GeoTools [v 32.1](https://github.com/geotools/geotools/releases/tag/32.0)

### Changed

- Number formatting:
- We have aligned our specifications with D3.js (rather than Python): `g` format type with `~` (e.g. `~g`) now truncates trailing zeros, and without `~` it doesn't.
- The default number formatter now respects `theme(exponent_format=...)` settings and does not use 's' format type for large numbers.
- Legends with more than 200 items are now not rendered.

### Fixed

- Bad precision in the default tooltip format when using coord limits [[#1134](https://github.com/JetBrains/lets-plot/issues/1134)].
- Display integer values without fractional part in tooltips [[#1186](https://github.com/JetBrains/lets-plot/issues/1186)].
- Suboptimal tooltip positioning in facets [[#1187](https://github.com/JetBrains/lets-plot/issues/1187)].
- Incorrect Y-axis layout with facets and panel_inset [[#1194](https://github.com/JetBrains/lets-plot/issues/1194)].
- Grouped plot hits the limit of 1000 and doesn't render with not-friendly exception [[#1224](https://github.com/JetBrains/lets-plot/issues/1224)].
- Kandy toPNG reports NullPointerException [[#1228](https://github.com/JetBrains/lets-plot/issues/1228)]
- Wrong formatting when type='g' for small values [[#1238](https://github.com/JetBrains/lets-plot/issues/1238)].
- Formatting when type='g' for large values throws exception [[#1239](https://github.com/JetBrains/lets-plot/issues/1239)].
- Wrong formatting when type='s' with explicit precision [[#1240](https://github.com/JetBrains/lets-plot/issues/1240)].
- Extra trim in formatted number when type='g' [[#1241](https://github.com/JetBrains/lets-plot/issues/1241)].
- Axis breaks are badly formatted if explicitly set [[#1245](https://github.com/JetBrains/lets-plot/issues/1245)].
- Badly formatted zero break for the "~g" format [[#1246](https://github.com/JetBrains/lets-plot/issues/1246)].
- How to adjust the vertical position of geom_text when using position_dodge [[#1248](https://github.com/JetBrains/lets-plot/issues/1248)].
- Incorrect result for format(9.999, ".2f") [[#1251](https://github.com/JetBrains/lets-plot/issues/1251)].
- Tooltips overlapping when not enough vertical space for them [[#1254](https://github.com/JetBrains/lets-plot/issues/1254)].
- Plot limited to 1000 lines (Internal error: IllegalStateException : Too many groups: 1099) [[#1261](https://github.com/JetBrains/lets-plot/issues/1261)].
- Nice to have tooltip to inherit formatting configured for axis [[LPK-229](https://github.com/JetBrains/lets-plot-kotlin/issues/229)].


## [4.9.2] - 2024-11-19

Same as 4.9.1, added missing Maven artifacts.
Expand Down
12 changes: 6 additions & 6 deletions USAGE_BATIK_JFX_JS.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ plugins {

dependencies {
// Lets-Plot Kotlin API
implementation("org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.9.2")
implementation("org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.9.3")
// Lets-Plot Multiplatform (Batik rendering)
implementation("org.jetbrains.lets-plot:lets-plot-batik:4.5.1")
implementation("org.jetbrains.lets-plot:lets-plot-batik:4.5.2")
}
```

Expand All @@ -75,9 +75,9 @@ plugins {

dependencies {
// Lets-Plot Kotlin API
implementation("org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.9.2")
implementation("org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.9.3")
// Lets-Plot Multiplatform (JFX Scene rendering)
implementation("org.jetbrains.lets-plot:lets-plot-jfx:4.5.1")
implementation("org.jetbrains.lets-plot:lets-plot-jfx:4.5.2")
}
```

Expand All @@ -95,7 +95,7 @@ kotlin {
named("jsMain") {
dependencies {
// Lets-Plot Kotlin API
implementation("org.jetbrains.lets-plot:lets-plot-kotlin-js:4.9.2")
implementation("org.jetbrains.lets-plot:lets-plot-kotlin-js:4.9.3")
}
}
}
Expand Down Expand Up @@ -193,7 +193,7 @@ val rawSpec = figure.toSpec()
```kotlin
val html: String = PlotHtmlExport.buildHtmlFromRawSpecs(
plotSpec = rawSpec,
scriptUrl = PlotHtmlHelper.scriptUrl(version="4.5.1"),
scriptUrl = PlotHtmlHelper.scriptUrl(version="4.5.2"),
iFrame = true
)
```
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ if (project.file("local.properties").exists()) {
allprojects {
group = "org.jetbrains.lets-plot"
version = when (name) {
"dokka" -> "4.9.0"
else -> "4.9.3-SNAPSHOT"
"dokka" -> "4.9.3"
else -> "4.9.4-SNAPSHOT"
// else -> "0.0.0-SNAPSHOT" // for local publishing only
}

Expand Down
2 changes: 1 addition & 1 deletion demo/js-frontend-app/src/jsMain/resources/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</head>
<body>
<script type="text/javascript"
src="https://cdn.jsdelivr.net/gh/JetBrains/[email protected].1/js-package/distr/lets-plot.min.js"></script>
src="https://cdn.jsdelivr.net/gh/JetBrains/[email protected].2/js-package/distr/lets-plot.min.js"></script>
<script src="js-frontend-app.js"></script>
<div>
<h2>Lets-Plot Kotlin/JS Demo.</h2>
Expand Down
4 changes: 2 additions & 2 deletions future_changes.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## [4.9.3] - 202y-mm-dd
## [4.9.4] - 2025-mm-dd

This release is 100% compatible with Lets-Plot [v 4.5.1](https://github.com/JetBrains/lets-plot/releases/tag/v4.5.1),
This release is 100% compatible with Lets-Plot [v 4.5.2](https://github.com/JetBrains/lets-plot/releases/tag/v4.5.2),
GeoTools [v 32.1](https://github.com/geotools/geotools/releases/tag/32.0)

### Added
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ ksp.version=1.9.25-1.0.20
jupyterApi.version=0.12.0-313

# Also update JS version in <home>/demo/js-frontend-app/src/main/resources/index.html
letsPlot.version=4.5.1
letsPlot.version=4.5.2
geotools.version=[32.1]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
lets_plot.version=4.5.1
lets_plot_kotlin_api.version=4.9.2
lets_plot.version=4.5.2
lets_plot_kotlin_api.version=4.9.3

0 comments on commit 97e1da4

Please sign in to comment.