ValidX v1.2.0 Brings Breaking API Changes to Chain Validation Methods
ValidX version 1.2.0 introduces two breaking changes to its chain validation API that require developer action when upgrading from v1.1.0. The isStartsWith() and isEndsWith() methods now accept a single String parameter instead of a String[] array, while new isStartsWithAny() and isEndsWithAny() methods handle multiple-value scenarios. Additionally, isAlphaNum() and isMacAddress() have been renamed to isAlphaNumber() and isMac() respectively, to align with their corresponding annotation names. The impact is rated medium, affecting only developers using these specific chain API methods, while annotation-based validation remains completely unchanged. Developers can locate affected code by running a grep search for the old method names across their Java source files before applying the straightforward replacements.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in