Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: alecthomas/voluptuous
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.15.2
Choose a base ref
...
head repository: alecthomas/voluptuous
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.16.0
Choose a head ref
  • 6 commits
  • 6 files changed
  • 6 contributors

Commits on Jul 22, 2024

  1. Configuration menu
    Copy the full SHA
    a7a55f8 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2025

  1. Configuration menu
    Copy the full SHA
    4a9c8f8 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2025

  1. Add comprehensive tests for humanize.py module (#530)

    * Add comprehensive tests for humanize.py module to improve coverage from 71% to 100%
    
    - Add tests for _nested_getitem error handling (KeyError, IndexError, TypeError)
    - Add tests for humanize_error with long error message truncation
    - Add tests for validate_with_humanized_errors success and failure cases
    - Add tests for edge cases with None data and multiple validation errors
    - Improve overall test coverage from 89% to 90%
    
    This addresses the missing coverage in humanize.py lines 19-22, 45, and 54-57.
    
    * Fix import sorting with isort
    manyamittal25 authored Aug 2, 2025
    Configuration menu
    Copy the full SHA
    86bcb03 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2025

  1. Configuration menu
    Copy the full SHA
    c5b63f8 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2025

  1. Feature: Support requiring anyOf a list of keys (#534)

    * Feature: Support requiring anyOf a list of keys
    
    This adds a new feature to Voluptuous, which is somewhat akin to what json-schema does with the special key `anyOf`.
    
    `Schema({Required(Any('color', 'temperature', 'brightness')): str})` will validate that AT LEAST ONE of these three values is present. That doesn't preclude any individual validation on each of those fields to still apply.
    That means that in the above example, if `color` is present, brightness doesn't need to be present. But if brightness is present, all other validations of brightness (like checking that its value is a number between 0 and 100) still apply.
    
    * Simplify tests
    
    * Format stuff like black wants it
    cibernox authored Dec 14, 2025
    Configuration menu
    Copy the full SHA
    4cef6ce View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2025

  1. Release 0.16.0

    spacegaier committed Dec 18, 2025
    Configuration menu
    Copy the full SHA
    87825d6 View commit details
    Browse the repository at this point in the history
Loading