Skip to content

Breaking changes: deprecated features have been removed

Latest
Compare
Choose a tag to compare
@markwhitaker markwhitaker released this 18 Feb 10:24
56fae94

Summary

Version 3.0 marks a switchover to the new type-safe builder syntax introduced in 2.0: the old Java-style syntax that was deprecated in 2.4.0 has now been removed.

In addition, the logging API is removed in this release.

Changes in detail:

  • RegexBuilder() public constructor removed: replace with regex { ... }
  • buildRegex() removed: replace with regex { ... }
  • buildPattern() removed: replace with pattern { ... }
  • startGroup() ... endGroup() removed: replace with group { ... }
  • startNamedGroup() ... endGroup() removed: replace with namedGroup { ... }
  • startNonCapturingGroup() ... endGroup() removed: replace with nonCapturingGroup { ... }
  • addLogger() removed: no replacement