diff --git a/CHANGELOG.md b/CHANGELOG.md index ca283b2c7..b7b558ac7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,96 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -## [v1.1.0] - 2018-08-21 +## [1.2.0] - 2018-12-20 + +This version contains 155 contributions from 11 contributors. There are 113 files changed; 19,085 insertions; and 4,323 deletions. + +### Added + +- Cancel queries on Context.Done() ([#1773](https://github.com/pilosa/pilosa/pull/1773)) +- Union In Place ([#1766](https://github.com/pilosa/pilosa/pull/1766), [#1774](https://github.com/pilosa/pilosa/pull/1774)) +- Import benchmarking ([#1771](https://github.com/pilosa/pilosa/pull/1771)) +- Add GroupBy() Filter ([#1753](https://github.com/pilosa/pilosa/pull/1753)) +- Add /internal/translate/keys endpoint ([#1751](https://github.com/pilosa/pilosa/pull/1751)) +- CircleCI: Add race detector to parallel build, default to Go 1.11. ([#1756](https://github.com/pilosa/pilosa/pull/1756)) +- Add distributed tracing. ([#1684](https://github.com/pilosa/pilosa/pull/1684)) +- Add NoStandardView field option ([#1733](https://github.com/pilosa/pilosa/pull/1733)) +- Add some stat tracking to roaring implementation ([#1743](https://github.com/pilosa/pilosa/pull/1743)) +- Add cluster fault testing using docker-compose and pumba ([#1717](https://github.com/pilosa/pilosa/pull/1717)) +- Allow backslash, carriage return in PQL strings ([#1713](https://github.com/pilosa/pilosa/pull/1713)) +- Add base system, curl and jq for debug and checks ([#1707](https://github.com/pilosa/pilosa/pull/1707)) +- Add `Rows` and `GroupBy` functionality ([#1647](https://github.com/pilosa/pilosa/pull/1647)) +- Add `clear` functional option for imports ([#1699](https://github.com/pilosa/pilosa/pull/1699)) +- Implement tracking of available shards to help support sparse datasets ([#1600](https://github.com/pilosa/pilosa/pull/1600), [#1695](https://github.com/pilosa/pilosa/pull/1695), [#1624](https://github.com/pilosa/pilosa/pull/1624), [#1663](https://github.com/pilosa/pilosa/pull/1663)) +- Add missing rowID/Key columnID/Key tests ([#1683](https://github.com/pilosa/pilosa/pull/1683)) +- Add Store() operation to PQL ([#1666](https://github.com/pilosa/pilosa/pull/1666)) +- Add diagnostics CPUArch field ([#1671](https://github.com/pilosa/pilosa/pull/1671)) +- Add CircleCI step to generate Docker image and push to Docker hub ([#1673](https://github.com/pilosa/pilosa/pull/1673)) +- Implement ClearRow() query ([#1645](https://github.com/pilosa/pilosa/pull/1645)) +- Add support for Bool fields ([#1658](https://github.com/pilosa/pilosa/pull/1658)) +- Make translate map size configurable ([#1653](https://github.com/pilosa/pilosa/pull/1653)) +- Add DirectAdd function to roaring.Bitmap ([#1646](https://github.com/pilosa/pilosa/pull/1646)) +- Implement Roaring import ([#1622](https://github.com/pilosa/pilosa/pull/1622), [#1738](https://github.com/pilosa/pilosa/pull/1738)) +- Add Not() query ([#1635](https://github.com/pilosa/pilosa/pull/1635)) +- Implement Options call and excludeRowAttrs, excludeColumns, columnAttrs and shards args ([#1631](https://github.com/pilosa/pilosa/pull/1631)) +- Add field options to pilosa import ([#1625](https://github.com/pilosa/pilosa/pull/1625)) +- Implement column existence tracking ([#1788](https://github.com/pilosa/pilosa/pull/1788), [#1672](https://github.com/pilosa/pilosa/pull/1672), [#1628](https://github.com/pilosa/pilosa/pull/1628)) + +### Changed + +- Convert the anti-entropy logic to use `ImportRoaring` instead of `QueryNode` ([#1780](https://github.com/pilosa/pilosa/pull/1780)) +- Simplify `require-*` logic in Makefile ([#1755](https://github.com/pilosa/pilosa/pull/1755)) +- Cleanup logging ([#1748](https://github.com/pilosa/pilosa/pull/1748)) +- Remove TravisCI, add CircleCI shield ([#1740](https://github.com/pilosa/pilosa/pull/1740)) +- Upgrade Peg dependency and regenerate grammar ([#1725](https://github.com/pilosa/pilosa/pull/1725)) +- Upgrade to protoc 3.6.1 (also updated protoc-gen-gofast) ([#1724](https://github.com/pilosa/pilosa/pull/1724)) +- Move column attrs logic to executor ([#1677](https://github.com/pilosa/pilosa/pull/1677)) +- Shrink container bit count to int32 ([#1664](https://github.com/pilosa/pilosa/pull/1664)) + +### Performance + +- Remove bounds check ([#1619](https://github.com/pilosa/pilosa/pull/1619)) +- Improve benchmarking and performance ([#1741](https://github.com/pilosa/pilosa/pull/1741)) + +### Fixed + +- Ensure internal client closes all response bodies ([#1795](https://github.com/pilosa/pilosa/pull/1795)) +- Allow translate log entry buffer to grow ([#1787](https://github.com/pilosa/pilosa/pull/1787)) +- Add Gopkg.lock as a dependency for vendor target ([#1790](https://github.com/pilosa/pilosa/pull/1790)) +- Cluster resize fix ([#1785](https://github.com/pilosa/pilosa/pull/1785)) +- Attempt to fix deadlock by releasing view lock before broadcasting ([#1782](https://github.com/pilosa/pilosa/pull/1782)) +- Fix bug where cluster goes into RESIZING instead of NORMAL ([#1777](https://github.com/pilosa/pilosa/pull/1777)) +- Propogate updates to node details (not just additions and deletions) ([#1769](https://github.com/pilosa/pilosa/pull/1769)) +- Fix arm64 support ([#1764](https://github.com/pilosa/pilosa/pull/1764)) +- Fix data races ([#1750](https://github.com/pilosa/pilosa/pull/1750)) +- Fix fragment checksums race condition ([#1749](https://github.com/pilosa/pilosa/pull/1749)) +- Import cmd field type flag ([#1732](https://github.com/pilosa/pilosa/pull/1732)) +- Increase the translate file size for tests/benchmarks ([#1744](https://github.com/pilosa/pilosa/pull/1744)) +- Prevent panic in Bitmap.UnmarshalBinary when there is no data ([#1742](https://github.com/pilosa/pilosa/pull/1742)) +- Remove unused rule from peg grammar ([#1737](https://github.com/pilosa/pilosa/pull/1737)) +- Improve Internal Client errors ([#1729](https://github.com/pilosa/pilosa/pull/1729)) +- Forward imports to non-coordinator shards ([#1719](https://github.com/pilosa/pilosa/pull/1719)) +- Fix double escapes in PQL grammar ([#1727](https://github.com/pilosa/pilosa/pull/1727)) +- Ensure btree comparison doesn't fail for smallish N ([#1712](https://github.com/pilosa/pilosa/pull/1712)) +- Drop now-superfluous methodNotAllowedHandler ([#1711](https://github.com/pilosa/pilosa/pull/1711)) +- Use pilosa.Logger everywhere ([#1674](https://github.com/pilosa/pilosa/pull/1674)) +- Ensure view closes fragment on broadcast error ([#1675](https://github.com/pilosa/pilosa/pull/1675)) +- Prevent closing os.Stderr (used in verbose test logging) ([#1696](https://github.com/pilosa/pilosa/pull/1696)) +- Allow holder to close/open/close without panic on closing closed channel ([#1686](https://github.com/pilosa/pilosa/pull/1686)) +- Fix bug with Range() queries with field keys ([#1679](https://github.com/pilosa/pilosa/pull/1679)) +- Sync query validation for handlers ([#1676](https://github.com/pilosa/pilosa/pull/1676)) +- Wrap translation store errors, decrease test map size to prevent failure on 32-bit ([#1665](https://github.com/pilosa/pilosa/pull/1665)) +- Fix pass-by-value issue in proto decode ([#1662](https://github.com/pilosa/pilosa/pull/1662)) +- Do not run prerelease in CI if this is a pull request ([#1655](https://github.com/pilosa/pilosa/pull/1655)) +- Ensure mutex imports unset previous columns ([#1656](https://github.com/pilosa/pilosa/pull/1656)) +- Treat import timestamps as UTC ([#1651](https://github.com/pilosa/pilosa/pull/1651)) +- Remove unused log buffers from test cluster, fixes race ([#1612](https://github.com/pilosa/pilosa/pull/1612)) +- Add --field-keys and --index-keys options to pilosa import ([#1621](https://github.com/pilosa/pilosa/pull/1621)) +- Use passed stdin, stdout, and stderr in the cmd package ([#1620](https://github.com/pilosa/pilosa/pull/1620)) +- Update Go client sample to match latest master ([#1614](https://github.com/pilosa/pilosa/pull/1614)) + + +## [1.1.0] - 2018-08-21 This version contains 32 contributions from 5 contributors. There are 89 files changed; 2,752 insertions; and 1,013 deletions. @@ -29,7 +118,7 @@ This version contains 32 contributions from 5 contributors. There are 89 files c - Fix translator in cluster environment ([#1552](https://github.com/pilosa/pilosa/pull/1552)) - Use string prefix instead of equality so json error message will pass on all Go versions ([#1558](https://github.com/pilosa/pilosa/pull/1558)) -## [v1.0.2] - 2018-08-01 +## [1.0.2] - 2018-08-01 This version contains 11 contributions from 3 contributors. There are 30 files changed; 1,569 insertions; and 1,215 deletions. @@ -44,7 +133,7 @@ This version contains 11 contributions from 3 contributors. There are 30 files c - Re-export erroneously unexported func Row.Intersect ([#1502](https://github.com/pilosa/pilosa/pull/1502)) - Update parser to handle row keys on SetRowAttrs() ([#1555](https://github.com/pilosa/pilosa/pull/1555)) -## [v1.0.1] - 2018-07-11 +## [1.0.1] - 2018-07-11 This version contains 12 contributions from 4 contributors. There are 11 files changed; 133 insertions; and 39 deletions. @@ -56,7 +145,7 @@ This version contains 12 contributions from 4 contributors. There are 11 files c - Add gossip Closer ([#1483](https://github.com/pilosa/pilosa/pull/1483)) - Update docs references to WebUI naming (console) and installation ([#1493](https://github.com/pilosa/pilosa/pull/1493)) -## [v1.0.0] - 2018-07-09 +## [1.0.0] - 2018-07-09 This version contains 218 contributions from 7 contributors. There are 184 files changed; 21,769 insertions; and 20,275 deletions. @@ -104,7 +193,7 @@ This version contains 218 contributions from 7 contributors. There are 184 files - Allow dashes in frame names ([#1415](https://github.com/pilosa/pilosa/pull/1415)) - Fix generate-config command, use single toml lib ([#1350](https://github.com/pilosa/pilosa/pull/1350)) -## [v0.10.0] - 2018-05-15 +## [0.10.0] - 2018-05-15 This version contains 93 contributions from 8 contributors. There are 93 files changed; 4,495 insertions; and 5,392 deletions. @@ -135,7 +224,7 @@ This version contains 93 contributions from 8 contributors. There are 93 files c - Avoid creating a slice of nil timestamps on Import() ([#1234](https://github.com/pilosa/pilosa/pull/1234)) - Fixup internal client ([#1253](https://github.com/pilosa/pilosa/pull/1253)) -## [v0.9.0] - 2018-05-04 +## [0.9.0] - 2018-05-04 This version contains 188 contributions from 12 contributors. There are 141 files changed; 17,832 insertions; and 7,503 deletions. @@ -489,7 +578,7 @@ This version contains 53 contributions from 13 contributors (including 4 volunte - Rewrite intersectCountArrayBitmap for perf test ([#577](https://github.com/pilosa/pilosa/pull/577)) - Check for duplicate attributes under read lock on insert ([#562](https://github.com/pilosa/pilosa/pull/562)) -[Unreleased]: https://github.com/pilosa/pilosa/compare/v0.5...HEAD +[Unreleased]: https://github.com/pilosa/pilosa/compare/v1.2...HEAD [0.4.0]: https://github.com/pilosa/pilosa/compare/v0.3...v0.4 [0.5.0]: https://github.com/pilosa/pilosa/compare/v0.4...v0.5 [0.6.0]: https://github.com/pilosa/pilosa/compare/v0.5...v0.6 @@ -499,3 +588,4 @@ This version contains 53 contributions from 13 contributors (including 4 volunte [0.10.0]: https://github.com/pilosa/pilosa/compare/v0.9...v0.10 [1.0.0]: https://github.com/pilosa/pilosa/compare/v0.10...v1.0 [1.1.0]: https://github.com/pilosa/pilosa/compare/v1.0...v1.1 +[1.2.0]: https://github.com/pilosa/pilosa/compare/v1.1...v1.2 diff --git a/Dockerfile b/Dockerfile index e4f057564..02454a9c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.10.3 as builder +FROM golang:1.11.4 as builder COPY . /go/src/github.com/pilosa/pilosa/ diff --git a/docs/installation.md b/docs/installation.md index b2e94d1a0..9bd6f9bef 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -42,7 +42,7 @@ There are four ways to install Pilosa on MacOS: Use [Homebrew](https://brew.sh/) backing up, and more. Complete documentation is available at https://www.pilosa.com/docs/. - Version: v1.1.0 + Version: v1.2.0 Build Time: 2018-05-14T22:14:01+0000 Usage: @@ -71,19 +71,19 @@ There are four ways to install Pilosa on MacOS: Use [Homebrew](https://brew.sh/) 1. Download the latest release: ``` - curl -L -O https://github.com/pilosa/pilosa/releases/download/v1.1.0/pilosa-v1.1.0-darwin-amd64.tar.gz + curl -L -O https://github.com/pilosa/pilosa/releases/download/v1.2.0/pilosa-v1.2.0-darwin-amd64.tar.gz ``` Other releases can be downloaded from our Releases page on Github. 2. Extract the binary: ``` - tar xfz pilosa-v1.1.0-darwin-amd64.tar.gz + tar xfz pilosa-v1.2.0-darwin-amd64.tar.gz ``` 3. Move the binary into your PATH so you can run `pilosa` from any shell: ``` - cp -i pilosa-v1.1.0-darwin-amd64/pilosa /usr/local/bin + cp -i pilosa-v1.2.0-darwin-amd64/pilosa /usr/local/bin ``` 4. Make sure Pilosa is installed successfully: @@ -100,7 +100,7 @@ There are four ways to install Pilosa on MacOS: Use [Homebrew](https://brew.sh/) backing up, and more. Complete documentation is available at https://www.pilosa.com/docs/. - Version: v1.1.0 + Version: v1.2.0 Build Time: 2018-05-14T22:14:01+0000 Usage: @@ -163,7 +163,7 @@ There are four ways to install Pilosa on MacOS: Use [Homebrew](https://brew.sh/) backing up, and more. Complete documentation is available at https://www.pilosa.com/docs/. - Version: v1.1.0 + Version: v1.2.0 Build Time: 2018-05-14T22:14:01+0000 Usage: @@ -222,19 +222,19 @@ There are three ways to install Pilosa on Linux: download the binary (recommende 1. To install the latest version of Pilosa, download the latest release: ``` - curl -L -O https://github.com/pilosa/pilosa/releases/download/v1.1.0/pilosa-v1.1.0-linux-amd64.tar.gz + curl -L -O https://github.com/pilosa/pilosa/releases/download/v1.2.0/pilosa-v1.2.0-linux-amd64.tar.gz ``` Note: This assumes you are using an `amd64` compatible architecture. Other releases can be downloaded from our Releases page on Github. 2. Extract the binary: ``` - tar xfz pilosa-v1.1.0-linux-amd64.tar.gz + tar xfz pilosa-v1.2.0-linux-amd64.tar.gz ``` 3. Move the binary into your PATH so you can run `pilosa` from any shell: ``` - cp -i pilosa-v1.1.0-linux-amd64/pilosa /usr/local/bin + cp -i pilosa-v1.2.0-linux-amd64/pilosa /usr/local/bin ``` 4. Make sure Pilosa is installed successfully: @@ -251,7 +251,7 @@ There are three ways to install Pilosa on Linux: download the binary (recommende backing up, and more. Complete documentation is available at https://www.pilosa.com/docs/. - Version: v1.1.0 + Version: v1.2.0 Build Time: 2018-05-14T22:14:01+0000 Usage: @@ -314,7 +314,7 @@ There are three ways to install Pilosa on Linux: download the binary (recommende backing up, and more. Complete documentation is available at https://www.pilosa.com/docs/. - Version: v1.1.0 + Version: v1.2.0 Build Time: 2018-05-14T22:14:01+0000 Usage: