Skip to content

Releases: aymanrb/php-unstructured-text-parser

2.5.0

10 Nov 08:59
a0b2912
Compare
Choose a tag to compare
  • Fixes issue #37: The ignoring of escaped characters in a custom pattern

2.4.0

14 Jul 21:41
d21c47f
Compare
Choose a tag to compare
  • Fixes issue #34 - PSR/LOG locked to v1.x

Thanks @lstg for the contribution

2.3.0

31 May 18:36
f342143
Compare
Choose a tag to compare
  • 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

15 Aug 16:15
Compare
Choose a tag to compare
  • Allows setting special parsing regex for specific variables in a template (issue #20)

Thanks to @ssmusoke for the contribution

2.1.0

29 Nov 21:11
Compare
Choose a tag to compare
  • Preventing to forced removal of white spaces from the templates and parsed text. (Issue #17)

2.0.1

08 Nov 08:08
Compare
Choose a tag to compare
  • Preventing the directory iterator from iterating over Parent directory and self (Dot Directories). (Issue #16)

Thanks to @carriera for the contribution

2.0.0

01 Jun 03:31
8b368db
Compare
Choose a tag to compare
  • 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

03 Apr 07:40
Compare
Choose a tag to compare
  • 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

23 Feb 06:29
Compare
Choose a tag to compare
  • Reverting back dependencies packages upgrade to continue supporting older PHP versions

1.2.2

23 Feb 06:18
Compare
Choose a tag to compare
  • 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