tensorflow breaking changes
Updated December 4, 2026
On this page
Latest version 2.22.0, released November 30, 2026. Source repository
Its 2.21.0 release drops Python 3.9. Python end of life dates.
- From 1.0.0 to 2.22.0: 392 breaking changes in 18 versions.
- From 0.12.0 to 2.22.0: 460 breaking changes in 21 versions.
tensorflow 2.22.0 breaking changes
- Removed
TensorBoard is no longer bundled; code using tf.summary or tf.keras.callbacks.TensorBoard must install the tensorboard package separately, or TensorFlow raises ImportError. github.com - Removed
TF_TransactionToken
TF_TransactionToken and associated APIs were removed from the filesystem_interface.h header. github.com - Behavior changed
tf.experimental.numpy.allclose
Integer inputs now use rtol and atol, matching NumPy. github.com - Behavior changed
tf.experimental.numpy.isclose
Integer inputs now use rtol and atol, matching NumPy. github.com - Behavior changed
tf.math.reciprocal
With jit_compile=True, integer inputs are no longer silently accepted. github.com - Configuration changed
The package now pins stable keras >= 3.12.0 in place of keras-nightly. github.com
tensorflow 2.22.0rc0 breaking changes
- Removed
TensorBoard is no longer bundled; code using tf.summary or tf.keras.callbacks.TensorBoard must install the tensorboard package separately, or TensorFlow raises ImportError. github.com - Removed
TF_TransactionToken
TF_TransactionToken and associated APIs were removed from the filesystem_interface.h header. github.com - Behavior changed
tf.experimental.numpy.allclose
Integer inputs are now compared with rtol and atol; combining integer inputs with floating-point tolerances raises an error unless automatic type promotion is enabled. github.com - Behavior changed
tf.experimental.numpy.isclose
Integer inputs are now compared with rtol and atol; combining integer inputs with floating-point tolerances raises an error unless automatic type promotion is enabled. github.com - Behavior changed
tf.math.reciprocal
With jit_compile=True, integer inputs to Reciprocal and Inv are no longer accepted silently. github.com
tensorflow 2.21.0 breaking changes
- Removed
Support for Python 3.9 has been removed starting with TF 2.21. Users on Python 3.9 must upgrade Python before installing this version. github.com
tensorflow 2.21.0rc0 breaking changes
- Removed
Support for Python 3.9 has been removed starting with TF 2.21. Users on Python 3.9 must upgrade Python before installing this version. github.com
tensorflow 2.20.0 breaking changes
- Configuration changed
The tensorflow-io-gcs-filesystem package is no longer installed with tensorflow by default. To keep it, install with pip install "tensorflow[gcs-filesystem]". github.com
tensorflow 2.19.0 breaking changes
- Removed
Separate libtensorflow downloads are no longer published; the library can only be unpacked from the PyPI package. github.com - Signature changed
tflite.Interpreter:kTensorsCapacityHeadroom
The public C++ constant is now a const reference rather than a compile-time constexpr, so code that needs it at compile time must be updated. github.com - Signature changed
tflite.Interpreter:kTensorsReservedCapacity
The public C++ constant is now a const reference rather than a compile-time constexpr, so code that needs it at compile time must be updated. github.com
Older versions
16 older versions, each with its first changes. Sign up to see every change
Show 16 older versions
tensorflow 2.18.0 breaking changes
- Behavior changed
NumPy's type promotion rules changed, which can alter computation precision or cause type errors; check code against the NumPy 2 migration guide. github.com - Behavior changed
Builds with CUDA no longer include TensorRT support, so code relying on TensorRT in those builds will be affected. github.com
And 1 more in this version.
tensorflow 2.17.0 breaking changes
- Removed
TF binary distributions no longer support NVIDIA GPUs with compute capability 5.x (Maxwell). Users on those GPUs must build TensorFlow from source or stay on an older release. github.com - Removed
tf.tpu.experimental.embedding.TPUEmbeddingV2.preprocess_features
The preprocess_features method of TPUEmbeddingV2 is removed because it is no longer needed. github.com
And 4 more in this version.
tensorflow 2.16.0rc0 breaking changes
- Removed
tf.estimator
tf.estimator is no longer available in this release. Use TF 2.15 or an earlier version to keep using it. github.com - Behavior changed
tf.summary.trace_export
The profiler_outdir argument of tf.summary.trace_export is now a no-op. Set profiler_outdir in tf.summary.trace_on to enable the profiler. github.com
And 2 more in this version.
tensorflow 2.15.0 breaking changes
- Removed
tf.estimator
The tf.estimator API removal is in progress and is targeted for the 2.16 release. github.com - Renamed
tf.types.experimental.GenericFunction
The class GenericFunction was renamed to PolymorphicFunction. Update code that references the old name. github.com
And 4 more in this version.
tensorflow 2.14.0 breaking changes
- Removed
TensorFlow 2.14 no longer supports Python 3.8; stay on the 2.13.1 patch release if you need it. github.com - Removed
The ncurses-based command line interface for tfdbg v1 was removed. github.com
And 3 more in this version.
tensorflow 2.14.0rc1 breaking changes
- Removed
tf.estimator
The tf.estimator API will be removed in the next release and the TF Estimator package will no longer be released. github.com
tensorflow 2.13.0 breaking changes
- Removed
tf.experimental.dtensor.Layout.serialized_string
Layout.serialized_string is no longer available. github.com - Removed
tf.keras.dtensor.experimental.layout_map_scope
tf.keras.dtensor.experimental.layout_map_scope was removed; use LayoutMap.scope() instead. github.com
And 8 more in this version.
tensorflow 2.13.0rc1 breaking changes
- Removed
dtensor.Layout.serialized_string
The serialized_string member of dtensor.Layout is removed, and other Layout and Mesh members changed. github.com - Removed
keras.*
Only symbols intended to be public are accessible via import keras; private helpers must be replaced with public APIs or copied. github.com
And 7 more in this version.
tensorflow 2.0.0 breaking changes
- Removed
tensorflow_core.contrib.all_reduce
tensorflow_core.contrib.all_reduce was removed in tensorflow 2.0.0 pypi.org - Removed
tensorflow_core.contrib.autograph
tensorflow_core.contrib.autograph was removed in tensorflow 2.0.0 pypi.org
And 285 more in this version.
tensorflow 2.0.0rc0 breaking changes
- Removed
DType
Use dtype.as_datatype_enum instead of int(dtype) to get the same result. github.com - Removed
lite.constant
lite.OpHint, lite.experimental and lite.constant are removed from the 2.0 API. github.com
And 16 more in this version.
tensorflow 2.0.0b0 breaking changes
- Removed
tf.contrib.estimator.add_metrics
Use tf.estimator.add_metrics instead. github.com - Removed
tf.data.Options.experimental_numa_aware
The experimental_numa_aware option no longer exists. github.com
And 10 more in this version.
tensorflow 2.0.0a0 breaking changes
- Removed
tf.app
Code using tf.app must switch to absl-py. github.com - Removed
tf.DType
Use dtype.as_datatype_enum instead of int(dtype). github.com
And 12 more in this version.
tensorflow 1.0.0 breaking changes
- Removed
RegisterShape
Register shape functions in C++ instead. github.com - Removed
tf.audio_summary
Use tf.summary.audio; the new op takes name rather than tag first. github.com
And 42 more in this version.
tensorflow 1.0.0-rc0 breaking changes
- Removed
tf.scalar_summary
Use tf.summary.scalar; the new ops take name rather than tag as the first argument. github.com - Removed
tf.train.SummaryWriter
Use tf.summary.FileWriter and tf.summary.FileWriterCache instead. github.com
And 2 more in this version.
tensorflow 1.0.0-alpha breaking changes
- Removed
RegisterShape
Register shape functions in C++ instead. github.com - Removed
SyncReplicasOptimizer
The old class is removed and V2 takes over the name SyncReplicasOptimizer. github.com
And 18 more in this version.
tensorflow 0.12.0 breaking changes
- Removed
batch_*
The batch_* Python interfaces were removed. The regular op now handles batches, so call that instead. github.com - Removed
BusAdjacency
The BusAdjacency enum was replaced with the DeviceLocality protocol buffer. PCI bus indexing now starts from 1, and bus_id==0 is used where BUS_ANY was used before. github.com
And 11 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.