Skip to content

Commit

Permalink
Bump version: 5.5.0 → 5.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
seperman committed Oct 13, 2021
1 parent 7e55c01 commit ba10371
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 21 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# DeepDiff v 5.5.0
# DeepDiff v 5.6.0

![Downloads](https://img.shields.io/pypi/dm/deepdiff.svg?style=flat)
![Python Versions](https://img.shields.io/pypi/pyversions/deepdiff.svg?style=flat)
Expand All @@ -18,11 +18,11 @@ Tested on Python 3.6+ and PyPy3.

**NOTE: The last version of DeepDiff to work on Python 3.5 was DeepDiff 5-0-2**

- [Documentation](https://zepworks.com/deepdiff/5.5.0/)
- [Documentation](https://zepworks.com/deepdiff/5.6.0/)

## What is new?

Deepdiff 5.5.0 comes with regular expressions in the DeepSearch and grep modules:
Deepdiff 5.6.0 comes with regular expressions in the DeepSearch and grep modules:

```python
>>> from deepdiff import grep
Expand Down Expand Up @@ -66,13 +66,13 @@ Note: if you want to use DeepDiff via commandline, make sure to run `pip install

DeepDiff gets the difference of 2 objects.

> - Please take a look at the [DeepDiff docs](https://zepworks.com/deepdiff/5.5.0/diff.html)
> - The full documentation of all modules can be found on <https://zepworks.com/deepdiff/5.5.0/>
> - Please take a look at the [DeepDiff docs](https://zepworks.com/deepdiff/5.6.0/diff.html)
> - The full documentation of all modules can be found on <https://zepworks.com/deepdiff/5.6.0/>
> - Tutorials and posts about DeepDiff can be found on <https://zepworks.com/tags/deepdiff/>
## A few Examples

> Note: This is just a brief overview of what DeepDiff can do. Please visit <https://zepworks.com/deepdiff/5.5.0/> for full documentation.
> Note: This is just a brief overview of what DeepDiff can do. Please visit <https://zepworks.com/deepdiff/5.6.0/> for full documentation.
### List difference ignoring order or duplicates

Expand Down Expand Up @@ -276,8 +276,8 @@ Example:
```


> - Please take a look at the [DeepDiff docs](https://zepworks.com/deepdiff/5.5.0/diff.html)
> - The full documentation can be found on <https://zepworks.com/deepdiff/5.5.0/>
> - Please take a look at the [DeepDiff docs](https://zepworks.com/deepdiff/5.6.0/diff.html)
> - The full documentation can be found on <https://zepworks.com/deepdiff/5.6.0/>

# Deep Search
Expand Down Expand Up @@ -309,17 +309,17 @@ And you can pass all the same kwargs as DeepSearch to grep too:
{'matched_paths': {"root['somewhere']": 'around'}, 'matched_values': {"root['long']": 'somewhere'}}
```

> - Please take a look at the [DeepSearch docs](https://zepworks.com/deepdiff/5.5.0/dsearch.html)
> - The full documentation can be found on <https://zepworks.com/deepdiff/5.5.0/>
> - Please take a look at the [DeepSearch docs](https://zepworks.com/deepdiff/5.6.0/dsearch.html)
> - The full documentation can be found on <https://zepworks.com/deepdiff/5.6.0/>
# Deep Hash
(New in v4-0-0)

DeepHash is designed to give you hash of ANY python object based on its contents even if the object is not considered hashable!
DeepHash is supposed to be deterministic in order to make sure 2 objects that contain the same data, produce the same hash.

> - Please take a look at the [DeepHash docs](https://zepworks.com/deepdiff/5.5.0/deephash.html)
> - The full documentation can be found on <https://zepworks.com/deepdiff/5.5.0/>
> - Please take a look at the [DeepHash docs](https://zepworks.com/deepdiff/5.6.0/deephash.html)
> - The full documentation can be found on <https://zepworks.com/deepdiff/5.6.0/>
Let's say you have a dictionary object.

Expand Down Expand Up @@ -367,8 +367,8 @@ Which you can write as:
At first it might seem weird why DeepHash(obj)[obj] but remember that DeepHash(obj) is a dictionary of hashes of all other objects that obj contains too.


> - Please take a look at the [DeepHash docs](https://zepworks.com/deepdiff/5.5.0/deephash.html)
> - The full documentation can be found on <https://zepworks.com/deepdiff/5.5.0/>
> - Please take a look at the [DeepHash docs](https://zepworks.com/deepdiff/5.6.0/deephash.html)
> - The full documentation can be found on <https://zepworks.com/deepdiff/5.6.0/>

# Using DeepDiff in unit tests
Expand Down
2 changes: 1 addition & 1 deletion deepdiff/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""This module offers the DeepDiff, DeepSearch, grep, Delta and DeepHash classes."""
# flake8: noqa
__version__ = '5.5.0'
__version__ = '5.6.0'
import logging

if __name__ == '__main__':
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
# built documents.
#
# The short X.Y version.
version = '5.5.0'
version = '5.6.0'
# The full version, including alpha/beta/rc tags.
release = '5.5.0'
release = '5.6.0'

load_dotenv(override=True)
DOC_VERSION = os.environ.get('DOC_VERSION', version)
Expand Down
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
contain the root `toctree` directive.
DeepDiff 5.5.0 documentation!
DeepDiff 5.6.0 documentation!
=============================

*****************
Expand Down Expand Up @@ -39,7 +39,7 @@ NOTE: Python 2 is not supported any more. DeepDiff v3.3.0 was the last version t
What is New
***********

New In DeepDiff 5.5.0
New In DeepDiff 5.6.0
---------------------

1. New option called `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. If `CannotCompare` is raised then it will revert back to comparing in order. If `iterable_compare_func` is not provided or set to None the behavior defaults to comparing items in order. A new report item called `iterable_item_moved` this will only ever be added if there is a custom compare function.
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 5.5.0
current_version = 5.6.0
commit = True
tag = True
tag_name = {new_version}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
if os.environ.get('USER', '') == 'vagrant':
del os.link

version = '5.5.0'
version = '5.6.0'


def get_reqs(filename):
Expand Down

0 comments on commit ba10371

Please sign in to comment.