Commit 829c430
authored
0.1.6.1 (#3)
* Bumps version to 0.1.5.1
Updates the package version to 0.1.5.1 in pyproject.toml and uv.lock.
This increment addresses a minor release.
* Implements immutability for value objects
Ensures that value objects are immutable after initialization
by preventing attribute reassignment and deletion.
This enhances data integrity and prevents unintended modifications
to value object state.
* Bumps version to 0.1.6
Updates the package version to 0.1.6 in pyproject.toml and uv.lock.
This version bump reflects changes and improvements.
* Implements immutability for value objects
Ensures that value objects are immutable after initialization
by preventing attribute reassignment and deletion.
This enhances data integrity and prevents unintended modifications
to value object state.
* Bumps version to 0.1.6
Updates the package version to 0.1.6 in pyproject.toml and uv.lock.
This version bump reflects changes and improvements.
* Refactors value object classes
Simplifies value object implementations by removing unnecessary comments and focusing on core functionality.
This improves code readability and maintainability.
Specifically, removes redundant comments in `CompositeValueObject` and `CurrencyValueObject`.
Also, refines equality checks and hashing in `CompositeValueObject` and removes redundant tests.
Updates URL regex in `UrlValueObject` to fix a minor issue.
* Adds immutability tests to value objects
Adds tests to ensure that value objects and composite value objects are immutable after initialization.
Also adds tests to verify correct behavior when `super().__init__` is not called in derived classes.
* Bumps version to 0.1.6.1
Updates the package version to address a bug fix or minor enhancement.
* Refactors value object classes
Simplifies value object implementations by removing unnecessary comments and focusing on core functionality.
This improves code readability and maintainability.
Specifically, removes redundant comments in `CompositeValueObject` and `CurrencyValueObject`.
Also, refines equality checks and hashing in `CompositeValueObject` and removes redundant tests.
Updates URL regex in `UrlValueObject` to fix a minor issue.
* Adds immutability tests to value objects
Adds tests to ensure that value objects and composite value objects are immutable after initialization.
Also adds tests to verify correct behavior when `super().__init__` is not called in derived classes.
* Bumps version to 0.1.6.1
Updates the package version to address a bug fix or minor enhancement.1 parent 111a8e3 commit 829c430
8 files changed
Lines changed: 41 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | 10 | | |
13 | 11 | | |
14 | 12 | | |
| |||
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
28 | | - | |
29 | 26 | | |
30 | 27 | | |
31 | 28 | | |
| |||
37 | 34 | | |
38 | 35 | | |
39 | 36 | | |
40 | | - | |
41 | | - | |
42 | 37 | | |
43 | 38 | | |
44 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
39 | | - | |
| 38 | + | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 49 | | |
53 | 50 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| |||
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
47 | 66 | | |
48 | 67 | | |
49 | 68 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments