Releases: etingof/apacheconfig
Release 0.3.2
Release 0.3.1
This is a minor bug fix release addressing unit tests and excessive warnings.
Release 0.3.0
The major feature of this release is the ability of the library to preserve the exact layout
of the config file upon loading/dumping. The main motivation is to ensure the validity of
signatures whenever taken over config files.
Other features include:
-
Added unicode support: library can load/dump unicode config files.
-
Added line number to the exception message on parsing error
-
Added
preservewhitespace
option to control parser behaviour
concerning insignificant whitespaces. When this option is
enabled, the parser would collect all whitespaces into AST
and (potentially) use them for code generation. -
Added
disableemptyelementstags
option to disable parsing of
empty element tags. -
Added Sphinx documentation infrastructure (the docs are still
to be moved from README).
We also caught a handful of annoying insects (specifically, bugs):
-
Fixed the issue of not collapsing trailing whitespaces into
one in line continuation (as Perl parser does) -
Fixed the issue of not preserving escaped hashes (#)
-
Fixed the issue of not respecting a comment that follows
an escaped hash -
Fixed the issue of not respecting a comment at the end of
the line -
Fixed the issue of not operational
allowmultioptions
option
when the statement spans multiple lines -
Fixed the issue of key-only statements parsing
Kudos to @sydneyli for making this release possible!
Release 0.2.8
This release brings a handful of fixes:
- Fixed multiline (line continuation) state termination (by an empty line)
- Fixed empty continuation line parsing (e.g. just '')
- Fix to the parser to process empty text on input (and produce empty AST)
- Fix to allow quoted and bare paths in the
Include
statement - The
apacheconfigtool
to respect--namedblocks
option when running in--json-input
mode
Release 0.2.7
This is a minor new feature release:
- The namedblocks options implemented to allow for disabling tag split by the first whitespace and turning it into a nested block.
Release 0.2.6
This is a minor bug fix release addressing this issue:
- Fixed unquoting values when followed by space
Release 0.2.5
This is a minor bug fix release addressing this issue:
- Fixed ply warning on duplicate grammar handler
Release 0.2.4
This is a maintenance release bringing the following fix:
- Fixed empty named tag parsing
Release 0.2.3
This is a maintenance release bringing the following improvements and fixes:
- Added the
nostripvalues
option to right-strip values and enabed by default - Added config file reading abstraction layer to allow for non-local config file handling
- Added AST caching to save on repetitive config files includes
- Improved error reporting on parsing errors
- Fixed bug in
mergeduplicateblocks
option implementation - Fixed HEREDOC parsing to allow indented closing anchor as Perl parser seems to do
- Fixed parser grammar inconsistency popping up when
useapacheinclude
option is disabled - Fixed parser grammar to support in-line hash comments
Release 0.2.2
- Added Apache expression tags (ap_expr) test case
- Added support for quoting named blocks
- Added
includeoptinal
apacheinclude statement support - Include and Apache include statements made case-insensitive
- Fixed parser grammar to distinguish
<tag />
syntax from<tag/>