Skip to content

Latest commit

 

History

History
276 lines (275 loc) · 42.1 KB

CHANGELOG.md

File metadata and controls

276 lines (275 loc) · 42.1 KB

Change Log

upcoming 2019/06/13

  • e42f39f Add skipValidationOnFirstError option to short circuit (@carlitux)
  • fae39cf Update packages and move to node 10 version (@carlitux)
  • 2b32bc8 Use prettier to format code (@carlitux)
  • 5be2d15 More version of node to test (@carlitux)
  • 2fb3086 Set ctx into container to access in custom validators (@carlitux)
  • 854608e Fix readme (@carlitux)
  • 41bf3b6 Update libraries (@carlitux)
  • d5dcfa6 Remove logs (@carlitux)
  • ec9d8e5 Fix async validation to use async functions (@carlitux)
  • 9bb3027 Log on validations (@carlitux)
  • 8bf4332 Remove test on 0.12 (@carlitux)
  • 366bc6d Add bluebird for testing (@carlitux)
  • 3dfc5b3 Update version (@carlitux)
  • d761ff4 Add regenerator missed dependency on babel and add test for another node versions (@carlitux)
  • 753ae9f Remove babel polyfill and test on node 5.* and 6.0* (@carlitux)
  • 3d49264 package.json (@carlitux)
  • 043d72b Add polyfill for some versions of node (@carlitux)
  • d9fc034 Add babel-runtime to the dependency (@carlitux)
  • 0fdaf3e Add dev dependencies to build on travis (@carlitux)
  • d8d29ef Add dev dependencies to build on travis (@carlitux)
  • e3c9a46 Add dev dependencies to build on travis (@carlitux)
  • 1f74bbd Add eslint to dependency (@carlitux)
  • cd9583d Add eslint to dependency (@carlitux)
  • 453f500 full features migrated from express validator (@carlitux)
  • 108b224 full features migrated from express validator (@carlitux)
  • a8f4a7c Log results (@carlitux)
  • 6056da9 Log results (@carlitux)
  • b0997a7 First version to use... no tests (@carlitux)
  • e783026 First update on README.md (@carlitux)
  • ce8e8c6 Update validator (@carlitux)
  • 64b0370 Change name of the root directory (@carlitux)
  • 8ccbcad First changes to use in koa (@carlitux)
  • 1f71006 Upgrade to 2.20.5 (@rustybailey)
  • 522e224 Asynchronous validation implementation (@felipelrz)
  • 69a4ce7 Update changelog. (@rustybailey)
  • 54156e1 Upgrade to 2.20.4 to update validator to v5 (@rustybailey)
  • 4fe80ec Update node-validator to v5 and restore automatic string coercion. (@rustybailey)
  • bfd9502 Update changelog. (@rustybailey)
  • 0fafa68 Upgrade to 2.20.3 (@rustybailey)
  • 7884efc Convert promises to Bluebird promises in order to use reflect(). Should fix #220 (@rustybailey)
  • 659978a Update changelog (@rustybailey)
  • a4a603b Upgrade to 2.20.2 (@rustybailey)
  • 49803b9 Added comment to reference the fix (@AuspeXeu)
  • 41add1b Added badge reflecting the dependency status (@AuspeXeu)
  • 5c9e08c Upgraded bluebird (@AuspeXeu)
  • 69d5cc6 Add npm version badge (@rustybailey)
  • a5262c7 Upgrade changelog. (@rustybailey)
  • 0f4d5f6 Upgrade to 2.20.1 (@rustybailey)
  • 0241908 Downgrade validator. An upgrade will require a major version bump since it doesn't automatically coerce non-strings to strings anymore: validatorjs/validator.js#496 (@rustybailey)
  • e57acd2 Upgrade to 2.20.0 (@rustybailey)
  • 9073b5e Upgrade github-changes, lodash, and validator; update CHANGELOG. (@rustybailey)
  • dca9911 Apply README fixes from 9b74fb4ffd4edce7268b9d1e9303829cdb8ae14e (@rustybailey)
  • c704a22 Upgrade to 2.19.2 (@rustybailey)
  • 9b74fb4 Fix matches example in README (resolves #209) (@rustybailey)
  • 20f033a Added missing require that broke build of tests on node v0.10.43
  • 981239f Readme and tests updated after review. (@JaniszM)
  • f6f88bc #203 - Fixed bug where .withMessage() would not apply to a custom async validator (@chrissinclair)
  • 4fdc7a9 Extended test schema to check if not supported location type force validator to skip. (@JaniszM)
  • d1894e8 Formatter updated. (@JaniszM)
  • d87a4f1 Readme updated. (@JaniszM)
  • a300751 Issue #206. Added support for new field in validators structure allowing to define location of validation. (@JaniszM)
  • f3ed152 2.19.1 (@rustybailey)
  • 64d34f7 Update package.json (@timoruppell)
  • 55ad066 Change lodash method names to match 4.x changes (@timoruppell)
  • 479dc71 2.19.0 (@rustybailey)
  • 460e11c Upgrade dependency (validator.js) from 4.2.x -> 4.5.x (@franciscolourenco)
  • 8a2cb3b Upgrade to 2.18.0 (@rustybailey)
  • 4c9359f Fix #177: Add sanitizeHeaders with tests and docs. (@rustybailey)
  • 3e636f3 Fix #120: Add an options object to optional() so that you can test for falsy values. (@rustybailey)
  • 56d18fb Update validator to 4.2.x and add node 4.0/4.1 to travis.yml. (@rustybailey)
  • 3123c0f Fix #182: Add how to call validators/sanitizers with arguments to docs. (@rustybailey)
  • dc9a576 Update readme (@riguy724)
  • 94f5c11 Upgrade to 2.17.1. (@rustybailey)
  • 13083d9 Clarify mappedErrors in README - resolves #161 (@rustybailey)
  • eef5347 Issue #165: Fix the output of nested params to be a uniform string in the param field. This was broken in the refactor of v2.12.0. (@rustybailey)
  • 979cd33 Update README.md (@rustybailey)
  • ba73177 Upgrade to 2.17.0 (@rustybailey)
  • bf54ca8 Typo fix. (@rustybailey)
  • 09f2225 Upgrade to 2.16.0. (@rustybailey)
  • b7d98ec Fix typos in comments. (@rustybailey)
  • 6e13c90 async validation (@Jakeii)
  • b6fca2b change failMsg to errorMessage, use optional in README.md example (@Jakeii)
  • 8ff3698 conform to jscs and other imporvements (@Jakeii)
  • a5e8906 Upgrade to 2.15.1 (@rustybailey)
  • b9dc9df Fixed bug where with message would provide a custom message to an incorrect validation if the one it was meant to apply to passed, but a validation with a default message failed before hand.
  • 1ffb3d4 Upgrade to 2.15.0 (@rustybailey)
  • a16ea13 Correct sanitize example in README. (@rustybailey)
  • bf5edfa Updated a few style points per PR feedback. (@chrissinclair)
  • 10a15a2 Updated readme to detail the .withMessage method (@chrissinclair)
  • 9b4243c Added withMessage extension to provide a custom message per validation (@chrissinclair)
  • 42bcf60 Upgrade to 2.14.2 (@rustybailey)
  • 8807999 Fixed typo with the direction of how to use custom sanitizer. (@phuson)
  • 84e489f Upgrade to 2.14.1 (@rustybailey)
  • 669fcb8 Add sudo false to travis to move to container builds: http://docs.travis-ci.com/user/workers/container-based-infrastructure/ (@rustybailey)
  • b6c89ef Don't call validators for optional parameters (@ikokostya)
  • 478f36d Upgrade to 2.14.0 (@rustybailey)
  • 60bfdcb Change lodash version to 3.10.x and validator version to 4.0.x (@rustybailey)
  • 3e5ca70 Updated to the latest validator version (4.0.2) (@SamVerschueren)
  • 0b02b1b Upgrade to 2.13.0 (@rustybailey)
  • 879c41d Update lodash to 3.10.0 (@rustybailey)
  • 8e754ba Upgrade to 2.12.2 (@rustybailey)
  • cd7f31b Test for falsey values in sanitization. (@rustybailey)
  • 72d06e8 Add jscsrc, add jscs/jshint to travis build, and fix errors thrown by JSHint/JSCS. (@rustybailey)
  • d1c5ec3 build a chain so optional works (@Jakeii)
  • 586d65d add validation by schema (@Jakeii)
  • eeeb52f Upgrade to 2.12.1 (@rustybailey)
  • 006ab99 Provide a default options value (@JSteunou)
  • cf8427b Upgrade to 2.12.0 (@rustybailey)
  • 261337a Update node-validator to 3.40.1 (@rustybailey)
  • fc2745e complete code refactor (@Jakeii)
  • 63ac9c8 Bump to 2.11.0 (@rustybailey)
  • e92aa7f fix readme, add tests (@uhlryk)
  • a7352f7 fix spelling sanitize; add documentation (@uhlryk)
  • cdf3a0e added custom santizers (@uhlryk)
  • 06435b9 Update CHANGELOG.md (changelog command relies on remote tags) (@rustybailey)
  • ea00f9d Update changelog. (@rustybailey)
  • 0f48735 2.10.0 (@rustybailey)
  • bc2ef59 Use the same node versions as node-validator. (@rustybailey)
  • 0c3aaec Bump validator version to 3.39.0 (@rustybailey)
  • dfb757b Add changelog to devDependencies and add npm script to generate changelog. (@rustybailey)
  • bf044b5 Add node 0.12 to travis.yml, remove dead gist link in README, add license in package.json. (@rustybailey)
  • f42077f Add editorconfig. (@rustybailey)
  • 73daa44 Add jshint to devDependencies, add .jshintrc, fix semicolon issues. (@rustybailey)
  • fb8d049 Add comment to explain before() function busting require's cache in each test file. (@rustybailey)
  • 7fc7b1c Remove async from devDependencies (@rustybailey)
  • a74de1e Remove old tests and change npm test to use Mocha. (@rustybailey)
  • 39f1b55 Add Mocha tests for validating regex routes (@rustybailey)
  • 68adc6e Add Mocha tests for nested input (@rustybailey)
  • a029176 Add Mocha tests for mapped output using validationErrors(true) (@rustybailey)
  • 5a2f7ef Add Mocha tests for check() (@rustybailey)
  • 9cd6f62 Add Mocha tests for checkQuery() (@rustybailey)
  • c91e022 Add Mocha tests for checkBody() (@rustybailey)
  • bbcb462 Add tests for checkParams() (@rustybailey)
  • d2eb638 Add mocha/chai as dependencies, simplify app.js helper, create mocha tests for optional(). (@rustybailey)
  • 9c87684 Bump version to 2.9.1. (@rustybailey)
  • 37ede78 Fix checkHeader so that it works with optional(). (@rustybailey)
  • 136307f Move change log into its own file and expand it using github-changes. Fixes #130 (@rustybailey)
  • c2e5124 Bump version to 2.9.0 (@ctavan)
  • 9624cca Update node validator dependency. (@ctavan)
  • 9247648 Fix deprecated use of req.param(), closes #117. (@ctavan)
  • d8ba047 replaced req.param call to remove deprecation msg (@janza)
  • b2f727b Add LICENSE (@becausehama)
  • e49ee9d Bump version to 2.8.0 (@ctavan)
  • d48d248 Updating to validator 3.26.0 (@hengkiardo)
  • 84937cf Bump version 2.7.0 (@ctavan)
  • 51e39b3 Updating to validator 3.22.1 (@nfrasser)
  • 8b67263 Upgraded to validator 3.19.0 (@fiznool)
  • 1dc8679 Bump version to 2.5.0 (@ctavan)
  • 2205323 adds tests for optional() method (@BAKFR)
  • 7402642 add curly braces to respect the coding style (@BAKFR)
  • b90f482 add documentation for customValidators option (@sterling)
  • 9d18380 Bump version to 2.4.0 (@ctavan)
  • 9a167b7 whitespace cleanup (@sterling)
  • 668e5c5 Add support for custom validators (@sterling)
  • 58d2142 add documentation on README (@BAKFR)
  • e42f650 add the method optional() who disables the checks if value is undefined (@BAKFR)
  • a922832 Bump version to 2.3.0 (@ctavan)
  • 85348f5 Add a check if req.files array is not undefined before accessing it
  • d2ea7b1 Bump version to 2.2.0 (@ctavan)
  • 6dcddc8 Bump version to 2.1.2 (@ctavan)
  • bffe0d9 Fixed function call order (@killroy42)
  • 129be78 Fixed arguments usage for strict compliance (@killroy42)
  • defffe1 Update express_validator.js (@brandonscript)
  • 01bdbf4 Return sanitized value from req.sanitize() (@dpolivy)
  • 151f5a4 Bump version to 2.1.1 (@ctavan)
  • 75a8359 fix: use strict equality/inequality
  • 010cb51 fix docs Extending (@bars3s)
  • 7388983 fix sanitaze trim,ltrim... methods (@bars3s)
  • 02930ff add .idea to .gitignore (@bars3s)
  • aaff5d9 Update validator to 3.5.0 and bump version to 2.1.0 (@ctavan)
  • 7f3b8a9 Update README. (@ctavan)
  • 079c6da Update package.json (@gkorland)
  • a91664b Update node-validator repository url
  • 6fe2aa6 - fixed typo (@theorm)
  • 816437a - and quoting node versions to make travis linter happy (@theorm)
  • aa7d749 - removed node 0.6 from .travis.yml. 0.8+ is required now as it is the minimum version for validator.js (@theorm)
  • 36e9025 - setting node version to >= 0.8 (@theorm)
  • af9abb5 - camelCasing variables (@theorm)
  • 22fce51 - major version bump & fixing local vars. (@theorm)
  • 94a3c13 - version bump and new contributor (@theorm)
  • a219e29 - modified to work with validator 3.1.0 (@theorm)
  • dc0ee77 added documentation for checkParams and checkQuery (@smitp)
  • a8604f8 As .xss() is removed from node-validator 2.0.0, changed example in comments (@manV)
  • cd65d4c Bump version to 1.0.1 (@ctavan)
  • 63f1248 add information from #21 as I'm not only one who was stuck at this (@kamilbiela)
  • b63f224 bumped to 1.0.0 (@petecoop)
  • 5e5c0a1 updated to v2 (@petecoop)
  • 406014e Added support for checkQuery and checkParams + tests (@kornifex)
  • 7f33f03 Ensure req.body is defined (@cjihrig)
  • 57d62fe Bump version to 0.8.0 (@ctavan)
  • feec643 Bump validator dependency to 1.5.0, closes #47. (@ctavan)
  • 7c181e5 Update README.md (@JedWatson)
  • 5f59b15 Bump version to 0.7.0 (@ctavan)
  • 69e9203 Bump validator dependency to 1.2.1 (@ctavan)
  • f726037 Fix two typos (@Michael-Stanford)
  • 2f52adb Check parsed attached Files (@gkorland)
  • 9dde887 replace 500 code with 400 (@gkorland)
  • 09f5c43 Also run tests under node v0.10 in travis. (@ctavan)
  • d493673 Bump version to 0.6.0. (@ctavan)
  • 5aecec5 Bump validator dependency to 1.2.0 (@ctavan)
  • 8fe0862 Bumped version to 5 because this is a breaking change. (@arb)
  • 066807b Fixed to work with new structure. (@arb)
  • 15216ae Added method to pass options. (@arb)
  • 3a341f5 Added options section (@arb)
  • e739e2b Bump version to 0.4.1 (@ctavan)
  • 3f03a68 Update readme. (@ctavan)
  • 1fe9c03 Bump version to 0.4.0 (@ctavan)
  • 0139626 Upgrade validator dependency. (@ctavan)
  • 5ac347c Added ignore file to modules stop being marked as changed. (@arb)
  • 96e759e Added test for req.checkBody (@arb)
  • a37b8d7 Added myself to the contributers. (@arb)
  • 7bf7729 Style change. (@arb)
  • 7cb9113 Added check body function to validate only the request body. (@arb)
  • 69fdeed Sorry, was moving this around without updating.
  • 9ae9e6b Updated the documentation about extending.
  • 3c1c52c Bump version to 0.3.2 (@ctavan)
  • 4ff8a48 Upgrade validator dependency to 0.4.25. Fixes #25. (@ctavan)
  • 48f90b7 Bump version to 0.3.1 (@ctavan)
  • c4463f7 Update package.json
  • fa23c0f Bump version to 0.3.0 (@ctavan)
  • 62bb9dd Update validator dependency. (@ctavan)
  • e241d9f Return null for validation errors instead of array. (@ctavan)
  • b60e434 Fix docs. (@ctavan)
  • 1fb5b56 Bump version to v0.2.4 (@ctavan)
  • 521e50b Fix code style / line lengths. (@ctavan)
  • 31d51d2 Tests for RegExp-defined routes (@cecchi)
  • f73af12 Using strict comparison (@cecchi)
  • 3ba4e3f Support for routes defined by RegExp (@cecchi)
  • 1590b47 Bump version to 0.2.3 (@ctavan)
  • fda5c03 Remove node 0.4 from travis and add 0.8 (@ctavan)
  • 9537060 Update dependencies and bump version to v0.2.2 (@ctavan)
  • c73802c Add documentation (@ctavan)
  • 672d48b Fix coding style (@ctavan)
  • dfccb6d Restore removed test case (@ctavan)
  • de62248 Updated test for testing nested dot notation (@sharonjl)
  • 2ff7983 Updated method for parsing nested notation (@sharonjl)
  • c54720f Added validate() alias for check() (@sharonjl)
  • 1b94da6 Update lib/express_validator.js (@pimguilherme)
  • 2a5903d Bump version to 0.2.1 (@ctavan)
  • 861806d Fix chaining validators (@rapee)
  • 5436c0f Add travis.ci (@ctavan)
  • 65506ba Code style fixes (@ctavan)
  • 94062f0 Add Makefile (@ctavan)
  • 07f4f06 Add @orfaust to contributors (@ctavan)
  • c4b83d0 Add more tests, document additions (@ctavan)
  • c3f3a3e Remove unused variable (@ctavan)
  • dc0d92b Refactor tests (@ctavan)
  • cae328a Add basic test cases and upgrade versions (@ctavan)
  • 0c33221 1: solution for nested inputs. 2: more complete errors response (@orfaust)
  • 0d63f04 Fix for undefined req.onErrorCallback (@orfaust)
  • efba5e8 get complete error objects (@orfaust)
  • 4e8f245 Version bump v0.1.3 (@ctavan)
  • 1041b4c Add another example to the readme (@ctavan)
  • cb7d906 Update readme (@ctavan)
  • 3d323c6 Version bump (@ctavan)
  • de0773c exposed Validator & Filter to module so that end-users can easily hang their own validations/sanitizers onto them (@troygoode)
  • bed2d78 Also update readme, see #2 (@ctavan)
  • fffa37f Return this in error callback to allow for assert-method-chaining, fixes #2 (@ctavan)
  • d8a7658 Add some keywords (@ctavan)
  • 9fd2261 Update version to v0.1.1 (@ctavan)
  • 722d9a7 Remove now unneeded mixinParams() method, see #1 (@ctavan)
  • fbd6461 Update example and documentation for changes of #1, fixes #1 (@ctavan)
  • ce69619 Use req.param() instead of req.params + req.mixinParams() for filter() as well. (@ctavan)
  • 0e77df0 Use express's req.param() to get params from req.params, req.query and req.body. req.check now no longer relies on req.mixinParams(), see #1 (@ctavan)
  • 779660f Typo (@ctavan)
  • 7f398b2 Installation note (@ctavan)
  • 764b5dc Formatting (@ctavan)
  • d0090e7 Add me as a contributor + fix some typos (@ctavan)
  • 3537462 Add original author credits to the packag.json (@ctavan)
  • 671ad61 Add an example server (@ctavan)
  • ae10270 Typos (@ctavan)
  • 0dfb1ba Improve example in readme, add credits for original author (@ctavan)
  • df36372 Initial commit (@ctavan)