Cleanup and breaking changes
Pre-release
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
Full Changelog: v8.0.0-3...v8.0.0-4