Skip to content

Update ava to the latest version 🚀#17

Merged
lukechilds merged 1 commit intomasterfrom
greenkeeper/ava-0.22.0
Aug 15, 2017
Merged

Update ava to the latest version 🚀#17
lukechilds merged 1 commit intomasterfrom
greenkeeper/ava-0.22.0

Conversation

@greenkeeper
Copy link
Contributor

@greenkeeper greenkeeper bot commented Aug 15, 2017

Version 0.22.0 of ava just got published.

Dependency ava
Current Version 0.20.0
Type devDependency

The version 0.22.0 is not covered by your current version range.

Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

I recommend you look into these changes and try to get onto the latest version of ava.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.


Release Notes 0.22.0

There's but a few commits in this release, but we've made a big change to how AVA manages its test workers 👩🏼‍🔬👨🏼‍🏭👨🏿‍🚀👨🏻‍⚕️👩🏽‍💼.

Highlights

Default concurrency

We now cap the number of concurrent workers to the number of CPU cores on your machine. Previously AVA started workers for each test file, so if you had many test files this could actually bring things to a halt. 465fcec

You can still customize the concurrency by setting the concurrency option in AVA's package.json configuration, or by passing the --concurrency flag. We've also beefed up input validation on that flag. b6eef5a

Unfortunately this does change how test.only() behaves. AVA can no longer guarantee that normal tests won't run. For now, if you want to use test.only(), you should run tests from just that file. We have an open issue to add an --only flag, which will ensure that AVA runs just the test.only() tests. If you'd like to help us with that please head on over to #1472.

t.log()

We've also added t.log(), which lets you print a log message contextually alongside the test result, instead of immediately printing it to stdout like console.log. 14f7095

Miscellaneous

All changes

v0.21.0...v0.22.0

Thanks

💖 Huge thanks to @abouthiroppy, @ydaniv, @nowells, @melisoner2006, @clayzermk1 and @tdeschryver for helping us with this release. We couldn’t have done it without you!

Get involved

We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide.

Commits

The new version differs by 27 commits.

  • dd9e8b2 0.22.0
  • b6eef5a Fail hard when --concurrency is set to invalid values (#1478)
  • 57f5007 Fix typo in t.notThrows example (#1486)
  • d8c21a6 Update debugging with webstorm recipe (#1483)
  • 14f7095 Implement t.log() (#1452)
  • e28be05 Fixed makeApp() in endpoint testing recipe (#1479)
  • 465fcec Limit concurrency to the number of CPU cores (#1467)
  • 4eea226 Use --verbose when testing CLI output (#1477)
  • a0d5b37 Simplify readme avatar URLs
  • 31b1380 Add tests for improper-usage-messages (#1462)
  • a1afbe3 0.21.0
  • f9b865a Update safe-buffer in package-lock.json
  • d0fc8c9 Avoid directly using newish Buffer APIs (#1448)
  • 9e4ee3f Upgrade concordance (#1450)
  • 761f7f7 Update expected package.json version in readme (#1449)

There are 27 commits in total.

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

@coveralls
Copy link

coveralls commented Aug 15, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling 85df6f1 on greenkeeper/ava-0.22.0 into 0ac673f on master.

@lukechilds lukechilds merged commit 0af7a91 into master Aug 15, 2017
@greenkeeper greenkeeper bot deleted the greenkeeper/ava-0.22.0 branch August 15, 2017 11:22
caseyWebb pushed a commit to caseyWebb/keyv that referenced this pull request Oct 10, 2019
caseyWebb pushed a commit to caseyWebb/keyv that referenced this pull request Oct 10, 2019
caseyWebb pushed a commit to caseyWebb/keyv that referenced this pull request Oct 10, 2019
jaredwray added a commit that referenced this pull request Nov 21, 2021
* Initial commit

* Fix Travis MySQL

* Mention MariaDB

* Fix invalid bad connection string

* 0.1.0

* Run MySQL setup commands as root

* Use keyv-sql instead of keyv-sequelize (#3)

* Update to requirable

* Pin dependency versions

* 0.2.0

* fix(package): update keyv-sql to version 0.2.4 (#4)

* 0.2.1

* Finish docs

* 1.0.0

* fix(package): update keyv-sql to version 1.0.2 (#6)

Closes #5

* 1.0.1

* Update mysql2 to the latest version 🚀 (#8)

* fix(package): update keyv-sql to version 1.0.3 (#9)

* 1.0.2

* Scope to @keyv

* 1.0.3

* Use scoped sql package

* 1.0.4

* Update ava to the latest version 🚀 (#13)

* Update mysql2 to the latest version 🚀 (#14)

* Update @keyv/sql to the latest version 🚀 (#16)

* fix(package): update @keyv/sql to version 1.0.6

* 1.0.5

* Install typo

* 1.0.6

* fix(package): update mysql2 to version 1.4.2 (#17)

* 1.0.7

* fix(package): update @keyv/sql to version 1.1.0 (#19)

* Update @keyv/sql to the latest version 🚀 (#20)

* Document opts.keySize

* Mention key size issue in readme

* 1.1.0

* Update @keyv/sql to the latest version 🚀 (#21)

* 1.1.1

* Update coveralls to the latest version 🚀 (#22)

* Update ava to the latest version 🚀 (#23)

* Update mysql2 to the latest version 🚀 (#24)

* 1.1.2

* Update mysql2 to the latest version 🚀 (#25)

* 1.1.3

* Update ava to the latest version 🚀 (#26)

* Update ava to the latest version 🚀 (#27)

* Update mysql2 to the latest version 🚀 (#28)

* 1.1.4

* chore(package): update xo to version 0.20.1 (#30)

Closes #29

* Update .gitignore

* upgrading @keyv/sql to version 1.1.3

* Delete .travis.yml

* adding in build for github actions

* removing files for testing mysql

* upgraded mysql2 to version 2.3.1 to get test working

* mysql docker compose file

* updated to use testing user / pass combo

* updating with build status badge

* upgrading @keyv/sql to version 1.1.3

* updating authors and licensing

* upgrading nyc to version 15.1.0

* upgrading ava to version 3.15.0

* updating to handle const instead of import for ava

* Revert "Upgrading ava to version 3.15.0"

* fixing logo on readme

* Update build.yaml

* Update build.yaml

* Update build.yaml

* Update build.yaml

* updating with all mysql values

* moving to root for testing

* updating to handle super user

* moving back to docker

* Update mysql.yaml

* using local container db

* Update build.yaml

* testing mariadb service

* Update build.yaml

* Update build.yaml

* moving to docker compose

* upgrading mysql2 to version 2.3.2

* upgrading xo to version 0.45.0

* updating fixes for xo formating

* upgrading ava to version 3.15.0

* moving to const for testing

* version bump for release

* moving to node 16

* updating to latest compose

* upgrading xo to version 0.46.4

* Update build.yaml

* upgraind mysql2 to version 2.3.3

* adding in codecov

* adding in code coverage

* updating for services

* upgrading keyv to version 4.0.4

* updating coverage reporting

* removing mysql dependency

* removing mysql dependency and fixing clean

* no longer need build in mono

* no longer needed

* importing mysql

Co-authored-by: Luke Childs <[email protected]>
Co-authored-by: greenkeeper[bot] <greenkeeper[bot]@users.noreply.github.com>
jaredwray pushed a commit that referenced this pull request Nov 21, 2021
jaredwray added a commit that referenced this pull request Nov 21, 2021
* Initial commit

* 0.1.0

* Exclude src from npm and dist from git

* 0.1.1

* Make sure we always transpile for Node.js 4 The AVA preset only targets the Node.js version used to build.

* 0.1.2

* Add usage example to readme

* Mention keyv-redis as existing example

* 1.0.0

* Tweak wording

* `keyv` => Keyv

* Capitalise title

* 1.0.1

* Link to AVA/Keyv

* Fix markdown heading

* 1.0.2

* Update dependencies to enable Greenkeeper 🌴 (#1)

* chore(package): update dependencies

* Readme wording

* Clear store before each test and cleanup afterwards

* Test .clear() deletes all key/value pairs

* Test .clear() resolves to undefiend

* Test .clear() returns a Promise

* Move tests around

* Test .set(key, value) sets a value

* Test .delete(key) deletes a key

* 1.1.0

* Fix lint error

* Add bigger delay to wait for TTL to expire This was sometimes failing on Node.js 4

* 1.1.1

* chore(package): update ava to version 0.21.0 (#2)

* Test value can be an object

* Test value can be a buffer

* Test value can be an object containing a buffer

* Test value can be null

* Test value can be undefined

* Test value can be a number

* .set should now resolve to true

* 1.2.0

* Rename to keyv-test-suite

* Split tests up into seperate files

Allow tests to be imported seperately or use helper to run them all

* Add official tests

* 1.3.0

* Use get-root-module

* Test keyvOfficialTests against keyv-redis

* Run Redis on Travis

* Test namespaced .set(key, value) don't collide

* Rename test to make it clear we're testing both set and get

* Test namespaced delete only deletes from current namespace

* Test namespaced clear only clears current namespace

* Use new store instace for each test

* Fix typo

* 1.4.0

* docs(readme): add Greenkeeper badge (#3)

* Remove Greenkeeper badge

* Use this (renamed get-root-module)

* 1.4.1

* Increase TTL delay to stop false positives

* 1.4.2

* Spoof date if possible

* Test against SQLite not Redis

* Update docs

* Update keywords

* 1.5.0

* Scope to @keyv

* 1.5.1

* Fix timings so tests don't fail for slow writes

* 1.5.2

* Update ava to the latest version 🚀 (#9)

* Test value can contain quotes

* 1.6.0

* Add .npmignore

* 1.6.1

* Remove .npmignore

* 1.6.2

* 1.6.3

* Add .npmignore

* 1.6.4

* Update timekeeper to the latest version 🚀 (#10)

* 1.6.5

* pkg.files over .npmignore

* 1.6.6

* Revert "pkg.files over .npmignore"

This reverts commit 045b652acc6ace1d63bc81aaf6aeeda5577e790f.

* 1.6.7

* Add everything to .npmignore apart from dist

* 1.6.8

* Revert "Add everything to .npmignore apart from dist"

This reverts commit 4495a78b139eb00b062967c43060b7934b8630f0.

* 1.6.9

* Add everything to .npmignore apart from dist

* 1.6.10

* Update coveralls to the latest version 🚀 (#11)

* Update ava to the latest version 🚀 (#12)

* Update ava to the latest version 🚀 (#13)

* Update ava to the latest version 🚀 (#14)

* await `keyv.clear()` before finishing test (#17)

* 1.6.11

* compliancy -> compliance (#22)

* handling yarn.lock

* updating author

* updating author

* updating author

* adding in build for node 12, 14, and 16

* Delete .travis.yml

* adding in status badge

* adding in the build script

* remving the coverage file

* updating coverage script

* updating badge

* upgrading nyc to version 15.1.0

* upgrading delay to version 2.0.0

* upgrading ava to version 3.15.0

* adding nvm to project for node 16

* upgrading xo to version 0.46.4

* spacing added

* adding in file names

* using require for buffer

* version bump 1.6.12

* adding in dist to ignore

* moving test-suite to mono repo

Co-authored-by: Luke Childs <[email protected]>
Co-authored-by: greenkeeper[bot] <greenkeeper[bot]@users.noreply.github.com>
Co-authored-by: Roney Rao <[email protected]>
Co-authored-by: Dan Dascalescu <[email protected]>
jaredwray pushed a commit that referenced this pull request Nov 21, 2021
jaredwray added a commit that referenced this pull request Nov 21, 2021
* Initial commit

* docs(readme): add Greenkeeper badge

* Setup entry schema

* Use key as primary key

* Ensure keys are unique and indexable

* Disable timestamps

* Add get/set/delete methods

* Add clear method

* Wait for connection before running queries

* Return Boolean for delete method

* clear method always resolves to undefined

* get method returns undefined on nonexistent keys

* Disable logging by default

* 0.1.0

* Make invalid connection string more clear

* Explicitly use memory for tests

* KeyvSQLite => KeyvSqlite

* Respect table name

* Don't run tests in memory

* Accept connection string as contructor argument

* Make sure clear only clears current namespace

* 0.2.0

* Remove Greenkeeper badge

* Test options have expected defaults

* Extract sequelize logic into subclass

* Remove old test

* Update keywords

* Remove redundant type casting

* 0.3.0

* Logging and table are set by default in keyv-sequelize

* fix(package): update keyv-sequelize to version 0.1.0 (#3)

* Use keyv-sql instead of keyv-sequelize (#5)

* 1.0.0

* Pass busyTimeout option to SQLite

* Use large busyTimeout with tests

Stops 'SQLITE_BUSY: database is locked' errors from creating loads of connections

* fix(package): update keyv-sql to version 0.2.0 (#6)

* Pin dependency versions

* Only accept opts object

* 1.1.0

* fix(package): update keyv-sql to version 0.2.3 (#8)

Closes #7

* Update to requirable

* 1.2.0

* fix(package): update keyv-sql to version 0.2.4 (#9)

* 1.2.1

* Finish docs

* Also mention table option

* fix(package): update keyv-sql to version 1.0.2 (#11)

Closes #10

* 1.2.2

* fix(package): update sqlite3 to version 3.1.9 (#13)

* 1.2.3

* Update keyv-sql to the latest version 🚀 (#14)

* 1.2.4

* Scope to @keyv

* 1.2.5

* Use scoped sql package

* 1.2.6

* Update ava to the latest version 🚀 (#17)

* fix(package): update @keyv/sql to version 1.0.6 (#18)

* fix(package): update @keyv/sql to version 1.1.1 (#22)

Closes #20

* 1.2.7

* Update @keyv/sql to the latest version 🚀 (#23)

* 1.2.8

* Update sqlite3 to the latest version 🚀 (#24)

* 1.2.9

* Update sqlite3 to the latest version 🚀 (#25)

* 1.2.10

* Update sqlite3 to the latest version 🚀 (#26)

* 1.2.11

* Update sqlite3 to the latest version 🚀 (#28)

* 1.2.12

* Update coveralls to the latest version 🚀 (#27)

* Update ava to the latest version 🚀 (#30)

* Update ava to the latest version 🚀 (#31)

* Update ava to the latest version 🚀 (#32)

* fix(package): update sqlite3 to version 4.0.2 (#40)

Closes #34

* Stop testing Node.js v4 and start testing v10

* 2.0.0

* Update sqlite3 to version 4.0.8 (#44)

* Update ava to version 1.4.1 (#46)

* Update nyc to version 14.1.1 (#48)

Closes #36

* 2.0.1

* Update sqlite3 and don't pin version

* 2.0.2

* upgrading travisci to node version 12,14, and 16

* adding github build tests

* updating to just run tests

* updating build name

* removing travisci

* adding github status badge for build to readme

* upgrading pify to version 5.0.0

* upgrading sqlite3 to version 5.0.2

Thanks to @jdesboeufs for this work.

* upgrading ava to 3.15.0

* upgrading nyc to version 15.1.0

* upgrading to xo version 0.45.0

* xo clean up

opts renamed to options
err renamed to error
tabs and spaces

* moving the busy timeout to 3 seconds

* maintenance release and version bump to v.2.0.3

* moving to standard test suite

* adding in nvm for support on 16

* updating licensing to include authors

* Delete yarn.lock

* no longer needed in mono repo

* import into mono repo

* adding in code coverage for sqlite

* removing this as a storage adapter in keyv

Co-authored-by: Luke Childs <[email protected]>
Co-authored-by: greenkeeper[bot] <greenkeeper[bot]@users.noreply.github.com>
Co-authored-by: Aditya Patadia <[email protected]>
jaredwray pushed a commit that referenced this pull request Nov 22, 2021
jaredwray added a commit that referenced this pull request Nov 22, 2021
* Initial commit

* docs(readme): add Greenkeeper badge

* Create Travis DB for tests

* Use pq@6

pq@7 appears to have issues with Sequelize

* 0.1.0

* Keyvpostgres => KeyvPostgres

* Remove Greenkeeper badge

* Use keyv-sql instead of keyv-sequelize

* Format pq query results as array of rows for keyv-sql

* Don't use obj destructuring for Node.js 4 compat

* Remove sequelize dependencies

* Update to keyv-sql 0.2.3 for latest Postgres compat

* Test against Postgres 9.5 on Travis

* Lock dependency versions

* Only accept opts object as constructor argument

* 1.0.0

* requireable => requirable

* 1.0.1

* fix(package): update keyv-sql to version 0.2.4 (#4)

* 1.0.2

* Finish docs

* Update keyv-sql to the latest version 🚀 (#5)

* 1.0.3

* fix(package): update keyv-sql to version 1.0.2 (#6)

Closes #5

* 1.0.4

* Update pg to the latest version 🚀 (#7)

* 1.0.5

* Update keyv-sql to the latest version 🚀 (#8)

* 1.0.6

* Scope to @keyv

* 1.0.7

* Import scoped test suite

* 1.0.8

* Update pg to the latest version 🚀 (#11)

* 1.0.9

* Update pg to the latest version 🚀 (#12)

* 1.0.10

* Update ava to the latest version 🚀 (#13)

* fix(package): update @keyv/sql to version 1.0.6 (#14)

* fix(package): update pg to version 7.2.0 (#15)

* 1.0.11

* Update pg to the latest version 🚀 (#17)

* 1.0.12

* Update @keyv/sql to the latest version 🚀 (#18)

* Update @keyv/sql to the latest version 🚀 (#19)

* 1.0.13

* fix(package): update @keyv/sql to version 1.1.2 (#20)

* 1.0.14

* Update coveralls to the latest version 🚀 (#21)

* Update ava to the latest version 🚀 (#22)

* Update pg to the latest version 🚀 (#23)

* 1.0.15

* Update ava to the latest version 🚀 (#24)

* Update pg to the latest version 🚀 (#25)

* 1.0.16

* Update package.json

Old versions of pg don't work with new versions of node.js (14+)

* moving github actions to build

* moving to local postgres

* updating to create the database

* creating database

* set the user password

* updating command formatting

* updating postgres password

* same user and pass

* user and pass the same

* updating to handle xo upgrade

* updating to handle new format with xo

* upgrading nyc to latest version 15.1.0

* removing travis ci as no longer needed

* updated build status badge on readme

* upgrade xo to version 0.45.0

* fix options to be named correctly

* upgrading ava to version 3.15.0

* moving testing to staged

* fixing tests

* updating to just Official Tests

* Update test.js

* adding in api tests

* adding in value tests

* moving build to 1 parallel process

* update to stop and start the service

* trying createdb

* trying create db

* adding in owner

* adding in multiple stores

* version bump for release v1.0.17

* updated for serial flag on ava

* updated tests to more uniform

* adding in docker compose for testing

* adding in docker compose for build

* adding in docker compose via scripts

* updating to use npm run

* moving to latest version of postgres

* correcting flow of build

* moved docker compose to test folder

* changed naming convention to be more uniform

* updating for new npm run command to start postgres

* updated compose to test folder and removed values

* updated readme around how to test

* naming adjusted

* updating for testing

* Update README.md

* updating licensing for all authors

* adding nvm and also removing yarn to standardize on npm

* upgrading xo to version 0.46.4

* updating build to reference correct testing

* upgrading @keyv/sql to version 1.1.3

* adding codecov on build workflow

* removing codecoverage output from project

* remving coveralls

* updating badge

* updating to run coverage

* version bump to v1.0.18

* no longer needed

* import @keyv/postgres to mono repo

Co-authored-by: Luke Childs <[email protected]>
Co-authored-by: greenkeeper[bot] <greenkeeper[bot]@users.noreply.github.com>
Co-authored-by: Andrey Frimuchkov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants