-
Notifications
You must be signed in to change notification settings - Fork 78
/
CHANGELOG
83 lines (66 loc) · 3.18 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
## [1.5.7] - 2022-03-06
### Features
- Consider parent logging settings and use module name for logging (thanks @chikko80!)
## [1.5.6] - 2021-03-20
### Fixed
- Fixed additional bugs in parsing lines with semicolons or curly braces when quotation marks are involved
- Fixed bug in parsing configs without a final linebreak (thanks @fulder!)
### Features
- Set `nginx.DEBUG` to True to show logging output of what is being parsed
## [1.5.5] - 2021-03-11
### Fixed
- Fixed bugs in parsing lines that contain a semicolon or curly brace inside of quotes
- Fixed bug in creating new Keys in which the value isn't a string but is still stringable (int)
## [1.5.4] - 2020-08-21
### Fixed
- Warn user if successful parsing of a config is impossible due to missing semicolon (thanks @fulder!)
## [1.5.3] - 2018-12-10
### Fixed
- Fixed bug in parsing Type directives as well as misidentifying certain possible key names (thanks @SGamoff and @fulder!)
## [1.5.2] - 2018-11-28
### Fixed
- Fixed bug in parsing semicolons in quoted values, notably `if` keys (thanks @fulder!)
## [1.5.1] - 2018-10-06
### Fixed
- Fixed bug in parsing `limit_except` parameters (thanks @fulder!)
## [1.5.0] - 2018-08-06
### Features
- Supports managing `stream` configuration blocks (thanks @xannz!)
## [1.4.1] - 2018-04-01
### Fixed
- A small error in packaging that prevented installs from PyPI.
## [1.4.0] - 2018-04-01
### Fixed
- Fixed bugs in parsing single key values and quoted keys/values (thanks @fulder!)
- Fixed bugs when finding a `map` key in loading of nginx.conf. (thanks @fulder!)
## [1.3.0] - 2018-02-07
### Features
- Full refactoring of configuration parsing.
- Now supports the loading of root NGINX configurations, like the kind you see at /etc/nginx/nginx.conf.
### Fixed
- Fixed several bugs involving parsing of messy files, brace locations, and individual keys with no values (thanks @lelik9 and @USSX-Hares!)
## [1.2.0] - 2017-09-06
### Fixed
- Fixed several bugs involving parsing of messy files and brace locations (thanks @lelik9!)
- Fixed a bug where an exception was raised if a key was found in the top level of the configuration.
## [1.1.0] - 2017-01-14
### Fixed
- Fixed a bug where an exception was raised if location blocks didn't contain any normal keys.
- Fixed a bug where an exception was raised if a closing brace was used inside a key's value.
## [1.0.0] - 2016-08-19
### Changed
- Some API changes:
- `all()` methods replaced with `children` property
- `as_list()` methods replaced with `as_list` property
- `as_dict()` methods replaced with `as_dict` property
- `as_block()` methods replaced with `as_strings` property
- `conf.server` convenience property, for getting first server found in the Conf
- Added `inline` property to `Comment`: set to `True` if you want the comment to be appended to the end of the previous line on dump
- Added loading of inline code comments.
- Cleaned code for full PEP8 compatibility and added comments.
- Added simple tests.
### Fixed
- Fixed a bug where unexpected behaviour would occur when a pound symbol was used inside a key value.