Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update voluptuous to 0.10.5 #9

Closed
wants to merge 1 commit into from

Conversation

pyup-bot
Copy link
Collaborator

There's a new version of voluptuous available.
You are currently using 0.9.3. I have updated it to 0.10.5

These links might come in handy: PyPI | Changelog | Repo

Changelog

0.10.5

  • 278: Unicode
    translation to python 2 issue fixed.

0.10.2

Changes:

  • 195:
    Range raises RangeInvalid when testing math.nan.
  • 215:
    {} and [] now always evaluate as is, instead of as any dict or any list.
    To specify a free-form list, use list instead of []. To specify a
    free-form dict, use dict instead of Schema({}, extra=ALLOW_EXTRA).
  • 224:
    Change the encoding of keys in error messages from Unicode to UTF-8.

New:

  • 185:
    Add argument validation decorator.
  • 199:
    Add Unordered.
  • 200:
    Add Equal.
  • 207:
    Add Number.
  • 210:
    Add Schema equality check.
  • 212:
    Add coveralls.
  • 227:
    Improve Marker management in Schema.
  • 232:
    Add Maybe.
  • 234:
    Add Date.
  • 236, 237, and 238:
    Add script for updating gh-pages.
  • 256:
    Add support for OrderedDict validation.
  • 258:
    Add Contains.

Fixes:

  • 197:
    ExactSequence checks sequences are the same length.
  • 201:
    Empty lists are evaluated as is.
  • 205:
    Filepath validators correctly handle None.
  • 206:
    Handle non-subscriptable types in humanize_error.
  • 231:
    Validate namedtuple as a tuple.
  • 235:
    Update docstring.
  • 249:
    Update documentation.
  • 262:
    Fix a performance issue of exponential complexity where all of the dict keys were matched against all keys in the schema.
    This resulted in O(n*m) complexity where n is the number of keys in the dict being validated and m is the number of keys in the schema.
    The fix ensures that each key in the dict is matched against the relevant schema keys only. It now works in O(n).
  • 266:
    Remove setuptools as a dependency.

Got merge conflicts? Close this PR and delete the branch. I'll create a new PR for you.

Happy merging! 馃

@pyup-bot
Copy link
Collaborator Author

Closing this in favor of #27

@pyup-bot pyup-bot closed this Feb 15, 2018
@benroeder benroeder deleted the pyup-update-voluptuous-0.9.3-to-0.10.5 branch February 15, 2018 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant