PackageTrack
Sign in Get early access

acanthis

Acanthis is an easy-to-use validation library for Dart and Flutter.

1.6.0 avesbox/acanthis

What this package is like to depend on

Last release 2 months ago

18 Jun 2026

Release timing varies

gaps range from 9 days to 4 months

Nearly every release is documented

notes for 29 of 29 stable releases

Nothing withdrawn

no release was ever pulled

2 years old

29 releases · first in 2024

12 releases in the last 12 months

see the full history below

Release timeline

29 releases · Mar 2024 to Jun 2026
2025 2026
Release Pre-release

Releases

latest 29
  1. 1.6.0 18 Jun 2026
    Release notes
    • feat: add coercion support for all types, allowing for automatic type conversion when parsing values. This feature enables more flexible and user-friendly validation by accepting different input formats and converting them to the expected type.
    Open source →
  2. 1.5.4 26 Feb 2026
    Release notes
    • fix: Prevent nullable to be treated always like a pure type and use type purity to determine if the schema is pure or not, allowing for more complex schemas to be nullable without losing their purity.
    Open source →
  3. 1.5.3 22 Feb 2026
    Release notes
    • perf: improve general performances
    Open source →
  4. 1.5.2 15 Feb 2026
    Release notes
    • feat: add AcanthisType#mock to generate mocks values from the schema.
    Open source →
  5. 1.5.1 16 Dec 2025
    Release notes

    Full Changelog: 1.4.5...1.5.1

    Open source →
    Release notes
    • feat: add dot-shorthand support for all types.
    • feat: add AcanthisInteger and AcanthisDouble to represent integer and double types separately.
    • feat: add template type to create template literal schemas with placeholders.
    Open source →
  6. 1.5.0 24 Nov 2025
    Release notes
    • feat: add Open API schema generation for all types.
    Open source →
  7. 1.4.6 27 Oct 2025
    Release notes
    • feat: add AcanthisType#defaultValue to get the default value of the schema.
    • chore: meta dependency is now less strict.
    Open source →
  8. 1.4.5 06 Oct 2025
    Release notes

    Full Changelog: 1.4.1...1.4.5

    Open source →
    Release notes
    • feat: add CustomCauseCheck to allow for custom checks that return a cause message on failure based on the input value.
    Open source →
  9. 1.4.4 27 Sep 2025
    Release notes
    • feat: pipes are now acanthis type and can be used to validate more complex structures.
    • feat: date type accept now string, int and DateTime values.
    Open source →
  10. 1.4.3 06 Sep 2025
    Release notes
    • perf: improve performances again.
    Open source →
  11. 1.4.2 05 Sep 2025
    Release notes
    • chore: update dependencies
    • perf: improved overall performances
    Open source →
  12. 1.4.1 29 Aug 2025
    Release notes

    What's Changed

    • a way to circumvent limitation on custom enum implementations when using string().enumurated() by @Hanibachi in #12
    • fix: wrong error messages for missing keys when parsing maps by @jesus-gueyp in #13
    • fix(#14): change list parse values to dynamic values by @francescovallone in #15

    New Contributors

    Full Changelog: 1.2.3...1.4.1

    Open source →
    Release notes
    • feat: add support for literal values in objects, unions, tuples, list
    Open source →
  13. 1.4.0 26 Aug 2025
    Release notes
    • feat: add support for class schemas with classSchema<I, T>()
    • feat: add support for instances validation with instance<T>()
    • feat: add support for discriminated union with union<T>() and variant<T>()
    Open source →
  14. 1.3.2 08 Aug 2025
    Release notes
    Open source →
  15. 1.3.1 07 Aug 2025
    Release notes
    • fix: wrong error messages for missing keys when parsing maps #13 by jesus-gueyp
    Open source →
  16. 1.3.0 26 Jun 2025
    Release notes
    • feat: add AcanthisString#contained to check if the string is one of the contained values.
    • fix: AcanthisString#enumerated now accepts a optional parameter nameTransformer to transform the name property of the enum values if needed. #12 by Hanibachi
    Open source →
  17. 1.2.3 06 May 2025
    Release notes

    Full Changelog: 1.2.1...1.2.3

    Open source →
    Release notes
    • refactor: improve overall code quality and performance.
    • feat: allow custom error message for all validators.
    Open source →
  18. 1.2.2 04 May 2025
    Release notes
    • refactor: add possiblity to use both String and RegExp for AcanthisString#pattern validator.
    • feat: add AcanthisType#elementType to get the type of the schema.
    Open source →
  19. 1.2.1 26 Apr 2025
    Release notes

    Full Changelog: 1.2.0...1.2.1

    Open source →
    Release notes
    • refactor: improve overall code quality and performance.
    • remove 'fast_immutable_collections' dependency.
    Open source →
  20. 1.2.0 22 Apr 2025
    Release notes

    What's Changed

    Full Changelog: 1.1.0...1.2.0

    Open source →
    Release notes
    Open source →
  21. 1.1.0 09 Apr 2025
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 1.0.1...1.1.0

    Open source →
    Release notes
    • fix: AcanthisMap.extend method now does not override existing key-value pairs. #7 by francescovallone
    • refactor: codebase is now immutable. #6 by dickermoshe
    Open source →
  22. 1.0.2 19 Feb 2025
    Release notes
    • Add differsFromNow to the AcanthisDate validator.
    • Add double and between to the AcanthisNumber validator.
    • Add time, url, card and hexColor to the AcanthisString validator.
    Open source →
  23. 1.0.1 07 Jan 2025
    Release notes

    Full Changelog: 1.0.0...1.0.1

    Open source →
    Release notes
    • Add lazy validator to allow for recursive schemas.
    Open source →
  24. 1.0.0 28 Dec 2024
    Release notes

    Full Changelog: 0.1.3...1.0.0

    Open source →
    Release notes
    • Upgrade dependencies.
    • Add async checks for all validators to allow for a more flexible validation process.
    • Add partial validator to object validator.
    • Add more String validators.
    • Rename customCheck to refine in all validators.
    • Add refineAsync to all validators.
    • Add pipe and AcanthisPipeline to allow for more complex validation and transformation processes.
    Open source →
  25. 0.1.3 28 Jun 2024
    Release notes

    Full Changelog: 0.1.2...0.1.3

    Open source →
    Release notes

    Features

    • Add the optionals function to the object validator.

    Docs

    • Add information about optionals in the object validator.
    Open source →
  26. 0.1.2 06 Apr 2024
    Release notes
    • Add the addFieldDependency function to the object validator.
    • Add information about addFieldDependency in the object validator.
    • Remove the Operations section from the documentation.
    Open source →
  27. 0.1.1 14 Mar 2024
    Release notes

    Refactor

    • The function jsonObject has been renamed as object.
    • Add explicit information about the parse result object AcanthisParseResult.
    Open source →
  28. 0.1.0 09 Mar 2024
    Release notes
    • Add the nullable validator.
    • Add the union validator.
    • Add the boolean validator.
    • Add transformation functions for all the validators except nullable, boolean and union.
    • Add tests for all the validators (100% coverage 🎉).
    • Add documentation for all the validators.
    • [#1] Fix the string().email() validator that will now use the email_validator package.
    Open source →
  29. 0.0.1 06 Mar 2024
    Release notes
    • Initial version.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive