Skip to content

2.0.0 Release

Choose a tag to compare

@RyanJCummings RyanJCummings released this 10 Mar 16:51
· 12 commits to master since this release
3fffec8

v2.0.0 creates a breaking change around how database results are handled.

  • getCve() will now return a java Optional which must be handled by the end user. If no value is returned from the database for a given query, an Optional.empty() object will be returned
  • getCwe() will return an empty arrayList in the event of a no value result to a database query.
  • The DataAccessException will only be used to indicate that there was an error with a connection or query. try-catch blocks will no longer suffice for handling the "no result" scenario.