Skip to content

Commit f8380ba

Browse files
committed
Update CHANGELOG and fix README for v2.0.0-beta.1
1 parent 583e575 commit f8380ba

File tree

2 files changed

+53
-13
lines changed

2 files changed

+53
-13
lines changed

CHANGELOG.md

+49-9
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,62 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9-
## [2.0.0-beta.1] - 2020-01-31
9+
## [2.0.0-beta.1] - 2020-01-19
10+
11+
This release contains a large number of changes. It lists only the major changes that may need users to adapt their code. Bug fixes or minor improvements are not listed in detail.
1012

1113
### Added
14+
- New components:
15+
- `Collections`
16+
- `FileFormat`
17+
- `Processes`
18+
- `SearchableList`
19+
- `ServiceType`
20+
- `Description`: New property `allowHTML` to enable HTML rendering embedded in Markdown files
21+
- `FileFormats`, `ServiceTypes` and `UdfRuntimes`:
22+
- New properties `searchTerm`, `sort`, `allowExpand`, `heading`
23+
- Shows a heading by default
24+
- Supports searching by default and shows a search box
25+
- Expands on click to show details about the file format / service type / UDF runtime
26+
- `ObjectTree`: New property `collapseAfter` to set the number of array elements or object properties to show by default. This can now be used to show all, too.
27+
- `SupportedFeatures`:
28+
- New property `heading`
29+
- Shows a heading by default
30+
- `UdfRuntime`: Added slots `title`, `badges` and `before-description`
1231

1332
### Changed
1433
- Release components as [Async Web Components](https://cli.vuejs.org/guide/build-targets.html#async-web-component) instead of as Vue Library. [#28](https://github.com/Open-EO/openeo-vue-components/issues/28)
15-
- `Collection`: Prop renamed from `collectionData` to `collection`
16-
- `Process`: Prop renamed from `processData` to `process`
17-
18-
### Deprecated
34+
- In a Vue environment the components need to be imported directly from the `components` folder.
35+
- In an HTML environment the components can be included as HTML tag instead of initializing it as a Vue app.
36+
- `Capabilities`: Removed properties `serviceTypes`, `fileFormats` and `udfRuntimes`. These are not rendered any longer in the component and the corresponding components need to be rendered manually.
37+
- `Collection`:
38+
- Property renamed from `collectionData` to `collection`.
39+
- Leaflet and related dependencies don't need to be included explicitly in the HTML files.
40+
- All slots have changed.
41+
- `DeprecationNotice` and `ExperimentalNotice`: The texts have slightly changed so that the property `entity` is not required any longer.
42+
- `FileFormats`: Properties `showInput` and `showOutput` have the default value `true`. Beforehand it was `false`.
43+
- `ObjectTree`: The default number of array elements or object properties to show has been reduced from 50 to 10.
44+
- `Process`:
45+
- Property renamed from `processData` to `process`.
46+
- All slots have changed.
47+
- `UdfRuntime`:
48+
- Properties have been renamed. `runtimeId` to `id`, `runtimeData` to `runtime` and `runtimeVersion` to `version`
1949

2050
### Removed
21-
- `EventBusMixin`, use Vue's native `$on` and `$off` methods on the `$root` component instead.
22-
- `BaseMixin`, not required any longer.
23-
- `getCount()` methods from `FileFormats`, `LinkList`, `ServiceTypes`, `UdfRuntimes`. Counts will be shown directly in the lists.
24-
- `getPlanCount()` method from `BillingPlans`.
51+
- Components don't migrate old API responses automatically any longer, which leads to the following changes:
52+
- Dropped support for API version 0.4.
53+
- The `version` property that specifies the version number of the given API response has been removed for all components.
54+
- The `BaseMixin` is not required any longer.
55+
- The single entity components can't collapse any longer. The property `initiallyCollapsed` has been removed for all components.
56+
- `BillingPlans`: Removed method `getPlanCount()`.
57+
- `EventBusMixin`. Use Vue's native `$on` and `$off` methods on the `$root` component instead.
58+
- `FileFormats`, `LinkList`, `ServiceTypes`, `UdfRuntimes`: Removed method `getCount()`. Counts will be shown directly in the lists.
59+
- `SupportedFeatures`: Removed methods `getFeatures`, `getFeatureCount`, `getSupportedFeatureCount`. Counts will be shown directly in the list and features can be imported from the `featurelist.js`.
60+
61+
### Fixed
62+
- Several minor improvements and bugfixes to the components overall.
63+
- Better documentation
64+
2565

2666
## [1.0.0] - 2017-06-20
2767

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ Visualizes a single supported file format of the back-end.
190190

191191
The properties must be filled with parts of the response for supported file formats as defined by the openEO API (`GET /file_formats`). Returned is an object like `{ input: { GTiff: {...} }, output: { PNG: {...} } }` and some of the keys and values must be passed.
192192

193-
- `id` (object, required): The identifier of the file format (i.e. the key of the second level; `GTiff` or `PNG` in the example above)
193+
- `id` (string, required): The identifier of the file format (i.e. the key of the second level; `GTiff` or `PNG` in the example above)
194194
- `format` (object, required): The file format specification (i.e. the value of the second level; `{...}` in the example above)
195195
- `type` (boolean, required): Either `input` or `output` (i.e. the key of the first level)
196196

@@ -250,7 +250,7 @@ Often used as a fallback if no other form of presentation is known by the client
250250
**Properties:**
251251

252252
- `data` (object): Any object (i.e. object, array or null)
253-
- `collapseAfter` (integer|null): The number of elements to display for each object or array until a "show all" button is shown. Set to `null` to show all elements.
253+
- `collapseAfter` (integer|null): The number of elements to display for each object or array until a "show all" button is shown. Set to `null` to show all elements. Defaults to `10`.
254254

255255

256256
### `Process`
@@ -323,7 +323,7 @@ Visualizes a single secondary web service supported by the back-end.
323323

324324
The properties must be filled with parts of the response for supported secondary web services as defined by the openEO API (`GET /service_types`). Returned is an object like `{ WMS: {...}, WFS: {...} }` and one of the keys and values must be passed to the component.
325325

326-
- `id` (object, required): The identifier of the secondary web service (i.e. a key of the object; `WMS` or `WFS` in the example above)
326+
- `id` (string, required): The identifier of the secondary web service (i.e. a key of the object; `WMS` or `WFS` in the example above)
327327
- `service` (object, required): The secondary web service specification (i.e. the value for the corresponding key; `{...}` in the example above)
328328

329329
**Slots:**
@@ -533,7 +533,7 @@ Visualizes a single UDF (user-defined function) runtime supported by the back-en
533533

534534
The properties must be filled with parts of the response for supported UDF runtime as defined by the openEO API (`GET /udf_runtimes`). Returned is an object like `{ R: {...}, Python: {...} }` and one of the keys and values must be passed to the component.
535535

536-
- `id` (object, required): The identifier of the UDF runtime (i.e. a key of the object; `R` or `Python` in the example above)
536+
- `id` (string, required): The identifier of the UDF runtime (i.e. a key of the object; `R` or `Python` in the example above)
537537
- `runtime` (object, required): The UDF runtime specification (i.e. the value for the corresponding key; `{...}` in the example above)
538538
- `version` (string|null): If one of the versions or tags available for the runtime should be pre-selected and shown, specify the version or tag here. By default (`null`), the default version or tag specified by the back-end will be shown.
539539

0 commit comments

Comments
 (0)