Skip to content

Release 1.1.6

Choose a tag to compare

@CDAGaming CDAGaming released this 20 May 16:56
· 53 commits to main since this release
1fe06f7

Full Changelog: 1.1.5...1.1.6

  • Fixed inconsistencies in the equals and hashCode checks for Pair/Tuple objects
  • Refactor and rewrite several parts of StringUtils:
    • Removed the following functions:
      • getMatcher
      • getMatches
      • replaceMatches
      • removeMatches
      • replace
      • sequentialReplace
    • These functions were largely legacy functions built years ago, and hardly maintained. If anything, they were barely considered functional.
    • Added new functions:
      • stripMatches w/ several overloads for some of the patterns in StringUtils
      • replaceMatches (New function definition, and used by stripMatches)
      • getMatches (New function definition, now also including a singular version)
    • Fixed Issues:
      • Fixed repetitive Pattern compilation cases for some methods
      • Replaced several cases of .replaceAll(regex, ...) with replaceMatches(pattern, key, replacement) to avoid excessive Pattern compilation
        • In cases where replaceAll wasnt used with regex, we now use .replace to avoid creating a regex