Skip to content

v2.22.0-rc0

Pre-release
Pre-release

Choose a tag to compare

@vkarampudi vkarampudi released this 17 Nov 21:15

Release 2.22.0-rc0

Major Features and Improvements

  • Built against TensorFlow 2.22.0rc0. Requires tensorflow>=2.22.0rc0,<2.23.
  • Python 3.10, 3.11, 3.12, and 3.13 wheels for Linux x86_64, Linux aarch64, and macOS arm64.
  • OSS builds now use hermetic Python, and TF.Text op libraries no longer statically link TensorFlow.

Bug Fixes and Other Changes

  • Security hardening:
    • Fixed out-of-bounds reads in internal trie handling and in DartsCloneTrieWrapper.
    • Validate input_splits and row_splits bounds and monotonicity in the SentencePiece detokenizer and in tokenization and utility kernels.
    • Validate input arrays in shape inference functions.
    • Harden FastWordpieceTokenizer, FastBertNormalizer, and PhraseTokenizer model loading.
  • Model builder Python bindings now raise the original error message instead of "Caught an unknown exception!".
  • Fixed the ICU Unicode normalization data symbol name and link configuration, and reduced wheel size by filtering ICU data and stripping binaries.
  • Updated build scripts for newer manylinux, and registered the ARM64 toolchain in the WORKSPACE.
  • Fixed TF.Text C++ tests in OSS Bazel builds, and replaced OpsTestBase with a lightweight kernel test harness.
  • Updated the TF.Text guide and tutorial notebooks for TensorFlow 2.20+ and Keras 3.
  • Locked test requirements to tf-keras==2.22.0rc0.

Thanks to our Contributors

This release contains contributions from many people at Google.