-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update ava to the latest version π #37
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jaredwray
pushed a commit
that referenced
this pull request
Dec 5, 2021
jaredwray
added a commit
that referenced
this pull request
Dec 5, 2021
* Initial commit * Adapt Redis API * Run redis on Travis * Fix typo in description * Add npm keywords * Pass TTL functionality over to Redis * Create promisified redis methods on init * Create redis methods in loop * Make sure .get resolves to undefined if key doesn't exist * Update keyv * Use keyv-api-tests * 0.1.0 * Add usage example to readme * Add API docs to readme * Add support for .clear() * 0.2.0 * Don't expost Redis client * 1.0.0 * keyv => Keyv * 1.0.1 * Expose Redis client so events can be listened to * Show error handling in usage example * 1.1.0 * Add secondary description to readme * 1.1.1 * Make sure opts.uri from Keyv gets passed through to redis * Expose connect/error events directly on storage adapter * Only expose error event * Emit errors on keyv ee * Make sure opts is always defined * Update overview wording * Use JSONB to allow Buffers in JSON * Don't send undefined values to Redis Redis will save them as null. If we don't save them at all we'll retrun undefined on .get so everything works as expected. * No need for JSONB, it's used by default in Keyv now * 1.2.0 * Improve readability of get method * Migrate to keyv-test-suite * Run official keyv storage adapter tests * Add support for namespaces * Don't grab namespace from keyv * Use new store instace for each test * getter fn for namespace * Emit error events * 1.3.0 * Update dependencies to enable Greenkeeper π΄ (#1) * chore(package): update dependencies * docs(readme): add Greenkeeper badge * Remove Greenkeeper badge * Use "this" * Update to requirable * Pin dependency versions * 1.3.1 * Fix requirable version number * Update docs * Add Keyv logo to header * Tweak wording * 1.3.2 * Formatting * 1.3.3 * Update redis to the latest version π (#3) * 1.3.4 * Scope to @keyv * 1.3.5 * Use scoped dependencies * Fix package.json links * Import scoped test suite * 1.3.6 * Update ava to the latest version π (#6) * Support same constructor args as Keyv * Document creating storage adapter instance * 1.3.7 * Add .npmignore * 1.3.8 * Update coveralls to the latest version π (#8) * Update ava to the latest version π (#9) * Update ava to the latest version π (#10) * Update ava to the latest version π (#11) * chore(package): update xo to version 0.20.1 (#14) Closes #13 * Allow testing on non-localhost Redis, add docker config (#27) * Travis: Update Travis to current active LTS and higher (#28) * build: removed `ttlSupport` flag (#29) not longer necessary * Use ioredis client (#26) * 2.0.0 * build: Allow passing in an existing Redis instance (#30) * build: update dependencies (#31) * build: update dependencies * build: force * build: force * 2.1.0 * Update ioredis to ~4.16.0 (#34) * 2.1.1 * update ioredis (#38) * 2.1.2 * adding coverage for undefined going via set (#46) * upgrade nyc to 15.1.0 (#47) * adding yarn lock file (#48) adding yarn lock file * upgrading delay to version 5.0.0 (#49) upgrading delay to version 5.0.0 for maintenance * upgrading ioredis to version 4.27.9 (#50) maintenance update * upgrading ava to 3.15.0 (#51) maintenance update * Revert "upgrading ava to 3.15.0 (#51)" (#52) This reverts commit 2db6e7b2fa24c51abc215c0185e3df440c4ff290. * Update .travis.yml to support node 14 and 15 Update .travis.yml to support node 14 and 15 * upgrading ava to 3.15.0 (#53) upgrading ava to 3.15.0 for maintenance update * adding in support for node version 12 (#55) * upgrading xo to version 0.45.0 (#56) * upgrading xo to version 0.45.0 * moving to supporting 12,14,16 * upgrading ioredis to version 4.27.10 (#57) * keyv-redis package updated to 2.1.3 (#58) * initial check in of github actions (#59) * initial check in of github actions * updating to use redis * update readme with latest status badge * remove travis * Fix test suite import (#60) * Update to use latest npm with license and nvmrc plus license update of authors (#61) * adding nvmrc for node 16 * updating licensing with dates and authors * Delete yarn.lock * update for authors * Moving to docker compose for testing and build (#62) * moving to docker compose for testing and build * moving to docker compose for testing and build * rename yaml file * update to remove yarn.lock * adding in code coverage * updating logo and build badge * Update package.json (#63) * upgrading xo to version 0.46.4 (#64) * upgrading ioredis to version 4.28.0 (#65) * Add support for Redis clusters. (#37) * version bump to v2.2.0 * adding in ttlSupport (#66) * upgrading to @keyv/test-suite version 1.6.12 (#67) * rename to redis * no longer need build * Delete redis-compose.yaml * Delete .gitignore * no longer needed for mongo * no longer needed in mongo * updating for packaging Co-authored-by: Luke Childs <lukechilds123@gmail.com> Co-authored-by: greenkeeper[bot] <greenkeeper[bot]@users.noreply.github.com> Co-authored-by: Casey Webb <notcaseywebb@gmail.com> Co-authored-by: Kiko Beats <josefrancisco.verdu@gmail.com> Co-authored-by: Will Harney <41450688+wjharney@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Version 0.23.0 of ava was just published.
The version 0.23.0 is not covered by your current version range.
If you donβt accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
It might be worth looking into these changes and trying to get this project onto the latest version of ava.
If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you donβt have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.
Release Notes
0.23.0Highlights π΄
NODE_ENV=test
β¨AVA will now set
process.env.NODE_ENV
to'test'
, as long as theNODE_ENV
environment variable has not already been set. 42e7c74Improved snapshot storage location π
Snapshots are stored alongside your test files. This is great when your test file is executed directly but say if you're using TypeScript to precompile your test file AVA would store the snapshots in your build directory. In this release, if source maps are available, AVA determines the original test file location and uses that to store the snapshots.
You can also specify where snapshots are stored through the
snapshotLocation
option in thepackage.json
file. 7fadc34Matching anonymous tests π΅οΈ
--match='*'
now matches all tests, including those without a title. 1df502dMiscellaneous π
2
in CI environments 3f81fc4Bluebird.longStackTraces()
. If you're using Bluebird you may want to call this yourself using arequire
script. ebf78b3 61101d9t.log()
is now supported in the Flow and TypeScript type definitions 64b7755t.title
is now supported in the TypeScript type definitions 3c8b1bet.snapshot()
now has a better Flow type definition ded7ab8All changes π
v0.22.0...v0.23.0
Thanks π
π Huge thanks to @anshulwadhawan, @mliou8, @dehbmarques, @forivall, @forresst, @Couto, @impaler, @kristianmandrup, @lukechilds, @neoeno, @jugglinmike, @P-Seebauer, @philippotto, @ptim, @rhendric, @ntwb, @tdeschryver, @timothyjellison and @zellwk 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 30 commits.
3b81e2c
0.23.0
3f81fc4
Limit concurrency to 2 in a CI environment
1cb9d4f
Adjust NODE_PATH test to fix linting issue
1ea758f
Only display timestamp in verbose logger if watch mode is active (#1557)
c72f4f2
Include anonymous functions in stacktraces (#1508)
eebf26e
Add Awesome mentioned badge
f43d5ae
Recipe instructions for making jQuery available in browser (#1543)
68ce4b8
Update tsconfig.json docs link in the TS recipe
837b0dd
Fix TypeScript recipe typo (#1549)
2349316
Update package-lock with changes in #1407
bb91862
Version warning when local version is behind (#1407)
42e7c74
Set NODE_ENV to to 'test' if not already set (#1523)
64b7755
Add t.log() for Flow and TypeScript (#1538)
8955e15
Lint test fixtures
fa4f73c
Update to npm@5.4.2
There are 30 commits in total.
See the full diff
FAQ and help
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper bot π΄