{
  "schema_version": 2,
  "id": "develop/whats-new/7-2",
  "title": "Redis 7.2",
  "url": "https://redis.io/docs/latest/develop/whats-new/7-2/",
  "summary": "What's new in Redis 7.2",
  "tags": [
    "docs",
    "operate",
    "rs",
    "rcw"
  ],
  "last_updated": "2026-08-26T15:09:52+01:00",
  "page_type": "content",
  "content_hash": "2861de1d50be695a6817d9351eb26d800f7a20691f588ff5f04ff5f60d9f581e",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "Redis version 7.2 introduces new capabilities, including improved geospatial queries, and streamlined JSON data manipulation. Performance optimizations, client-side enhancements, and behavioral refinements further improve the efficiency, security, and usability of Redis.\nBelow is a detailed breakdown of these updates."
    },
    {
      "id": "new-features",
      "title": "New features",
      "role": "content",
      "text": ""
    },
    {
      "id": "geospatial-queries-with-polygon-search",
      "title": "Geospatial queries with polygon search",
      "role": "content",
      "text": "Redis Search now supports querying geospatial data using polygon search, enabling developers to efficiently filter and retrieve data within complex geographic boundaries."
    },
    {
      "id": "streamlined-data-manipulation-in-json",
      "title": "Streamlined data manipulation in JSON",
      "role": "content",
      "text": "JSON now includes two new commands for improved data handling:\n\n- `JSON.MERGE`: Merges a given JSON value into matching paths, allowing more flexible updates.\n- `JSON.MSET`: Sets or updates multiple JSON values simultaneously based on specified key-path-value triplets, improving efficiency when handling structured data."
    },
    {
      "id": "improvements",
      "title": "Improvements",
      "role": "content",
      "text": ""
    },
    {
      "id": "existing-data-structures",
      "title": "Existing data structures",
      "role": "content",
      "text": "Significant performance improvements have been made across Redis data types. Sorted sets, commonly used for gaming leaderboards, now see performance improvements ranging from [30% to 100%](https://redis.io/blog/introducing-redis-7-2/).\n\nAdditionally, Redis stream consumer tracking has been enhanced to provide better visibility into consumer activity, and blocked stream commands now return a distinct error when the target key no longer exists."
    },
    {
      "id": "redis-search-improvements",
      "title": "Redis Search improvements",
      "role": "content",
      "text": "Redis Search has received several updates, including optimized `SORT BY` operations and the addition of a new `FORMAT` response in RESP3, improving both efficiency and readability."
    },
    {
      "id": "script-execution-enhancemets",
      "title": "Script execution enhancemets",
      "role": "content",
      "text": "Client-side tracking now monitors actual keys read during script execution, improving key usage tracking accuracy. Additionally, blocked commands will re-evaluate security checks before execution, ensuring compliance with updated permissions. Standardized ACL failure messages and error codes now provide clearer error handling."
    },
    {
      "id": "client-and-replication-enhancements",
      "title": "Client and replication enhancements",
      "role": "content",
      "text": "TLS-based replication now supports Server Name Indication (SNI) to improve compatibility with secure deployments. The `HELLO` command behavior has also been refined to modify client state only upon successful execution, ensuring more predictable client behavior."
    },
    {
      "id": "changes",
      "title": "Changes",
      "role": "content",
      "text": ""
    },
    {
      "id": "breaking-changes",
      "title": "Breaking changes",
      "role": "content",
      "text": "Redis 7.2 introduces several backward-incompatible changes. Lua scripts no longer support the `print()` function, blocking of `PFCOUNT` and `PUBLISH` in read-only scripts, and time sampling freezing during command execution. Error handling updates include case changes in error responses, new behavior for `ZPOPMIN/ZPOPMAX` with `count 0`, and adjustments to `XCLAIM/XAUTOCLAIM`. ACL changes affect command categorization and key access permissions, while command introspection now includes per-subcommand statistics. Redis now allows certain `CONFIG` commands during loading and tracks statistics only when commands are executed."
    },
    {
      "id": "expired-keys-are-now-deleted-from-replica-indexes",
      "title": "Expired keys are now deleted from replica indexes",
      "role": "content",
      "text": "Expired keys are now deleted from Redis Search replica indexes, ensuring that queries return an empty array rather than `nil` when the data no longer exists."
    },
    {
      "id": "other-changes",
      "title": "Other changes",
      "role": "content",
      "text": "Redis Stack 7.2 no longer includes Graph capabilities. For more details, refer to the [RedisGraph End-of-Life Announcement](https://redis.io/blog/redisgraph-eol/)."
    },
    {
      "id": "component-versions",
      "title": "Component versions",
      "role": "content",
      "text": "The Redis version 7.2 includes the following components:\n\n- [Redis 7.2](https://github.com/redis/redis/blob/7.2/00-RELEASENOTES)\n- [Search 2.8](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/release-notes/redisearch/redisearch-2.8-release-notes/)\n- [JSON 2.6](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/release-notes/redisjson/redisjson-2.6-release-notes/)\n- [Time series 1.10](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/release-notes/redistimeseries/redistimeseries-1.10-release-notes/)\n- [Bloom 2.6](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/release-notes/redisbloom/redisbloom-2.6-release-notes/)"
    }
  ],
  "examples": []
}
