Skip to content

Releases: M1ha-Shvn/django-pg-bulk-update

Version 3.4.2

07 Jan 07:30
35fb09c
Compare
Choose a tag to compare

Compatibility

  1. Optimized library requirements in order to install less dependencies in actual python versions

Version 3.4.1

05 Jan 07:10
973fab4
Compare
Choose a tag to compare

Bug fixes

  1. issue-63 fix by @ryanhennig: already quoted table names formed wrong SQL
  2. Partially fixed auto_now tests bug with local timezone differring from UTC

Documentation

  1. Added manual for running unit tests locally (by @ryanhennig)

Version 3.4.0

07 Nov 14:42
9a1693a
Compare
Choose a tag to compare

Features

  1. Added ability to create set functions which doesn't require value (SetFunction.needs_value attribute)
  2. Added NowSetFunction

Bug fixes

  1. Fixed issue #55: auto_now and auto_now_add parameters of DateTimeField and DateField now work correctly
  2. Fixed tricky issue with checking default connection during library import, which caused wrong default connection settings
  3. Fixed django 3.1 compatiblity
  4. Fixed django 4.0 JSONField deprecation warning

Testing

  1. Replaced django 1.7 with 3.1 in travis tests

Version 3.3.0

14 Apr 09:50
0c2fd59
Compare
Choose a tag to compare

Performance

  1. Optimized SQL in VALUES section, so that defaults are not copied a lot of times in bulk_create and bulk_update_or_create
  2. Other performance imporvements

Version 3.2.4

30 Jan 13:41
556526e
Compare
Choose a tag to compare

Bug fixes

  1. Fixed SQL bug in bulk_update_or_create query when update=False and returning is used

Version 3.2.3

29 Jan 13:17
Compare
Choose a tag to compare

Features

  1. Added bulk_create helper to queries
  2. Added pg_bulk_create function to QuerySet

Minor imporvements

  1. Prevented adding NULL values as defaults when django field has no default value

Version 3.1.1

21 Dec 16:39
a0fbda7
Compare
Choose a tag to compare

Bug fixes

Fixed issue #51

Version 3.1.0

04 Dec 13:28
Compare
Choose a tag to compare

Features

  1. Added array_remove set function (by roveil)

Version 3.0.1

14 Oct 14:53
4a0c00f
Compare
Choose a tag to compare

Bug fixes

  1. Fixed issue with upper case field names #46
  2. Added deprecation warning and changed method names in BulkUpdateMixin due to django 2.2 method conflict (see #44)

Refactoring

  1. Redoing manager creation to new django style (#45)

Version 3.0.0

08 Jul 04:50
257cea2
Compare
Choose a tag to compare

Features

  1. Moved BulkUpdate methods from manager to QuerySet
  2. Added ability to filter whole QuerySet in bulk_update

Bug fixes

  1. Fixed issue #41

Refactoring

  1. Renamed BulkUpdateManagerMixin to BulkUpdateMixin
  2. DefaultConnectionProxy replaced with TDatabase type