- Track the real visitor IP in the web API - Handle the nginx proxy
18.0.1
- Add a link in `openAPI.yml` to the OpenFisca documentation page explaining the web API inputs and outputs for the /calculate route.
18.0.0
New features
Add tracing to get details about all the intermediate calculations of a simulation
- Introduce new Web API route `/trace` to get a simulation's detailed calculation steps - See the [swagger documentation for OpenFisca-France](https://legislation.openfisca.fr/swagger)
- Introduce `simulation.tracer.print_computation_log` to print a simulation's detailed calculation steps - This is available if the `trace` argument has been set to `True` in the `Simulation` constructor. - See the [reference documentation](https://openfisca.readthedocs.io/en/latest/tracer.html) about the tracer.
_Warning: Both of these features are still currently under experimentation. You are very welcome to use them and send us precious feedback, but keep in mind that the way they are used and the results they give might change without any major version bump._
zone = household('zone', period) rate = parameters(period).rate[zone]
For more information, check the [documentation](https://openfisca.org/doc/coding-the-legislation/legislation_parameters.html#computing-a-parameter-that-depends-on-a-variable-fancy-indexing)
17.1.2
- Fix migration script `xml_to_yaml.py` - The attributes `reference` of nodes `END`, `VALUE`, `PLACEHOLDER`, `BAREME`, `TRANCHE`, `ASSIETTE`, `TAUX`, `MONTANT`, `SEUIL` were not parsed. Now they are parsed to YAML.