{"action":"created","issue":{"url":"https://api.github.com/repos/dropwizard/dropwizard/issues/1187","labels_url":"https://api.github.com/repos/dropwizard/dropwizard/issues/1187/labels{/name}","comments_url":"https://api.github.com/repos/dropwizard/dropwizard/issues/1187/comments","events_url":"https://api.github.com/repos/dropwizard/dropwizard/issues/1187/events","html_url":"https://github.com/dropwizard/dropwizard/pull/1187","id":97108219,"number":1187,"title":"Update hibernate validator to 5.2.0.Final","user":{"login":"nickbabcock","id":2106129,"avatar_url":"https://avatars.githubusercontent.com/u/2106129?v=3","gravatar_id":"","url":"https://api.github.com/users/nickbabcock","html_url":"https://github.com/nickbabcock","followers_url":"https://api.github.com/users/nickbabcock/followers","following_url":"https://api.github.com/users/nickbabcock/following{/other_user}","gists_url":"https://api.github.com/users/nickbabcock/gists{/gist_id}","starred_url":"https://api.github.com/users/nickbabcock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickbabcock/subscriptions","organizations_url":"https://api.github.com/users/nickbabcock/orgs","repos_url":"https://api.github.com/users/nickbabcock/repos","events_url":"https://api.github.com/users/nickbabcock/events{/privacy}","received_events_url":"https://api.github.com/users/nickbabcock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-24T18:20:10Z","updated_at":"2015-07-27T14:16:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dropwizard/dropwizard/pulls/1187","html_url":"https://github.com/dropwizard/dropwizard/pull/1187","diff_url":"https://github.com/dropwizard/dropwizard/pull/1187.diff","patch_url":"https://github.com/dropwizard/dropwizard/pull/1187.patch"},"body":"Picked out a few interesting bits:\r\n\r\nIn some cases, when validating `Optional`, the `UnwrapValidatedValue` is not needed. Only one line of code in the entire code base was changed as the result of this. Since it's not entirely intuitive when `UnwrapValidatedValue` is needed, I've omitted changing the documentation because it still works with the annotation applied.\r\n\r\nThis doesn't affect dropwizard immediately, since we're not targeting jdk 8 right now, but with [new type annotations](https://blogs.oracle.com/java-platform-group/entry/java_8_s_new_type), it is possible to write code like:\r\n\r\n```java\r\nList<@NotEmpty String> strs; \r\n```"},"comment":{"url":"https://api.github.com/repos/dropwizard/dropwizard/issues/comments/125221614","html_url":"https://github.com/dropwizard/dropwizard/pull/1187#issuecomment-125221614","issue_url":"https://api.github.com/repos/dropwizard/dropwizard/issues/1187","id":125221614,"user":{"login":"nickbabcock","id":2106129,"avatar_url":"https://avatars.githubusercontent.com/u/2106129?v=3","gravatar_id":"","url":"https://api.github.com/users/nickbabcock","html_url":"https://github.com/nickbabcock","followers_url":"https://api.github.com/users/nickbabcock/followers","following_url":"https://api.github.com/users/nickbabcock/following{/other_user}","gists_url":"https://api.github.com/users/nickbabcock/gists{/gist_id}","starred_url":"https://api.github.com/users/nickbabcock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickbabcock/subscriptions","organizations_url":"https://api.github.com/users/nickbabcock/orgs","repos_url":"https://api.github.com/users/nickbabcock/repos","events_url":"https://api.github.com/users/nickbabcock/events{/privacy}","received_events_url":"https://api.github.com/users/nickbabcock/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T14:16:35Z","updated_at":"2015-07-27T14:16:35Z","body":"Ok, fix applied. Note that in the Hibernate release, there is also JavaFx handler baked into Hibernate validator (hence why the test had to change because now there are more than three handlers). But it shouldn't be too egregious to keep the extra handler in."}}