Skip to content

Commit add9c28

Browse files
committed
Update setup.py and ChangeLog files to prepare 1.0 release
1 parent 1c6b991 commit add9c28

File tree

4 files changed

+28
-11
lines changed

4 files changed

+28
-11
lines changed

ChangeLog.rst

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,29 @@ ChangeLog
22
=========
33

44

5+
.. _v1.0:
6+
7+
1.0 (2016-06-26)
8+
----------------
9+
10+
After several years of existence, django-dirty-fields is mature enough to switch to 1.X version.
11+
There is a backward-incompatibility on this version. Please read careful below.
12+
13+
*New:*
14+
15+
- IMPORTANT: :code:`get_dirty_fields` is now more consistent for models not yet saved in the database.
16+
:code:`get_dirty_fields` is, in that situation, always returning ALL fields, where it was before returning
17+
various results depending on how you initialised your model.
18+
It may affect you specially if you are using :code:`get_dirty_fields` in a :code:`pre_save` receiver.
19+
See more details at https://github.com/romgar/django-dirtyfields/issues/65.
20+
- Adding compatibility for old _meta API, deprecated in `1.10` version and now replaced by an official API.
21+
- General test cleaning.
22+
23+
524
.. _v0.9:
625

726
0.9 (2016-06-18)
8-
------------------
27+
----------------
928

1029
*New:*
1130

@@ -39,7 +58,7 @@ ChangeLog
3958
.. _v0.8:
4059

4160
0.8 (2015-10-30)
42-
------------------
61+
----------------
4362

4463
*New:*
4564

@@ -49,7 +68,7 @@ ChangeLog
4968
.. _v0.7:
5069

5170
0.7 (2015-06-18)
52-
------------------
71+
----------------
5372

5473
*New:*
5574

@@ -70,7 +89,7 @@ ChangeLog
7089
.. _v0.6:
7190

7291
0.6 (2015-06-11)
73-
------------------
92+
----------------
7493

7594
*New:*
7695

@@ -84,7 +103,7 @@ ChangeLog
84103
.. _v0.5:
85104

86105
0.5 (2015-05-06)
87-
------------------
106+
----------------
88107

89108
*New:*
90109

@@ -111,7 +130,7 @@ ChangeLog
111130
.. _v0.4:
112131

113132
0.4 (2015-03-31)
114-
------------------
133+
----------------
115134

116135
*New:*
117136

README.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ Django Dirty Fields
1313
:target: http://django-dirtyfields.readthedocs.org/en/develop/?badge=develop
1414

1515
Tracking dirty fields on a Django model instance.
16-
17-
Dirty means that there is a difference between field value in the database and the one we currently have on a model instance.
16+
Dirty means that field in-memory and database values are different.
1817

1918
`Full documentation <http://django-dirtyfields.readthedocs.org/en/develop/>`_
2019

docs/index.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ Welcome to django-dirtyfields's documentation!
33
==============================================
44

55
Tracking dirty fields on a Django model instance.
6-
7-
Dirty means that there is a difference between field value in the database and the one we currently have on a model instance.
6+
Dirty means that field in-memory and database values are different.
87

98
`Source code <https://github.com/romgar/django-dirtyfields/>`_
109

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def listify(filename):
77

88
setup(
99
name="django-dirtyfields",
10-
version="0.9",
10+
version="1.0",
1111
url='http://github.com/romgar/django-dirtyfields',
1212
license='BSD',
1313
description=("Tracking dirty fields on a Django model instance "

0 commit comments

Comments
 (0)