Compare commits

..

2 Commits

12 changed files with 35 additions and 28 deletions

View File

@ -3,26 +3,36 @@
## Unreleased
### 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
### Deprecated
### Removed
### 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.
- Scheme meta setter works with proper sub-branch.
- NameToken.parse improper work with indices.
- Proper data handling for cache.
### Security
## 0.8.0 - 2024-02-03
### Added

View File

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

View File

@ -6,7 +6,7 @@ Context and provider definitions
## 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:**
```kotlin
@ -16,6 +16,6 @@ repositories {
}
dependencies {
implementation("space.kscience:dataforge-context:0.8.0")
implementation("space.kscience:dataforge-context:0.8.2")
}
```

View File

@ -79,7 +79,7 @@ public fun MetaDescriptor.Companion.forClass(
is DescriptorUrl -> loadDescriptorFromUrl(URL(it.url))
}
}
kClass.memberProperties.forEach { property->
kClass.memberProperties.forEach { property ->
var flag = false
@ -88,11 +88,6 @@ public fun MetaDescriptor.Companion.forClass(
(property.returnType.classifier as? KClass<*>)?.let {
from(forClass(it))
}
//
// (property.getDelegate(Unit) as? MetaDelegate<*>)?.descriptor?.let {
// from(it)
// flag = true
// }
property.annotations.forEach {
when (it) {

View File

@ -6,7 +6,7 @@
## 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:**
```kotlin
@ -16,6 +16,6 @@ repositories {
}
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:
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:**
```kotlin
@ -16,6 +16,6 @@ repositories {
}
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:
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:**
```kotlin
@ -16,6 +16,6 @@ repositories {
}
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:
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:**
```kotlin
@ -16,6 +16,6 @@ repositories {
}
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 {
when (name.length) {
0 -> error("Can't set descriptor to root")
1 -> {
children[name.first().body] = descriptorBuilder
}

View File

@ -6,7 +6,7 @@
## 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:**
```kotlin
@ -16,6 +16,6 @@ repositories {
}
dependencies {
implementation("space.kscience:dataforge-scripting:0.8.0")
implementation("space.kscience:dataforge-scripting:0.8.2")
}
```

View File

@ -6,7 +6,7 @@
## 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:**
```kotlin
@ -16,6 +16,6 @@ repositories {
}
dependencies {
implementation("space.kscience:dataforge-workspace:0.8.0")
implementation("space.kscience:dataforge-workspace:0.8.2")
}
```