Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
altavir committed Feb 3, 2024
1 parent 6524c6c commit 2978476
Show file tree
Hide file tree
Showing 13 changed files with 211 additions and 194 deletions.
23 changes: 19 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,42 @@
## Unreleased

### Added

### Changed

### Deprecated

### Removed

### Fixed

### Security

## 0.8.0 - 2024-02-03

### Added

- Wasm artifacts
- Add automatic MetaConverter for serializeable objects
- Add Meta and MutableMeta delegates for convertable and serializeable
- Meta mapping for data.

### Changed

- Descriptor `children` renamed to `nodes`
- `MetaConverter` now inherits `MetaSpec` (former `Specifiction`). So `MetaConverter` could be used more universally.
- Meta copy and modification now use lightweight non-observable meta builders.
- Full refactor of Data API. DataTree now works similar to Meta: contains optional anonymous root element and data items. Updates are available for `ObservaleDataSource` and `ObservableDataTree` variants.

### Deprecated
- `node(key,converter)` in favor of `serializable` delegate

### Removed
- `node(key,converter)` in favor of `serializable` delegate

### Fixed

- Partially fixed a bug with `MutableMeta` observable wrappers.
- `valueSequence` now include root value. So `meta.update` works properly.

### Security

## 0.7.0 - 2023-11-26

### Added
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {

allprojects {
group = "space.kscience"
version = "0.8.0-dev-1"
version = "0.8.0"
}

subprojects {
Expand Down
6 changes: 2 additions & 4 deletions dataforge-context/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,16 @@ Context and provider definitions

## Artifact:

The Maven coordinates of this project are `space.kscience:dataforge-context:0.7.0`.
The Maven coordinates of this project are `space.kscience:dataforge-context:0.8.0`.

**Gradle Kotlin DSL:**
```kotlin
repositories {
maven("https://repo.kotlin.link")
//uncomment to access development builds
//maven("https://maven.pkg.jetbrains.space/spc/p/sci/dev")
mavenCentral()
}

dependencies {
implementation("space.kscience:dataforge-context:0.7.0")
implementation("space.kscience:dataforge-context:0.8.0")
}
```
21 changes: 19 additions & 2 deletions dataforge-context/api/dataforge-context.api
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,27 @@ public final class space/kscience/dataforge/context/SlfLogManager$Companion : sp
public fun getTag ()Lspace/kscience/dataforge/context/PluginTag;
}

public final class space/kscience/dataforge/properties/PropertyKt {
public abstract interface annotation class space/kscience/dataforge/descriptors/Description : java/lang/annotation/Annotation {
public abstract fun value ()Ljava/lang/String;
}

public final class space/kscience/dataforge/properties/SchemePropertyKt {
public abstract interface annotation class space/kscience/dataforge/descriptors/DescriptorResource : java/lang/annotation/Annotation {
public abstract fun resourceName ()Ljava/lang/String;
}

public abstract interface annotation class space/kscience/dataforge/descriptors/DescriptorUrl : java/lang/annotation/Annotation {
public abstract fun url ()Ljava/lang/String;
}

public abstract interface annotation class space/kscience/dataforge/descriptors/Multiple : java/lang/annotation/Annotation {
}

public final class space/kscience/dataforge/descriptors/ReflectiveDescriptorsKt {
public static final fun forClass (Lspace/kscience/dataforge/meta/descriptors/MetaDescriptor$Companion;Lkotlin/reflect/KClass;Lkotlin/jvm/functions/Function1;)Lspace/kscience/dataforge/meta/descriptors/MetaDescriptor;
public static synthetic fun forClass$default (Lspace/kscience/dataforge/meta/descriptors/MetaDescriptor$Companion;Lkotlin/reflect/KClass;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lspace/kscience/dataforge/meta/descriptors/MetaDescriptor;
}

public final class space/kscience/dataforge/properties/MetaAsFlowKt {
}

public final class space/kscience/dataforge/provider/DfTypeKt {
Expand Down
6 changes: 2 additions & 4 deletions dataforge-data/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,16 @@

## Artifact:

The Maven coordinates of this project are `space.kscience:dataforge-data:0.7.0`.
The Maven coordinates of this project are `space.kscience:dataforge-data:0.8.0`.

**Gradle Kotlin DSL:**
```kotlin
repositories {
maven("https://repo.kotlin.link")
//uncomment to access development builds
//maven("https://maven.pkg.jetbrains.space/spc/p/sci/dev")
mavenCentral()
}

dependencies {
implementation("space.kscience:dataforge-data:0.7.0")
implementation("space.kscience:dataforge-data:0.8.0")
}
```
1 change: 1 addition & 0 deletions dataforge-data/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ kscience{
dependencies {
api(spclibs.atomicfu)
api(projects.dataforgeMeta)
//Remove after subtype moved to stdlib
api(kotlin("reflect"))
}
}
Expand Down
6 changes: 2 additions & 4 deletions dataforge-io/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,16 @@ IO module

## Artifact:

The Maven coordinates of this project are `space.kscience:dataforge-io:0.7.0`.
The Maven coordinates of this project are `space.kscience:dataforge-io:0.8.0`.

**Gradle Kotlin DSL:**
```kotlin
repositories {
maven("https://repo.kotlin.link")
//uncomment to access development builds
//maven("https://maven.pkg.jetbrains.space/spc/p/sci/dev")
mavenCentral()
}

dependencies {
implementation("space.kscience:dataforge-io:0.7.0")
implementation("space.kscience:dataforge-io:0.8.0")
}
```
6 changes: 2 additions & 4 deletions dataforge-io/dataforge-io-yaml/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,16 @@ YAML meta IO

## Artifact:

The Maven coordinates of this project are `space.kscience:dataforge-io-yaml:0.7.0`.
The Maven coordinates of this project are `space.kscience:dataforge-io-yaml:0.8.0`.

**Gradle Kotlin DSL:**
```kotlin
repositories {
maven("https://repo.kotlin.link")
//uncomment to access development builds
//maven("https://maven.pkg.jetbrains.space/spc/p/sci/dev")
mavenCentral()
}

dependencies {
implementation("space.kscience:dataforge-io-yaml:0.7.0")
implementation("space.kscience:dataforge-io-yaml:0.8.0")
}
```
6 changes: 2 additions & 4 deletions dataforge-meta/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,16 @@ Meta definition and basic operations on meta

## Artifact:

The Maven coordinates of this project are `space.kscience:dataforge-meta:0.7.0`.
The Maven coordinates of this project are `space.kscience:dataforge-meta:0.8.0`.

**Gradle Kotlin DSL:**
```kotlin
repositories {
maven("https://repo.kotlin.link")
//uncomment to access development builds
//maven("https://maven.pkg.jetbrains.space/spc/p/sci/dev")
mavenCentral()
}

dependencies {
implementation("space.kscience:dataforge-meta:0.7.0")
implementation("space.kscience:dataforge-meta:0.8.0")
}
```
Loading

0 comments on commit 2978476

Please sign in to comment.