Skip to content

Commit 5993a42

Browse files
committed
Merge branch 'master' into dev
2 parents e4800c7 + ed25202 commit 5993a42

File tree

7 files changed

+21
-84
lines changed

7 files changed

+21
-84
lines changed

CITATION.cff

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ authors:
55
given-names: "Sep"
66
orcid: "https://orcid.org/0009-0009-5828-4345"
77
title: "DeepDiff"
8-
version: 8.1.1
8+
version: 8.2.0
99
date-released: 2024
1010
url: "https://github.com/seperman/deepdiff"

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# DeepDiff v 8.1.1
1+
# DeepDiff v 8.2.0
22

33
![Downloads](https://img.shields.io/pypi/dm/deepdiff.svg?style=flat)
44
![Python Versions](https://img.shields.io/pypi/pyversions/deepdiff.svg?style=flat)
@@ -17,7 +17,7 @@
1717

1818
Tested on Python 3.8+ and PyPy3.
1919

20-
- **[Documentation](https://zepworks.com/deepdiff/8.1.1/)**
20+
- **[Documentation](https://zepworks.com/deepdiff/8.2.0/)**
2121

2222
## What is new?
2323

deepdiff/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""This module offers the DeepDiff, DeepSearch, grep, Delta and DeepHash classes."""
22
# flake8: noqa
3-
__version__ = '8.1.1'
3+
__version__ = '8.2.0'
44
import logging
55

66
if __name__ == '__main__':

docs/conf.py

+6-3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
import sys
1616
import os
17+
import datetime
1718
from dotenv import load_dotenv
1819

1920
# If extensions (or modules to document with autodoc) are in another directory,
@@ -52,18 +53,20 @@
5253
master_doc = 'index'
5354

5455
# General information about the project.
56+
57+
year = datetime.datetime.now().year
5558
project = 'DeepDiff'
56-
copyright = '2015-2024, Sep Dehpour'
59+
copyright = '2015-{}, Sep Dehpour'.format(year)
5760
author = 'Sep Dehpour'
5861

5962
# The version info for the project you're documenting, acts as replacement for
6063
# |version| and |release|, also used in various other places throughout the
6164
# built documents.
6265
#
6366
# The short X.Y version.
64-
version = '8.1.1'
67+
version = '8.2.0'
6568
# The full version, including alpha/beta/rc tags.
66-
release = '8.1.1'
69+
release = '8.2.0'
6770

6871
load_dotenv(override=True)
6972
DOC_VERSION = os.environ.get('DOC_VERSION', version)

docs/index.rst

+9-75
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
contain the root `toctree` directive.
55
66
7-
DeepDiff 8.1.1 documentation!
7+
DeepDiff 8.2.0 documentation!
88
=============================
99

1010
*******
@@ -31,6 +31,14 @@ The DeepDiff library includes the following modules:
3131
What Is New
3232
***********
3333

34+
DeepDiff 8-2-0
35+
--------------
36+
37+
- Small optimizations so we don't load functions that are not needed
38+
- Updated the minimum version of Orderly-set
39+
- Normalize all datetimes into UTC. Assume timezone naive datetimes are UTC.
40+
41+
3442
DeepDiff 8-1-0
3543
--------------
3644

@@ -55,80 +63,6 @@ DeepDiff 8-1-0
5563

5664

5765

58-
DeepDiff 8-0-1
59-
--------------
60-
61-
- Bugfix. Numpy should be optional.
62-
63-
DeepDiff 8-0-0
64-
--------------
65-
66-
- With the introduction of `threshold_to_diff_deeper`, the values returned are different than in previous versions of DeepDiff. You can still get the older values by setting `threshold_to_diff_deeper=0`. However to signify that enough has changed in this release that the users need to update the parameters passed to DeepDiff, we will be doing a major version update.
67-
- `use_enum_value=True` makes it so when diffing enum, we use the enum's value. It makes it so comparing an enum to a string or any other value is not reported as a type change.
68-
- `threshold_to_diff_deeper=float` is a number between 0 and 1. When comparing dictionaries that have a small intersection of keys, we will report the dictionary as a `new_value` instead of reporting individual keys changed. If you set it to zero, you get the same results as DeepDiff 7.0.1 and earlier, which means this feature is disabled. The new default is 0.33 which means if less that one third of keys between dictionaries intersect, report it as a new object.
69-
- Deprecated `ordered-set` and switched to `orderly-set`. The `ordered-set` package was not being maintained anymore and starting Python 3.6, there were better options for sets that ordered. I forked one of the new implementations, modified it, and published it as `orderly-set`.
70-
- Added `use_log_scale:bool` and `log_scale_similarity_threshold:float`. They can be used to ignore small changes in numbers by comparing their differences in logarithmic space. This is different than ignoring the difference based on significant digits.
71-
- json serialization of reversed lists.
72-
- Fix for iterable moved items when `iterable_compare_func` is used.
73-
- Pandas and Polars support
74-
75-
76-
DeepDiff 7-0-0
77-
--------------
78-
79-
- DeepDiff 7 comes with an improved delta object. `Delta to flat
80-
dictionaries <https://zepworks.com/deepdiff/current/serialization.html#delta-serialize-to-flat-dictionaries>`__
81-
have undergone a major change. We have also introduced `Delta
82-
serialize to flat
83-
rows <https://zepworks.com/deepdiff/current/serialization.html#delta-serialize-to-flat-rows>`__.
84-
- Subtracting delta objects have dramatically improved at the cost of
85-
holding more metadata about the original objects.
86-
- When ``verbose=2``, and the “path” of an item has changed in a report
87-
between t1 and t2, we include it as ``new_path``.
88-
- ``path(use_t2=True)`` returns the correct path to t2 in any reported
89-
change in the `tree view <https://zepworks.com/deepdiff/current/view.html#tree-view>`__
90-
- Python 3.7 support is dropped and Python 3.12 is officially
91-
supported.
92-
93-
94-
DeepDiff 6-7-1
95-
--------------
96-
97-
- Support for subtracting delta objects when iterable_compare_func
98-
is used.
99-
- Better handling of force adding a delta to an object.
100-
- Fix for
101-
`Can't compare dicts with both single and double quotes in keys <https://github.com/seperman/deepdiff/issues/430>`__
102-
- Updated docs for Inconsistent Behavior with math_epsilon and
103-
ignore_order = True
104-
105-
DeepDiff 6-7-0
106-
--------------
107-
108-
- Delta can be subtracted from other objects now.
109-
- verify_symmetry is deprecated. Use bidirectional instead.
110-
- :ref:`always_include_values_label` flag in Delta can be enabled to include
111-
values in the delta for every change.
112-
- Fix for Delta.\__add\_\_ breaks with esoteric dict keys.
113-
- :ref:`delta_from_flat_dicts_label` can be used to load a delta from the list of flat dictionaries.
114-
115-
116-
DeepDiff 6-6-1
117-
--------------
118-
119-
- Fix for `DeepDiff raises decimal exception when using significant
120-
digits <https://github.com/seperman/deepdiff/issues/426>`__
121-
- Introducing group_by_sort_key
122-
- Adding group_by 2D. For example
123-
``group_by=['last_name', 'zip_code']``
124-
125-
DeepDiff 6-6-0
126-
--------------
127-
128-
- :ref:`delta_to_flat_dicts_label` can be used to serialize delta objects into a flat list of dictionaries.
129-
- `NumPy 2.0 compatibility <https://github.com/seperman/deepdiff/pull/422>`__ by `William Jamieson <https://github.com/WilliamJamieson>`__
130-
131-
13266
*********
13367
Tutorials
13468
*********

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 8.1.1
2+
current_version = 8.2.0
33
commit = True
44
tag = True
55
tag_name = {new_version}

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
if os.environ.get('USER', '') == 'vagrant':
1111
del os.link
1212

13-
version = '8.1.1'
13+
version = '8.2.0'
1414

1515

1616
def get_reqs(filename):

0 commit comments

Comments
 (0)