Releases: aymanrb/php-unstructured-text-parser
Releases · aymanrb/php-unstructured-text-parser
2.5.0
- Fixes issue #37: The ignoring of escaped characters in a custom pattern
2.4.0
- Fixes issue #34 - PSR/LOG locked to v1.x
Thanks @lstg for the contribution
2.3.0
- Dropped support for older PHP versions. (v2.2 requires PHP7.4+)
- Added some missed type hints and declared strict types to all files
2.2.0
- Allows setting special parsing regex for specific variables in a template (issue #20)
Thanks to @ssmusoke for the contribution
2.1.0
- Preventing to forced removal of white spaces from the templates and parsed text. (Issue #17)
2.0.1
- Preventing the directory iterator from iterating over Parent directory and self (Dot Directories). (Issue #16)
Thanks to @carriera for the contribution
2.0.0
- Dropped support for older PHP versions. (v2.0 requires PHP7.1+)
- It's now possible to parse a file instead of text only.
- Special library exceptions are now thrown instead of the default PHP ones.
- Better test coverage.
- Lots of refactoring and code cleanup.
- Parsed data is returned in data object (instead of array)
- Results data object now has the matched template path
1.3.0
- Removing default Monolog filesystem logging
- If you relied on the debugging / logging behavior that was forced until v1.2.3 you will need to inject the logger instance (see examples/run.php)
- Allowing custom logging configuration to be added in construction
Thanks @StarostaIZ for this contribution
1.2.3
- Reverting back dependencies packages upgrade to continue supporting older PHP versions
1.2.2
- Fixing a bug with the templates reader method when it attempted to read directories. (Issue #10)
- Updating composer dependencies
- Adding tests configuration file.
Thanks to @germanllop for the contribution