# Keras v3.12.2 - Product: Keras (https://whatsnew.fyi/product/keras) - Vendor: Keras - Date: 2026-05-07 - Version: v3.12.2 - Original notes: https://github.com/keras-team/keras/releases/tag/v3.12.2 - Permalink: https://whatsnew.fyi/product/keras/releases/v3.12.2 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **fixed** — Fixed base folder used when validating files extracted from ZIP and TAR archives - **fixed** — Fixed link resolution bug when validating links extracted from TAR archives - **fixed** — Fixed path confusion bug when validating files extracted from ZIP and TAR archives including .keras files - **added** — Added path validation when extracting assets from Orbax checkpoints - **changed** — Disallow external links and virtual datasets in H5 files - **changed** — Apply H5 validation to legacy .h5 file extraction - **added** — Detect loops in the graph when deserializing a functional model - **changed** — Improve error reporting for missing nodes in the graph during functional model deserialization - **fixed** — Fixed lazy module import handling for h5py to ensure correct and safe validation behavior when the package is lazy-loaded - **removed** — Remove deprecated openvino.runtime import ##### Saving & Reloading * **Harden path and link resolution when extracting files from archives (#22194 & #22839)** * Fixed based folder used when validating files extracted from ZIP and TAR archives. * Fixed link resolution bug when validating links extracted from TAR archives. * Fixed path confusion bug when validating files extracted from ZIP and TAR archives (including `.keras` files). * Added path validation when extracting assets from Orbax checkpoints. * **Harden H5 validation code and apply it to legacy .h5 files (#22801)** * Disallow external links and virtual datasets in H5 files. * Also apply all the validation to the legacy .h5 file extraction. * **Improve validation and error reporting in functional model deserialization (#22800)** * Detect loops in the graph when deserializing a functional model. * Improve error reporting for missing nodes in the graph. ##### Other Fixes * **Fix lazy module import for `h5py`** * Fixed lazy module import handling for `h5py` to ensure correct and safe validation behavior when the package is lazy-loaded. * **Remove deprecated `openvino.runtime` import (#21826)** ##### What's Changed * Patch fix 3.12.2 by @sachinprasadhs in https://github.com/keras-team/keras/pull/22850 **Full Changelog**: https://github.com/keras-team/keras/compare/v3.12.1...v3.12.2