Openfisca-country-template

Latest version: v7.1.8

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

Scan your dependencies

Page 12 of 15

3.0.1

* Technical change.
* Details:
- Declare package compatible with OpenFisca Core v22.

3.0.0

Breaking change

* Tax and benefit system evolution.
* Impacted periods: all.
* Impacted areas: `housing`.
* Details:
- Fix spelling by renaming `accomodation_size` variable to `accommodation_size`.

Other changes

* Minor change.
* Impacted areas: no functional impact.
* Details:
- Improve spelling.

2.1.0

* Tax and benefit system evolution.
* Impacted areas:
- Parameters `general`.
- Variables `benefits`.
* Details:
- Add a parameter and a variable with non ascii characters:
- Introduce `age_of_retirement` parameter.
- Introduce `pension` variable.

2.0.1

_Note: the 2.0.0 version has been unpublished due to performance issues._

Breaking change

* Details:
- Upgrade to Core v21.
- Introduce the use of a string identifier to reference Enum items.
- When setting an Enum (e.g. housing_occupancy_status), set the relevant string identifier (e.g. `free_lodger`). Indexes (e.g.`2`) and phrases (e.g. `Free Lodgers`) cannot be used anymore.
- The default value is indicated for each Enum variable instead of being implicitly the first item of the enum.

Web API request/response

Before:


"persons": {
"Bill": {}
},
"households": {
"_": {
"parent": ["Bill"]
"housing_occupancy_status": "Free Lodger"
}
}


Now:


"persons": {
"Bill": {}
},
"households": {
"_": {
"parent": ["Bill"]
"housing_occupancy_status": "free_lodger"
}
}


YAML testing

Before:


name: Household living in a 40 sq. metres accommodation while being free lodgers
period: 2017
input_variables:
accommodation_size:
2017-01: 40
housing_occupancy_status:
2017-01: 2
output_variables:
housing_tax: 0


Now:


name: Household living in a 40 sq. metres accommodation while being free lodgers
period: 2017
input_variables:
accommodation_size:
2017-01: 40
housing_occupancy_status:
2017-01: free_lodger
output_variables:
housing_tax: 0


Python API

When calculating an enum variable in Python, the output will be an [EnumArray](https://openfisca.org/doc/openfisca-python-api/enum_array.html).

See more on the OpenFisca-Core [changelog](https://github.com/openfisca/openfisca-core/blob/enums-perfs/CHANGELOG.md#2102-589-600-605).

1.4.0

* Technical improvement.
* Details:
- Upgrade to Core v20.

1.3.2

* Technical improvement.
* Details:
- Declare package compatible with OpenFisca Core v19.

Page 12 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.