Skip to content

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

Version 2.2.0

24 Mar 04:25
d471878
Compare
Choose a tag to compare

Features

  1. Added IsNullClauseOperator

  2. Reformated travis config:

  • Removed python 3.3 from travis (limit exceeded)
  • Removed postgresql 9.2 from travis (limit exceeded)

Bug fixes

  1. Fixed issue #36
  2. Fixed issue #32
  3. Fixed parameter name for key_fields in bulk_update

Refactoring

  1. Removed BulkUpdateQuerySet

Testing changes

  1. Removed python 3.3 testing, added python 3.7
  2. Removed postgresql 9.2 testing

Version 2.1.0

31 Oct 07:29
3c0fa3c
Compare
Choose a tag to compare

Features

  1. Added ability to return updated/inserted data with returning parameter

Bug fixes

  1. Fixed issue #23

Version 2.0.3

03 Oct 09:37
fe4c9b8
Compare
Choose a tag to compare

Bug fixes

  1. Fixed issue #21

Version 2.0.2

27 Sep 06:32
2d3f762
Compare
Choose a tag to compare

Bug fixes

  1. Fixed issue #19

Testing

  1. Added PostgreSQL 10 to travis config

Version 2.0.1

26 Sep 07:23
340cae6
Compare
Choose a tag to compare

Bug fixes

  1. Fixed issue #16

Version 2.0.0

08 Sep 10:25
33001a5
Compare
Choose a tag to compare

New features

  1. bulk_update_or_create on PostgreSQL 9.5+ now works through INSERT ... ON CONFLICT query
  2. Added logging in order to make debug easier
  3. Inner refactoring
  4. Queries now uses PostgreSQL WITH () satetment. It makes query easier to read.
  5. Hack with SELECT ... LIMIT 0 to get field type was replaced with CAST function, based on django field types.

Bug fixes

  1. Fixed issue #14 for PostgreSQL 9.5+

Back incompatibilities

  1. bulk_update_or_create now returns single result - number of rows affected (it was a tuple of inserted and updated records before 2.0.0)
  2. modify_create_params method of AbstractSetFunction based classes is not used any more (if INSERT ... ON CONFLICT is used)

Version 1.1.0

30 Apr 09:57
bdafce3
Compare
Choose a tag to compare

New features

  1. BetweenClauseOperator
  2. UnionArraySetFunction

Bug fixes

  1. Fixed issue #7

Tests

  1. Some perfomance tests, mentioned in README

Version 1.0.1

30 Mar 09:39
Compare
Choose a tag to compare

Version 1.0.0

10 Mar 08:08
Compare
Choose a tag to compare

First release