Skip to content

Releases: adonisjs/redis

Update configure command to use new codemods

21 Aug 11:42
Compare
Choose a tag to compare
  • feat: setup env validations 0a6ec4f
  • chore: update dependencies 4891134

Full Changelog: v8.0.0-8...v8.0.0-9

Export RedisManager class

31 Jul 06:18
Compare
Choose a tag to compare
Pre-release

Heck lot of improvements

28 Jul 16:14
Compare
Choose a tag to compare
Pre-release

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

28 Jul 07:14
Compare
Choose a tag to compare
  • feat: add ability to run commands on the RedisManager class 7dd89a0

Full Changelog: v8.0.0-5...v8.0.0-6

Updating stubs

28 Jul 05:10
Compare
Choose a tag to compare
Updating stubs Pre-release
Pre-release
  • 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

28 Jul 04:58
Compare
Choose a tag to compare
Pre-release

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

v8.0.0-3...v8.0.0-4

Full Changelog: v8.0.0-3...v8.0.0-4

Add unlink method

27 Jul 03:21
Compare
Choose a tag to compare
  • Merge pull request #57 from PaulosSouza/feat/unlink-method f9755a8
  • feat: add passthroughs for ioredis#unlink method 4da65b7

What's Changed

New Contributors

Full Changelog: v7.3.2...v7.3.3

Fix configure command

21 Jul 13:31
Compare
Choose a tag to compare
Fix configure command Pre-release
Pre-release
  • fix: update configure.ts with new provider export 0268257

v8.0.0-2...v8.0.0-3

Update provider export

21 Jul 13:25
Compare
Choose a tag to compare
Pre-release

Breaking changes

  • Provider is now exported from @adonisjs/redis/redis_provider

Changes

  • refactor: update provider export 4732cc8

v8.0.0-1...v8.0.0-2

Add missing ioredis methods

16 Jul 14:13
Compare
Choose a tag to compare
Pre-release

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

Commits

  • chore: update readme c479ccf
  • ci: fix ci b58dc73
  • ci: run tests only on linux e7c485c
  • chore: add c8 dev dep 63efbee
  • ci: start containers before testing 8ea92c0
  • refactor: get io methods names using reflection 0b139c4

v8.0.0-0...v8.0.0-1