Skip to content

Commit 991b59d

Browse files
committed
Upload artifacts 4.1.1 to Maven central, update docs.
1 parent fc1be9f commit 991b59d

File tree

7 files changed

+96
-91
lines changed

7 files changed

+96
-91
lines changed

CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,47 @@ 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.1.1] - 2022-11-08
9+
10+
### Added
11+
12+
- In `geomText(), geomLabel()`:
13+
14+
- the 'newline' character (`\n`) now works as `line break`
15+
- `lineheight` aesthetic
16+
- `nudgeX, nudgeY` parameters
17+
- special text alignments (`vjust` and `hjust`): `"inward"` and `"outward"`
18+
19+
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/f-4.1.1/geom_text_and_label_new_features.ipynb).
20+
21+
- `vjust` parameter in `positionStack()` and `positionFill()`.
22+
23+
See: [example notebook](https://nbviewer.jupyter.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/position_stack.ipynb).
24+
25+
### Changed
26+
27+
- Deprecated API:
28+
- `positionStack`, new usage: `positionStack()`
29+
- `positionFill`, new usage: `positionFill()`
30+
31+
- `geomBoxplot()`: default value for parameter `whiskerWidth` is 0.5.
32+
33+
- Upgraded Kotlin version to 1.7.20 (was 1.6.21).
34+
- Upgraded Lets-Plot version to 2.5.1 (was 2.5.0).
35+
36+
See Lets-Plot [What is new in 2.5.1](https://github.com/JetBrains/lets-plot#what-is-new-in-251)
37+
for more details.
38+
39+
### Fixed
40+
41+
- `elementBlank()` has no effect in theme `legendTitle` [[#608](https://github.com/JetBrains/lets-plot/issues/608)].
42+
- Tooltip: different formats for same aesthetic Y [[#579](https://github.com/JetBrains/lets-plot/issues/579)].
43+
- Positioning with "constant" x/y doesn't work on axis with log10 transform [[#618](https://github.com/JetBrains/lets-plot/issues/618)].
44+
- Positional "constant" doesn't honor axis limits [[#619](https://github.com/JetBrains/lets-plot/issues/619)].
45+
- Several issues leading to crush in Swing/Batik apps. Related to [[discussions](https://github.com/JetBrains/lets-plot-kotlin/discussions/138)]
46+
- Text labels got trimmed occasionally, when symbols `-`, `/`, `\` or `|` present.
47+
48+
849
## [4.1.0] - 2022-09-30
950

1051
### Added

README.md

Lines changed: 13 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@
4343
- [Saving plot to file](#export)
4444
- [GeoTools support](#geotools)
4545

46+
- [What is new in 4.1.1](#new411)
4647
- [What is new in 4.1.0](#new)
47-
- [What is new in 4.0.0](#new4)
48-
- [Migrating to 4.0.0](#migrating4)
48+
- [Migrating from v3 to v4](#migrating4)
4949

5050
- [Change log](#change_log)
5151
- [License](#license)
@@ -266,6 +266,16 @@ individual `Geometry` and `ReferencedEnvelope` objects.
266266
Learn more: [GeoTools Support](https://github.com/JetBrains/lets-plot-kotlin/blob/master/docs/geotools.md).
267267

268268

269+
<a id="new411"></a>
270+
## What is new in 4.1.1
271+
272+
- New rendering options in `geomText(), geomLabel()`
273+
- `vjust` parameter in `positionStack()` and `positionFill()`
274+
275+
See [CHANGELOG.md](https://github.com/JetBrains/lets-plot-kotlin/blob/master/CHANGELOG.md)
276+
for more details.
277+
278+
269279
<a id="new"></a>
270280
## What is new in 4.1.0
271281

@@ -328,31 +338,8 @@ Learn more: [GeoTools Support](https://github.com/JetBrains/lets-plot-kotlin/blo
328338
for details.
329339

330340

331-
<a id="new4"></a>
332-
## What is new in 4.0.0
333-
334-
- ### Improvements in the [API reference](https://lets-plot.org/kotlin) documentation
335-
336-
- Clean navigation tree - non-API elements were removed; improved packages structure
337-
- References on external documentation, demo-notebooks and, sometimes, code examples were added to many API elements
338-
and
339-
packages:
340-
- [org.jetbrains.letsPlot.sampling](https://lets-plot.org/kotlin/-lets--plot--kotlin/org.jetbrains.letsPlot.sampling/index.html)
341-
- [geomBin2D](https://lets-plot.org/kotlin/-lets--plot--kotlin/org.jetbrains.letsPlot.geom/geom-bin2-d/index.html) (
342-
see "Examples" section)
343-
344-
- ### (!) Breaking Changes
345-
346-
Due to refactorings performed in the source code, the v4.0.0 is no longer backward compatible with earlier versions of
347-
the Lets-Plot Kotlin API.
348-
349-
Most notably, all packages were renamed to include the "**org**" prefix in their names.
350-
351-
See [CHANGELOG.md](https://github.com/JetBrains/lets-plot-kotlin/blob/master/CHANGELOG.md#400---2022-07-25) for more information.
352-
353341
<a id="migrating4"></a>
354-
355-
### Migrating to 4.0.0
342+
## Migrating from v3 to v4
356343
357344
For migration instructions see [Migrating to 4.0.0](https://github.com/JetBrains/lets-plot-kotlin/blob/master/CHANGELOG.md#migrating-to-400) section in the CHANGELOG.
358345

README_DEV.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,17 @@ repositories {
8484

8585
```groovy
8686
dependencies {
87-
implementation "org.jetbrains.lets-plot:lets-plot-batik:2.5.0"
88-
implementation "org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.1.0"
87+
implementation "org.jetbrains.lets-plot:lets-plot-batik:2.5.1"
88+
implementation "org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.1.1"
8989
}
9090
```
9191

9292
- JVM/Swing/JavaFX application:
9393

9494
```groovy
9595
dependencies {
96-
implementation "org.jetbrains.lets-plot:lets-plot-jfx:2.5.0"
97-
implementation "org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.1.0"
96+
implementation "org.jetbrains.lets-plot:lets-plot-jfx:2.5.1"
97+
implementation "org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.1.1"
9898
}
9999
```
100100

@@ -106,16 +106,16 @@ If your JVM app doesn't use either frontend, you can provide just "lets-plot-com
106106

107107
```groovy
108108
dependencies {
109-
implementation "org.jetbrains.lets-plot:lets-plot-common:2.5.0"
110-
implementation "org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.1.0"
109+
implementation "org.jetbrains.lets-plot:lets-plot-common:2.5.1"
110+
implementation "org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.1.1"
111111
}
112112
```
113113

114114
- Kotlin/JS application:
115115

116116
```groovy
117117
dependencies {
118-
implementation "org.jetbrains.lets-plot:lets-plot-kotlin-js:4.1.0"
118+
implementation "org.jetbrains.lets-plot:lets-plot-kotlin-js:4.1.1"
119119
}
120120
```
121121

@@ -150,8 +150,8 @@ The following steps describe how to use `Lets-Plot` JVM "backend" in "browser" f
150150
#### Add dependencies on maven artifacts
151151

152152
```
153-
org.jetbrains.lets-plot:lets-plot-common:2.5.0
154-
org.jetbrains.lets-plot-kotlin:lets-plot-kotlin-jvm:4.1.0
153+
org.jetbrains.lets-plot:lets-plot-common:2.5.1
154+
org.jetbrains.lets-plot-kotlin:lets-plot-kotlin-jvm:4.1.1
155155
```
156156

157157
#### Implement the `jetbrains.letsPlot.FrontendContext` interface:

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ project.extra["buildSettings"] = settings
2525
allprojects {
2626
group = "org.jetbrains.lets-plot"
2727
version = when (name) {
28-
"dokka" -> "4.1.0"
29-
else -> "4.1.1-alpha1"
28+
"dokka" -> "4.1.1"
29+
else -> "4.1.2-alpha1"
3030
}
3131

3232
val version = version as String

0 commit comments

Comments
 (0)