dataforge-core/CHANGELOG.md

125 lines
3.7 KiB
Markdown
Raw Normal View History

# Changelog
## [Unreleased]
### Added
2021-08-13 20:55:05 +03:00
### Changed
### Deprecated
### Removed
### Fixed
- MutableMetaImpl attachment and checks
- Listeners in observable meta are replaced by lists
2021-08-13 20:55:05 +03:00
### Security
## [0.5.0]
### Added
2021-05-11 12:42:41 +03:00
- Experimental `listOfSpec` delegate.
2021-04-27 11:17:27 +03:00
### Changed
2021-07-08 12:15:34 +03:00
- **API breaking** Config is deprecated, use `ObservableMeta` instead.
- **API breaking** Descriptor no has a member property `defaultValue` instead of `defaultItem()` extension. It caches default value state on the first call. It is done because computing default on each call is too expensive.
- Kotlin 1.5.10
- Build tools 0.10.0
- Relaxed type restriction on `MetaConverter`. Now nullables are available.
2021-08-13 20:55:05 +03:00
- **Huge API-breaking refactoring of Meta**. Meta now can have both value and children. There is only one kind of descriptor now.
2021-07-31 15:02:11 +03:00
- **API breaking** `String.toName()` is replaced by `Name.parse()`
2021-07-31 17:06:17 +03:00
- **API breaking** Configurable`config` changed to `meta`
2021-04-27 11:17:27 +03:00
### Removed
2021-08-06 12:29:48 +03:00
- `Config`
2021-07-08 12:15:34 +03:00
- Public PluginManager mutability
2021-07-18 14:35:31 +03:00
- Tables and tables-exposed moved to the separate project `tables.kt`
2021-07-30 09:17:46 +03:00
- BinaryMetaFormat. Use CBOR encoding instead
2021-04-27 11:17:27 +03:00
### Fixed
- Proper json array index treatment.
- Proper json index for single-value array.
2021-04-27 11:17:27 +03:00
### Security
## [0.4.0]
### Added
2021-02-28 22:03:40 +03:00
- LogManager plugin
2021-03-07 09:46:01 +03:00
- dataforge-context API dependency on SLF4j
- Context `withEnv` and `fetch` methods to manipulate plugins without changing plugins after creation.
- Split `ItemDescriptor` into builder and read-only part
2021-02-07 20:49:48 +03:00
### Changed
2021-02-23 17:40:28 +03:00
- Kotlin-logging moved from common to JVM and JS. Replaced by console for native.
2021-03-03 11:36:22 +03:00
- Package changed to `space.kscience`
- Scheme made observable
- Global context is a variable (the singleton is hidden and will be deprecated in future)
- Kotlin 1.5
2021-04-27 10:55:58 +03:00
- Added blank builders for children context.
- Refactor loggers
2021-02-07 20:49:48 +03:00
### Deprecated
- Direct use of PluginManager
2021-02-07 20:49:48 +03:00
### Removed
2021-02-28 22:03:40 +03:00
- Common dependency on Kotlin-logging
- Kotlinx-io fork dependency. Replaced by Ktor-io.
2021-02-07 20:49:48 +03:00
### Fixed
2021-04-11 11:24:25 +03:00
- Scheme properties properly handle children property change.
2021-02-07 20:49:48 +03:00
### Security
## [0.3.0]
### Added
2020-12-04 11:20:20 +03:00
- Yaml meta format based on yaml.kt
2020-12-04 17:34:12 +03:00
- `Path` builders
2020-12-09 12:04:10 +03:00
- Special ValueType for lists
2020-12-20 18:22:50 +03:00
- `copy` method to descriptors
2021-01-30 19:49:28 +03:00
- Multiplatform yaml meta
2020-11-26 22:21:29 +03:00
### Changed
- `ListValue` and `DoubleArrayValue` implement `Iterable`.
- Changed the logic of `Value::isList` to check for type instead of size
2020-12-04 11:20:20 +03:00
- `Meta{}` builder made inline
- Moved `Envelope` builder to a top level function. Companion invoke is deprecated.
2020-12-04 17:34:12 +03:00
- Context logging moved to the extension
2020-12-09 12:04:10 +03:00
- `number` and `string` methods on `Value` moved to extensions (breaking change)
2020-12-24 10:32:11 +03:00
- \[Major breaking change\] Schemes and configurables us `MutableItemProvider` instead of `Config`
- \[Major breaking change\] `MetaItem` renamed to `TypedMetaItem` and `MetaItem` is now an alias for `TypedMetaItem<*>`
- \[Major breaking change\] Moved `NodeItem` and `ValueItem` to a top level
2020-12-28 21:05:27 +03:00
- Plugins are removed from Context constructor and added lazily in ContextBuilder
2021-01-10 14:32:52 +03:00
- \[Major breaking change\] Full refactor of DataTree/DataSource
2021-02-07 20:23:33 +03:00
- \[Major Breaking change\] Replace KClass with KType in data. Remove direct access to constructors with types.
2020-11-26 22:21:29 +03:00
### Deprecated
### Removed
### Fixed
### Security
2020-11-26 22:21:29 +03:00
## [0.2.0]
### Added
### Changed
- Context content resolution refactor
- Kotlin 1.4.10 (build tools 0.6.0)
- Empty query in Name is null instead of ""
- Provider provides an empty map instead of error by default
- Hidden delegates hierarchy in favor of stdlib properties
2020-10-17 17:22:34 +03:00
- Removed io depdendency from `dataforge-output`. Replaced Output by Appendable.
2020-11-13 19:44:07 +03:00
- Configurable is no longer MutableItemProvider. All functionality moved to Scheme.
### Deprecated
- Context activation API
- TextRenderer
### Removed
- Functional server prototype
- `dataforge-output` module
### Fixed
- Global context CoroutineScope resolution
- Library mode compliance
### Security