- Added support for BooleanFields (#325)
- 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)
- Added support for Django 3.x
- Updated requirements_dev.txt
- Fixed regression in the definition of EmailPGPPublicKeyField (#77)
- Removed dead code (remove_validators and RemoveMaxLengthValidatorMixin)
- Updated requirements_dev.txt
- 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)
- Added auto-decryption of all encrypted fields including FK tables
- Removed django-pgcrypto-fields
aggregates,PGPManagerandPGPAdminas they are no longer needed - Added support for
get_or_create()andupdate_or_create()(#27) - Added support for
get_by_natural_key()(#23) - Added support for
only()anddefer()as they were not supported withPGPManager - 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
- Added
__rangelookup 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
makefile for release to usetwine - Added additional shields to
README - Updated Travis config to include Python 3.5 and 3.6
- Refactored lookups and mixins
- Invalid release, bump to 2.3.1
- Merge
.coveragercintosetup.cfg - Added
.gitignorefile - Updated out-dated requirements (latest versions of
Flake8andpycodestyleare incompatible with each other) - Updated
READMEwith better explanations of the fields - Implemented DatePGPPublicKeyField and DateTimePGPPublicKeyField
- Added support for Django 2.x+
- Updated requirements for testing
- Updated travis config with Python 3.6 and additional environments
Thanks to @peterfarrell:
- Add support for
DatePGPSymmetricKeyFieldandDateTimePGPSymmetricKeyFieldincluding 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)
- Remove compatibility for
Django 1.7. - Add compatibility for
Django 1.10. - Add
Django 1.9to the travis matrix.
- Exclude tests app from distributed package.
- Rename package from
pgcrypto_fieldstopgcrypto.
- Make
get_placeholderaccepts a new argumentcompiler - Fix buggy import to
Aggregate
Note: these changes have been done for django > 1.8.0.
- Remove
MaxLengthValidatorfrom email fields.
- Avoid setting
max_lengthon PGP fields.
- Allow/check
NULLvalues for:TextDigestField;TextHMACField;EmailPGPPublicKeyField;IntegerPGPPublicKeyField;TextPGPPublicKeyField;EmailPGPSymmetricKeyField.IntegerPGPSymmetricKeyField.TextPGPSymmetricKeyField.
- Fix
casting bug when sending negative values to integer fields.
- Add
EmailPGPPublicKeyFieldandEmailPGPSymmetricKeyField.
- Rename the following fields:
PGPPublicKeyFieldtoTextPGPPublicKeyField;PGPSymmetricKeyFieldtoTextPGPSymmetricKeyField;DigestFieldtoTextDigestField;HMACFieldtoTextHMACField. - Add new integer fields:
IntegerPGPPublicKeyField;IntegerPGPSymmetricKeyField.
- Make accessing decrypted value transparent. Fix bug when field had a string
representation of
memoryviewfor PGP and keyed hash fields.
- Fix
EncryptedProxyFieldto select the correct item.
- Access
PGPPublicKeyFieldandPGPSymmetricKeySQLdecrypted values with field's proxy_decrypted. - Remove descriptor for field's name and raw value.
- Add hash based lookup for
DigestFieldandHMACField. - Add
DigestField,HMACField,PGPPublicKeyAggregate,PGPSymmetricKeyAggregate.
- Add decryption through an aggregate class.
- Add encryption when inserting data to the database.