From 68d19cafeb1b3544f3ee29d9724f2d8381ac7d0d Mon Sep 17 00:00:00 2001 From: roll Date: Tue, 25 Jun 2024 10:46:13 +0100 Subject: [PATCH 1/4] Added v2 changes --- content/docs/standard/changelog.md | 56 +++++++++++++++++++++++++++--- 1 file changed, 52 insertions(+), 4 deletions(-) diff --git a/content/docs/standard/changelog.md b/content/docs/standard/changelog.md index cc976e26..683ce1e1 100644 --- a/content/docs/standard/changelog.md +++ b/content/docs/standard/changelog.md @@ -6,13 +6,61 @@ sidebar: This document includes all meaningful changes made to the Data Package Standard **specifications**. It does not cover changes made to other documents like Recipes or Guides. -## v2.0-draft +## v2.0 -> April 1, 2024 +> July 1, 2024 + +### Data Package + +##### `$schema` (new) + +[`$schema`](/standard/glossary/#profile) replaced `profile` property with new extensions semantics ([#47](https://github.com/frictionlessdata/datapackage/pull/47)). + +### Data Resource + +##### `$schema` (new) + +[`$schema`](/standard/glossary/#profile) replaced `profile` property with new extensions semantics ([#47](https://github.com/frictionlessdata/datapackage/pull/47)). + +##### `sources` (updated) + +[`sources`](/standard/resource/#sources) now inherits from a containing data package ([#57](https://github.com/frictionlessdata/datapackage/pull/57)). + +##### `type` (new) + +[`type`](/standard/data-resource/#type) allows to specify the resource type ([#51](https://github.com/frictionlessdata/datapackage/pull/51)). + +### Table Dialect -### Overview +##### `$schema` (new) -The Data Package (v2) draft release includes a rich set of the specification improvements accepted by the Data Package Working Group during the active phase of the Data Package (v2) work. +[`$schema`](/standard/glossary/#profile) replaced `profile` property with new extensions semantics ([#47](https://github.com/frictionlessdata/datapackage/pull/47)). + +##### `table` (new) + +[`table`](/standard/table-dialect/#table) allows to specify a table in a database ([#64](https://github.com/frictionlessdata/datapackage/pull/64)). + +### Table Schema + +##### `$schema` (new) + +[`$schema`](/standard/glossary/#profile) replaced `profile` property with new extensions semantics ([#47](https://github.com/frictionlessdata/datapackage/pull/47)). + +##### `missingValues` (updated) + +[`missingValues`](/standard/table-schema/#missingvalues) now allow to specify labeled missingness ([#68](https://github.com/frictionlessdata/datapackage/pull/68)). + +##### `categories` (new) + +[`categories`](/standard/table-schema/#categories) adds suport for categorical data for the `string` and `integer` field types ([#68](https://github.com/frictionlessdata/datapackage/pull/68)). + +##### `categoriesOrdered` (new) + +[`categoriesOrdered`](/standard/table-schema/#categoriesordered) adds suport for ordered categorical data for the `string` and `integer` field types ([#68](https://github.com/frictionlessdata/datapackage/pull/68)). + +## v2.0-draft + +> April 1, 2024 ### Data Package From dd64676f083a2fef0000b0175aa881510b1a362d Mon Sep 17 00:00:00 2001 From: roll Date: Tue, 25 Jun 2024 13:03:22 +0100 Subject: [PATCH 2/4] Added metadata in table schema --- content/docs/standard/changelog.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/content/docs/standard/changelog.md b/content/docs/standard/changelog.md index 683ce1e1..344985e6 100644 --- a/content/docs/standard/changelog.md +++ b/content/docs/standard/changelog.md @@ -58,6 +58,26 @@ This document includes all meaningful changes made to the Data Package Standard [`categoriesOrdered`](/standard/table-schema/#categoriesordered) adds suport for ordered categorical data for the `string` and `integer` field types ([#68](https://github.com/frictionlessdata/datapackage/pull/68)). +##### `name` (new) + +##### `title` (new) + +##### `description` (new) + +##### `homepage` (new) + +##### `keywords` (new) + +##### `examples` (new) + +##### `created` (new) + +##### `version` (new) + +##### `contributors` (new) + +An adjusted [Metadata in Table Schema](https://specs.frictionlessdata.io/patterns/#table-schema-metadata-properties) pattern has been promoted to the standard ([#63](https://github.com/frictionlessdata/datapackage/pull/63)). + ## v2.0-draft > April 1, 2024 From 108a36875b798967de8eeb13c63f2b3ca9d8cf9f Mon Sep 17 00:00:00 2001 From: roll Date: Tue, 25 Jun 2024 13:05:54 +0100 Subject: [PATCH 3/4] Added `dialect.type` --- content/docs/standard/changelog.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/docs/standard/changelog.md b/content/docs/standard/changelog.md index 344985e6..0fe4e96d 100644 --- a/content/docs/standard/changelog.md +++ b/content/docs/standard/changelog.md @@ -36,6 +36,10 @@ This document includes all meaningful changes made to the Data Package Standard [`$schema`](/standard/glossary/#profile) replaced `profile` property with new extensions semantics ([#47](https://github.com/frictionlessdata/datapackage/pull/47)). +##### `type` (new) + +[`type`](/standard/table-dialect/#type) allows to specify a dialect type ([#82](https://github.com/frictionlessdata/datapackage/pull/82)). + ##### `table` (new) [`table`](/standard/table-dialect/#table) allows to specify a table in a database ([#64](https://github.com/frictionlessdata/datapackage/pull/64)). From f4f56029d81e90f059b56177200f717d18b5cd5c Mon Sep 17 00:00:00 2001 From: roll Date: Wed, 26 Jun 2024 08:52:03 +0100 Subject: [PATCH 4/4] Fixed anchors casing --- content/docs/overview/changelog.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/content/docs/overview/changelog.md b/content/docs/overview/changelog.md index e1f67c66..a3e3d29b 100644 --- a/content/docs/overview/changelog.md +++ b/content/docs/overview/changelog.md @@ -48,7 +48,7 @@ This document includes all meaningful changes made to the **Data Package standar ##### `missingValues` (updated) -[`missingValues`](/standard/table-schema/#missingvalues) now allow to specify labeled missingness ([#68](https://github.com/frictionlessdata/datapackage/pull/68)). +[`missingValues`](/standard/table-schema/#missingValues) now allow to specify labeled missingness ([#68](https://github.com/frictionlessdata/datapackage/pull/68)). ##### `categories` (new) @@ -56,7 +56,7 @@ This document includes all meaningful changes made to the **Data Package standar ##### `categoriesOrdered` (new) -[`categoriesOrdered`](/standard/table-schema/#categoriesordered) adds suport for ordered categorical data for the `string` and `integer` field types ([#68](https://github.com/frictionlessdata/datapackage/pull/68)). +[`categoriesOrdered`](/standard/table-schema/#categoriesOrdered) adds suport for ordered categorical data for the `string` and `integer` field types ([#68](https://github.com/frictionlessdata/datapackage/pull/68)). ## v2.0-draft @@ -92,7 +92,7 @@ The Data Package (v2) draft release includes a rich set of the specification imp ##### `name` (updated) -[name](/standard/data-resource/#name-required) now allows any string. It previously required the name to only consist of lowercase alphanumeric characters plus `.`, `-` and `_`. The property is still required and must be unique among resources ([#27](https://github.com/frictionlessdata/datapackage/pull/27)). +[name](/standard/data-resource/#name) now allows any string. It previously required the name to only consist of lowercase alphanumeric characters plus `.`, `-` and `_`. The property is still required and must be unique among resources ([#27](https://github.com/frictionlessdata/datapackage/pull/27)). ##### `path` (updated) @@ -112,19 +112,19 @@ The Data Package (v2) draft release includes a rich set of the specification imp ##### `fieldsMatch` (new) -[fieldsMatch](/standard/table-schema/#fieldsmatch) allows to specify how fields in a Table Schema match the fields in the data source. The default (`exact`) matches the Data Package v1 behaviour, but other values (e.g. `subset`, `superset`) allow to define fewer or more fields and match on field names. This new property extends and makes explicit the `schema_sync` option in Frictionless Framework ([#39](https://github.com/frictionlessdata/datapackage/pull/39)). +[fieldsMatch](/standard/table-schema/#fieldsMatch) allows to specify how fields in a Table Schema match the fields in the data source. The default (`exact`) matches the Data Package v1 behaviour, but other values (e.g. `subset`, `superset`) allow to define fewer or more fields and match on field names. This new property extends and makes explicit the `schema_sync` option in Frictionless Framework ([#39](https://github.com/frictionlessdata/datapackage/pull/39)). ##### `primaryKey` (updated) -[`primaryKey`](/standard/table-schema/#primarykey) should now always be an array of strings, not a string ([#28](https://github.com/frictionlessdata/datapackage/pull/28)). +[`primaryKey`](/standard/table-schema/#primaryKey) should now always be an array of strings, not a string ([#28](https://github.com/frictionlessdata/datapackage/pull/28)). ##### `uniqueKeys` (new) -[`uniqueKeys`](/standard/table-schema/#uniquekeys) allows to specify which fields are required to have unique logical values. It is an alternative to `field.contraints.unique` and is modelled after the corresponding SQL feature ([#30](https://github.com/frictionlessdata/datapackage/pull/30)). +[`uniqueKeys`](/standard/table-schema/#uniqueKeys) allows to specify which fields are required to have unique logical values. It is an alternative to `field.contraints.unique` and is modelled after the corresponding SQL feature ([#30](https://github.com/frictionlessdata/datapackage/pull/30)). ##### `foreignKeys` (updated) -[`foreignKeys`](/standard/table-schema/#foreignkeys) was updated: +[`foreignKeys`](/standard/table-schema/#foreignKeys) was updated: - It should now always be an array of strings, not a string ([#28](https://github.com/frictionlessdata/datapackage/pull/28)). - `foreignKeys.reference.resource` can now be omitted for self-referencing foreign keys. Previously it required setting `resource` to an empty string ([#29](https://github.com/frictionlessdata/datapackage/pull/29)). @@ -133,7 +133,7 @@ The Data Package (v2) draft release includes a rich set of the specification imp ##### `missingValues` (new) -[`missingValues`](/standard/table-schema/#missingvalues) allows to specify missing values per field, and overwrites `missingValues` specified at a resource level ([#24](https://github.com/frictionlessdata/datapackage/pull/24)). +[`missingValues`](/standard/table-schema/#missingValues) allows to specify missing values per field, and overwrites `missingValues` specified at a resource level ([#24](https://github.com/frictionlessdata/datapackage/pull/24)). #### Field Types @@ -165,11 +165,11 @@ The Data Package (v2) draft release includes a rich set of the specification imp ##### `exclusiveMinimum` and `exclusiveMaximum` (new) -[`exclusiveMinimum`](/specifications/table-schema/#exclusiveminimum) and [`exclusiveMaximum`](/specifications/table-schema/#exclusivemaximum) can be used to specify exclusive minimum and maximum values ([#11](https://github.com/frictionlessdata/datapackage/pull/11)). +[`exclusiveMinimum`](/specifications/table-schema/#exclusiveMinimum) and [`exclusiveMaximum`](/specifications/table-schema/#exclusiveMaximum) can be used to specify exclusive minimum and maximum values ([#11](https://github.com/frictionlessdata/datapackage/pull/11)). ##### `jsonschema` (new) -[`jsonSchema`](/specifications/table-schema/#jsonschema) can be used for the `object` and `array` field types ([#32](https://github.com/frictionlessdata/datapackage/pull/32)). +[`jsonSchema`](/specifications/table-schema/#jsonSchema) can be used for the `object` and `array` field types ([#32](https://github.com/frictionlessdata/datapackage/pull/32)). ## v1.0