@scayle/unstorage-scayle-kv-driver
2.0.4
Patch Changes
- Updated dependency
[email protected]
to[email protected]
2.0.3
Patch Changes
- Ensure connection is fully established before issuing redis commands.
2.0.2
Patch Changes
- Removed
disableOfflineQueue
option to avoid errors.
2.0.1
Patch Changes
- Fixed an issue when connecting to redis cluster instances.
2.0.0
Major Changes
- Updated to use
node-redis
as the primary underlying Redis client. This package previously usedioredis
.node-redis
is the recommended JavaScript Redis client library for new projects and supports the latest features of Redis.
This has no API changes and should not have a noticeable impact, but it is marked as a major release since it is a significant change to the underlying architecture. You can read more about the differences betweenioredis
andnode-redis
in the Redis Documentation.
However, if you would like to continue to use theioredis
-based driver, it is still possible to import it from this package asscayleKvIoRedisDriver
.
Patch Changes
- Added dependency
[email protected]
1.1.0
Minor Changes
- We've added explicit new default option for connection to SCAYLE KV to promote a more stable and predictable "fail-fast" behavior, preventing e.g. the application from hanging during connection interruptions.
keepAlive: 60000 // 60 seconds
- Prevents the connection from being terminated by network devices due to inactivity by sending a check every 60 seconds.connectTimeout: 10000, // 10 seconds
- Maintains the standard 10-second timeout for establishing a new connection to the SCAYLE KV server.maxRetriesPerRequest: 1
- Reduces the number of retries for a failed command from 20 to 1, ensuring the application fails quickly instead of getting stuck on a failing request.commandTimeout: 1000 // 10 seconds
- Sets a 1-second timeout for all SCAYLE KV commands, preventing the application from waiting on slow or hung queries.enableAutoPipelining: false
- Explicitly disables the automatic grouping of commands, leading to more predictable execution behavior.offlineQueue: false
- Disables the command queue when the client is disconnected. This ensures that commands fail immediately if SCAYLE KV is unavailable, preventing memory buildup and making the application instantly aware of the connection issue.
1.0.4
Patch Changes
- Updated dependency
[email protected]
to[email protected]
1.0.3
Patch Changes
- Updated dependency
[email protected]
to[email protected]
1.0.2
Patch Changes
- When running in Cluster Mode, the Redis Client under the hood does an internal
INFO
command after connecting to the Cluster. For SCAYLE KV Valkey powered Instances, the client isn't allowed to run this command due to security reasons, leading to a small error log when the application initially starts.
This is now fixed by disabling the initial ready check that the client performs.
1.0.1
Patch Changes
- When running in Cluster Mode, the Redis Client under the hood does an internal
INFO
command after connecting to the Cluster. For SCAYLE KV Valkey powered Instances, the client isn't allowed to run this command due to security reasons, leading to a small error log when the application initially starts.
This is now fixed by disabling the initial ready check that the client performs.
1.0.0
Major Changes
- Drop CommonJS support. The package is now ESM-only. If you are using this package in a Nuxt 3 context, you should have no issues.
0.1.2
Patch Changes
- Updated dependency
[email protected]
to[email protected]
0.1.1
Patch Changes
- Add
dnsLookup
function toclusterOptions
when running in cluster mode.
0.1.0
Minor Changes
- The
@scayle/unstorage-scayle-kv-driver
package has been introduced, providing a custom Unstorage driver to enable the use of SCAYLE KV as a storage backend.