Releases: cachewerk/relay
Releases · cachewerk/relay
v0.8.1
Added
- Added experimental support
JSON
commands
Changed
- Only enable
CLIENT TRACKING
on links that can secure an in-memory cache - Attach to in-memory caches actively not lazily
- Improved error messages for invalid
session.save_path
URIs - Various performance, allocator and internal improvements
Fixed
- Fixed a memory leak in the session handler
- Improved authentication parsing in the session handler
- Fixed
Relay\Cluster
command compatibility with PhpRedis - Don't deserialize
KEYS
replies - Various improvements for the
SUBSCRIBE
command-family - Fixed
stats()
array index not matching database number
v0.8.0
Added
- Added various missing methods to
Relay\Cluster
- Support cloning Relay objects
- Added crash logging
- Support logging to
stderr
- Added support for
session.save_handler
directive - Added support for
relay.session.compression*
directives - Added dedicated event classes
Relay\Event\Flushed
andRelay\Event\Invalidated
- Added PHP 8.4 compatibility and builds
Changed
- Switched to concurrencykit v0.7.2
- Various performance, allocator and internal improvements
Fixed
- Fixed a rare bug that could result in stale keys
- Fixed a rare bug when flushing the data when OOM
Removed
- Dropped Debian
zts
builds - Droped macOS
x86
and PHP7.4
builds
v0.7.0
Added
- Added experimental
Relay\Cluster
class - Added support for
LCS
command
Changed
⚠️ Matched PhpRedis 6.xflushdb()
andflushall()
breaking changes⚠️ Refactored experimentalRelay\Table
class- Various minor internal performance and compliance improvements
Fixed
- Fixed
INCRBY
/DECRBY
parameter parsing - Fixed a crash when recursively subscribing and executing commands
- Improved error reporting when connecting to older Redis Servers
v0.6.8
Added
- Added support for
PUBSUB
container command - Support options array in
Relay\Relay
andRelay\Sentinel
constructor for PhpRedis v6.x compatibility
Changed
- Switched to
8.3.0RC2
API for PHP 8.3 builds - Switched to Ventura (13.x) for macOS builds
- Added more diagnostics to extension "info" output
- Improved exception pinpointing
- Various minor and major internal improvements
- Reduce
OOM
warning frequency
Fixed
- Fixed a memory leak involving
[PS]SUBSCRIBE
- Fixed a concurrency bug when writing to a pre-existing hash/set
- Fixed crash when calling
close()
within a*subscribe()
callback - Prevent allocation reduction when Relay was idle for many hours
v0.6.7
Added
- Added experimental
Relay\Table
class - Added support for
BITFIELD
- Allow
RELAY_KEY
to be set from environment variable
Changed
- Switched to
8.3beta1
API for PHP 8.3 builds - Bumped required
hiredis
version to1.1.0
(1.2.0
on macOS) - Use GCC 9 for Ubuntu 16.04 builds
- Refactored logging component
- Various minior internal improvements
v0.6.6
Changed
- Switched to OpenSSL 3.0 for macOS binaries
Fixed
- Mitigate
EINTR
in hiredispoll(2)
- Fixed support for ancient
HELLO
responses - Fixed releasing an attached database when freeing a persistent link
- Fixed how we track active requests in the context of
pcntl_fork()
- Improved heartbeat parsing on older PHP versions
Deprecated
- Deprecated
stats.command_usec
key for performance reasons
v0.6.5
v0.6.4
Added
- Added support for
[UN]SUBSCRIBE
,P[UN]SUBSCRIBE
andS[UN]SSUBSCRIBE
- Added support for
SPUBLISH
Changed
- Send
CLIENT SETINFO
when establishing a connection - Allow
pack()
andunpack()
calls without a connection - Various minor internal improvements
Fixed
- Fixed issues with
OPT_MAX_RETRIES
andOPT_READ_TIMEOUT
- Automatically send
DISCARD
when stashing a non-atomic connection
v0.6.3
v0.6.2
Added
- Added EL9, Alpine 3.17 and some PHP 8.3 builds
- Added
SCHEDULE
option toBGSAVE
- Added
WITHSCORE
option toZ[REV]RANK
Changed
- Renamed Alpine Linux builds from
relay-alpine
torelay-alpine3.9
- Protect against issuing unsupported commands (e.g.
MONITOR
) - Reworked invalidation callbacks
- Toggle
OPT_THROW_ON_ERROR
when togglingOPT_PHPREDIS_COMPATIBILITY
option - Bumped default
relay.max_endpoint_dbs
to32
- Improved
flushMemory()
parameter naming - Upgraded bundled
relay-pkg.so
hiredis version tov1.1.0
- Return
Relay\Exception
in transactions whenOPT_THROW_ON_ERROR
is enabled - Reworked
WRONGTYPE
handling for cached keys - Several minor improvements and housekeeping
- Normalize how RESP3 null type
_
is treated
Fixed
- Fixed arity discrepancies between Relay and PhpRedis
- Fixed several issues when calling
rawCommand()
with some commands - Fixed setting
OPT_USE_CACHE
viasetOption()
method - Fixed
GEODIST
return type
Removed
- Removed
OPT_STRING_TYPE_RETURN
option - Removed
license
sub-arraystats()