JM Tech Power

新闻

MariaDB 13.1 is now stable: DENY privileges, JSON -> operators, and utf8 now means utf8mb4

← 全部文章 邮箱 RSS Atom

News · written 1 December 2026. A summary for readers, not technical advice — check the sources at the end for the details.

The MariaDB Foundation has announced that MariaDB Server 13.1 is now stable. The first stable (GA) release is MariaDB 13.1.2, released on 23 November 2026; the foundation's announcement followed on 24 November, together with MariaDB 13.2.1 as a release candidate.

What is new

  • DENY, or negative grants. DENY records a privilege an account must never have, and a deny wins over a grant. Only REVOKE DENY removes it.
  • JSON operators. column->path works like JSON_EXTRACT, and column->>path like JSON_UNQUOTE(JSON_EXTRACT()).
  • Partitions that add themselves. An INTERVAL clause on RANGE COLUMNS partitioning adds new partitions as rows arrive.
  • New hash functions XXH3() and XXH32().
  • Optimizer Context Recorder: record the data the optimizer used with optimizer_record_context and replay it with optimizer_replay_context.
  • InnoDB tablespace size warnings, off by default (innodb_tablespace_size_warning_threshold and innodb_tablespace_size_warning_pct).
  • Also: an INFORMATION_SCHEMA.VECTOR_INDEXES table, a per-table or per-index ADAPTIVE_HASH_INDEX setting, log_slow_max_query_length for the slow query log, and more Oracle-compatible stored-routine features.

Check these two before you upgrade

  • utf8 now means utf8mb4, not utf8mb3. The foundation calls this something to bear in mind when you're upgrading existing applications. To keep the old meaning, add UTF8_IS_UTF8MB3 to old_mode.
  • mariadb-dump and generated columns. By default a generated column now keeps its place in the row and its value is written as DEFAULT; with --complete-insert, generated columns are left out.

Which version should you run?

MariaDB 13.1 is a rolling release, not a long-term support (LTS) release. MariaDB's release model says there are no patch releases of such a version after GA, except emergency ones: you move on to the next release instead. For long-term maintenance the foundation says MariaDB 12.3 LTS is still the natural choice. 13.1.2 includes all fixes from MariaDB 12.3.4.

Downloads are on mariadb.org/download.

Sources

More news at https://jmtechpower.com/articles.

评论 (0)

暂无评论,成为第一个评论者!