Skip to content

Commit

Permalink
Merge pull request #68 from dabapps/prep-2.0.0
Browse files Browse the repository at this point in the history
Bump version to 2.0.0
  • Loading branch information
j4mie authored Jul 19, 2022
2 parents b5b098a + 700a38c commit aa947ed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.0.0] - 2022-07-19

### Changed
- **BACKWARDS INCOMPATIBLE**: The default value of the `distinct` argument for the `pairs.count` and `pairs.has` functions has changed from `True` to `False`. This now matches the default value of the `distinct` arguments to Django's `Count` annotation. To retain current behaviour, add `distinct=True` to all calls to these two functions in your codebase. For background on this decision, see [this discussion](https://github.com/dabapps/django-readers/discussions/66).

Expand Down
2 changes: 1 addition & 1 deletion django_readers/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.1.0"
__version__ = "2.0.0"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
name = "django-readers"
package = "django_readers"
description = "A lightweight function-oriented toolkit for better organisation of business logic and efficient selection and projection of data in Django projects."
url = "https://github.com/dabapps/django-readers"
url = "https://www.django-readers.org"
author = "DabApps"
author_email = "hello@dabapps.com"
license = "BSD"
Expand Down

0 comments on commit aa947ed

Please sign in to comment.