Releases: adonisjs/redis
Update configure command to use new codemods
Full Changelog: v8.0.0-8...v8.0.0-9
Export RedisManager class
- refactor: export redis manager from the main entrypoint 9af01f7
Full Changelog: v8.0.0-7...v8.0.0-8
Heck lot of improvements
Bunch of new features and typed events. Since, we are using emittery there is a breaking change in the arguments of events data. However, TypeScript will report compile errors for same, so fixing them might take couple of minutes only.
Commits
- test: fix failing tests 35bd96f
- test: fix failing tests 4d1e946
- test: update tests 43fa362
- refactor: use emittery and make events typed 4808770
- feat: add reference to the IORedis Command property 0845d18
- feat: add defineCommand and runCommand methods on redis service c2e5414
- feat: add pub/sub methods to redis_manager a3f6d3f
- refactor: define retry strategy inside config 5649489
- refactor: rename connection in stub 187a6cf
- feat: log connection errors and allow listening for new connections 430160e
Full Changelog: v8.0.0-6...v8.0.0-7
Add redis commands to redis manager as well
- feat: add ability to run commands on the RedisManager class 7dd89a0
Full Changelog: v8.0.0-5...v8.0.0-6
Updating stubs
- test: fix breaking test 80e5027
- docs: update README file 0a68e9b
- refactor: move code to infer types within the config file 5502125
Full Changelog: v8.0.0-4...v8.0.0-5
Cleanup and breaking changes
This release contains a few breaking changes. Let's talk about them
-
We no longer emit events to the AdonisJS global emitter. These events were never documented and neither used.
-
The RedisManager no longer has methods to run redis commands. You will have to always get a connection instance and then execute redis commands.
// Earlier import Redis from '@ioc:Adonis/Addons/Redis' Redis.set('key', value) // Now import redis from '@adonisjs/redis/services/main' redis.connection().set('key', value)
We might consider adding back redis commands to the RedisManager class before the final release, just to reduce the surface area of
breaking changes. However, right now the goal is to ship something simple and clean. -
No health checks for now. They will be added before the final public release
Commits
- refactor: add debug logs dc1c6da
- refactor: abstracts errors 8512c87
- refactor: merge pubsub methods collection with io methods 311ae4a
- refactor: cleaning things up 97837d7
Full Changelog: v8.0.0-3...v8.0.0-4
Add unlink method
- Merge pull request #57 from PaulosSouza/feat/unlink-method f9755a8
- feat: add passthroughs for ioredis#unlink method 4da65b7
What's Changed
- feat: add passthroughs for ioredis#unlink method by @PaulosSouza in #57
New Contributors
- @PaulosSouza made their first contribution in #57
Full Changelog: v7.3.2...v7.3.3
Fix configure command
- fix: update configure.ts with new provider export 0268257
Update provider export
Breaking changes
- Provider is now exported from
@adonisjs/redis/redis_provider
Changes
- refactor: update provider export 4732cc8
Add missing ioredis methods
Changes
Before this release, we kept a hard-coded string list of ioredis method names and inject them in our wrapper classes.
As a result, many were missing from this list, and could become out-of-sync with the ioredis API. This caused this kind of issue :
Now we are using the Reflect API to get all the IoRedis methods