|
1 | 1 | # Changelog
|
| 2 | + |
2 | 3 | All notable changes to this project will be documented in this file.
|
3 | 4 |
|
4 | 5 | The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
5 | 6 | and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
6 | 7 |
|
| 8 | +## [2.2.0] |
| 9 | + |
| 10 | +### Added |
| 11 | + |
| 12 | +- Added support for Django 5 |
| 13 | + |
| 14 | +### Changed |
| 15 | + |
| 16 | +- Dropped Python 3.7, 3.8, and Django 2 from tox tests. They should still work however. |
| 17 | + |
7 | 18 | ## [2.1.0]
|
| 19 | + |
8 | 20 | ### Added
|
| 21 | + |
9 | 22 | - Added search_fields to CountryAdmin, thanks DanyPM
|
| 23 | + |
10 | 24 | ## [2.0.1]
|
| 25 | + |
11 | 26 | ### Fixed
|
| 27 | + |
12 | 28 | - Replaced deprecated ugettext with gettext, supported in Django 2.2, 3, & 4, thanks to @niSeRdiSeR
|
13 | 29 | - Updated tox config
|
14 | 30 | - Django 4, python 3.10 test added to matrix
|
15 | 31 |
|
16 | 32 | ## [2.0.0]
|
| 33 | + |
17 | 34 | ### Changed
|
| 35 | + |
18 | 36 | - Dropped support for Python 2 and Django 1
|
19 | 37 |
|
20 | 38 | ## [1.3.2]
|
| 39 | + |
21 | 40 | ### Fixed
|
| 41 | + |
22 | 42 | - Fixed update_countries_plus, thanks to @jeyeong and @buff0k
|
23 | 43 |
|
24 | 44 | ## [1.3.1]
|
| 45 | + |
25 | 46 | ### Fixed
|
| 47 | + |
26 | 48 | - Restored support for Django 1.11+
|
27 | 49 |
|
28 | 50 | ## [1.3.0] - 2020-01-20
|
| 51 | + |
29 | 52 | ### Changed
|
| 53 | + |
30 | 54 | - Updated to use poetry & pytest
|
31 | 55 | - Added tests for Django 3
|
32 | 56 | - Dropped explicit support for Django <=1.10, may still work fine though.
|
33 | 57 |
|
34 | 58 | ## [1.2.1] - 2017-12-13
|
| 59 | + |
35 | 60 | ### Fixed
|
| 61 | + |
36 | 62 | - Fixtures dir is now properly included in pip package
|
37 | 63 |
|
38 | 64 | ## [1.2.0] - 2017-12-13
|
| 65 | + |
39 | 66 | ### Added
|
| 67 | + |
40 | 68 | - Cleaned up project & improved documentation
|
41 | 69 |
|
42 | 70 | ### Changed
|
| 71 | + |
43 | 72 | - Added tests for Django 2.0
|
44 | 73 | - Dropped tested support for Django versions < 1.11
|
45 | 74 |
|
46 | 75 | ## [1.1.0] - 2016-03-14
|
| 76 | + |
47 | 77 | ### Fixed
|
| 78 | + |
48 | 79 | - Fixed Geonames.org file format error
|
49 | 80 |
|
50 | 81 | ## [1.0.1] - 2015-06-16
|
| 82 | + |
51 | 83 | ### Added
|
| 84 | + |
52 | 85 | - Improved test coverage.
|
53 | 86 |
|
54 | 87 | ### Changed
|
55 |
| -- The Country model has had all fields with undefined lengths (ex: name) expanded to max_length=255. Defined length fields (ex: Iso, Iso3) are unchanged. |
56 |
| -- Two countries (Dominican Republic and Puerto Rico) have two phone number prefixes instead of 1. These prefixes are now comma separated. |
57 |
| -- The Country model will now validate on save and reject values of the wrong length. The test suite has been expanded to test this. |
| 88 | + |
| 89 | +- The Country model has had all fields with undefined lengths (ex: name) expanded to max_length=255. Defined length |
| 90 | + fields (ex: Iso, Iso3) are unchanged. |
| 91 | +- Two countries (Dominican Republic and Puerto Rico) have two phone number prefixes instead of 1. These prefixes are now |
| 92 | + comma separated. |
| 93 | +- The Country model will now validate on save and reject values of the wrong length. The test suite has been expanded to |
| 94 | + test this. |
58 | 95 |
|
59 | 96 | ### Fixed
|
| 97 | + |
60 | 98 | - Fixed update_countries_plus command for python 3
|
61 | 99 |
|
62 | 100 | ## [1.0.0] - 2015-06-11
|
| 101 | + |
63 | 102 | ### Added
|
64 |
| -- Added feature to update data from geonames.org. |
| 103 | + |
| 104 | +- Added feature to update data from geonames.org. |
65 | 105 | - Test coverage has been substantially improved.
|
66 | 106 |
|
67 | 107 | ### Changed
|
| 108 | + |
68 | 109 | - The data migration has been removed in favour of the new management command and manually loading the fixture.
|
69 | 110 | - The fixture is no longer named initial_data and so must be loaded manually, if desired.
|
70 |
| -- In order to provide better compatibility with the way Django loads apps the Country model is no longer importable directly from countries_plus. |
71 |
| -- The get_country_by_request utility function has been moved into the Country model, and is available as Country.get_by_request(request) |
| 111 | +- In order to provide better compatibility with the way Django loads apps the Country model is no longer importable |
| 112 | + directly from countries_plus. |
| 113 | +- The get_country_by_request utility function has been moved into the Country model, and is available as |
| 114 | + Country.get_by_request(request) |
| 115 | + |
| 116 | +### Fixed |
72 | 117 |
|
73 |
| -### Fixed |
74 | 118 | - General code cleanup & improved test coverage.
|
75 | 119 |
|
76 | 120 | ### Note
|
77 |
| -- If you have been running an earlier version you should run python manage.py update_countries_plus to update your data tables as they may contain incorrect data. |
| 121 | + |
| 122 | +- If you have been running an earlier version you should run python manage.py update_countries_plus to update your data |
| 123 | + tables as they may contain incorrect data. |
78 | 124 |
|
79 | 125 | ## [0.3.3] - 2015-01-27
|
| 126 | + |
80 | 127 | ### Changed
|
| 128 | + |
81 | 129 | - Now uses Django 1.7 data migration pattern
|
82 | 130 |
|
83 | 131 | ## [0.3.2] - 2015-01-10
|
| 132 | + |
84 | 133 | ### Fixed
|
| 134 | + |
85 | 135 | - Corrected version number on setup.py
|
86 | 136 |
|
87 | 137 | ## [0.3.1] - 2015-01-09
|
| 138 | + |
88 | 139 | ### Added
|
| 140 | + |
89 | 141 | - Now compatible with Python 3 thanks to luiscberrocal
|
90 | 142 |
|
91 | 143 | ## [0.3.0] - 2014-09-08
|
| 144 | + |
92 | 145 | ### Added
|
| 146 | + |
93 | 147 | - Now compatible with Django 1.7 thanks to mrben
|
94 | 148 |
|
95 | 149 | ## [0.2.0] - 2014-02-13
|
| 150 | + |
96 | 151 | ### Added
|
| 152 | + |
97 | 153 | - Added middleware that adds the request country to the request object.
|
98 | 154 |
|
99 | 155 | ## [0.1.5] - 2013-06-14
|
| 156 | + |
100 | 157 | ### Fixed
|
| 158 | + |
101 | 159 | - Corrected model max_length attributes to properly match data.
|
102 | 160 |
|
103 | 161 | ## [0.1.0] - 2013-05-22
|
| 162 | + |
104 | 163 | ### Added
|
| 164 | + |
105 | 165 | - Initial release.
|
0 commit comments