Version changes
The following list gives a short overview about what is changed between individual versions:
Version 2.1.1 (2016-11-26)
- Output default values as code.
Version 2.1.0 (2016-10-28)
- Add array.shuffle option.
Version 2.0.7 (2016-10-27)
- Update request@2.76.0, moment-timezone@0.5.7
- Fixed bug in reference resolving caused by wrong worker.root setting.
- Typo fixture in documenatation.
- Optimize documentation and remove seldom used internal isEmpty function.
Version 2.0.6 (2016-10-24)
- Update moment@2.15.2, mathjs@3.6.0, moment-timezone@0.5.7
- Add possibility to reference data structure from within the schema definition.
- Test bug with referencing values from schema.
- Optimize description of array.
Version 2.0.5 (2016-10-20)
- Fix documentation to hide style comments in github view.
Version 2.0.4 (2016-10-19)
- Fix test.
- Fix mandatory keys to keep not mentioned keys optional.
Version 2.0.3 (2016-10-18)
- Put possible string values in quotes for description.
- Optimize description text.
Version 2.0.2 (2016-10-18)
- Optimize array validation.
- Fix documentation link.
- Small docu fix.
- Remove unneccessary entry in docignore.
- Add missing internal documentation.
Version 2.0.1 (2016-09-29)
- Add debug information in documentation.
- Add automatic schema testing befor checking if in debug mode.
- Optimize debug calls when not used.
Version 2.0.0 (2016-09-27)
New internal structure with slightly optimized checks, and rename of toString option to makeString.
- Fix for new alinex-fs find call.
- Update alinex-handlebars@1.2.1, async@2.0.1, chrono-node@1.2.4, ipaddr.js@1.2.0, mathjs@3.5.3, moment@2.15.1, request@2.75.0, alinex-builder@2.3.8, alinex-fs@3.0.2, moment-timezone@0.5.5
- Add dnsbl support in email validation
- Add blacklist support in email validation.
- Update all schema specifications for optimal description text.
- Updated schema documentation.
- Basic type documentation.
- Updated documentation for references.
- updated documentation.
- Fixed references and got the tests to succeed.
- Integrated references into checks for value and schema.
- Remove circular reference.
- Create sub worker with root reference through member method.
- All single validators fixed.
- Update documentation.
- Update alinex-builder@2.3.8, mathjs@3.5.1, moment@2.15.0, request@2.75.0, alinex-fs@3.0.2
- Fixed multiple validators to work their tests now.
- Fixed validation of object.
- Fix selfcheck definition to not change base rule definition.
- Fixes in validation.
- String balidator use makeString instead of toString.
- Fixed code to run all internal reference checks.
- Restructured reference checking and made simple calls runable.
- Create new reference module.
- Finished basic rewrite of all validators.
- Rewrite of more validators.
- Rewrite of email validator.
- Rewrite of file validator.
- Rewrite of handlebars validator.
- Rewrite of hostname validation.
- Rewrite of interval validator.
- Rewrite ipaddr validator.
- Ipaddr validator rewritten.
- Rewrite of object validator.
- Rewrite or validator.
- Rewrite of percent validator with some extensions like pro mille…
- Instantiate type specific debug in worker.
- Rewrite port validator.
- Rewrite of regexp validator.
- Rewrite of string validator.
- Rewrite string check.
- Rewritten int type.
- Set float selfcheck definition.
- Rework describe for float type.
- Fixed float checks to work in new structure.
- Start rewriting of internal library for better performance.
- Updated ignore files.
- Update travis.
- Add sync methods using deasync.
- Rename links to Alinex Namespace.
- Add copyright sign.
- Add test for if block in handlebars.
- Upgraded builder package.
- Change to new mapValue from rc.6.
Version 1.6.6 (2016-06-08)
Hot fix for changed behaviour in async causing “Type undefined error”.
- Fix duplicate use of variables.
- Upgrade formatter->format, builder.
- Hot fix for new async rc.6
- Optimized errors for unsupported type.
Version 1.6.5 (2016-06-02)
- Upgraded builder and handlebars-helper package.
- Upgrade builder package.
- coveralls test
- Skip server check on travis.
- Next test.
- Make test verbose.
- Test email check on travis.
- Fix some other tests for travis.
- Fix test to use other timezone on travis.
- Try to optimize tests for travis.
- Upgraded formatter, ipaddr and builder packages.
Version 1.6.4 (2016-05-31)
- Fix max stack trace problem by using setImmediate on object and array keys.
Version 1.6.3 (2016-05-31)
- Upgraded async package.
- Fixed document style.
- Use alinex-formatter for string parsing.
- Updated fs, util, chrono, timezone and builder packages.
Version 1.6.2 (2016-05-02)
- Upgraded handlebars and builder.
- Added v6 for travis but didn’t activate, yet.
Version 1.6.1 (2016-04-29)
- Changes async to 2.ß syntax in tests.
- Replace async calls with v 2.0 syntax.
- Upgraded builder, mathjs, handlebars, util packages.
Version 1.6.0 (2016-04-21)
- BACKWARD INCOMPATIBLE CHANGES in handlebars helper.
- Upgraded handlebars to new version with i18n support.
- Fixed and extended test cases.
- Added format option to percent.
- Load packages on demand as possible.
- Added alinex-handlebars helper.
- Remove handlebars helper into own package.
- Start new collection helpers for handlebars.
- Add some string helpers for handlebars.
- Move handlebar helpers into extra module.
- Replace deprecated extend and clone calls.
- Upgraded util, yaml, mathjs, moment and request package.
Version 1.5.0 (2016-04-15)
- Upgraded request package.
- Added format option to array.
- Added tests and fixed timezones in datetime.
- Add timezones support (untested).
- Added format options to float type.
- Added format options for integer.
- Added format option to boolean.
- Extended selfcheck.
- Document locale setting for datetime.
Version 1.4.6 (2016-04-11)
- Updated documentation for datetime.
- Fixed bug in date part with format.
Version 1.4.5 (2016-04-08)
- Make delimiter output debug level.
Version 1.4.4 (2016-04-08)
- Upgraded util, mathjs and request packages.
- Remove unneccessary whitespace.
Version 1.4.3 (2016-03-31)
- Fixed bug in argument parsing for handlebar helpers.
- Upgraded mathjs and util packages.
- Added unique option for array.
Version 1.4.2 (2016-03-21)
- Upgrade utils.
Version 1.4.1 (2016-03-21)
- Reenable all tests.
- Fixed handlebars is differentiating between object and not object.
- Fixed bug in handlebars helper on not objects.
- Upgraded chrono and mathjs.
- Make handlebars is operatoor work on array/object size.
- Add examples.
Version 1.4.0 (2016-03-18)
- Upgrade yaml, chrono, moment, mathjs and builder.
- Added unitFormat handlebars helper.
- Added swag handlebars helpers.
- Restructure handlebars helper and add is block.
- Fixed typo error.
- Update link to handlebars syntax page.
Version 1.3.2 (2016-03-16)
- Upgraded mathjs and node-util.
- Fixed bug in array validation: not using new value from subchecks.
- Fixed general link in README.
- Fix typo in documentation.
Version 1.3.1 (2016-02-25)
- Upgraded chrono and yaml parser.
- Add dateAdd helper to handlebars.
- Trim output of commands.
- Fixed wrong test command in package.json.
Version 1.3.0 (2016-02-10)
- Allow match definitions as string.
- Added join helper for handlebars.
- Added international dateFormat in handlebars through helpers.
- Added debugging for handlebar execution.
- Made intl support in validator work.
- Added partly working intl support in handlebars.
Version 1.2.4 (2016-02-04)
- Remove alinex-error because no longer used.
- updated ignore files.
- Fixed style of test cases.
- Fixed lint warnings in code.
- Updated meta data of package and travis build versions.
- Fixed changelog.
Version 1.2.3 (2016-02-01)
- publish again because was buggy.
- Allow all tests to run again.
- Fixed flatten option on object.
Version 1.2.0 (2016-01-31)
- Allow objects as string.values option.
- Added documentation for url.
- Completed tests for url checks.
- New url check basically working.
- Store my ip globally.
Version 1.1.0 (2016-01-29)
- Optimized tests for linter and removed unused variables.
- Added server check for email addresses.
- Added basic email validation based on text checking.
- Added flatten option to object sanititzer.
- Fixed some minor linter warnings.
Version 1.0.9 (2015-11-28)
- Fixed to allow empty objects if no keys are mandatory.
Version 1.0.8 (2015-11-06)
- Small fix in test routine.
- Fixed bug in or validation in which default values from first try are stored in the successfull second try.
Version 1.0.7 (2015-10-27)
- Fix version number.
- Added information for version 1.0.7
- Allow revalidation of handlebars type.
Version 1.0.7 (2015-10-26)
- Allow revalidation of handlebars type.
Version 1.0.6 (2015-10-23)
- Fixed code style.
- Document and fix possibility to reference value from schema.
- Better display of paths in error messages.
Version 1.0.5 (2015-10-05)
- Finished datetime validation.
- Add description for datetime validator.
- Added support for defined datetime aliases.
- Added local formatting and unix timestamp to datetime validator.
- Support min/max options.
- Allow parsing ‘now’.
- Added parsing of natural language times.
- Parse ISO date and time strings.
- Parse first date using chrono-node.
- Start datetime validator with base checks.
- Add example to make a switch configuration using the or-type.
- Add travis tests in node v4.
Version 1.0.4 (2015-09-24)
- Fixed null pointer error in optional check.
- Fix other object checks to work again.
- Added mandatory with optional support in objects.
- Correctly check mandatory and optional fields of object.
- Added debug message for optional setting.
- Add new tests for default and option in objects.
Version 1.0.3 (2015-09-02)
- Fixed bps type definition to work in newer mathjs lib.
- Fix bug in string with values.
- Updated dependent packages.
- Updated dependent packages.
- Fixed description to write string min- and maxLength.
- Small fix in string description if values is an unresolved reference.
- Also allow pipe and socket filetypes for file validator.
- Added rtmp port (1935).
Version 1.0.2 (2015-07-21)
- Removed .only from tests
- Added port validator.
- Start adding a tcp port validator.
- Fixed bug with context access in report().
- Show value path in error messages.
- Added paging for blog posts.
- Optimized code style.
- Report path as Error attribute.
- Moved reference.getData() -> alinex-util:object.pathSearch().
- Changed tests to work on source again.
- Upgrade util package.
- Updated insstall documentation.
- Made badge links npm compatible in documentation.
Version 1.0.1 (2015-06-19)
- Extended tests.
- Fixed key checking in objects.
- Fixed description of object types.
- Added test for interval to run with multiple unit parts.
- Extended test coverage.
- Fixed bugs in file check with exists and filetype.
- Add coveralls badge.
- Remove io.js from travis tests.
- Added more tests and fixed bug in references with auto join.
- Optimized API documentation.
Version 1.0.0 (2015-06-16)
- Updated documentation.
- Only use values for references after they are checked.
- Added test for circular reference.
- Allow references to references.
- Extend selfchecks to checck that max >= min values.
- Allow shortcut for structure references.
- Allow references in schema definition.
- Fixed bug with old option reference implementation.
- Remove first try to get option variables running.
- Add backreference support in references and fix some bugs since the last changes.
- Added test case for references in options.
- Added support to join arrays together in references.
- Fixed structure and object matching in references and allowed regexp to work.
- Allow structure references to search with asterisk.
- Audded autodetect parser for references.
- Change separator in split values from %% to //.
- Implemented range selection for references.
- Added parse option for references.
- Added match support for references.
- Allow split to use regular expressions as separator.
- Added split functionality for references.
- Added comments for additional checks to fullfill references.
- Updated documentation about context and environment references.
- Fixed reference tests.
- Renamed reference work structure internally.
- Integrate references into values.
- Add hooks for integration.
- Removed old unused code.
- Check all entries of array or object to later add reference checks everywhere.
- Updated documentation for all types.
- Updated byte check.
- Upgraded handlebars check.
- Upgraded file checks.
- Upgraded hostname check.
- Upgraded the interval check.
- Upgraded percent check.
- Upgraded regexp check.
- Upgraded the ipaddr checks.
- Added type any for internal use.
- Added selfcheck tests.
- Optimize schema definition for and and or for better readability.
- Upgraded the and test.
- Rewritten any check as or test.
- Make describe method also asynchronous.
- Upgraded array check to work in new validator.
- Update the function check.
- Restructured object validator with optimized syntax.
- Updated string tests and renamed tostring option to toString.
- Optimized type checks integer and float.
- Restructured library and updated boolean to new structure.
- Added the command references.
- Added command references.
- Finished web references.
- Make the reference.replace() method async.
- Added file and web references.
- Reference can now read struct and context information.
- Added new reference function (basic routines only).
- Integrade concept for regexp in reference path.
- Change the reference syntax description to be more readable and powerful.
- Updated description.
- Document more simple reference syntax.
- Added DATA references code.
- Added possibility to specify allowedKeys in object as RegExp.
- Add reference checks to array.
- Fixed bug in boolean check.
- Move reference check to general rules.
- Fixed code to run async reference tests.
- Make all reference tests work.
- Updated debug messages to have new style in all types.
- Added/updated inline code documentation.
- Optimized line length of comments for better readiness.
- Optimized second run to make only things nit done in the first run.
- Made references for values work using a second round if needed.
- Optimized debug output in check and object.
- Merge branch ‘master’ of https://github.com/alinex/node-validator
- Text changes.
- Try to restructure again loop.
- Finished struct references to use different path mappings.
- Added debug message with results for calls and subcalls.
- Basic unit checks running.
- First rudimentary implementation.
- Document compositing by example.
- Add rudimentary reference type used for new reference checks.
- Glue first sentences of description text into one to make it more natural sounding.
- Optimize headings in documentation.
- Don’t support leading 0 as optional but read it as octal notation.
- Changed reference plan.
- Planing referenc restructuring.
- Give file checks more time on slow test machines.
- Fixed test assert values for byte tests.
- Extended selfchecks to be more strict in allow and deny ranges.
- Finished ipaddr type with api description.
- Changed ipv4 and ipv6 types to combined ipaddr type.
- Initial ipv6 check and planing for new references.
- Finished ipv4 check with tests.
- Added ip version 4 checks.
- Extended allowed time to run some tests.
- Fixed handlebars check to also return function if no handlebars are included.
- Added example for reference checks in the documentation.
- Added tests for regexp and made small fixes.
- Add simple handlebar validation.
Version 0.3.15 (2015-03-20)
- Added debug message for directory search paths.
Version 0.3.14 (2015-03-18)
- Added possibility to use dynamic find values for file search.
Version 0.3.13 (2015-03-10)
- More async changes.
- Added information for version 0.3.13
- Revert version number.
- More fixes for alinex-async.
- Added information for version 0.3.13
- Replace async with alinex-async.
Version 0.3.13 (2015-03-10)
- Revert version number.
- More fixes for alinex-async.
- Added information for version 0.3.13
- Replace async with alinex-async.
Version 0.3.13 (2015-03-10)
- Replace async with alinex-async.
Version 0.3.12 (2015-03-10)
- Fix file.find to work with multiple folders.
- Update documentation structure.
Version 0.3.11 (2015-03-05)
- Added correct error message if referenced file could not be found.
Version 0.3.10 (2015-03-04)
- Optimized description text display.
- Optimized wording in error messages.
- Rewrite examples in coffeescript.
- Updated dependent modules.
Version 0.3.9 (2015-02-12)
- Fixed type error in regexp check.
Version 0.3.8 (2015-02-12)
- Added regexp validation.
Version 0.3.7 (2015-02-03)
- Extended file find check to use multiple search paths.
- Small code optimization, prevent duplicate call of same function.
- Bugfix: async file check exitst because of uncatched throw.
Version 0.3.6 (2015-01-21)
- Fixed bug in async checks for files.
- Fixed bug with check for existing path.
Version 0.3.5 (2015-01-21)
- Fixed bug in debug output caused missing option display.
- Extended string test.
Version 0.3.4 (2014-12-10)
- Fixed mathjs package specification.
Version 0.3.3 (2014-12-04)
- Updates allowed versions for alinex-fs module.
- Use absolute path on basedir in file validator.
- Finished basic version of file validator.
- Adding file validator stubs.
- Added unit support for integer and float.
- Add support for derived unit ‘bps’ in byte type.
- Removed test output.
- Added subelement errors in error message of ‘any’-type.
- Fixed indentation in format description.
Version 0.3.2 (2014-11-03)
- Updated package description.
- Fixed small bug in which stripTags is done on string without specifications.
- Moved error description into error properties for better display.
- Added list of keys to error description in object.
- Fixed package.json version notation.
- Fixed bug with not using new chalk module.
Version 0.3.1 (2014-10-08)
- Fixed npmignore file.
- Fixed bug with path and duplicate callback in async call.
- Add informal unit setting for byte type.
- Updated alinex-make.
- Allow ‘default: false’ in boolen type.
- Fixed bug in objects with one rule for all keys and optimized description text.
Version 0.3.0 (2014-09-24)
- Updated description for objects.
- Added describe text to error messages.
- Finished rewriting of object checks.
- Extended object documentation.
- Started rework for optional use in objects.
- Added new validation type ‘byte’.
- Make reference selfcheck more specific.
- Add possibility to use operations on references.
- Added ‘hostname’ type as example for string extension.
- Removed async there not needed.
- Bug fixes in selfcheck and object validation.
- Added new check type ‘and’.
- Adding description for selfcheck.
- Allow the general keys ‘title’ and ‘description’ in all selftests.
Version 0.2.3 (2014-09-17)
- Differentiate between normale function and class in check.
- Optimized source in error message and fixed bug in object test.
- Fixed ‘function’ check.
- Initial version of function check.
- Added selfcheck for other types.
- Added selfcheck for float and string and removed old reference implementation.
- Added selfcheck method for integers.
- Updated to debug 2.0.0
Version 0.2.2 (2014-08-24)
- Fixed references with mocha tests.
- Added support for references.
Version 0.2.1 (2014-08-21)
- Finished internal rewrite but removed reference implementation.
- Updated string type to new structure.
- Updated interval type to new structure.
- Updated percent type to new structure.
- Update integer and float types to new validator structure.
- Internal restructure of module working only for boolean type, yet.
- Start to restructure into classes.
- Fixed reference bug and optimized debug messages.
- Added percent validator.
Version 0.2.0 (2014-08-18)
- Added time format in interval type.
- Added first reference check with name resolution.
- Check optional and default parameter globally instead of in type.
- Restructured all types and added async checks.
- Restructured base system, boolean and string checks.
- Updated to alinex-make 3.0 for development.
- Renamed check libraries.
- Report the key description for missing keys.
- Rename list to entries in type.any setup.
- Added support to only use allowedKeys = true instead of list.
- Add documentation for default option and real world example.
- Optimized error messages for object keys.
- Optimized debug output and fixed async array check bug.
- Added default option and made internal restructure.
Version 0.1.1 (2014-08-09)
- Fixed bug in asynchronous call of type.any
Version 0.1.0 (2014-08-08)
- Added short documentation of type.any check.
- Changed structure to use central result method with better debugging.
- Added type.any for alternative checks.
- Added possibility to give title and description for error reporting of values.
- Fixed some async problems and added typecheck to date.interval.
Version 0.0.3 (2014-08-08)
- Added async module.
- Make it possible to not define allowed keys but only the mandatory keys and other may exist.
- Removed debugging console output.
Version 0.0.2 (2014-08-07)
- Fixed date.interval checks.
- Basically running date.interval check with some small errors.
- Added describe texts for array and object options.
Version 0.0.1 (2014-08-06)
- Finished array and object checks.
- Removed options sublevel in configuration to make simpler definitions.
- Added more checks to array and object types.
- Added basic tests for array and object.
- Added float type checks.
- Some infos
- Add integer type checks.
- Finished string type check.
- Addded validate methods for string test.
- Added type.string check with sanitize options.
- First runable version with only a boolean check.
- Initial commit