Skip to main content

Data validation package for Zope

Project description

Introduction

Data validation package for Zope.

Changelog

4.0.1 (2026-03-27)

Internal:

  • Update configuration files. [plone devs]

  • Update the check_id import for plone.base. [thet]

4.0.0 (2025-12-23)

Breaking changes:

  • Replace pkg_resources namespace with PEP 420 native namespace. Support only Plone 6.2 and Python 3.10+. @petschki

Internal:

  • Move distribution to src layout [gforcada] (#4217)

  • Minimal cleanups @gforcada

3.0.1 (2024-12-16)

Bug fixes:

  • Remove unneeded code from recursiveTranslate that broke with latest Zope 5.11. zope.i18n already supports recursive translation out of the box since 2008. [maurits] (#70)

3.0.0 (2024-08-21)

Breaking changes:

  • Removed Products/validation/validators/validator.py. This had backwards compatibility imports in a way that did not work on Python 3. So apparently no one needed this so far. [maurits] (#60)

  • Drop support for Plone 5.2 and for Python 3.7 and lower. Only Plone 6.0 and 6.1 are supported now. Note that in Plone 6.1, this package is no longer tested together with the core. It has been moved to the ecosystem versions. [maurits] (#60)

New features:

  • Move translations from plone.app.locales to here [erral] (#11)

Internal:

  • Update configuration files. [plone devs]

2.1.3 (2020-06-24)

Bug fixes:

  • Fixes #6 long deprecated InitializeClass import which did not work in Zope 5. [jensens] (#6)

2.1.2 (2020-04-23)

Bug fixes:

  • Minor packaging updates. (#1)

2.1.1 (2018-11-01)

Bug fixes:

  • Use new utils.check_id from CMFPlone. [maurits] (#4)

2.1 (2017-08-27)

New features:

  • Python 3 compatibility [tomgross]

Bug fixes:

  • Remove unnecessary test dependencies [tomgross]

2.0.2 (2016-08-08)

Bug fixes:

  • Use zope.interface decorator. [gforcada]

2.0.1 (2015-02-23)

  • Accept base domain names longer than 6 chars like .brussels [gotcha]

2.0 (2010-07-18)

  • No changes.

2.0b1 (2009-12-27)

  • Added missing zope.i18n(messageid) dependencies. [hannosch]

2.0a1 (2009-11-13)

  • Cleaned up package metadata. [hannosch]

  • Declare test dependencies in an extra and fixed deprecation warnings for use of Globals. [hannosch]

  • Removed useless assert statements. Assert is not a function. [hannosch]

  • Purge old zope2 Interface interfaces for Zope 2.12 compatibility. Consider branching before this commit if release required before Plone 4. [elro]

  • Cleaned up lots of old BBB code. [hannosch]

  • Email validator did not allow apostrophe in the local part of an email address. This closes http://dev.plone.org/plone/ticket/7947. [hannosch]

  • Relaxed EmptyValidator requirement that REQUEST has a form. This closes http://dev.plone.org/plone/ticket/7346. [bostrick, hannosch]

1.6.4 - unreleased

  • Cut the validation short when there is only one validator and this validator is ‘sufficient’, which means it does not need to validate. [maurits]

  • Removed an unnecessary call on Zope startup to the test method in chain.py. [maurits]

  • Fix: ValidatorError was used (at least theoretically) in chain.py but not imported. [maurits]

1.6.3 (2009-04-23)

  • Fixed the translated error messages to use Message objects correctly. The mapping attribute of Messages can only contain Unicode. Added a helper method safe_unicode to convert non-unicode string data into Unicode. [hannosch]

  • Fixed a SyntaxError in RangeValidator. [hannosch]

1.6.2 (2009-04-02)

1.5.1 (2007-08-16)

1.5.1-b2 (2006-03-20)

  • Removed tests/runalltests.py and tests/framework.py as they have outlived their usefulness. To run tests use Zope’s testrunner: ./bin/zopectl test –nowarn -s Products.validation [stefan]

1.5.1-b1 (2006-02-27)

  • cough [nouri]

1.5.0-final (2006-12-15)

  • note for release-managers: The version-bump to 1.5 was a bit early, but now as we have it, i keep it and next release number in the cycle needed for Archetypes 1.4.2 (used for Plone 2.5.2) of PortalTransforms is then the 1.5 final. We dont need increasing of release numbers because of Plone 3.0, Archetypes 1.5, … if there’s no change in the dependent product, like this one. [jensens]

1.5.0-a1 (2006-10-25)

  • Removed an unused import which caused a deprecation warning. [hannosch]

1.4.1-final (2006-09-08)

1.3.9

post 1.3.4-final02 (2006-01-15)

  • Spring-cleaning of tests infrastructure. [hannosch]

1.4.0-beta1 (2006-03-26)

  • removed marker for odd archetypes 1.3 styles version checks [jensens]

1.3.4-final02 (2006-01-15)

  • nothing again - the odd version checking needs a version change to stick to Archetypes version again. [yenzenz]

1.3.4-RC1 (2005-12-29)

  • nothing again - the odd version checking needs a version change to stick to Archetypes version again. [yenzenz]

1.3.3-final06 (2005-10-11)

  • nothing again - the odd version checking needs a version change to stick to Archetypes version again. [yenzenz]

1.3.3-final05 (2005-08-30)

  • nothing again - the odd version checking needs a version change to stick to Archetypes version again. [yenzenz]

1.3.3-final04 (2005-08-07)

  • nothing - the odd version checking needs a version change to stick to Archetypes version again. [yenzenz]

1.3.3-final03 (2005-08-01)

  • nothing - the odd version checking needs a version change to stick to Archetypes version again. [yenzenz]

1.3.3-final02 (2005-07-17)

  • nothing - the odd version checking needs a version change to stick to Archetypes version. [yenzenz]

1.3.3-final (2005-07-06)

  • added Expression Validator [zwork]

1.3.2-final02 (2005-05-20)

  • nothing (I hate to write this. But the odd version checking needs it). [yenzenz]

1.3.2-rc1 (2005-03-25)

  • Added isMailto validator for mailto:user@host.tld [tiran]

  • Added protocol list for isUrl validator with lot’s of additional protocols: http, ftp, irc, news, imap, gopher, jabber, webdav, smb, fish, ldap, pop3, smtp, sftp, ssh The *s variants like https are included by the re. [tiran]

1.3.1-final (2005-03-05)

  • Added isValidId validator. Thanks to Francis J. Lacoste for his first implementation and Christian Theune for his CMF only implementation. [tiran]

  • Fixed isUnixLikeName validator [tiran]

1.3.0-9 (2004-10-17)

  • Fixed [ 1040556 ] validators type mismatch (was [1036938]) [tiran]

1.3.0-8

  • Fixed a bug in MaxSizeValidator, added some comments and made it much faster. [tiran]

1.3.0-7 (2004-09-25)

  • Updated README.txt [tiran]

  • Fixed last failing unit tests [tiran]

1.3.0-6 (2004-09-17)

  • Removed old setup.py [tiran]

  • Added isEmptyNoError validator to fix [ 1023153 ] isEmpty validator must return empty string when it failed. {tiran]

  • Don’t show error msg in chain when a validator doesn’t return StringTypes. It was required for isEmptyNoError validator which is returning False. {tiran]

1.3.0-5 (2004-09-04)

  • Fixed typo in RegexValidator [tiran]

  • Unit tests now based on ZopeTestCase [tiran]

1.3.0-4 (2004-08-16)

  • nothing changed

1.3.0-3 (2004-08-06)

  • Nothing changed

1.3.0-2 (2004-07-29)

  • Nothing changed

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

products_validation-4.0.1.tar.gz (45.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

products_validation-4.0.1-py3-none-any.whl (106.8 kB view details)

Uploaded Python 3

File details

Details for the file products_validation-4.0.1.tar.gz.

File metadata

  • Download URL: products_validation-4.0.1.tar.gz
  • Upload date:
  • Size: 45.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for products_validation-4.0.1.tar.gz
Algorithm Hash digest
SHA256 1c399eec0319560ca1a3e837ff5cd3d8279cd5463ad1baaacf2a9d84d0c3039e
MD5 10a25e4695ab1a1494e7fc6f3b60313b
BLAKE2b-256 230cc0069905acb4c9f31cb190234c28b95be1be7f90e6a90234c8fbf26e2769

See more details on using hashes here.

File details

Details for the file products_validation-4.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for products_validation-4.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1ae31a706c8ca9874be335dd5067596742ccdf950f971b7c9447c74e461fa418
MD5 61845efbc696458a3d664150d59f29d8
BLAKE2b-256 547b6df76727e7820df921134b41bf2b84e0d92591fedbc0054d5c57e144c25e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page