Skip to content

Commit 25958d8

Browse files
committed
Version 0.3.0
1 parent fc66b52 commit 25958d8

File tree

3 files changed

+72
-59
lines changed

3 files changed

+72
-59
lines changed

CHANGELOG.md

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
ChangeLog
2+
=========
3+
4+
0.3.0 (2014-09-12)
5+
------------------
6+
7+
* Added: Support for Django migrations (>=1.7) thanks to `Field.deconstruct()`.
8+
9+
0.2.3
10+
-----
11+
12+
* Added: Ability to specify `secret_key` as an argument to the field constructor (via [markkennedy](https://github.com/svetlyak40wt/django-fields/pull/40 "Issue #40")).
13+
* Added: `EncryptedUSPhoneNumberField` and `EncryptedUSSocialSecurityNumberField` now try to import from the standalone django-localflavor before falling back to the version included in Django (this is necessary to support Django 1.6 and newer) (via [mjacksonw](https://github.com/svetlyak40wt/django-fields/pull/36 "Issue #33")).
14+
15+
0.2.2
16+
-----
17+
18+
* Fixed: Django admin needs to be able to create blank instances of the fields in order to create a new model. This broke with `BaseEncryptedNumberField`. (via [defrex](https://github.com/svetlyak40wt/django-fields/pull/32 "Issue #32"))
19+
* Fixed: `block_type` wasn't added to the south rules. (via [defrex](https://github.com/svetlyak40wt/django-fields/pull/33 "Issue #33"))
20+
* Fixed: Newer code paths with `block_type` specified couldn't reuse the `cipher` object on the field class. `to_python` was already redefining it before decrypting the value, but `get_db_prep_value` wasn't before encrypting. The first time you used a model it would be fine, but the second would fail. Thus the tests were passing but the classes were functionally useless in an application. (via [defrex](https://github.com/svetlyak40wt/django-fields/pull/34 "Issue #34"))
21+
22+
0.2.1
23+
-----
24+
25+
* Added: `EncryptedUSSocialSecurityNumberField`, which handles the special-case logic of validating and encrypting US Social Security Numbers, using `django.contrib.localflavor.us.forms.USSocialSecurityNumberField`. (via [Brooks Travis](https://github.com/svetlyak40wt/django-fields/pull/24 "Pull Request 24"))
26+
* Fixed: Issue [#21](https://github.com/svetlyak40wt/django-fields/issues/21 "Issue #21").
27+
* Changed: `django_fields.fields.BaseEncryptedField` now supports specification of cipher `block_type` via keyword argument. (via [kromem](https://github.com/svetlyak40wt/django-fields/pull/26 "Pull Request 26"))
28+
* Added: Deprecation warning for fields that do not specify a `block_type`.
29+
30+
0.2.0
31+
-----
32+
33+
* Added: Class `django_fields.models.ModelWithPrivateFields`, which allows to use private fields, starting from two underscores.
34+
* Fixed: `BaseEncryptedDateField.get_db_prep_value` errors.
35+
* Changed: Now virtualenv is used for test enviroment. Buildout.cfg was removed.
36+
37+
0.1.3
38+
-----
39+
40+
* Fixed: `EOFError` handling in `PickleField`.
41+
* Changed: Buildout file was changed to test against Django 1.2.5 and include `PyCrypto`.
42+
43+
0.1.2
44+
-----
45+
46+
* Added: `EncryptedEmail` and `USPhoneNumber` fields.
47+
* Added: `EncryptedNumber` fields.
48+
* Added: `EncryptedDateTimeField`.
49+
* Added: `EncryptedDateField` class.
50+
* Added: South support.
51+
* Added: Unit tests and associated utility functions.
52+
* Fixed: Deprecation warnings related to the settings in example project.
53+
* Fixed: Deprecation warnings, related to `get_db_prep_vasue`.
54+
* Fixed: Edge case in encryption consistency.
55+
* Changed: `EncryptedCharField` now enforces max length.
56+
57+
0.1.1
58+
-----
59+
60+
* Added: `PickleField` class.
61+
* Added: Encrypt field.
62+
* Added: Buildout config and example application.
63+
* Added: `setup.py` and `MANIFEST.in.`
64+
* Fixed: Issue #1 - "`EncryptedCharField` raises a traceback in the django admin".
65+
* Fixed: `max_length` issue.
66+
* Changed: Now `__import__` compatible with python 2.4 in `BaseEncryptedField.__init__`.
67+
* Changed: Code was moved to `src`.
68+
* Changed: Get rid of custom string class. It was replaced with string prefix.
69+
* Changed: Settings were changed to test with mysql.

README.md

+2-58
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Introduction
22
------------
33

4+
[![changelog](http://allmychanges.com/p/python/django-fields/badge/)](http://allmychanges.com/p/python/django-fields/?utm_source=badge)
5+
46
Django-fields is an application which includes different kinds of models fields.
57

68
Right now, application contains two fields with encryption support:
@@ -9,64 +11,6 @@ EncryptedCharField and EncryptedTextField.
911
This project uses Travis for continuous integration: [![Build Status](https://secure.travis-ci.org/svetlyak40wt/django-fields.png)](http://travis-ci.org/svetlyak40wt/django-fields)
1012

1113

12-
ChangeLog
13-
---------
14-
### 0.2.4
15-
* Added: Support for Django migrations (>=1.7) thanks to Field.deconstruct()
16-
17-
### 0.2.3
18-
19-
* Added: Ability to specify `secret_key` as an argument to the field constructor (via [markkennedy](https://github.com/svetlyak40wt/django-fields/pull/40 "Issue #40")).
20-
* Added: `EncryptedUSPhoneNumberField` and `EncryptedUSSocialSecurityNumberField` now try to import from the standalone django-localflavor before falling back to the version included in Django (this is necessary to support Django 1.6 and newer) (via [mjacksonw](https://github.com/svetlyak40wt/django-fields/pull/36 "Issue #33")).
21-
22-
### 0.2.2
23-
24-
* Fixed: Django admin needs to be able to create blank instances of the fields in order to create a new model. This broke with `BaseEncryptedNumberField`. (via [defrex](https://github.com/svetlyak40wt/django-fields/pull/32 "Issue #32"))
25-
* Fixed: `block_type` wasn't added to the south rules. (via [defrex](https://github.com/svetlyak40wt/django-fields/pull/33 "Issue #33"))
26-
* Fixed: Newer code paths with `block_type` specified couldn't reuse the `cipher` object on the field class. `to_python` was already redefining it before decrypting the value, but `get_db_prep_value` wasn't before encrypting. The first time you used a model it would be fine, but the second would fail. Thus the tests were passing but the classes were functionally useless in an application. (via [defrex](https://github.com/svetlyak40wt/django-fields/pull/34 "Issue #34"))
27-
28-
### 0.2.1
29-
30-
* Added: `EncryptedUSSocialSecurityNumberField`, which handles the special-case logic of validating and encrypting US Social Security Numbers, using `django.contrib.localflavor.us.forms.USSocialSecurityNumberField`. (via [Brooks Travis](https://github.com/svetlyak40wt/django-fields/pull/24 "Pull Request 24"))
31-
* Fixed: Issue [#21](https://github.com/svetlyak40wt/django-fields/issues/21 "Issue #21").
32-
* Changed: `django_fields.fields.BaseEncryptedField` now supports specification of cipher `block_type` via keyword argument. (via [kromem](https://github.com/svetlyak40wt/django-fields/pull/26 "Pull Request 26"))
33-
* Added: Deprecation warning for fields that do not specify a `block_type`.
34-
35-
### 0.2.0
36-
37-
* Added: Class `django_fields.models.ModelWithPrivateFields`, which allows to use private fields, starting from two underscores.
38-
* Fixed: `BaseEncryptedDateField.get_db_prep_value` errors.
39-
* Changed: Now virtualenv is used for test enviroment. Buildout.cfg was removed.
40-
41-
### 0.1.3
42-
43-
* Fixed: `EOFError` handling in `PickleField`.
44-
* Changed: Buildout file was changed to test against Django 1.2.5 and include `PyCrypto`.
45-
46-
### 0.1.2
47-
* Added: `EncryptedEmail` and `USPhoneNumber` fields.
48-
* Added: `EncryptedNumber` fields.
49-
* Added: `EncryptedDateTimeField`.
50-
* Added: `EncryptedDateField` class.
51-
* Added: South support.
52-
* Added: Unit tests and associated utility functions.
53-
* Fixed: Deprecation warnings related to the settings in example project.
54-
* Fixed: Deprecation warnings, related to `get_db_prep_vasue`.
55-
* Fixed: Edge case in encryption consistency.
56-
* Changed: `EncryptedCharField` now enforces max length.
57-
58-
### 0.1.1
59-
* Added: `PickleField` class.
60-
* Added: Encrypt field.
61-
* Added: Buildout config and example application.
62-
* Added: `setup.py` and `MANIFEST.in.`
63-
* Fixed: Issue #1 - "`EncryptedCharField` raises a traceback in the django admin".
64-
* Fixed: `max_length` issue.
65-
* Changed: Now `__import__` compatible with python 2.4 in `BaseEncryptedField.__init__`.
66-
* Changed: Code was moved to `src`.
67-
* Changed: Get rid of custom string class. It was replaced with string prefix.
68-
* Changed: Settings were changed to test with mysql.
69-
7014
Requirements
7115
-----------
7216

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from setuptools import setup, find_packages
22

3-
version = '0.2.3'
3+
version = '0.3.0'
44

55
setup(
66
name = 'django-fields',

0 commit comments

Comments
 (0)