You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
1
# DeepDiff Change log
2
2
3
+
- v6-4-0
4
+
-[Add Ignore List Order Option to DeepHash](https://github.com/seperman/deepdiff/pull/403) by
5
+
[Bobby Morck](https://github.com/bmorck)
6
+
- [pyyaml to 6.0.1 to fix cython build problems](https://github.com/seperman/deepdiff/pull/406) by [Robert Bo Davis](https://github.com/robert-bo-davis)
7
+
- [Precompiled regex simple diff](https://github.com/seperman/deepdiff/pull/413) by [cohml](https://github.com/cohml)
8
+
- New flag: `zip_ordered_iterables` for forcing iterable items to be compared one by one.
3
9
- v6-3-1
4
10
- Bugfix deephash for paths by [maggelus](https://github.com/maggelus)
Please check the [ChangeLog](CHANGELOG.md) file for the detailed information.
25
25
26
-
DeepDiff 6-3-1
26
+
DeepDiff 6-4-0
27
27
28
-
This release includes many bug fixes.
28
+
-[Add Ignore List Order Option to DeepHash](https://github.com/seperman/deepdiff/pull/403) by
29
+
[Bobby Morck](https://github.com/bmorck)
30
+
-[pyyaml to 6.0.1 to fix cython build problems](https://github.com/seperman/deepdiff/pull/406) by [Robert Bo Davis](https://github.com/robert-bo-davis)
31
+
-[Precompiled regex simple diff](https://github.com/seperman/deepdiff/pull/413) by [cohml](https://github.com/cohml)
32
+
- New flag: `zip_ordered_iterables` for forcing iterable items to be compared one by one.
29
33
30
-
- Bugfix deephash for paths by [maggelus](https://github.com/maggelus)
- Fix tests dependent on toml by [martin-kokos](https://github.com/martin-kokos)
33
-
- Bugfix for `include_paths` for nested dictionaries by [kor4ik](https://github.com/kor4ik)
34
-
- Use tomli and tomli-w for dealing with tomli files by [martin-kokos](https://github.com/martin-kokos)
35
-
- Bugfix for `datetime.date` by [Alex Sauer-Budge](https://github.com/amsb)
36
-
37
-
38
-
DeepDiff 6-3-0
39
-
40
-
-[`PrefixOrSuffixOperator`](https://zepworks.com/deepdiff/current/custom.html#prefix-or-suffix-operator-label): This operator will skip strings that are suffix or prefix of each other.
41
-
-[`include_obj_callback`](https://zepworks.com/deepdiff/current/ignore_types_or_values.html#include-obj-callback-label) and `include_obj_callback_strict` are added by [Håvard Thom](https://github.com/havardthom).
42
-
- Fixed a corner case where numpy's `np.float32` nans are not ignored when using `ignore_nan_equality` by [Noam Gottlieb](https://github.com/noamgot)
43
-
-`orjson` becomes optional again.
44
-
- Fix for `ignore_type_in_groups` with numeric values so it does not report number changes when the number types are different.
45
34
46
35
## Installation
47
36
@@ -93,11 +82,11 @@ Thank you!
93
82
94
83
How to cite this library (APA style):
95
84
96
-
Dehpour, S. (2023). DeepDiff (Version 6.3.1) [Software]. Available from https://github.com/seperman/deepdiff.
85
+
Dehpour, S. (2023). DeepDiff (Version 6.4.0) [Software]. Available from https://github.com/seperman/deepdiff.
If you want to get away with UnicodeDecodeError without passing explicit character encodings, set this option to True. If you want to make sure the encoding is done properly, keep this as False and instead pass an explicit list of character encodings to be considered via the encodings parameter.
125
125
126
+
ignore_iterable_order: Boolean, default = True
127
+
If order of items in an iterable should not cause the hash of the iterable to be different.
126
128
127
129
number_format_notation : string, default="f"
128
130
number_format_notation is what defines the meaning of significant digits. The default value of "f" means the digits AFTER the decimal point. "f" stands for fixed point. The other option is "e" which stands for exponent notation or scientific notation.
:ref:`ignore_encoding_errors_label` If you want to get away with UnicodeDecodeError without passing explicit character encodings, set this option to True. If you want to make sure the encoding is done properly, keep this as False and instead pass an explicit list of character encodings to be considered via the :ref:`encodings_label` parameter.
130
130
131
131
132
+
zip_ordered_iterables: Boolean, default = False
133
+
:ref:`zip_ordered_iterables_label`:
134
+
When comparing ordered iterables such as lists, DeepDiff tries to find the smallest difference between the two iterables to report. That means that items in the two lists are not paired individually in the order of appearance in the iterables. Sometimes, that is not the desired behavior. Set this flag to True to make DeepDiff pair and compare the items in the iterables in the order they appear.
135
+
132
136
iterable_compare_func:
133
137
:ref:`iterable_compare_func_label`:
134
138
There are times that we want to guide DeepDiff as to what items to compare with other items. In such cases we can pass a iterable_compare_func that takes a function pointer to compare two items. The function takes three parameters (x, y, level) and should return True if it is a match, False if it is not a match or raise CannotCompare if it is unable to compare the two.
0 commit comments