1
- # Install the latest
1
+ # Changelog
2
2
3
- To install the latest version of ` python-dotenv ` simply run:
3
+ All notable changes to this project will be documented in this file.
4
4
5
- ` pip install python-dotenv `
5
+ The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) , and this
6
+ project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
6
7
7
- OR
8
+ ## [ Unreleased ]
8
9
9
- ` poetry add python-dotenv `
10
+ No unreleased change at the moment.
10
11
11
- OR
12
+ ## [ 0.11.0 ] - 2020-02-07
12
13
13
- ` pipenv install python-dotenv `
14
+ ### Added
14
15
16
+ - Add ` interpolate ` argument to ` load_dotenv ` and ` dotenv_values ` to disable interpolation
17
+ (#232 by [ @ulyssessouza ] ).
15
18
16
- Changelog
17
- =========
19
+ ### Changed
18
20
19
- 0.10.5
20
- -----
21
+ - Use logging instead of warnings (#231 by [ @bbc2 ] ).
21
22
22
- - Fix handling of malformed lines and lines without a value ([ @bbc2 ] )([ #222 ] ):
23
+ ### Fixed
24
+
25
+ - Fix installation in non-UTF-8 environments (#225 by [ @altendky ] ).
26
+ - Fix PyPI classifiers (#228 by [ @bbc2 ] ).
27
+
28
+ ## [ 0.10.5] - 2020-01-19
29
+
30
+ ### Fixed
31
+
32
+ - Fix handling of malformed lines and lines without a value (#222 by [ @bbc2 ] ):
23
33
- Don't print warning when key has no value.
24
- - Reject more malformed lines (e.g. "A: B").
25
- - Fix handling of lines with just a comment ([ @bbc2 ] )( [ # 224 ] ).
34
+ - Reject more malformed lines (e.g. "A: B", "a='b',c" ).
35
+ - Fix handling of lines with just a comment (# 224 by [ @bbc2 ] ).
26
36
27
- 0.10.4
28
- -----
37
+ ## [ 0.10.4] - 2020-01-17
29
38
30
- - Make typing optional ([ @techalchemy ] )([ #179 ] ).
31
- - Print a warning on malformed line ([ @bbc2 ] )([ #211 ] ).
32
- - Support keys without a value ([ @ulyssessouza ] )([ #220 ] ).
39
+ ### Added
33
40
34
- 0.10.3
35
- -----
41
+ - Make typing optional (#179 by [ @techalchemy ] ).
42
+ - Print a warning on malformed line (#211 by [ @bbc2 ] ).
43
+ - Support keys without a value (#220 by [ @ulyssessouza ] ).
44
+
45
+ ## 0.10.3
36
46
37
47
- Improve interactive mode detection ([ @andrewsmith ] )([ #183 ] ).
38
48
- Refactor parser to fix parsing inconsistencies ([ @bbc2 ] )([ #170 ] ).
39
49
- Interpret escapes as control characters only in double-quoted strings.
40
50
- Interpret ` # ` as start of comment only if preceded by whitespace.
41
51
42
- 0.10.2
43
- -----
52
+ ## 0.10.2
44
53
45
54
- Add type hints and expose them to users ([ @qnighy ] )([ #172 ] )
46
55
- ` load_dotenv ` and ` dotenv_values ` now accept an ` encoding ` parameter, defaults to ` None `
47
56
([ @theskumar ] )([ @earlbread ] )([ #161 ] )
48
57
- Fix ` str ` /` unicode ` inconsistency in Python 2: values are always ` str ` now. ([ @bbc2 ] )([ #121 ] )
49
58
- Fix Unicode error in Python 2, introduced in 0.10.0. ([ @bbc2 ] )([ #176 ] )
50
59
51
- 0.10.1
52
- -----
60
+ ## 0.10.1
53
61
- Fix parsing of variable without a value ([ @asyncee ] )([ @bbc2 ] )([ #158 ] )
54
62
55
- 0.10.0
56
- -----
63
+ ## 0.10.0
57
64
58
65
- Add support for UTF-8 in unquoted values ([ @bbc2 ] )([ #148 ] )
59
66
- Add support for trailing comments ([ @bbc2 ] )([ #148 ] )
@@ -64,20 +71,18 @@ Changelog
64
71
- Fix stderr/-out/-in redirection ([ @venthur ] )
65
72
66
73
67
- 0.9.0
68
- -----
74
+ ## 0.9.0
75
+
69
76
- Add ` --version ` parameter to cli ([ @venthur ] )
70
77
- Enable loading from current directory ([ @cjauvin ] )
71
78
- Add 'dotenv run' command for calling arbitrary shell script with .env ([ @venthur ] )
72
79
73
- 0.8.1
74
- -----
80
+ ## 0.8.1
75
81
76
82
- Add tests for docs ([ @Flimm ] )
77
83
- Make 'cli' support optional. Use ` pip install python-dotenv[cli] ` . ([ @theskumar ] )
78
84
79
- 0.8.0
80
- -----
85
+ ## 0.8.0
81
86
82
87
- ` set_key ` and ` unset_key ` only modified the affected file instead of
83
88
parsing and re-writing file, this causes comments and other file
@@ -86,13 +91,11 @@ Changelog
86
91
- Internal refractoring ([ @theskumar ] )
87
92
- Allow ` load_dotenv ` and ` dotenv_values ` to work with ` StringIO()) ` ([ @alanjds ] )([ @theskumar ] )([ #78 ] )
88
93
89
- 0.7.1
90
- -----
94
+ ## 0.7.1
91
95
92
96
- Remove hard dependency on iPython ([ @theskumar ] )
93
97
94
- 0.7.0
95
- -----
98
+ ## 0.7.0
96
99
97
100
- Add support to override system environment variable via .env.
98
101
([ @milonimrod ] ( https://github.com/milonimrod ) )
@@ -101,34 +104,29 @@ Changelog
101
104
([ @maxkoryukov ] ( https://github.com/maxkoryukov ) )
102
105
([ \# 57] ( https://github.com/theskumar/python-dotenv/issues/57 ) )
103
106
104
- 0.6.5
105
- -----
107
+ ## 0.6.5
106
108
107
109
- Add support for special characters ` \ ` .
108
110
([ @pjona ] ( https://github.com/pjona ) )
109
111
([ \# 60] ( https://github.com/theskumar/python-dotenv/issues/60 ) )
110
112
111
- 0.6.4
112
- -----
113
+ ## 0.6.4
113
114
114
115
- Fix issue with single quotes ([ @Flimm ] )
115
116
([ \# 52] ( https://github.com/theskumar/python-dotenv/issues/52 ) )
116
117
117
- 0.6.3
118
- -----
118
+ ## 0.6.3
119
119
120
120
- Handle unicode exception in setup.py
121
121
([ \# 46] ( https://github.com/theskumar/python-dotenv/issues/46 ) )
122
122
123
- 0.6.2
124
- -----
123
+ ## 0.6.2
125
124
126
125
- Fix dotenv list command ([ @ticosax ] ( https://github.com/ticosax ) )
127
126
- Add iPython Suport
128
127
([ @tillahoffmann ] ( https://github.com/tillahoffmann ) )
129
128
130
- 0.6.0
131
- -----
129
+ ## 0.6.0
132
130
133
131
- Drop support for Python 2.6
134
132
- Handle escaped charaters and newlines in quoted values. (Thanks
@@ -138,44 +136,48 @@ Changelog
138
136
- Added POSIX variable expansion. (Thanks
139
137
[ @hugochinchilla ] ( https://github.com/hugochinchilla ) )
140
138
141
- 0.5.1
142
- -----
139
+ ## 0.5.1
143
140
144
141
- Fix find\_ dotenv - it now start search from the file where this
145
142
function is called from.
146
143
147
- 0.5.0
148
- -----
144
+ ## 0.5.0
149
145
150
146
- Add ` find_dotenv ` method that will try to find a ` .env ` file.
151
147
(Thanks [ @isms ] ( https://github.com/isms ) )
152
148
153
- 0.4.0
154
- -----
149
+ ## 0.4.0
155
150
156
151
- cli: Added ` -q/--quote ` option to control the behaviour of quotes
157
152
around values in ` .env ` . (Thanks
158
153
[ @hugochinchilla ] ( https://github.com/hugochinchilla ) ).
159
154
- Improved test coverage.
160
155
161
- [ #161 ] : https://github.com/theskumar/python-dotenv/issues/161
162
156
[ #78 ] : https://github.com/theskumar/python-dotenv/issues/78
157
+ [ #121 ] : https://github.com/theskumar/python-dotenv/issues/121
163
158
[ #148 ] : https://github.com/theskumar/python-dotenv/issues/148
164
159
[ #158 ] : https://github.com/theskumar/python-dotenv/issues/158
160
+ [ #170 ] : https://github.com/theskumar/python-dotenv/issues/170
165
161
[ #172 ] : https://github.com/theskumar/python-dotenv/issues/172
166
- [ #121 ] : https://github.com/theskumar/python-dotenv/issues/121
167
162
[ #176 ] : https://github.com/theskumar/python-dotenv/issues/176
168
- [ #170 ] : https://github.com/theskumar/python-dotenv/issues/170
169
163
[ #183 ] : https://github.com/theskumar/python-dotenv/issues/183
170
164
171
- [ @andrewsmith ] : https://github.com/andrewsmith
172
- [ @asyncee ] : https://github.com/asyncee
173
- [ @greyli ] : https://github.com/greyli
174
- [ @venthur ] : https://github.com/venthur
175
165
[ @Flimm ] : https://github.com/Flimm
176
- [ @theskumar ] : https://github.com/theskumar
177
166
[ @alanjds ] : https://github.com/alanjds
178
- [ @cjauvin ] : https://github.com/cjauvin
167
+ [ @altendky ] : https://github.com/altendky
168
+ [ @andrewsmith ] : https://github.com/andrewsmith
169
+ [ @asyncee ] : https://github.com/asyncee
179
170
[ @bbc2 ] : https://github.com/bbc2
180
- [ @qnighy ] : https://github.com/qnighy
171
+ [ @cjauvin ] : https://github.com/cjauvin
181
172
[ @earlbread ] : https://github.com/earlbread
173
+ [ @greyli ] : https://github.com/greyli
174
+ [ @qnighy ] : https://github.com/qnighy
175
+ [ @techalchemy ] : https://github.com/techalchemy
176
+ [ @theskumar ] : https://github.com/theskumar
177
+ [ @ulyssessouza ] : https://github.com/ulyssessouza
178
+ [ @venthur ] : https://github.com/venthur
179
+
180
+ [ Unreleased ] : https://github.com/theskumar/python-dotenv/compare/v0.11.0...HEAD
181
+ [ 0.11.0 ] : https://github.com/theskumar/python-dotenv/compare/v0.10.5...v0.11.0
182
+ [ 0.10.5 ] : https://github.com/theskumar/python-dotenv/compare/v0.10.4...v0.10.5
183
+ [ 0.10.4 ] : https://github.com/theskumar/python-dotenv/compare/v0.10.3...v0.10.4
0 commit comments