diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c2a4746..2fa6c42d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,17 @@ ### Security +## 0.4.1 - 2024-03-15 + +### Changed + +- VisionProperties `flowChanges()` -> `changes` + +### Fixed + +- Bug with ElementVisionRenderer having the same name +- Plotly update problem + ## 0.4.0 - 2024-02-16 ### Added diff --git a/build.gradle.kts b/build.gradle.kts index 6194c770..eb7e4fe4 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -10,7 +10,7 @@ val dataforgeVersion by extra("0.8.0") allprojects { group = "space.kscience" - version = "0.4.1-dev-1" + version = "0.4.1" } subprojects { diff --git a/demo/playground/api/playground.api b/demo/playground/api/playground.api index 45992241..e133494f 100644 --- a/demo/playground/api/playground.api +++ b/demo/playground/api/playground.api @@ -23,6 +23,11 @@ public final class space/kscience/visionforge/examples/ControlVisionKt { public static synthetic fun main ([Ljava/lang/String;)V } +public final class space/kscience/visionforge/examples/DynamicPlotlyVisionKt { + public static final fun main ()V + public static synthetic fun main ([Ljava/lang/String;)V +} + public final class space/kscience/visionforge/examples/ExtrudedKt { public static final fun main ()V public static synthetic fun main ([Ljava/lang/String;)V diff --git a/visionforge-compose-multiplatform/README.md b/visionforge-compose-multiplatform/README.md index 0ba9ae3c..aef4ef10 100644 --- a/visionforge-compose-multiplatform/README.md +++ b/visionforge-compose-multiplatform/README.md @@ -6,7 +6,7 @@ ## Artifact: -The Maven coordinates of this project are `space.kscience:visionforge-compose-multiplatform:0.4.0-dev-3`. +The Maven coordinates of this project are `space.kscience:visionforge-compose-multiplatform:0.4.1`. **Gradle Kotlin DSL:** ```kotlin @@ -16,6 +16,6 @@ repositories { } dependencies { - implementation("space.kscience:visionforge-compose-multiplatform:0.4.0-dev-3") + implementation("space.kscience:visionforge-compose-multiplatform:0.4.1") } ``` diff --git a/visionforge-core/README.md b/visionforge-core/README.md index d1cad403..ebd092d8 100644 --- a/visionforge-core/README.md +++ b/visionforge-core/README.md @@ -6,7 +6,7 @@ ## Artifact: -The Maven coordinates of this project are `space.kscience:visionforge-core:0.4.0-dev-3`. +The Maven coordinates of this project are `space.kscience:visionforge-core:0.4.1`. **Gradle Kotlin DSL:** ```kotlin @@ -16,6 +16,6 @@ repositories { } dependencies { - implementation("space.kscience:visionforge-core:0.4.0-dev-3") + implementation("space.kscience:visionforge-core:0.4.1") } ``` diff --git a/visionforge-core/api/visionforge-core.api b/visionforge-core/api/visionforge-core.api index 90fce073..9586823b 100644 --- a/visionforge-core/api/visionforge-core.api +++ b/visionforge-core/api/visionforge-core.api @@ -49,7 +49,7 @@ public final class space/kscience/visionforge/AbstractVisionGroup$Companion { public class space/kscience/visionforge/AbstractVisionProperties : space/kscience/visionforge/MutableVisionProperties { public fun (Lspace/kscience/visionforge/Vision;Lspace/kscience/dataforge/meta/MutableMeta;)V - public fun flowChanges ()Lkotlinx/coroutines/flow/Flow; + public fun getChanges ()Lkotlinx/coroutines/flow/Flow; protected final fun getChangesInternal ()Lkotlinx/coroutines/flow/MutableSharedFlow; public fun getDescriptor ()Lspace/kscience/dataforge/meta/descriptors/MetaDescriptor; public synthetic fun getOwn ()Lspace/kscience/dataforge/meta/Meta; @@ -647,10 +647,11 @@ public abstract class space/kscience/visionforge/VisionPlugin : space/kscience/d } public abstract interface class space/kscience/visionforge/VisionProperties : space/kscience/dataforge/meta/MetaProvider { - public abstract fun flowChanges ()Lkotlinx/coroutines/flow/Flow; + public fun flowChanges ()Lkotlinx/coroutines/flow/Flow; public fun get (Lspace/kscience/dataforge/names/Name;)Lspace/kscience/dataforge/meta/Meta; public abstract fun get (Lspace/kscience/dataforge/names/Name;Ljava/lang/Boolean;Ljava/lang/Boolean;)Lspace/kscience/dataforge/meta/Meta; public static synthetic fun get$default (Lspace/kscience/visionforge/VisionProperties;Lspace/kscience/dataforge/names/Name;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Lspace/kscience/dataforge/meta/Meta; + public abstract fun getChanges ()Lkotlinx/coroutines/flow/Flow; public abstract fun getDescriptor ()Lspace/kscience/dataforge/meta/descriptors/MetaDescriptor; public abstract fun getOwn ()Lspace/kscience/dataforge/meta/Meta; public fun getValue (Lspace/kscience/dataforge/names/Name;)Lspace/kscience/dataforge/meta/Value; diff --git a/visionforge-gdml/README.md b/visionforge-gdml/README.md index 9c0a8e5a..e26717d4 100644 --- a/visionforge-gdml/README.md +++ b/visionforge-gdml/README.md @@ -6,7 +6,7 @@ ## Artifact: -The Maven coordinates of this project are `space.kscience:visionforge-gdml:0.4.0-dev-3`. +The Maven coordinates of this project are `space.kscience:visionforge-gdml:0.4.1`. **Gradle Kotlin DSL:** ```kotlin @@ -16,6 +16,6 @@ repositories { } dependencies { - implementation("space.kscience:visionforge-gdml:0.4.0-dev-3") + implementation("space.kscience:visionforge-gdml:0.4.1") } ``` diff --git a/visionforge-jupyter/README.md b/visionforge-jupyter/README.md index f2fda065..b5794ea5 100644 --- a/visionforge-jupyter/README.md +++ b/visionforge-jupyter/README.md @@ -6,7 +6,7 @@ Common visionforge jupyter module ## Artifact: -The Maven coordinates of this project are `space.kscience:visionforge-jupyter:0.4.0-dev-3`. +The Maven coordinates of this project are `space.kscience:visionforge-jupyter:0.4.1`. **Gradle Kotlin DSL:** ```kotlin @@ -16,6 +16,6 @@ repositories { } dependencies { - implementation("space.kscience:visionforge-jupyter:0.4.0-dev-3") + implementation("space.kscience:visionforge-jupyter:0.4.1") } ``` diff --git a/visionforge-markdown/README.md b/visionforge-markdown/README.md index 6226bbea..5aa2def9 100644 --- a/visionforge-markdown/README.md +++ b/visionforge-markdown/README.md @@ -6,7 +6,7 @@ ## Artifact: -The Maven coordinates of this project are `space.kscience:visionforge-markdown:0.4.0-dev-3`. +The Maven coordinates of this project are `space.kscience:visionforge-markdown:0.4.1`. **Gradle Kotlin DSL:** ```kotlin @@ -16,6 +16,6 @@ repositories { } dependencies { - implementation("space.kscience:visionforge-markdown:0.4.0-dev-3") + implementation("space.kscience:visionforge-markdown:0.4.1") } ``` diff --git a/visionforge-plotly/README.md b/visionforge-plotly/README.md index 4fdf04e2..1b5c3678 100644 --- a/visionforge-plotly/README.md +++ b/visionforge-plotly/README.md @@ -6,7 +6,7 @@ ## Artifact: -The Maven coordinates of this project are `space.kscience:visionforge-plotly:0.4.0-dev-3`. +The Maven coordinates of this project are `space.kscience:visionforge-plotly:0.4.1`. **Gradle Kotlin DSL:** ```kotlin @@ -16,6 +16,6 @@ repositories { } dependencies { - implementation("space.kscience:visionforge-plotly:0.4.0-dev-3") + implementation("space.kscience:visionforge-plotly:0.4.1") } ``` diff --git a/visionforge-plotly/src/commonMain/kotlin/space/kscience/visionforge/plotly/VisionOfPlotly.kt b/visionforge-plotly/src/commonMain/kotlin/space/kscience/visionforge/plotly/VisionOfPlotly.kt index df619295..444bcb9c 100644 --- a/visionforge-plotly/src/commonMain/kotlin/space/kscience/visionforge/plotly/VisionOfPlotly.kt +++ b/visionforge-plotly/src/commonMain/kotlin/space/kscience/visionforge/plotly/VisionOfPlotly.kt @@ -20,7 +20,7 @@ import space.kscience.visionforge.html.VisionOutput @Serializable @SerialName("vision.plotly") public class VisionOfPlotly private constructor( - @Serializable(MutableMetaSerializer::class) private val meta: MutableMeta, + @Serializable(MutableMetaSerializer::class) public val meta: MutableMeta, ) : Vision { public constructor(plot: Plot) : this(plot.meta) diff --git a/visionforge-server/README.md b/visionforge-server/README.md index 78c6a18f..b7fa4411 100644 --- a/visionforge-server/README.md +++ b/visionforge-server/README.md @@ -6,7 +6,7 @@ ## Artifact: -The Maven coordinates of this project are `space.kscience:visionforge-server:0.4.0-dev-3`. +The Maven coordinates of this project are `space.kscience:visionforge-server:0.4.1`. **Gradle Kotlin DSL:** ```kotlin @@ -16,6 +16,6 @@ repositories { } dependencies { - implementation("space.kscience:visionforge-server:0.4.0-dev-3") + implementation("space.kscience:visionforge-server:0.4.1") } ``` diff --git a/visionforge-solid/README.md b/visionforge-solid/README.md index 177b60ad..e0a6e29b 100644 --- a/visionforge-solid/README.md +++ b/visionforge-solid/README.md @@ -6,7 +6,7 @@ ## Artifact: -The Maven coordinates of this project are `space.kscience:visionforge-solid:0.4.0-dev-3`. +The Maven coordinates of this project are `space.kscience:visionforge-solid:0.4.1`. **Gradle Kotlin DSL:** ```kotlin @@ -16,6 +16,6 @@ repositories { } dependencies { - implementation("space.kscience:visionforge-solid:0.4.0-dev-3") + implementation("space.kscience:visionforge-solid:0.4.1") } ``` diff --git a/visionforge-tables/README.md b/visionforge-tables/README.md index 59af4988..dab2ad0b 100644 --- a/visionforge-tables/README.md +++ b/visionforge-tables/README.md @@ -6,7 +6,7 @@ ## Artifact: -The Maven coordinates of this project are `space.kscience:visionforge-tables:0.4.0-dev-3`. +The Maven coordinates of this project are `space.kscience:visionforge-tables:0.4.1`. **Gradle Kotlin DSL:** ```kotlin @@ -16,6 +16,6 @@ repositories { } dependencies { - implementation("space.kscience:visionforge-tables:0.4.0-dev-3") + implementation("space.kscience:visionforge-tables:0.4.1") } ``` diff --git a/visionforge-threejs/README.md b/visionforge-threejs/README.md index 4b0cbb6d..0ac15cc6 100644 --- a/visionforge-threejs/README.md +++ b/visionforge-threejs/README.md @@ -6,7 +6,7 @@ ## Artifact: -The Maven coordinates of this project are `space.kscience:visionforge-threejs:0.4.0-dev-3`. +The Maven coordinates of this project are `space.kscience:visionforge-threejs:0.4.1`. **Gradle Kotlin DSL:** ```kotlin @@ -16,6 +16,6 @@ repositories { } dependencies { - implementation("space.kscience:visionforge-threejs:0.4.0-dev-3") + implementation("space.kscience:visionforge-threejs:0.4.1") } ``` diff --git a/visionforge-threejs/visionforge-threejs-server/README.md b/visionforge-threejs/visionforge-threejs-server/README.md index 2f94128a..3190b351 100644 --- a/visionforge-threejs/visionforge-threejs-server/README.md +++ b/visionforge-threejs/visionforge-threejs-server/README.md @@ -6,7 +6,7 @@ ## Artifact: -The Maven coordinates of this project are `space.kscience:visionforge-threejs-server:0.4.0-dev-3`. +The Maven coordinates of this project are `space.kscience:visionforge-threejs-server:0.4.1`. **Gradle Kotlin DSL:** ```kotlin @@ -16,6 +16,6 @@ repositories { } dependencies { - implementation("space.kscience:visionforge-threejs-server:0.4.0-dev-3") + implementation("space.kscience:visionforge-threejs-server:0.4.1") } ```