Compare commits
2 Commits
28f4beb348
...
2cd1885420
Author | SHA1 | Date | |
---|---|---|---|
2cd1885420 | |||
f840ffb473 |
24
CHANGELOG.md
24
CHANGELOG.md
@ -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
|
||||||
|
@ -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 {
|
||||||
|
@ -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")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -79,7 +79,7 @@ public fun MetaDescriptor.Companion.forClass(
|
|||||||
is DescriptorUrl -> loadDescriptorFromUrl(URL(it.url))
|
is DescriptorUrl -> loadDescriptorFromUrl(URL(it.url))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
kClass.memberProperties.forEach { property->
|
kClass.memberProperties.forEach { property ->
|
||||||
|
|
||||||
var flag = false
|
var flag = false
|
||||||
|
|
||||||
@ -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) {
|
||||||
|
@ -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")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -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")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -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")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -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")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
@ -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")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -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")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user