Skip to content

Commit

Permalink
Release v4.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
alshan committed Nov 18, 2024
1 parent 09efb9b commit 8f19b4c
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 32 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ 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.1] - 2024-11-18

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

### Changed

- Migrated to new Kotlin Jupyter integration.


## [4.9.0] - 2024-11-01

This release is 100% compatible with Lets-Plot [v 4.5.1](https://github.com/JetBrains/lets-plot/releases/tag/v4.5.1).
Expand Down
6 changes: 3 additions & 3 deletions USAGE_BATIK_JFX_JS.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ plugins {

dependencies {
// Lets-Plot Kotlin API
implementation("org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.9.0")
implementation("org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.9.1")
// Lets-Plot Multiplatform (Batik rendering)
implementation("org.jetbrains.lets-plot:lets-plot-batik:4.5.1")
}
Expand All @@ -75,7 +75,7 @@ plugins {

dependencies {
// Lets-Plot Kotlin API
implementation("org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.9.0")
implementation("org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.9.1")
// Lets-Plot Multiplatform (JFX Scene rendering)
implementation("org.jetbrains.lets-plot:lets-plot-jfx:4.5.1")
}
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.0")
implementation("org.jetbrains.lets-plot:lets-plot-kotlin-js:4.9.1")
}
}
}
Expand Down
30 changes: 5 additions & 25 deletions Writerside/topics/geospatial_charts.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,22 +53,17 @@ You can include it into a Gradle project.
implementation 'org.jetbrains.lets-plot-kotlin:lets-plot-kotlin-geotools:%version%'
```

The `gt-geojson` artifact from GeoTools must be also included.
The `gt-geojson` artifact from GeoTools must be also included (see compatible version in [CHANGELOG.md](https://github.com/JetBrains/lets-plot-kotlin/blob/master/CHANGELOG.md)).

```groovy
dependencies {
...
implementation "org.jetbrains.lets-plot-kotlin:lets-plot-kotlin-geotools:%version%"
implementation "org.geotools:gt-geojson:[30,)"
implementation "org.geotools:gt-geojson:[32.1]"
...
}
```

The `lets-plot-kotlin-api` artifact was compiled with GeoTools v30.1. However, it doesn't declare any run-time dependency,
so you are free to use other versions of the GeoTools toolkit.

> Since v4.6.0 *Lets-Plot* is only compatible with GeoTools v30 and later.
### JVM-Based Examples

The ['geotools-batik'](https://github.com/JetBrains/lets-plot-kotlin/tree/master/demo/geotools-batik) subproject
Expand All @@ -86,26 +81,11 @@ You can include all necessary dependencies into your notebook using the followin
%use lets-plot-gt
```

By default, the `lets-plot-gt` magic installs the latest version of GeoTools artifacts - it uses "[30,)" version specification.

Thus, when declaring additional GeoTools dependencies in your notebook, you can do it as follows:

```
@file:DependsOn("org.geotools:gt-shapefile:[30,)")
@file:DependsOn("org.geotools:gt-cql:[30,)")
```

If you have to use any different then the latest version of GeoTools, use the `gt` parameter in the `lets-plot-gt`
magic to avoid possible compatibility issues.

```
%use lets-plot
%use lets-plot-gt(gt=31)
```
When declaring additional GeoTools dependencies, check the compatible version in the [CHANGELOG.md](https://github.com/JetBrains/lets-plot-kotlin/blob/master/CHANGELOG.md):

```
@file:DependsOn("org.geotools:gt-shapefile:31")
@file:DependsOn("org.geotools:gt-cql:31")
@file:DependsOn("org.geotools:gt-shapefile:[32.1]")
@file:DependsOn("org.geotools:gt-cql:[32.1]")
```

### Example Notebooks
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ allprojects {
group = "org.jetbrains.lets-plot"
version = when (name) {
"dokka" -> "4.9.0"
else -> "4.9.1-SNAPSHOT"
else -> "4.9.2-SNAPSHOT"
// else -> "0.0.0-SNAPSHOT" // for local publishing only
}

Expand Down
2 changes: 1 addition & 1 deletion devdocs/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

- remove _"-SNAPSHOT"_ qualifier (the 'version' property in the root 'build.gradle.kts').

> Update the artifact version in
> Update the artifact version in (also GeoTools version if needed):
> - [README.md](../README.md)
> - [USAGE_BATIK_JFX_JS.md](../USAGE_BATIK_JFX_JS.md)
> - [geospatial-charts.md](../Writerside/topics/geospatial_charts.md).
Expand Down
2 changes: 1 addition & 1 deletion future_changes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## [4.9.1] - 202y-mm-dd
## [4.9.2] - 202y-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),
GeoTools [v 32.1](https://github.com/geotools/geotools/releases/tag/32.0)
Expand Down
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.1-SNAPSHOT
lets_plot_kotlin_api.version=4.9.1

0 comments on commit 8f19b4c

Please sign in to comment.