- 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
,PGPManager
andPGPAdmin
as 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
__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 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
.coveragerc
intosetup.cfg
- Added
.gitignore
file - Updated out-dated requirements (latest versions of
Flake8
andpycodestyle
are incompatible with each other) - Updated
README
with 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
DatePGPSymmetricKeyField
andDateTimePGPSymmetricKeyField
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)
- Remove compatibility for
Django 1.7
. - Add compatibility for
Django 1.10
. - Add
Django 1.9
to the travis matrix.
- Exclude tests app from distributed package.
- Rename package from
pgcrypto_fields
topgcrypto
.
- Make
get_placeholder
accepts a new argumentcompiler
- Fix buggy import to
Aggregate
Note: these changes have been done for django > 1.8.0.
- Remove
MaxLengthValidator
from email fields.
- Avoid setting
max_length
on PGP fields.
- Allow/check
NULL
values for:TextDigestField
;TextHMACField
;EmailPGPPublicKeyField
;IntegerPGPPublicKeyField
;TextPGPPublicKeyField
;EmailPGPSymmetricKeyField
.IntegerPGPSymmetricKeyField
.TextPGPSymmetricKeyField
.
- Fix
cast
ing bug when sending negative values to integer fields.
- Add
EmailPGPPublicKeyField
andEmailPGPSymmetricKeyField
.
- Rename the following fields:
PGPPublicKeyField
toTextPGPPublicKeyField
;PGPSymmetricKeyField
toTextPGPSymmetricKeyField
;DigestField
toTextDigestField
;HMACField
toTextHMACField
. - Add new integer fields:
IntegerPGPPublicKeyField
;IntegerPGPSymmetricKeyField
.
- Make accessing decrypted value transparent. Fix bug when field had a string
representation of
memoryview
for PGP and keyed hash fields.
- Fix
EncryptedProxyField
to select the correct item.
- Access
PGPPublicKeyField
andPGPSymmetricKeySQL
decrypted values with field's proxy_decrypted
. - Remove descriptor for field's name and raw value.
- Add hash based lookup for
DigestField
andHMACField
. - Add
DigestField
,HMACField
,PGPPublicKeyAggregate
,PGPSymmetricKeyAggregate
.
- Add decryption through an aggregate class.
- Add encryption when inserting data to the database.