Compare commits

..

2 Commits

12 changed files with 35 additions and 28 deletions

View File

@ -3,26 +3,36 @@
## Unreleased ## Unreleased
### Added ### Added
- Name index comparator
- Specialized ByteArrayValue
### Changed ### Changed
- DataSink `branch` is replaced with `putAll` to avoid confusion with DataTree methods
- Meta delegate now uses a specific class that has a descriptor
### Deprecated ### Deprecated
### Removed ### Removed
### Fixed ### Fixed
### Security
## 0.8.2 - 2024-04-27
### Added
- Name index comparator
- Specialized ByteArrayValue
### Changed
- DataSink `branch` is replaced with `putAll` to avoid confusion with DataTree methods
- Meta delegate now uses a specific class that has a descriptor
### Fixed
- `listOfScheme` and `listOfConvertable` delegates provides correct items order. - `listOfScheme` and `listOfConvertable` delegates provides correct items order.
- Scheme meta setter works with proper sub-branch. - Scheme meta setter works with proper sub-branch.
- NameToken.parse improper work with indices. - NameToken.parse improper work with indices.
- Proper data handling for cache. - Proper data handling for cache.
### Security
## 0.8.0 - 2024-02-03 ## 0.8.0 - 2024-02-03
### Added ### Added

View File

@ -4,11 +4,12 @@ import space.kscience.gradle.useSPCTeam
plugins { plugins {
id("space.kscience.gradle.project") id("space.kscience.gradle.project")
id("org.jetbrains.kotlinx.kover") version "0.7.6"
} }
allprojects { allprojects {
group = "space.kscience" group = "space.kscience"
version = "0.8.2-dev-1" version = "0.8.2"
} }
subprojects { subprojects {

View File

@ -6,7 +6,7 @@ Context and provider definitions
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:dataforge-context:0.8.0`. The Maven coordinates of this project are `space.kscience:dataforge-context:0.8.2`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -16,6 +16,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:dataforge-context:0.8.0") implementation("space.kscience:dataforge-context:0.8.2")
} }
``` ```

View File

@ -88,11 +88,6 @@ public fun MetaDescriptor.Companion.forClass(
(property.returnType.classifier as? KClass<*>)?.let { (property.returnType.classifier as? KClass<*>)?.let {
from(forClass(it)) from(forClass(it))
} }
//
// (property.getDelegate(Unit) as? MetaDelegate<*>)?.descriptor?.let {
// from(it)
// flag = true
// }
property.annotations.forEach { property.annotations.forEach {
when (it) { when (it) {

View File

@ -6,7 +6,7 @@
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:dataforge-data:0.8.0`. The Maven coordinates of this project are `space.kscience:dataforge-data:0.8.2`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -16,6 +16,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:dataforge-data:0.8.0") implementation("space.kscience:dataforge-data:0.8.2")
} }
``` ```

View File

@ -6,7 +6,7 @@ IO module
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:dataforge-io:0.8.0`. The Maven coordinates of this project are `space.kscience:dataforge-io:0.8.2`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -16,6 +16,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:dataforge-io:0.8.0") implementation("space.kscience:dataforge-io:0.8.2")
} }
``` ```

View File

@ -6,7 +6,7 @@ YAML meta IO
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:dataforge-io-yaml:0.8.0`. The Maven coordinates of this project are `space.kscience:dataforge-io-yaml:0.8.2`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -16,6 +16,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:dataforge-io-yaml:0.8.0") implementation("space.kscience:dataforge-io-yaml:0.8.2")
} }
``` ```

View File

@ -6,7 +6,7 @@ Meta definition and basic operations on meta
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:dataforge-meta:0.8.0`. The Maven coordinates of this project are `space.kscience:dataforge-meta:0.8.2`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -16,6 +16,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:dataforge-meta:0.8.0") implementation("space.kscience:dataforge-meta:0.8.2")
} }
``` ```

View File

@ -47,6 +47,7 @@ public class MetaDescriptorBuilder @PublishedApi internal constructor() {
): Unit { ): Unit {
when (name.length) { when (name.length) {
0 -> error("Can't set descriptor to root") 0 -> error("Can't set descriptor to root")
1 -> { 1 -> {
children[name.first().body] = descriptorBuilder children[name.first().body] = descriptorBuilder
} }

View File

@ -6,7 +6,7 @@
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:dataforge-scripting:0.8.0`. The Maven coordinates of this project are `space.kscience:dataforge-scripting:0.8.2`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -16,6 +16,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:dataforge-scripting:0.8.0") implementation("space.kscience:dataforge-scripting:0.8.2")
} }
``` ```

View File

@ -6,7 +6,7 @@
## Artifact: ## Artifact:
The Maven coordinates of this project are `space.kscience:dataforge-workspace:0.8.0`. The Maven coordinates of this project are `space.kscience:dataforge-workspace:0.8.2`.
**Gradle Kotlin DSL:** **Gradle Kotlin DSL:**
```kotlin ```kotlin
@ -16,6 +16,6 @@ repositories {
} }
dependencies { dependencies {
implementation("space.kscience:dataforge-workspace:0.8.0") implementation("space.kscience:dataforge-workspace:0.8.2")
} }
``` ```