Skip to content

Latest commit

 

History

History
169 lines (116 loc) · 4.62 KB

CHANGELOG.md

File metadata and controls

169 lines (116 loc) · 4.62 KB

CHANGELOG

Master (unreleased)

  • Added support for BooleanFields (#325)

2.6.0

  • Added support for Django 3.1.x
  • Updated requirements_dev.txt
  • Dropped support for Python 3.5
  • Dropped support for Django below 2.2.x LTS release
  • Added support for BigIntegerFields (#169)
  • Added documentation for migration existing data (#246)

2.5.2

  • Added support for Django 3.x
  • Updated requirements_dev.txt

2.5.1

  • Fixed regression in the definition of EmailPGPPublicKeyField (#77)
  • Removed dead code (remove_validators and RemoveMaxLengthValidatorMixin)
  • Updated requirements_dev.txt

2.5.0

  • Added new DecimalFields for both public and symmetric key (#64)
  • Added new FloatFields for both public and symmetric key (#64)
  • Added new TimeFields for both public and symmetric key (#64)
  • Added support for different keys based on database (#67)

2.4.0

  • Added auto-decryption of all encrypted fields including FK tables
  • Removed django-pgcrypto-fields aggregates, PGPManager and PGPAdmin as they are no longer needed
  • Added support for get_or_create() and update_or_create() (#27)
  • Added support for get_by_natural_key() (#23)
  • Added support for only() and defer() as they were not supported with PGPManager
  • Added support for distinct() (Django 2.1+ with workaround available for 2.0 and lower)
  • Separated out dev requirements from setup.py requirements
  • Updated packaging / setup.py to include long description
  • Added AUTHORS and updated CONTRIBUTING
  • Updated TravisCI to use Xenial to gain Python 3.7 in the matrix

2.3.1

  • Added __range lookup for Date / DateTime fields (#59)
  • Remove compatibility for Django 1.8, 1.9, and 1.10 (#62)
  • Improved setup.py:
    • check for Python 3.5+
    • updated classifiers
  • Improved make file for release to use twine
  • Added additional shields to README
  • Updated Travis config to include Python 3.5 and 3.6
  • Refactored lookups and mixins

2.3.0

  • Invalid release, bump to 2.3.1

2.2.0

  • Merge .coveragerc into setup.cfg
  • Added .gitignore file
  • Updated out-dated requirements (latest versions of Flake8 and pycodestyle are incompatible with each other)
  • Updated README with better explanations of the fields
  • Implemented DatePGPPublicKeyField and DateTimePGPPublicKeyField

2.1.1

  • Added support for Django 2.x+
  • Updated requirements for testing
  • Updated travis config with Python 3.6 and additional environments

2.1.0

Thanks to @peterfarrell:

  • Add support for DatePGPSymmetricKeyField and DateTimePGPSymmetricKeyField including support for serializing / deserializing django form fields.
  • Add support for auto decryption of symmetric key and public key fields via the PGPManager (and support for disabling it in the Django Admin via the PGPAdmin)

2.0.0

  • Remove compatibility for Django 1.7.
  • Add compatibility for Django 1.10.
  • Add Django 1.9 to the travis matrix.

v1.0.1

  • Exclude tests app from distributed package.

v1.0.0

  • Rename package from pgcrypto_fields to pgcrypto.

v0.7.0

  • Make get_placeholder accepts a new argument compiler
  • Fix buggy import to Aggregate

Note: these changes have been done for django > 1.8.0.

v0.6.4

  • Remove MaxLengthValidator from email fields.

v0.6.3

  • Avoid setting max_length on PGP fields.

v0.6.2

  • Allow/check NULL values for: TextDigestField; TextHMACField; EmailPGPPublicKeyField; IntegerPGPPublicKeyField; TextPGPPublicKeyField; EmailPGPSymmetricKeyField. IntegerPGPSymmetricKeyField. TextPGPSymmetricKeyField.

v0.6.1

  • Fix casting bug when sending negative values to integer fields.

v0.6.0

  • Add EmailPGPPublicKeyField and EmailPGPSymmetricKeyField.

v0.5.0

  • Rename the following fields: PGPPublicKeyField to TextPGPPublicKeyField; PGPSymmetricKeyField to TextPGPSymmetricKeyField; DigestField to TextDigestField; HMACField to TextHMACField.
  • Add new integer fields: IntegerPGPPublicKeyField; IntegerPGPSymmetricKeyField.

v0.4.0

  • Make accessing decrypted value transparent. Fix bug when field had a string representation of memoryview for PGP and keyed hash fields.

v0.3.1

  • Fix EncryptedProxyField to select the correct item.

v0.3.0

  • Access PGPPublicKeyField and PGPSymmetricKeySQL decrypted values with field's proxy _decrypted.
  • Remove descriptor for field's name and raw value.

v0.2.0

  • Add hash based lookup for DigestField and HMACField.
  • Add DigestField, HMACField, PGPPublicKeyAggregate, PGPSymmetricKeyAggregate.

v0.1.0

  • Add decryption through an aggregate class.
  • Add encryption when inserting data to the database.