content/operate/oss_and_stack/stack-with-enterprise/release-notes/redisgears/redisgears-1.2-release-notes.md
RedisGears v1.2.13 requires:
This is a maintenance release for RedisGears 1.2.
Update urgency: LOW: No need to upgrade unless there are new features or fixes.
Details
This is a maintenance release for RedisGears 1.2.
Update urgency: HIGH: There is a critical bug that may affect a subset of users. Upgrade!
Details
This is a maintenance release for RedisGears 1.2.
Update urgency: LOW: No need to upgrade unless there are new features or fixes.
Details
Bug fixes:
RM_Call + SCAN command which might replicate multiple keys deletion inside a MULTI EXEC block when a lazy expire takes placeNotes:
This is a maintenance release for RedisGears 1.2.
Update urgency: LOW: No need to upgrade unless there are new features or fixes.
Details
Features:
Bug fixes:
This is a maintenance release for RedisGears 1.2.
Update urgency: LOW: No need to upgrade unless there are new features or fixes.
Details
Features:
This is a maintenance release for RedisGears 1.2.
Update urgency: LOW : No need to upgrade unless there are new features or fixes.
Details
Features:
Bug fixes:
This is a maintenance release for RedisGears 1.2.
Update urgency: MODERATE : Program an upgrade of the server, but it's not urgent.
Details:
Bug fixes:
This is a maintenance release for RedisGears 1.2.
Update urgency: LOW : No need to upgrade unless there are new features you want to use.
Details:
Improvements:
Bug fixes:
This is a maintenance release for RedisGears 1.2.
Update urgency: LOW : No need to upgrade unless there are new features you want to use.
Details:
Improvements:
Bug fixes:
This is the General Availability release of RedisGears 1.2.
RedisGears 1.2 comes with a new plugin mechanism that allows you to decide which languages you want to load into RedisGears. Currently, we support two languages: Python and Java (JVM languages). You can decide which language you want to use using the new Plugin configuration.
Full documentation for JVM support can be found on the [Redis documentation website]({{< relref "/operate/oss_and_stack/stack-with-enterprise/gears-v1/jvm" >}}).
RedisGears provides support for Python coroutines. Each step of your gears function can now be a Python coroutine that will take the execution to the background or will wait for some event to happen. Refer to the following links for more information:
You can override Redis vanilla commands with a function. For more information, refer to the RedisGears command hooks documentation.
Requested by many users, RedisGears 1.2 allows you to register functions on key miss event. One use case for this is to implement a read-through caching pattern. For more information about this topic, refer to the following links:
We improved the experience during the development phase by enabling better debugging and troubleshooting. There is still room for improvement but RedisGears 1.2 makes the first steps toward a simpler API that is easier to use. This new version allows you to name your code and upgrade it with a single Redis command. For more information, refer to the upgrade section of the RedisGears introduction documentation.
RedisGears now tracks the following new statistics to better analyze your registrations:
lastRunDurationMS - duration in milliseconds of the last executiontotalRunDurationMS - total runtime of all executions in millisecondsavgRunDurationMS - average execution runtime in millisecondsFor streams, RedisGears also tracks the following data:
lastEstimatedLagMS - gives the last batch lag (the time difference between the first batch entry in the stream and the time the entire batch finished processing)avgEstimatedLagMS - average of the lastEstimatedLagMS field.The RG.DUMPREGISTRATIONS command exposes these new statistics.
RedisGears 1.2 also adds support for a Python profiler, specifically cProfile. For more information, refer to the documentation for the following commands:
RG.PYPROFILE STATSRG.PYPROFILE RESETAlthough RedisAI integration was already supported in v1.0, RedisGears 1.2 adds official support for all capabilities in RedisAI v1.2. The API was extended to support RedisAI DAG and was combined with the new async await API to achieve the best performance possible.
Bug fixes (since 1.0.9):
RG.CONFIGGET returns user-defined configurationRG.TRIGGERONKEYMULTI EXEC on Redis 7hashtag() function for Redis EnterpriseREDISMODULE_CTX_FLAGS_DENY_BLOCKING flag before blocking the client{{<note>}}
This is the first GA version of 1.2. The version inside Redis is 1.2.2 in semantic versioning. Since the version of a module in Redis is numeric, we could not add a GA flag.
Minimum Redis version: 6.0.0 {{</note>}}