Changelogs » Django-pg-bulk-update

PyUp Safety actively tracks 263,016 Python packages for vulnerabilities and notifies you when to upgrade.

Django-pg-bulk-update

9.5

Back incompatibilities

3.3.0

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

3.2.4

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

3.2.3

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

3.1.1

Bug fixes
  Fixed issue https://github.com/M1hacka/django-pg-bulk-update/issues/51

3.1.0

Features
  1. Added array_remove set function (by [roveil](https://github.com/roveil))

3.0.1

Bug fixes
  1. Fixed issue with upper case field names https://github.com/M1hacka/django-pg-bulk-update/issues/46
  2. Added deprecation warning and changed method names in BulkUpdateMixin due to django 2.2 method conflict (see  https://github.com/M1hacka/django-pg-bulk-update/issues/44)
  
  Refactoring
  1. Redoing manager creation to new django style (https://github.com/M1hacka/django-pg-bulk-update/issues/45)

3.0.0

Features
  1. Moved BulkUpdate methods from manager to QuerySet
  2. Added ability to filter whole QuerySet in bulk_update
  
  Bug fixes
  1. Fixed issue https://github.com/M1hacka/django-pg-bulk-update/issues/41
  
  Refactoring
  1. Renamed BulkUpdateManagerMixin to BulkUpdateMixin
  2. DefaultConnectionProxy replaced with TDatabase type

2.2.0

Features
  1) Added IsNullClauseOperator
  
  5) Reformated travis config:
  * Removed python 3.3 from travis (limit exceeded)
  * Removed postgresql 9.2 from travis (limit exceeded)
  
  Bug fixes
  1. Fixed issue https://github.com/M1hacka/django-pg-bulk-update/issues/36
  2. Fixed issue https://github.com/M1hacka/django-pg-bulk-update/issues/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

2.1.0

Features
  1. Added ability to return updated/inserted data with `returning` parameter
  
  Bug fixes
  1. Fixed issue https://github.com/M1hacka/django-pg-bulk-update/issues/23

2.0.3

Bug fixes
  1. Fixed issue https://github.com/M1hacka/django-pg-bulk-update/issues/21

2.0.2

Bug fixes
  1. Fixed issue https://github.com/M1hacka/django-pg-bulk-update/issues/19
  
  Testing
  1. Added PostgreSQL 10 to travis config

2.0.1

Bug fixes
  1. Fixed issue https://github.com/M1hacka/django-pg-bulk-update/issues/16

2.0.0

2. modify_create_params method of AbstractSetFunction based classes is not used any more (if INSERT ... ON CONFLICT is used)

1.1.0

New features
  1. BetweenClauseOperator
  2. UnionArraySetFunction
  
  Bug fixes
  1. Fixed issue https://github.com/M1hacka/django-pg-bulk-update/issues/7
  
  Tests
  1. Some perfomance tests, mentioned in README

1.0.1

Fixed https://github.com/M1hacka/django-pg-bulk-update/issues/2

1.0.0

First release