Releases: jaredwray/keyv
2023-03-06
Package Releases 📢 🙌
- @keyv/redis (v2.5.6) - updating the ioredis driver to latest
- @keyv/postgres (v1.4.3) - adding the ability to add in
schema
to options but defaults to public. - @keyv/compress-brotli (v1.1.3) - updating with bug fix #679
What's Changed
- test-suite - updating publish to only need the dist folder by @jaredwray in #692
- compress-brotli package using typescript by @christianllv in #693
- updating typescript packages to use tsconfig.dist.json by @jaredwray in #694
- compress-gzip: rewrite to use typescript by @christianllv in #698
- memcache - upgrading ava to 5.2.0 by @jaredwray in #702
- memcache - upgrading c8 to 7.13.0 by @jaredwray in #703
- redis - upgrading c8 to 7.13.0 by @jaredwray in #704
- redis - upgrading ava to 5.2.0 by @jaredwray in #705
- redis - upgrading ioredis to 5.3.1 by @jaredwray in #706
- test-suite - upgrading ava to 5.2.0 by @jaredwray in #707
- test-suite - upgrading c8 to 7.13.0 by @jaredwray in #708
- offline - upgrading ava to 5.2.0 by @jaredwray in #709
- offline - upgrading c8 to 7.13.0 by @jaredwray in #710
- offline - upgrading tsd to 0.26.0 by @jaredwray in #711
- compress-brotli - upgrading ava to 5.2.0 by @jaredwray in #712
- compress-brotli - upgrading c8 to 7.13.0 by @jaredwray in #713
- compress-brotli - upgrading tsd to 0.26.0 by @jaredwray in #714
- compress-gzip - upgrading tsd to 0.26.0 by @jaredwray in #715
- compress-gzip - upgrading eslint to 5.54.0 by @jaredwray in #716
- compress-gzip - upgrading c8 to 7.13.0 by @jaredwray in #717
- compress-gzip - upgrading ava to 5.2.0 by @jaredwray in #718
- compress-gzip - upgrading @typescript-eslint/parser to 5.54.1 by @jaredwray in #719
- ✨: add schema support by @fuergaosi233 in #668
New Contributors
- @fuergaosi233 made their first contribution in #668
Full Changelog: 2023-02-19...2023-03-06
2023-02-19
Package Releases 🎉
- Test Suite v1.9.0 - A major upgrade moving the entire project to typescript with its own definition files
- Offline v3.0.7 - Updated documentation on readme
- Memcache v1.3.6 - Updated documentation
- Postgres v1.4.2 - Upgrading the
pg
module to 8.9.0 - Mysql v1.6.1 - Upgrading
mysql2
module to 3.1.2
What's Changed
- keyv - upgrading eslint and typescript to latest by @jaredwray in #666
- init of the keyv site by @jaredwray in #670
- keyv.org - website updates by @jaredwray in #671
- Website - adding in all storage adapters and cleanup by @jaredwray in #673
- website - adding in storage adapters fix by @jaredwray in #674
- Website - fixing build with path issues by @jaredwray in #675
- website - fixing docs page order by @jaredwray in #676
- removing better-sqlite3 library and types by @christianllv in #672
- refactor test-suite to use typescript by @christianllv in #652
- add deserialize validation to avoid empty values by @christianllv in #679
- website - fixing the deployment on pull request by @jaredwray in #680
- sqlite - upgrading typescript to 4.9.5 by @jaredwray in #681
- sqlite - upgrading c8 and ava to latest by @jaredwray in #682
- website - updating with favicon by @jaredwray in #683
- Website - updating with favicon 2 by @jaredwray in #684
- postgres - upgrading typescript, ava, and c8 to latest by @jaredwray in #685
- postgres - upgrading pg to 8.9.0 by @jaredwray in #686
- mysql - upgrading typescript, ava, and c8 to latest by @jaredwray in #687
- mysql - upgradin mysql2 to 3.1.2 by @jaredwray in #688
- etcd - upgrading typescript, ava, anc c8 to latest by @jaredwray in #689
- tiered - upgrading typescript, ava, and c8 to latest by @jaredwray in #691
- Issue #677 by @Viiprogrammer in #690
New Contributors
- @christianllv made their first contribution in #672
- @Viiprogrammer made their first contribution in #690
Full Changelog: 2023-02-04...2023-02-19
2023-02-04
Redis v2.5.5
Update released with upgraded ioredis (v5.3.0) 🎉
What's Changed
- redis-next - adding in typescript build by @jaredwray in #646
- redis-next - setting up next testing environment by @jaredwray in #648
- removing redis-next and moving to a branch by @jaredwray in #649
- add website package by @cialese in #651
- updating modules and adding docula by @jaredwray in #653
- memcache - upgrading ava to 5.1.0 by @jaredwray in #654
- memcache - upgrading typescript to 4.9.5 by @jaredwray in #655
- offline - upgrading ava to 5.1.1 by @jaredwray in #656
- offline - upgrading typescript to 4.9.5 by @jaredwray in #657
- compress-gzip - upgrading ava to 5.1.1 by @jaredwray in #658
- compress-gzip - upgrading typescript and eslint to latest by @jaredwray in #659
- compress-brotli - upgrading ava to 5.1.1 by @jaredwray in #660
- compres-brotli - upgrading typescript to 4.9.5 by @jaredwray in #661
- redis - upgrading ava to 5.1.1 by @jaredwray in #662
- redis - upgrading typescript to 4.9.5 by @jaredwray in #663
- redis - upgrading ioredis to 5.3.0 by @jaredwray in #664
- keyv - upgrading ava to 5.1.1 by @jaredwray in #665
New Contributors
Full Changelog: 2023-01-21...2023-02-04
2023-01-21
MySql v1.6.0 - MySql2 module upgrade to 3.0.1!
The mysql storage adapter has been upgraded to the latest mysql2 driver which you can read about here: https://github.com/sidorares/node-mysql2/releases/tag/v3.0.0
What's Changed
- redis-next - initial setup of the new version of redis by @jaredwray in #636
- compress-gzip - cleaning up dev dependencies by @jaredwray in #638
- sqlite - upgrading ava to 5.1.1 by @jaredwray in #639
- Postgres - upgrading ava to 5.1.1 by @jaredwray in #640
- mysql - uprading ava to 5.1.1 by @jaredwray in #641
- mysql - removing options that are invalid by @jaredwray in #642
- mysql - upgrading mysql2 to 3.0.1 by @jaredwray in #643
- Etcd upgrading ava to 5.1.1 by @jaredwray in #644
- tiered - upgrading ava to 5.1.1 by @jaredwray in #645
Full Changelog: 2022-01-07...2023-01-21
2022-01-07
Compress-Gzip v1.2.3
API is all the same but fully re-written in tyepscript and generating its own type file.
Test-Suite v1.8.9 (Maintenance)
Test suite had a module upgraded that is used for testing bignumber.js
What's Changed
- keyv - upgrading typescript to 4.9.4 by @jaredwray in #624
- keyv - upgrading eslint to 8.31.0 by @jaredwray in #625
- memcache - upgrading typescript to 4.9.4 by @jaredwray in #626
- redis - upgrading typescript to 4.9.4 by @jaredwray in #627
- test-suite - upgrading bignumber.js to 9.1.1 by @jaredwray in #628
- offline - upgrading typescript to 4.9.4 by @jaredwray in #629
- compress-gzip - upgrading typescript to 4.9.4 by @jaredwray in #630
- Gzip typescript conversion by @alphmth in #562
- updating the github actions to latest v3 by @jaredwray in #631
- compress-gzip - migration to typescript by @jaredwray in #632
- compress-brotoli - adding in c8 for unit testing by @jaredwray in #633
- compress-brotli - upgrading typescript to 4.9.4 by @jaredwray in #634
Full Changelog: 2022-12-17...2022-01-07
2022-12-17
@keyv/sqlite is now upgraded
The module has the latest update of sqlite3 now!
What's Changed
- Added
keyv-arango
to 3rd party storage adapters by @TimMikeladze in #615 - adding in arango storage adapter reference by @jaredwray in #616
- sqlite - upgrading typescript and tsd to latest by @jaredwray in #617
- sqlite - upgrading sqlite3 to 5.1.4 by @jaredwray in #618
- postgres - upgrading typescript and tsd to latest by @jaredwray in #619
- mysql - upgrading typescript and tsd to latest by @jaredwray in #620
- etcd - upgrading typescript and tsd to latest by @jaredwray in #621
- tiered - upgrading typescript and tsd to latest by @jaredwray in #622
New Contributors
- @TimMikeladze made their first contribution in #615
Full Changelog: 2022-12-05...2022-12-17
2022-12-05
Maintenance Release 🎉
Majup updates to xo, ava, and core development libraries. Very minor changes overall.
What's Changed
- migrating to c8 for code coverage reporting by @jaredwray in #585
- amazon documentdb storage adapter guide by @cprendergast19 in #587
- mono - upgrading @types/node to 18.11.10 by @jaredwray in #588
- keyv - upgrading xo to 0.53.1 by @jaredwray in #589
- keyv - upgrading typescript to 4.9.3 by @jaredwray in #590
- memcache - upgrading typescript to 4.9.3 by @jaredwray in #591
- keyv - upgrading tsd to 0.25.0 by @jaredwray in #592
- keyv - upgrading eslint to 8.29.0 by @jaredwray in #593
- keyv - upgrading ava to 5.1.0 by @jaredwray in #594
- memcache - upgrading tsd to 0.25.0 by @jaredwray in #595
- memcache - upgrading ava to 5.1.0 by @jaredwray in #596
- redis - upgrading xo to 0.53.1 by @jaredwray in #597
- redis - upgrading typescript to 4.9.3 by @jaredwray in #598
- redis - upgrading tsd to 0.25.0 by @jaredwray in #599
- redis - upgrading ava to 5.1.0 by @jaredwray in #600
- test-suite - upgrading xo to 0.53.1 by @jaredwray in #601
- test-suite - upgrading ava to 5.1.0 by @jaredwray in #602
- offline - upgrading ava to 5.1.0 by @jaredwray in #603
- offline - upgrading xo to 0.53.1 by @jaredwray in #604
- offline - upgrading typescript to 4.9.3 by @jaredwray in #605
- compres-brotli - upgrading xo to 0.53.1 by @jaredwray in #606
- compress-brotli - upgrading webpack to 5.75.0 by @jaredwray in #607
- compress-brotli - upgrading ava to 5.1.0 by @jaredwray in #608
- compress-brotli - upgrading typescript to 4.9.3 by @jaredwray in #609
- compress-gzip - upgrading xo to 0.53.1 by @jaredwray in #610
- compress-gzip - upgrading ava to 5.1.0 by @jaredwray in #611
- compress-gzip - upgrading pako to 2.1.0 by @jaredwray in #612
- compress-zip - upgrading typescript to 4.9.3 by @jaredwray in #613
Full Changelog: 2022-11-24...2022-12-05
2022-11-24
Maintenance Release 2022-11-24
Most of the updates on this recent release are bug fixes or module updates. Here are the bug fixes:
- Exposing the
disconnect()
function via Typescript - redis issue 558 disconnect definition fix by @jaredwray in #561 - When using the
{opts.compression}
parameter with a compression component it is not working because it isasync/await
fixed issue 559 by @alphmth in #563 (Thanks @alphmth) 🥇 - Typescript Error because of CompressionAdapter on v4.5.1 of Keyv - #557 (Thanks @ODudek!) 🎉
What's Changed
- Fix CompressionAdapter interface definition by @ODudek in #557
- Added Caching Pages SEO by @cprendergast19 in #560
- redis issue 558 disconnect definition fix by @jaredwray in #561
- fixed issue 559 by @alphmth in #563
- sqlite - upgrading xo to 0.53.1 by @jaredwray in #566
- sqlite - upgrading typescript to 4.9.3 by @jaredwray in #567
- sqlite - upgrading ava to 5.1.0 by @jaredwray in #568
- postgres - upgrading xo to 0.53.1 by @jaredwray in #569
- postgres - upgrading typescript to 4.9.3 by @jaredwray in #570
- postgres - upgrading ava to 5.1.0 by @jaredwray in #571
- mysql - upgrading xo to 0.53.1 by @jaredwray in #572
- mysql - upgrading typescript to 4.9.3 by @jaredwray in #573
- mysql - upgrading ava to 5.1.0 by @jaredwray in #574
- etcd - upgrading ava to 5.1.0 by @jaredwray in #575
- etcd - upgrading typescript to 4.9.3 by @jaredwray in #576
- etcd - upgrading xo to 0.53.1 by @jaredwray in #577
- mono - upgrading @types/node to 18.11.9 by @jaredwray in #578
- etcd - upgrading webpack to 5.75.0 by @jaredwray in #579
- tiered - upgrading xo to 0.53.1 by @jaredwray in #580
- tiered - upgrading ava to 5.1.0 by @jaredwray in #581
- tiered - upgrading typescript to 4.9.3 by @jaredwray in #582
- removing this module as no longer needed by @jaredwray in #583
New Contributors
Full Changelog: 2022-11-06...2022-11-24
2022-11-06
Release Notes for 2022-11-06
We have some new updates around mysql
and postgres
storage adapters and a ton of maintenance updates!
Posgres - SSL Support!
We are now supporting SSL for Postgres and thanks to @wgwz for adding this feature! 🎉
const options = {ssl: {rejectUnauthorized: false}};
const keyv = new KeyvPostgres({uri: 'postgresql://postgres:postgres@localhost:5433/keyv_test', ...options})
MySQL - SSL Support!
We now do SSL support inside the MySQL storage adapter. Thanks to @alphmth for adding this feature! 💥
const options = {
ssl: {
rejectUnauthorized: false,
ca: fs.readFileSync(path.join(__dirname, '/certs/ca.pem')).toString(),
key: fs.readFileSync(path.join(__dirname, '/certs/client-key.pem')).toString(),
cert: fs.readFileSync(path.join(__dirname, '/certs/client-cert.pem')).toString(),
},
};
const keyv = new KeyvMysql({uri: 'mysql://root@localhost:3307/keyv_test'});
What's Changed
- Getting Started Guide 🎉 by @cprendergast19 in #530
- fixed ts issue by @alphmth in #534
- Created How to Implement Caching in Javascript Page by @cprendergast19 in #533
- ssl configs for mysql by @alphmth in #532
- Allow passing ssl config options for @keyv/postgres by @wgwz in #529
- keyv - upgrading ava to 5.0.1 by @jaredwray in #535
- keyv - upgrading eslint to 8.26.0 by @jaredwray in #536
- keyv - upgrading xo to 0.52.4 by @jaredwray in #537
- memcache - upgrading ava to 5.0.1 by @jaredwray in #538
- redis - upgrading ava to 5.0.1 by @jaredwray in #539
- redis - upgrading xo to 0.52.4 by @jaredwray in #540
- redis - upgrading ioredis to 5.2.4 by @jaredwray in #541
- redis - removing @types/keyv as no longer needed by @jaredwray in #542
- test-suite - upgrading ava to 5.0.1 by @jaredwray in #543
- test-suite - upgrading xo to 0.52.4 by @jaredwray in #544
- offline - upgrading ava to 5.0.1 by @jaredwray in #545
- offline - upgrading xo to 0.52.4 by @jaredwray in #546
- compress-brotli - upgrading ava to 5.0.1 by @jaredwray in #547
- compress-brotli - upgrading xo to 0.52.4 by @jaredwray in #548
- compress-brotli - upgrading typescript and components to latest by @jaredwray in #549
- compress-gzip - upgrading ava to 5.0.1 by @jaredwray in #550
- compress-gzip - upgrading xo to 0.52.4 by @jaredwray in #551
- compress-gzip - upgrading typescript and components to latest by @jaredwray in #552
- compress-gzip - removing this as no longer needed by @jaredwray in #553
- compress-brotli - removing this module as no longer needed by @jaredwray in #554
- testing code coverage by @jaredwray in #555
New Contributors
- @cprendergast19 made their first contribution in #530
- @wgwz made their first contribution in #529
Full Changelog: 2022-10-17...2022-11-06
2022-10-17
2022-10-17 Release
There has been some bigger updates around the compression libraries and also updates to many of the packages. As always, this includes dependency updates which you can see below under What's Changed. Let's get started:
Typescript update to many of the storage adapters adding in <Value=any>
This was a fix for #512 and we have tested it but happy for any feedback on it.
Compression Packages are now more robust!
We did our initial look at how to add compression into the system and with this latest release made it much more robust. Currently supporting compress-brotli
and compress-gzip
each one of the packages now have type definitions and the main Keyv
has an interface to define what these should look like:
interface CompressionAdapter {
async compress(value: any, options?: any);
async decompress(value: any, options?: any);
async serialize(value: any);
async deserialize(value: any);
}
To use these compression libraries you can do the following:
const KeyvBrotli = require('@keyv/compress-brotli');
const Keyv = require('keyv');
const keyv = new Keyv({store: new Map(), compression: new KeyvBrotli()});
NOTE: when you do use compression the functions serialize
and deserialize
are overwritten.
What's Changed
- redis - removing reliance on this package by @jaredwray in #499
- offline - removing this package as no longer needed by @jaredwray in #500
- fixed namespace clear issue by @alphmth in #501
- keyv - upgrading ava to 4.3.3 by @jaredwray in #503
- Compression Updates by @jaredwray in #502
- Revert "Compression Updates" by @jaredwray in #505
- keyv - upgrading eslint to 8.24.0 by @jaredwray in #504
- keyv - upgrading typescript and tsd to latest by @jaredwray in #506
- keyv - upgrading xo to 0.52.3 by @jaredwray in #507
- memcache - upgrading typescript to 4.8.4 by @jaredwray in #508
- redis - upgrading typescript to 4.8.4 by @jaredwray in #509
- offline - upgrading typescript to 4.8.4 by @jaredwray in #510
- Compression updates v2 by @alphmth in #511
- sqlite - upgrading sqlite3 to 5.1.2 by @jaredwray in #514
- sqlite - upgrading typescript to 4.8.4 by @jaredwray in #515
- sqlite - upgrading xo to 0.52.4 by @jaredwray in #517
- postgres - upgrading typescript to 4.8.4 by @jaredwray in #518
- postgres - upgrading xo to 0.52.4 by @jaredwray in #519
- mysql - upgrading typescript to 0.52.4 by @jaredwray in #520
- mysql - upgrading xo to latest by @jaredwray in #521
- Etcd - upgrading xo to 0.52.4 by @jaredwray in #522
- etcd - upgrading typescript to 4.8.4 by @jaredwray in #524
- tiered - upgrading typescript to 4.8.4 by @jaredwray in #525
- tiered - upgrading xo to 0.52.4 by @jaredwray in #526
- added fix for value by @alphmth in #523
Full Changelog: 2022-09-19...2022-10-17