Pybatfish

Latest version: v2024.7.22.1569

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

Scan your dependencies

Page 1 of 2

2024.07.22

Two small usability and packaging improvements.

What's Changed
* Add `port` as an argument to session by progwriter in https://github.com/batfish/pybatfish/pull/918, thanks `Ashkan Najarian` on Slack and ratulm
* Remove netconan as a dependency by progwriter in https://github.com/batfish/pybatfish/pull/919


**Full Changelog**: https://github.com/batfish/pybatfish/compare/v2024.07.10...v2024.07.22

2024.07.10

Release Notes :fireworks:

This new release of pybatfish is tested with Python 3.8 through Python 3.12. An upcoming release will remove support for Python 3.8, which is EOL later this year.

Because of continual user confusion we have deleted the "default session" `bf_session` in `pybatfish.client.session` and removed the helper methods that used it, like `bf_list_questions` or `bf_init_snapshot`. Instead, you must construct your own Session object as we have recommended for years.

We also deleted the code that called the legacy (v1) Batfish API on port 9997. This API was removed in late 2023.

We have also removed pybatfish diagnostics. Instead, please file reproducible bug reports on the Batfish repository [here](https://github.com/batfish/batfish/issues/new?assignees=&labels=&projects=&template=bug_report.md&title=).

What's Changed
* TestRoutePolicies: Add optional parameter for BGP session properties by millstein in https://github.com/batfish/pybatfish/pull/905
* pybatfish: delete legacy default session by dhalperi in https://github.com/batfish/pybatfish/pull/907
* delete unsupported diagnostics by dhalperi in https://github.com/batfish/pybatfish/pull/909
* delete unsupported v1 support by dhalperi in https://github.com/batfish/pybatfish/pull/910
* pybatfish: delete everything deprecated by dhalperi in https://github.com/batfish/pybatfish/pull/911

New Contributors
* Mape6 made their first contribution in https://github.com/batfish/pybatfish/pull/904

**Full Changelog**: https://github.com/batfish/pybatfish/compare/v2023.12.16...v2024.07.10

2023.12.16

We added support for Python 3.11 and Python 3.12. We improved our use of dependencies including proper documenting of lower bounds (mainly `urllib3`) and unpinning Pandas. As documented in the previous release, we removed support for Python 3.7.

**Full Changelog**: https://github.com/batfish/pybatfish/compare/v2023.05.12...v2023.12.16

2023.05.12

We have added support for source distributions, we incorporated a fix to an example notebook, `assert_no_duplicate_router_ids` will ignore duplicate router IDs on the same node with a new `ignore_same_node`. We have also upgraded to support the new major version of urllib3.

In this release, we disabled diagnostics by default, as the underlying S3 bucket is going away soon.
This will be the last Pybatfish release to support Python 3.7.

What's Changed
* building: py3 only, also source dist by dhalperi in https://github.com/batfish/pybatfish/pull/864
* Fix RFC1918 space by Antonio-Prado in https://github.com/batfish/pybatfish/pull/861
* Add ignore_same_node option to assert_no_duplicate_router_ids by arifogel in https://github.com/batfish/pybatfish/pull/875
* Session: flip enable_diagnostics to False by dhalperi in https://github.com/batfish/pybatfish/pull/880
* urllib3: upgrade to allowed_methods by dhalperi in https://github.com/batfish/pybatfish/pull/882

New Contributors
* Antonio-Prado made their first contribution in https://github.com/batfish/pybatfish/pull/861
* nickgian made their first contribution in https://github.com/batfish/pybatfish/pull/876

**Full Changelog**: https://github.com/batfish/pybatfish/compare/v2022.09.07.77...v2023.05.12

2022.09.07.77

2021.11.04

This release accompanies [Batfish 2021-11-04](https://github.com/batfish/batfish/releases/tag/v2021.11.04).

Note: examples and [documentation](https://pybatfish.readthedocs.io/en/latest/) have been updated to use [`Session`s](https://pybatfish.readthedocs.io/en/latest/notebooks/interacting.html#Sessions). To view legacy documentation, check out [the legacy docs](https://pybatfish.readthedocs.io/en/legacy_docs/).

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.