Releases: M1ha-Shvn/django-pg-bulk-update
Releases · M1ha-Shvn/django-pg-bulk-update
Version 3.4.2
Compatibility
- Optimized library requirements in order to install less dependencies in actual python versions
Version 3.4.1
Bug fixes
- issue-63 fix by @ryanhennig: already quoted table names formed wrong SQL
- Partially fixed
auto_now
tests bug with local timezone differring from UTC
Documentation
- Added manual for running unit tests locally (by @ryanhennig)
Version 3.4.0
Features
- Added ability to create set functions which doesn't require value (
SetFunction.needs_value
attribute) - Added
NowSetFunction
Bug fixes
- Fixed issue #55:
auto_now
andauto_now_add
parameters ofDateTimeField
andDateField
now work correctly - Fixed tricky issue with checking default connection during library import, which caused wrong default connection settings
- Fixed django 3.1 compatiblity
- Fixed django 4.0 JSONField deprecation warning
Testing
- Replaced django 1.7 with 3.1 in travis tests
Version 3.3.0
Performance
- Optimized SQL in VALUES section, so that defaults are not copied a lot of times in bulk_create and bulk_update_or_create
- Other performance imporvements
Version 3.2.4
Bug fixes
- Fixed SQL bug in bulk_update_or_create query when update=False and returning is used
Version 3.2.3
Features
- Added bulk_create helper to queries
- Added pg_bulk_create function to QuerySet
Minor imporvements
- Prevented adding NULL values as defaults when django field has no default value
Version 3.1.1
Bug fixes
Fixed issue #51
Version 3.1.0
Features
- Added array_remove set function (by roveil)
Version 3.0.1
Version 3.0.0
Features
- Moved BulkUpdate methods from manager to QuerySet
- Added ability to filter whole QuerySet in bulk_update
Bug fixes
- Fixed issue #41
Refactoring
- Renamed BulkUpdateManagerMixin to BulkUpdateMixin
- DefaultConnectionProxy replaced with TDatabase type