diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..aaec3ec --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,26 @@ +name: react-query tests + +on: + push: + branches: + - 'master' + pull_request: + +jobs: + test: + name: 'node ${{ matrix.node }} ${{ matrix.os }} ' + runs-on: '${{ matrix.os }}' + strategy: + matrix: + os: [ubuntu-latest] + node: [12, 10] + steps: + - uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node }} + - uses: actions/checkout@v2-beta + with: + fetch-depth: 1 + - run: npm i -g yarn + - run: yarn --frozen-lockfile + - run: yarn test:ci diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index cb3f77f..0000000 --- a/.travis.yml +++ /dev/null @@ -1,18 +0,0 @@ -language: node_js - -node_js: - - 10 - - 12 - -os: - - linux - - osx - - windows - -env: - global: - - YARN_GPG=no - -cache: yarn - -script: yarn test diff --git a/CHANGELOG.md b/CHANGELOG.md index b4a9f94..4f9c5ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +## 7.0.0 🎉 + +- Fixed an issue where page options array could be empty +- Fixed an issue where duplicate columns would be silently deduped. There is now a warning when duplicate columns are found based on their IDs +- Moved some functions around so they will get treeshaked with their respective plugins that use them. +- Fixed an issue where filters, sorting, or grouping changes would not reset pagination +- Added table and column level options for disabling global filters +- Fixed an issue where row selection was not deselecting rows +- Fixed an issue where flex table rendering was not giving the table a minimum width with necessary +- Fixed an issue where row selection would not work when using other row-transformative plugins like filters or grouping +- Fixed an issue where header groups were not memoized correctly + ## 7.0.0-rc.16 - Moved away from snapshot tests. No more testing implementation details. diff --git a/README.md b/README.md index 840f14a..2cdbe38 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,7 @@ Hooks for building **lightweight, fast and extendable datagrids** for React [![#TanStack](https://img.shields.io/twitter/url?color=%2308a0e9&label=%23TanStack&style=social&url=https%3A%2F%2Ftwitter.com%2Fintent%2Ftweet%3Fbutton_hashtag%3DTanStack)](https://twitter.com/intent/tweet?button_hashtag=TanStack) - - -[![Travis CI](https://travis-ci.org/tannerlinsley/react-table.svg?branch=master)](https://travis-ci.org/tannerlinsley/react-table) +[![GitHub Actions CI](https://github.com/tannerlinsley/react-query/workflows/react-query%20tests/badge.svg)](https://github.com/tannerlinsley/react-table/actions) [![Bundlephobia](https://badgen.net/bundlephobia/minzip/react-table@next)](https://bundlephobia.com/result?p=react-table@next) [![NPM Package](https://img.shields.io/npm/dm/react-table.svg)](https://npmjs.com/package/react-table) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/react-table)