diff --git a/CHANGELOG.md b/CHANGELOG.md index 60238e0f..1ec0a72c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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). diff --git a/USAGE_BATIK_JFX_JS.md b/USAGE_BATIK_JFX_JS.md index 71598672..6c39241d 100644 --- a/USAGE_BATIK_JFX_JS.md +++ b/USAGE_BATIK_JFX_JS.md @@ -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") } @@ -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") } @@ -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") } } } diff --git a/Writerside/topics/geospatial_charts.md b/Writerside/topics/geospatial_charts.md index f3b65e4a..bbdd24b7 100644 --- a/Writerside/topics/geospatial_charts.md +++ b/Writerside/topics/geospatial_charts.md @@ -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 @@ -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 diff --git a/build.gradle.kts b/build.gradle.kts index c5588ed1..fcd65507 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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 } diff --git a/devdocs/RELEASE.md b/devdocs/RELEASE.md index 47264dcd..4f9d74d0 100644 --- a/devdocs/RELEASE.md +++ b/devdocs/RELEASE.md @@ -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). diff --git a/future_changes.md b/future_changes.md index c35bca5e..0e7bb1b0 100644 --- a/future_changes.md +++ b/future_changes.md @@ -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) diff --git a/plot-api/src/jvmMain/resources/letsPlotKotlinAPI/version.properties b/plot-api/src/jvmMain/resources/letsPlotKotlinAPI/version.properties index 808e9efe..55f79026 100644 --- a/plot-api/src/jvmMain/resources/letsPlotKotlinAPI/version.properties +++ b/plot-api/src/jvmMain/resources/letsPlotKotlinAPI/version.properties @@ -1,2 +1,2 @@ lets_plot.version=4.5.1 -lets_plot_kotlin_api.version=4.9.1-SNAPSHOT \ No newline at end of file +lets_plot_kotlin_api.version=4.9.1 \ No newline at end of file