Skip to content

Commit 9d5cfc7

Browse files
committed
chore: version bump
1 parent a0b026f commit 9d5cfc7

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

CHANGELOG.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,41 @@
11
# Changelog
22

3+
# 44.0.0 [#1286](https://github.com/openfisca/openfisca-core/pull/1286)
4+
5+
#### New features
6+
7+
- Add `CoreEntity.variables`
8+
- Allows for querying the variables defined for an entity.
9+
10+
#### Deprecations
11+
12+
- Remove `CoreEntity.check_role_validity`
13+
- The method in itself had no relation to `entities` (it was a static
14+
method, so no depending neither on an entity class nor an instance). It
15+
could have been kept as a `populations` helper, where it was exclusively
16+
used. Nonetheless, `check_role_validity` had the peculiar behaviour of
17+
not failing but when the value of `role` is not `None`, that granted it
18+
in the author's opinion the right to be removed so as to avoid confusion.
19+
- Deprecate `class_override` arg from `entities.build_entity`
20+
- That argument actually did nothing, and linters have been complaining
21+
about this argument for almost 10 years now. It is only being marked as
22+
a breaking change for respect to the semantic versioning protocol.
23+
- Deprecate `CoreEntity.check_variable_defined_for_entity`
24+
- The feature is still provided by `CoreEntity.get_variable` when passed
25+
the optional positional or keyword argument `check_existence`. In fact,
26+
the removed method was duplicating and already existing behaviour.
27+
- Deprecate `CoreEntity.set_tax_benefit_system`
28+
- The feature is now provided by simple variable assignment:
29+
```python
30+
entity.tax_benefit_system = tax_benefit_system
31+
```
32+
- Likewise, `entity.tax_benefit_system` becomes part of the public API
33+
(which implicitly it was as the private marker was being violated).
34+
35+
#### Technical changes
36+
37+
- Fix failing `openfisca-extension-template` tests
38+
339
### 43.2.2 [#1280](https://github.com/openfisca/openfisca-core/pull/1280)
440

541
#### Documentation

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070

7171
setup(
7272
name="OpenFisca-Core",
73-
version="43.2.2",
73+
version="44.0.0",
7474
author="OpenFisca Team",
7575
author_email="[email protected]",
7676
classifiers=[

0 commit comments

Comments
 (0)