Skip to content

Releases: flwrlabs/flower

Flower 1.29.0

12 Apr 07:03
a69502f

Choose a tag to compare

Thanks to our contributors

We would like to give our special thanks to all the contributors who made the new version of Flower possible (in git shortlog order):

Charles Beauville, Chong Shen Ng, Daniel J. Beutel, Heng Pan, Javier, Micah Sheller, Mohammad Naseri, Patrick Foley, Yan Gao

What's new?

  • Introduce runtime dependency installation option for isolated execution (#6741)

    Introduces the --allow-runtime-dependency-installation flag to flower-superexec, enabling runtime dependency installation via uv so that applications with differing dependencies can run independently. Runtime dependency installation automatically creates an independent venv for each run, even if those runs happen concurrently. Propagates this option from flower-superlink/flower-supernode to automatically started flower-superexec instances when using subprocess isolation mode.

  • Improve federation run management and validation (#6943, #6956, #6957, #6961)

    Enhances federation functionality by enabling members to inspect run details, stream logs, and stop runs directly within a federation. Introduces validation for federation names during creation. Hides the SuperNode status column when a federation is archived.

  • Introduce SuperExec authentication with HMAC and shared secrets (#6948, #6949, #6950, #6951, #6952, #6977, #6978, #6979, #6980, #6981)

    Introduces an experimental SuperExec authentication mechanism based on shared-secret HMAC. Establishes core primitives, nonce replay protection, and interceptor foundations, and integrates authentication into ServerAppIo and ClientAppIo.

  • Show Flower Hub compatibility note in CLI download and review flows (#6989, #6992)

    Surfaces the Flower Hub-provided compatibility note when an app download resolves to an older compatible version instead of the latest release. Reads the returned note field and displays it in flwr run, flwr new and flwr app review, improving transparency around version selection.

  • Enhance authentication for flwr-* processes (#6796)

    Improves security by authenticating RPC calls from flwr-serverapp, flwr-simulation, and flwr-clientapp using token-based mechanism.

  • Update examples with FAB metadata and improved documentation (#6890, #6935)

    Enhances examples by updating README files to use local SuperLink and adding FAB format metadata (fab-format-version = 1 and flwr-version-target). Introduces LICENSE files across published apps and bumps application versions at the minor level to reflect these updates.

  • Display full FAB hash in flwr list JSON output (#6958)

    Replaces truncated FAB hash with the full hash value in the JSON output of flwr list, ensuring complete and accurate identification of FABs.

  • Update documentation (#6959, #6964, #6966)

  • Stabilize CI pipelines and improve test reliability (#6911, #6974, #6985, #6987)

  • General improvements (#6931, #6944, #6946, #6955, #6970, #6973, #6982, #6983, #6988, #6990, #6994, #6995, #6996, #6997, #6999, #7003, #7004, #7005)

    As always, many parts of the Flower framework and quality infrastructure were improved and updated.

Incompatible changes

  • Remove Flower File Storage (FFS) (#6809, #6810)

    Removes Flower File Storage (FFS) and transitions to LinkState-based storage, introducing replacement methods in LinkState and NodeState. Eliminates the --storage-dir option from flower-superlink as part of this change.

Flower 1.28.0

02 Apr 18:40
830759c

Choose a tag to compare

Thanks to our contributors

We would like to give our special thanks to all the contributors who made the new version of Flower possible (in git shortlog order):

Charles Beauville, Chong Shen Ng, Daniel J. Beutel, Daniel Nata Nugraha, Heng Pan, Javier, Julian Rußmeyer, Micah Sheller, Mohammad Naseri, Patrick Foley, Taner Topal, William Lindskog, Yan Gao, xiaoyanshen799

What's new?

Read more

Flower 1.27.0

10 Mar 12:21
d5bd35b

Choose a tag to compare

Thanks to our contributors

We would like to give our special thanks to all the contributors who made the new version of Flower possible (in git shortlog order):

Charles Beauville, Chong Shen Ng, Daniel J. Beutel, Heng Pan, Javier, Micah Sheller, Mohammad Naseri, Roma Klapaukh, Ruth Galindo, Taner Topal, Yan Gao

What's new?

Incompatible changes

  • Unpublish v1.8.0-v1.16.0 framework documentation (#6621)

    Unpublishes very old documentation versions that are no longer compatible with the updated documentation structure and release workflow.

  • Drop deprecated --flwr-dir CLI option (#6677)

    Removes the deprecated --flwr-dir option from CLI commands. A custom Flower directory can still be configured using the FLWR_HOME environment variable.

  • Remove flower-simulation CLI entrypoint (#6628)

    Removes the flower-simulation CLI entrypoint. With the introduction of local SuperLink, this command is no longer needed.

Flower 1.26.1

07 Feb 12:48
18f6f47

Choose a tag to compare

Thanks to our contributors

We would like to give our special thanks to all the contributors who made the new version of Flower possible (in git shortlog order):

Charles Beauville, Chong Shen Ng, Copilot, Daniel J. Beutel, Heng Pan, Javier, Taner Topal

What's new?

  • Fix client resource handling in local simulations (#6536)

    Fix an issue in local simulations where backend configuration is not correctly propagated, causing virtual client resource settings such as CPU and GPU allocations in the Flower Configuration to be ignored.

  • Update framework documentation (#6528, #6530)

  • General improvements (#6526, #6493, #6534, #6531, #6523, #6529, #6501)

Flower 1.26.0

05 Feb 17:44
7ff765c

Choose a tag to compare

Thanks to our contributors

We would like to give our special thanks to all the contributors who made the new version of Flower possible (in git shortlog order):

Charles Beauville, Chong Shen Ng, Daniel J. Beutel, Flippchen, Heng Pan, Iason Ofeidis, Javier, Jun S, Soumik Sarker, Taner Topal, Yan Gao, nihonge

What's new?

Read more

Flower 1.25.0

16 Dec 09:46
a66982d

Choose a tag to compare

Thanks to our contributors

We would like to give our special thanks to all the contributors who made the new version of Flower possible (in git shortlog order):

Chong Shen Ng, Daniel J. Beutel, Heng Pan, Javier, Mohammad Naseri, Soumik Sarker, William Lindskog, Yan Gao, sarahhfalco

What's new?

  • Track compute time and network traffic for runs (#6241, #6242, #6243, #6244, #6245, #6249, #6266, #6267, #6268, #6269, #6270, #6271, #6272, #6273, #6274, #6275, #6276, #6279)

    Flower now records compute time and network traffic for a run. The run detail view shown by flwr list --run-id <run-id> displays traffic exchanged between SuperLink and SuperNode, as well as compute time used by ServerApp and ClientApp.

  • Refactor flwr new to pull apps from the Flower platform (#6251, #6252, #6258, #6259, #6260, #6263, #6265, #6283, #6284, #6285, #6292, #6294, #6302)

    Refactors flwr new to fetch Flower apps directly from the Flower platform (see the usage reference). This introduces new and updated quickstart examples (including NumPy and FlowerTune LLM), renames and updates existing examples, aligns CI to run against platform-backed examples, and updates related documentation and benchmark instructions.

  • Migrate examples to the Message API and remove outdated Docker Compose as well as Tensorflow Privacy examples (#6232, #6233, #6238, #6297, #6304)

    Migrates the scikit-learn, Vertical FL, and Opacus examples to the Message API, with the Vertical FL example also updated to use flwr-datasets. The outdated Docker Compose and Tensorflow Privacy examples are removed.

  • Improve CLI output with human-readable durations (#6277, #6296)

    Updates the Flower CLI to display durations in a more human-friendly format (xd xh xm xs), automatically selecting appropriate units instead of the previous HH:MM:SS format.

  • Update examples and baselines (#6234, #6256, #6257, #6264, #6280, #6281, #6286, #6287, #6288, #6290, #6291, #6293)

  • Improve documentation (#6229, #6230, #6255, #6262)

  • Update CI/CD configuration (#6168, #6246, #6295, #6305)

  • General improvements (#6056, #6085, #6176, #6235, #6236, #6254, #6278, #6299)

    As always, many parts of the Flower framework and quality infrastructure were improved and updated.

Incompatible changes

  • Remove bundled templates from flwr new (#6261)

    Removes the templates previously bundled with the Flower wheel now that flwr new pulls apps from the Flower platform. The --framework and --username options are deprecated as part of this change.

Flower 1.24.0

30 Nov 16:04
124e142

Choose a tag to compare

Thanks to our contributors

We would like to give our special thanks to all the contributors who made the new version of Flower possible (in git shortlog order):

Charles Beauville, Chong Shen Ng, Daniel J. Beutel, Daniel Nata Nugraha, Heng Pan, Javier, Patrick Foley, Robert Steiner, Yan Gao

What's new?

Incompatible changes

  • Drop Python 3.9 support (#6118, #6136, #6147)

    flwr now requires Python 3.10 as the minimum supported version, with baselines and development scripts updated accordingly.

  • Bump protobuf to 5.x (#6104)

    Upgrades protobuf to >=5.29.0, ensuring flwr uses the latest gRPC stack and remains compatible with TensorFlow 2.20+. Note that this version is incompatible with TensorFlow versions earlier than 2.18.

  • Deprecate flwr.server.utils.tensorboard (#6113)

    The flwr.server.utils.tensorboard function is now deprecated, and a slow import issue occurring when tensorflow is installed has been resolved.

Flower 1.23.0

03 Nov 14:50
6d099a8

Choose a tag to compare

Thanks to our contributors

We would like to give our special thanks to all the contributors who made the new version of Flower possible (in git shortlog order):

Adam Tupper, Alan Yi, Alireza Ghasemi, Charles Beauville, Chong Shen Ng, Daniel Anoruo, Daniel J. Beutel, Daniel Nata Nugraha, Heng Pan, Javier, Patrick Foley, Robert Steiner, Rohat Bozyil, Yan Gao, combe4259, han97901, maviva

What's new?

Incompatible changes

  • Remove CSV-based SuperNode authentication (#5997)

  • Rename user authentication to account authentication (#5965, #5969)

    Renames "user authentication" to "account authentication" across the framework for improved clarity and consistency. This change also updates the YAML key from auth_type to authn_type to align with authz_type.

  • Deprecate --auth-supernode-public-key flag (#6002, #6076)

    The --auth-supernode-public-key flag in flower-supernode is deprecated and no longer in use. The public key is now automatically derived from the --auth-supernode-private-key, simplifying configuration and reducing redundancy.

Flower 1.22.0

21 Sep 19:26
ac07b04

Choose a tag to compare

Thanks to our contributors

We would like to give our special thanks to all the contributors who made the new version of Flower possible (in git shortlog order):

Charles Beauville, Chong Shen Ng, Daniel J. Beutel, Heng Pan, Javier, Patrick Foley, William Lindskog, William Lindskog-Munzing, Yan Gao

What's new?

  • Migrate all strategies to Message API (#5845, #5850, #5851, #5867, #5884, #5894, #5904, #5905, #5908, #5913, #5914, #5915, #5917, #5919, #5920, #5931)

    Migrates and implements all federated learning strategies to support the new Message API. Strategies updated or introduced include FedAvg, FedOpt and its variants (FedAdam, FedYogi, FedAdagrad), FedProx, Krum, MultiKrum, FedAvgM, FedMedian, FedTrimmedAvg, QFedAvg, and Bulyan. Differential privacy strategies were also migrated, including both fixed and adaptive clipping mechanisms on the server and client sides.

  • Migrate flwr new templates to Message API (#5901, #5818, #5893, #5849, #5883)

    All flwr new templates have been updated to use the Message API. The PyTorch template based on the legacy API is retained and explicitly marked as legacy for those who prefer or require the older approach. A new template for XGBoost is introduced.

  • Revamp main tutorials to use the Message API (#5861)

    The primary tutorial series has been updated to showcase the Message API. The revamped content improves alignment with recent architectural changes and enhances learning clarity. See the updated tutorial: Get started with Flower.

  • Upgrade tutorials and how-to guides to the Message API (#5862, #5877, #5891, #5895, #5896, #5897, #5898, #5906, #5912, #5916, #5921, #5922, #5923, #5924, #5927, #5928, #5925)

    All framework tutorials and how-to guides have been fully migrated to the Message API. This includes quickstarts for JAX, TensorFlow, PyTorch Lightning, MLX, FastAI, Hugging Face Transformers, and XGBoost, along with comprehensive updates to guides covering strategy design, differential privacy, checkpointing, client configuration, evaluation aggregation, and stateful client implementation. These changes ensure all learning resources are up-to-date, aligned with the current architecture, and ready for developers building on the Message API.

  • Migrate and update examples to support the Message API (#5827, #5830, #5833, #5834, #5839, #5840, #5841, #5860, #5868, #5869, #5875, #5876, #5879, #5880, #5882, #5887, #5888, #5889, #5892, #5907, #5911, #5930)

    Migrates a wide range of examples to the new Message API, ensuring consistency with recent framework updates. Examples updated include quickstarts (e.g., TensorFlow, PyTorch Lightning, Hugging Face, MONAI, FastAI, MLX), advanced use cases (e.g., FlowerTune for ViT and LLMs, FedRAG, FL-VAE), and specialized scenarios (e.g., XGBoost, tabular data, embedded devices, authentication, and custom mods). Enhancements also include updated variable naming, model-saving logic, readme improvements, and import path corrections for better usability and alignment with the new API.

  • Introduce experimental flwr pull command (#5863)

    The flwr pull Flower CLI command is the foundation for future functionality allowing for the retrieval of artifacts generated by a ServerApp in a remote SuperLink.

  • Improve CI/CD workflows (#5810, #5842, #5843, #5854, #5856, #5857, #5858, #5859, #5865, #5874, #5900, #5815)

  • General improvements (#5844, #5847, #5870, #5872, #5873, #5881, #5886, #5890, #5902, #5903, #5909, #5910, #5918)

    As always, many parts of the Flower framework and quality infrastructure were improved and updated.

Flower 1.21.0

10 Sep 10:01
92316e7

Choose a tag to compare

Thanks to our contributors

We would like to give our special thanks to all the contributors who made the new version of Flower possible (in git shortlog order):

Charles Beauville, Chong Shen Ng, Daniel J. Beutel, Daniel Nata Nugraha, Dimitris Stripelis, Evram, Heng Pan, Javier, Robert Steiner, Yan Gao

What's new?

  • Introduce Message API strategies (#5710, #5766, #5770, #5771, #5774, #5779, #5787, #5794, #5798, #5804, #5807, #5813, #5824, #5831, #5838)

    Introduces a new abstract base class Strategy that operate on Message replies, mirroring the design of those operating on FitIns/FitRes or EvaluateIns/EvaluteRes while providing more versatility on the type of payloads that can be federated with Flower. The first batch of Message-based strategies are: FedAvg, FedOpt, FedAdam, FedAdagrad, FedYogi, and fixed-clipping Differential Privacy strategies. More will follow in subsequent releases. A migration guide has been added to help users transition their existing Flower Apps operating on the original Strategy and NumPyClient abstractions to the Message API.

  • Introduce Flower SuperExec (#5659, #5674, #5678, #5680, #5682, #5683, #5685, #5696, #5699, #5700, #5701, #5702, #5703, #5706, #5713, #5726, #5731, #5734, #5735, #5737, #5751, #5759, #5811, #5828)

    SuperExec is a new component responsible for scheduling, launching, and managing app processes (e.g., ServerApp, ClientApp) within the Flower deployment runtime. It is automatically spawned when running a SuperLink or SuperNode in subprocess mode (default). This also introduces a token-based mechanism that improves security by assigning a unique token to each app execution. Supporting changes include new RPCs, protocol updates, plugin abstractions, and Docker image support for SuperExec. For more details, refer to the updated Flower architecture explainer. Documentation has been revised to reflect the introduction of Flower SuperExec, including guides and tutorials such as quickstart with Docker, GCP deployment, and network communication to consistently use SuperExec.

  • Update quickstart-pytorch to use Message API (#5785, #5786, #5802)

    The quickstart-pytorch tutorial has been migrated to the Message API, using the new FedAvg strategy and the new flwr new template.

  • New PyTorch template with Message API (#5784)

    A new PyTorch template using the Message API is now available through flwr new.

  • Add OpenShift deployment guide for Flower (#5781)

    Introduces a guide for deploying Flower on Red Hat OpenShift, including setup steps and configuration examples.

  • Improve Helm documentation (#5711, #5733, #5748, #5758, #5765, #5816)

    Helm guide has been enhanced with additional configuration details and updated formatting. Changes include adding a parameters section, documenting how to set a custom secretKey, updating TLS instructions for version 1.20, introducing audit logging configuration, and using SuperExec.

  • Improve documentation (#5159, #5655, #5668, #5692, #5723, #5738, #5739, #5740, #5753, #5764, #5769, #5775, #5782, #5788, #5795, #5809, #5812, #5817, #5819, #5825, #5836)

    Restructures the tutorial series, removes flower-simulation references, and updates versioned docs to use the correct flwr versions. The framework documentation homepage now defaults to the latest stable release instead of the main branch.

  • Re-export user-facing API from flwr.*app (#5814, #5821, #5832, #5835)

    The following classes are now re-exported:

    • From flwr.serverapp: ServerApp, Grid
    • From flwr.clientapp: ClientApp, arrays_size_mod, message_size_mod
    • From flwr.app: Array, ArrayRecord, ConfigRecord, Context, Message, MetricRecord, RecordDict

    Importing these from flwr.server, flwr.client, or flwr.common is deprecated. Please update your imports to use flwr.serverapp, flwr.clientapp, or flwr.app instead to ensure forward compatibility.

  • Add --health-server-address flag to Flower SuperLink/SuperNode/SuperExec (#5792)

  • Update CI/CD workflows and dependencies (#5647, #5650, #5651, #5656, #5712, #5714, #5747, #5754, #5755, #5796, #5806, #5808, #5829)

  • General improvements (#5622, #5660, #5673, #5675, #5676, #5686, #5697, #5708, #5719, #5720, #5722, #5736, #5746, #5750, #5757, #5776, #5777, #5789, #5805, #5797, #5820)

    As always, many parts of the Flower framework and quality infrastructure were improved and updated.

Incompatible changes

Read more