Tensorflow-federated

Latest version: v0.87.0

Safety actively analyzes 701563 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 11 of 15

0.27.0

Major Features and Improvements

* New Colab notebook illustrating how to use `DataBackend` to load remote
datasets.
* Added a CreateDataDescriptor helper function.
* Added a worker binary serving the TFF-C++ executor service.

Bug Fixes

* Fixed bug with intermediate aggregation and controller failures, causing
hangs.

0.26.0

Major Features and Improvements

* Updated TensorFlow to `2.9.1`.
* Update pybind11 to `2.9.2`.
* Re-enable cpp_fast_protos.
* Introduces container class to run coroutines in a dedicated thread, allowing
TFF’s synchronous execution interfaces to be used in conjunction with other
asyncio code.
* Use latest TFF version in Colab notebook links.
* Rename the helper functions that create test `MeasuredProcess`es.
* Add a compiler transform checking Tensorflow computations against list of
allowed ops.
* Explicitly specify return types in the `program` package.
* Adds convenience function for setting a local async CPP execution context.
* Move jax components into a non-experimental namespace.

Breaking Changes

* Switch compilation flag `_GLIBCXX_USE_CXX11_ABI` to `1`.

0.25.0

Major Features and Improvements

* Adds error message logging to TFF C++ execution context.
* Adds test coverage for C++ runtime with aggregators.
* Redefines 'workers going down with fixed clients per round' test.
* Add complete examples of using `DataBackend` with TFF comps.
* Updated the MapReduceForm documentation to include the two additional secure
sum intrinsics.
* tff.learning
* Relax the type check on LearningProcess from strictly SequenceType to
also allow structures of SequenceType.

Breaking Changes

* Remove usage of `tff.test.TestCase`, `tff.test.main()`, and delete
`test_case` module.
* Update test utility docstrings to use consistent vocabulary.
* Update to TensorFlow 2.9.0
* Rename up `compiler/test_utils` to `compiler/building_block_test_utils`.
* Remove some unnecessary usage of `pytype: skip-file`.
* Specify the `None` return type of `ReleaseManager.release`.
* Remove usage of deprecated numpy types.
* Replace depreciated `random_integers` with `randint`.

Bug Fixes

* Fix numpy warning.

0.24.0

Not secure
Major Features and Improvements

* Added `asyncio.run` call to metrics manager release calls to ensure
compatibility with
https://github.com/tensorflow/federated/commit/a98b5ed6894c536549da06b4cc7ed116105dfe65.
* Added an example and documentation for the Federated Program API.
* Improved `model_update_aggregator` to support structures with mixed floating
dtypes.
* Create a mirror of
`tff.simulation.compose_dataset_computation_with_iterative_process` for
`tff.learning.templates.LearningProcess`.
* Added logging of expected sequential computations to local TFF-C++ runtime.

Breaking Changes

* Moved asserts from `tff.test.TestCase` to `tff.test.*` as functions.
* Removed `assert_type_assignable_from` function.
* Moved `assert_nested_struct_eq` to the `type_conversions_test` module.
* Removed `client_train_process` and fedavg_ds_loop comparisons.

Bug Fixes

* Fixed comparisons to enums in the benchmarks package.
* Fixed `async_utils.SharedAwaitable` exception raiser.
* Fixed various lint errors.

0.23.0

Not secure
Major Features and Improvements

* Deprecated `tff.learning.build_federated_averaging_process`.
* Added an API to convert `tf.keras.metrics.Metric` to a set of pure
`tf.functions`.

Breaking Changes

* Renamed `ProgramStateManager.version` to `ProgramStateManager.get_versions`.

Bug Fixes

* Fixed the "datasets/" path in the working with TFF's ClientData tutorial.

0.22.0

Not secure
Major Features and Improvements

* Updated .bazelversion to `5.1.1`.
* Updated the `tff.program` API to use `asyncio`.
* Exposed new APIs in the `tff.framework` package:
* `tff.framework.CardinalitiesType`.
* `tff.framework.PlacementLiteral`.
* `tff.framework.merge_cardinalities`.
* `tff.analytics`
* Added new `analytic_gauss_stddev` API.

Breaking Changes

* Renamed `ProgramStateManager.version` to `ProgramStateManager.get_versions`.

Bug Fixes

* Fixed some Python lint errors related to linting Python 3.9.
* Cleaned up stale TODOs throughout the codebase.

Known Bugs

* Version 0.21.0 currently fails to import in
[colab](https://colab.research.google.com) if the version of Python is less
than Python 3.9. Please use a runtime with a version of Python greater than
Python 3.9 or use TFF version 0.20.0.

Page 11 of 15

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.