Skip to content

Commit fa74336

Browse files
committed
v3.0.0
- **Potentially breaking change** Retain PK if provided and ensure a crash if it mismatches on key_field. #10 If your input models have the PK set already and expect it to be cleared by bulk_sync, that won't happen anymore. Please clear the pks yourself if you want them to seem like "new" objects.
1 parent ae73b85 commit fa74336

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Changelog
2+
3+
## [Unreleased]
4+
5+
## [3.0.0] - 2020-07-28
6+
### Changed
7+
- **Potentially breaking change** Retain PK if provided and ensure a crash if it mismatches on key_field. #10
8+
9+
If your input models have the PK set already and expect it to be cleared by bulk_sync, that won't happen anymore.
10+
Please clear the pks yourself if you want them to seem like "new" objects.
11+
12+
## [2.1.0] - 2020-06-05
13+
### Added
14+
- Added support for skip_deletes, skip_creates, and skip_updates in bulk_sync method. #9, pull request from [@mikefreemanwd](https://github.com/mikefreemanwd).
15+
16+
### Updated
17+
- Updated stats returned by bulk_sync to reflect what actually happened given the flags rather than what would have happend if all flags are false.
18+
19+
## [2.0.0] - 2020-05-19
20+
### Removed
21+
- Removed support for Django versions before 2.2. Please use 1.x series for Django < 2.2.
22+
23+
24+
[Unreleased]: https://github.com/mathandpencil/django-bulk-sync/compare/v3.0.0..HEAD
25+
[3.0.0]: https://github.com/mathandpencil/django-bulk-sync/compare/v2.1.0..v3.0.0
26+
[2.1.0]: https://github.com/mathandpencil/django-bulk-sync/compare/v2.0.0..v2.1.0
27+
[2.0.0]: https://github.com/mathandpencil/django-bulk-sync/releases/tag/v2.0.0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="django-bulk-sync",
8-
version='2.1.0',
8+
version='3.0.0',
99
description="Combine bulk add, update, and delete into a single call.",
1010
long_description=long_description,
1111
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)