Openfisca-core

Latest version: v41.4.5

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

Scan your dependencies

Page 52 of 60

9.0.0

* Make sure identic periods are stringified the same way
* _Breaking changes_:
- Change `periods.period` signature.
- It now only accepts strings.
- Restrict the possible inputs for `periods.period`
- The authorized formats are listed in [the doc](https://openfisca.org/doc/key-concepts/periodsinstants.html)
- Deprecate and remove:
- `periods.json_or_python_to_period`
- `periods.make_json_or_python_to_period`

8.0.1

* Move the dummy country to [its own repository](https://github.com/openfisca/openfisca-dummy-country)

8.0.0

* Raise more explicit error when an invalid test case is given
* Raise more friendly error when trying to calculate a variable which doesn't exist
* _Breaking change_: Python exceptions will now be raised when the test case in invalid. Before, only a byriani error was returned. Reusers must therefore adapt their exception handling.

7.1.0

* Add `Entity.to_json` method. Used by OpenFisca-Web-API in `/entity` endpoint in particular.

7.0.1

* Declare `Openfisca-Parsers` as an optional dependency of `Openfisca-Core`.

7.0.0

* Make it mandatory to provide a period when calculating a variable.
- When a computation is requested (with *.calculate_output, entities.__call__, *.calculate[_add|_divide], *.compute[_add|_divide]), the argument `period` is no longer optional.
- Previously, the period of the simulation was used instead of a missing period. It was error-prone, as values would be returned for the wrong period, without any error or warning to alert the formula writer about a likely coding error.

Page 52 of 60

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.