Skip to content

Commit

Permalink
chore(release): release version v0.3.0 (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramfox authored May 4, 2021
1 parent 3e9020e commit 3f4b696
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 1 deletion.
52 changes: 52 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,55 @@
<a name="v0.3.0"></a>
# [v0.3.0](https://github.com/qri-io/dataset/compare/v0.2.0...v) (2021-05-04)

This release of the `dataset` package includes one major change, adding a `Stats` component, as well as a few minor changes and a bunch of bug fixes that are listed below.

## Stats component
Introducing the `stats` component, a top-level component that provides the mechanics to quickly generate the stats using probabilistic structures. Unlike previous iterations of calculating stats, it is not bound to size/time limitations. We calculate and store different kinds of stats based on the content of the given column or fields. The different types as of this release are numeric, boolean, and string. We've moved the `qri/stats` package into `dataset` under the name `dsstats`.

Take a look at our [spec](https://github.com/qri-io/specs/blob/master/content/subsystems/stats.md) for details on how stats are calculated.

### Bug Fixes

* **`dataset.BodyFile`:** if no dataset exists, return nil ([84c88eb](https://github.com/qri-io/dataset/commit/84c88eb))
* **dataset:** DropTransients drops peername field ([656948d](https://github.com/qri-io/dataset/commit/656948d))
* **dsgen:** fix flag for number of rows in dsgen CLI ([8a042f1](https://github.com/qri-io/dataset/commit/8a042f1))
* **meta:** marshalling to json object should not modify private meta field ([5a55038](https://github.com/qri-io/dataset/commit/5a55038))
* **meta,structure:** serializing to JSON includes path value ([cfd5aca](https://github.com/qri-io/dataset/commit/cfd5aca))
* **preview:** rename CreatePreview -> Preview, don't consume input dataset files ([b7a9395](https://github.com/qri-io/dataset/commit/b7a9395))
* **stats:** avoid nil ptr panic ([#242](https://github.com/qri-io/dataset/issues/242)) ([556268c](https://github.com/qri-io/dataset/commit/556268c))
* **stats:** limiting top-k frequencies to 200 ([#239](https://github.com/qri-io/dataset/issues/239)) ([74e6f19](https://github.com/qri-io/dataset/commit/74e6f19))
* **transform:** Assign() overwrites Steps field ([ce73c09](https://github.com/qri-io/dataset/commit/ce73c09))


### Features

* **`commit`:** add `RunID` field to `Commit` struct ([ecaf655](https://github.com/qri-io/dataset/commit/ecaf655))
* **`preview`:** `CreatePreview` takes a `dataset.Dataset` and returns a truncated version ([1fae175](https://github.com/qri-io/dataset/commit/1fae175))
* **dataset:** add ID field to dataset.Dataset ([ceb9ee1](https://github.com/qri-io/dataset/commit/ceb9ee1))
* **detect.Structure:** move struture detection function down from qri ([2330b0f](https://github.com/qri-io/dataset/commit/2330b0f))
* **dsio.ReadAll:** add ReadAll, ReadAllObject, ReadAllArray functions ([80263b4](https://github.com/qri-io/dataset/commit/80263b4))
* **dsstats:** move stats package from qri core, rename to dsstats ([e5257e0](https://github.com/qri-io/dataset/commit/e5257e0))
* **dstest:** Add `Readme` support ([d480331](https://github.com/qri-io/dataset/commit/d480331))
* **dstest:** add CompareGoldenDatasetAndUpdate convenience function ([577ff3f](https://github.com/qri-io/dataset/commit/577ff3f))
* **dstest:** add Template function ([f588dde](https://github.com/qri-io/dataset/commit/f588dde))
* **dstest:** configuraable CompareDatasets, Golden File Functions ([1019334](https://github.com/qri-io/dataset/commit/1019334))
* **ShallowCompare,PathMap:** add utility methods for comparing components ([80c9f61](https://github.com/qri-io/dataset/commit/80c9f61))
* **SigningBytes:** new SigningBytes includes all components ([1b5ddf1](https://github.com/qri-io/dataset/commit/1b5ddf1))
* **stats:** add Assign method, stats component tests ([23fb3fd](https://github.com/qri-io/dataset/commit/23fb3fd))
* **stats:** add stats component ([4e9ca61](https://github.com/qri-io/dataset/commit/4e9ca61))
* **stats:** use 'sa' as kind prefix, marshal stats to/from JSON ([5235164](https://github.com/qri-io/dataset/commit/5235164))
* **transform:** add `Syntaxes` field to `Transform` struct ([8a30d20](https://github.com/qri-io/dataset/commit/8a30d20))
* **type:** utility to check type presence for columns in tabular ([#244](https://github.com/qri-io/dataset/issues/244)) ([9b4fc79](https://github.com/qri-io/dataset/commit/9b4fc79))


### BREAKING CHANGES

* **dataset:** older versions of qri that attempt to verify the signature of datasets with a
non-empty ID string field will error.
* removed Compare* functions, use dstest.Compare instead



<a name="v0.2.0"></a>
# [v0.2.0](https://github.com/qri-io/dataset/compare/v0.1.4...v0.2.0) (2020-06-29)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require (
github.com/multiformats/go-multihash v0.0.13
github.com/qri-io/compare v0.1.0
github.com/qri-io/jsonschema v0.2.0
github.com/qri-io/qfs v0.5.1-0.20201119141805-fb13393b2d1f
github.com/qri-io/qfs v0.6.0
github.com/qri-io/varName v0.1.0
github.com/sergi/go-diff v1.1.0 // indirect
github.com/ugorji/go/codec v1.1.7
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1082,6 +1082,8 @@ github.com/qri-io/jsonschema v0.2.0 h1:is8lirh3HYwTkC0e+4jL/vWEHwzPLojnl4FWkUoeE
github.com/qri-io/jsonschema v0.2.0/go.mod h1:g7DPkiOsK1xv6T/Ao5scXRkd+yTFygcANPBaaqW+VrI=
github.com/qri-io/qfs v0.5.1-0.20201119141805-fb13393b2d1f h1:Oj2N/HRGMcs2NDZWl1K5gFsTifrxQVVE0KyFyUGgn8M=
github.com/qri-io/qfs v0.5.1-0.20201119141805-fb13393b2d1f/go.mod h1:SU+DUq8+BfHNod1SXzmD8FrNLgPt42aKyQuO3fnFEQI=
github.com/qri-io/qfs v0.6.0 h1:Av7jD8srhxPfT7Be+BuKt6lbFHeu3c7D9MjfHhuEQFk=
github.com/qri-io/qfs v0.6.0/go.mod h1:SU+DUq8+BfHNod1SXzmD8FrNLgPt42aKyQuO3fnFEQI=
github.com/qri-io/varName v0.1.0 h1:dFP5qZHrxnn5fNoMbjfpMCRBYDrOsoyls7R07r+emk0=
github.com/qri-io/varName v0.1.0/go.mod h1:IGWuuGOHhLJ9ZZg28C/+oMYm1QYP+pAorNZKQpdXhxQ=
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
Expand Down

0 comments on commit 3f4b696

Please sign in to comment.