{"action":"created","issue":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/5861","repository_url":"https://api.github.com/repos/sequelize/sequelize","labels_url":"https://api.github.com/repos/sequelize/sequelize/issues/5861/labels{/name}","comments_url":"https://api.github.com/repos/sequelize/sequelize/issues/5861/comments","events_url":"https://api.github.com/repos/sequelize/sequelize/issues/5861/events","html_url":"https://github.com/sequelize/sequelize/pull/5861","id":153626020,"number":5861,"title":"Improve validation when dealing with non-strings","user":{"login":"ruimarinho","id":288709,"avatar_url":"https://avatars.githubusercontent.com/u/288709?v=3","gravatar_id":"","url":"https://api.github.com/users/ruimarinho","html_url":"https://github.com/ruimarinho","followers_url":"https://api.github.com/users/ruimarinho/followers","following_url":"https://api.github.com/users/ruimarinho/following{/other_user}","gists_url":"https://api.github.com/users/ruimarinho/gists{/gist_id}","starred_url":"https://api.github.com/users/ruimarinho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruimarinho/subscriptions","organizations_url":"https://api.github.com/users/ruimarinho/orgs","repos_url":"https://api.github.com/users/ruimarinho/repos","events_url":"https://api.github.com/users/ruimarinho/events{/privacy}","received_events_url":"https://api.github.com/users/ruimarinho/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"janmeier","id":1210224,"avatar_url":"https://avatars.githubusercontent.com/u/1210224?v=3","gravatar_id":"","url":"https://api.github.com/users/janmeier","html_url":"https://github.com/janmeier","followers_url":"https://api.github.com/users/janmeier/followers","following_url":"https://api.github.com/users/janmeier/following{/other_user}","gists_url":"https://api.github.com/users/janmeier/gists{/gist_id}","starred_url":"https://api.github.com/users/janmeier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janmeier/subscriptions","organizations_url":"https://api.github.com/users/janmeier/orgs","repos_url":"https://api.github.com/users/janmeier/repos","events_url":"https://api.github.com/users/janmeier/events{/privacy}","received_events_url":"https://api.github.com/users/janmeier/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2016-05-08T00:19:07Z","updated_at":"2016-05-15T21:07:32Z","closed_at":"2016-05-13T14:58:03Z","pull_request":{"url":"https://api.github.com/repos/sequelize/sequelize/pulls/5861","html_url":"https://github.com/sequelize/sequelize/pull/5861","diff_url":"https://github.com/sequelize/sequelize/pull/5861.diff","patch_url":"https://github.com/sequelize/sequelize/pull/5861.patch"},"body":"### Pull Request check-list\r\n\r\n- [x] Does `npm run test` or `npm run test-DIALECT` pass with this change (including linting)?\r\n- [x] Does your issue contain a link to existing issue (Closes #[issue]) or a description of the issue you are solving?\r\n- [x] Have you added new tests to prevent regressions?\r\n- [x] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?\r\n- [x] Have you added an entry under `Future` in the changelog?\r\n\r\n### Description of change\r\n\r\nvalidator@5.0.0+ has stopped coercing input values as strings and, since version 4, the library has been printing deprecation notices everytime a non-string is passed to it.\r\n\r\nAll `validate` functions now correctly handle theses cases by delegating this work to lodash functions.\r\n\r\n- Improves on https://github.com/sequelize/sequelize/pull/5599, but for `typeValidation`.\r\n- Closes https://github.com/sequelize/sequelize/pull/5701.\r\n- Closes https://github.com/sequelize/sequelize/issues/5782 (probably the user installed `validator@5` manually)."},"comment":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/comments/219310643","html_url":"https://github.com/sequelize/sequelize/pull/5861#issuecomment-219310643","issue_url":"https://api.github.com/repos/sequelize/sequelize/issues/5861","id":219310643,"user":{"login":"janmeier","id":1210224,"avatar_url":"https://avatars.githubusercontent.com/u/1210224?v=3","gravatar_id":"","url":"https://api.github.com/users/janmeier","html_url":"https://github.com/janmeier","followers_url":"https://api.github.com/users/janmeier/followers","following_url":"https://api.github.com/users/janmeier/following{/other_user}","gists_url":"https://api.github.com/users/janmeier/gists{/gist_id}","starred_url":"https://api.github.com/users/janmeier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janmeier/subscriptions","organizations_url":"https://api.github.com/users/janmeier/orgs","repos_url":"https://api.github.com/users/janmeier/repos","events_url":"https://api.github.com/users/janmeier/events{/privacy}","received_events_url":"https://api.github.com/users/janmeier/received_events","type":"User","site_admin":false},"created_at":"2016-05-15T21:07:32Z","updated_at":"2016-05-15T21:07:32Z","body":"https://github.com/sequelize/sequelize/releases/tag/v3.23.2"}}