All Versions
4
Latest Version
Avg Release Cycle
92 days
Latest Release
691 days ago

Changelog History

  • v0.2.1 Changes

    July 26, 2024

    What's Changed

    • ๐Ÿ– Handle in? and not_in? with a single element list by @solnic in #58

    Full Changelog : v0.2.0...v0.2.1

  • v0.2.0 Changes

    February 01, 2024

    ๐Ÿ”‹ Features

    • Drops.Type module that allows you to define custom types (via #36)
    • Drops.Type.Validator protocol that allows you to define custom validators for your types
    • โž• Added built-in Drops.Types.Number type (issue #33)
    • โž• Added union to type definition DSL (issue #37)

    ๐Ÿ›  Fixes

    • โš  Warning about conform callback is gone (issue #34)

    ๐Ÿ”„ Changes

    • ๐Ÿ”จ All built-in types have been refactored to use the validator protocol
    • Drops.Types.Sum was renamed to Drops.Types.Union
  • v0.1.1 Changes

    October 27, 2023

    ๐Ÿ› Bug fixes

    • [Drops.Contract] Rules are now correctly applied only to the root map (via #32)
  • v0.1.0 Changes

    October 25, 2023
    • โž• Added Drops.Contract module for defining validation schemas with additional rules
    • โž• Added Drops.Validator module for running validation functions against input
    • โž• Added Drops.Validator.Messages.DefaultBackend that's configured by default in contracts
    • โž• Added Drops.Types module with the following built-in types:

      • Drops.Types.Type - basic type
      • Drops.Types.List - a list if member type
      • Drops.Types.Map - a map with typed keys
      • Drops.Types.Sum - a composition of two types
      • Drops.Types.Cast - a type that defines from-to casting types and caster options
    • โž• Added Drops.Predicates module which provides many common predicate functions like filled?, gt?, size? etc.

    • โž• Added Drops.Casters module which provides common type casting functions that can be used with the built-in types