Metadata-Version: 2.1
Name: Products.ZSQLMethods
Version: 3.16
Summary: SQL method support for Zope.
Home-page: https://github.com/zopefoundation/Products.ZSQLMethods
Author: Zope Foundation and Contributors
Author-email: zope-dev@zope.org
License: ZPL 2.1
Project-URL: Issue Tracker, https://github.com/zopefoundation/Products.ZSQLMethods/issues
Project-URL: Sources, https://github.com/zopefoundation/Products.ZSQLMethods
Classifier: Development Status :: 6 - Mature
Classifier: Environment :: Web Environment
Classifier: Framework :: Zope
Classifier: Framework :: Zope :: 4
Classifier: Framework :: Zope :: 5
Classifier: License :: OSI Approved :: Zope Public License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Database
Classifier: Topic :: Database :: Front-Ends
Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*
License-File: LICENSE.rst
Requires-Dist: setuptools
Requires-Dist: six
Requires-Dist: Zope (>=4.2.1)
Requires-Dist: Missing
Requires-Dist: Record
Requires-Dist: DocumentTemplate (>=3.2.2)

.. image:: https://github.com/zopefoundation/Products.ZSQLMethods/actions/workflows/tests.yml/badge.svg
        :target: https://github.com/zopefoundation/Products.ZSQLMethods/actions/workflows/tests.yml

.. image:: https://coveralls.io/repos/github/zopefoundation/Products.ZSQLMethods/badge.svg?branch=master
        :target: https://coveralls.io/github/zopefoundation/Products.ZSQLMethods?branch=master

.. image:: https://img.shields.io/pypi/v/Products.ZSQLMethods.svg
        :target: https://pypi.org/project/Products.ZSQLMethods/
        :alt: Current version on PyPI

.. image:: https://img.shields.io/pypi/pyversions/Products.ZSQLMethods.svg
        :target: https://pypi.org/project/Products.ZSQLMethods/
        :alt: Supported Python versions

Products.ZSQLMethods
====================

This Zope product provides support for SQL Method objects in
Zope. They can be used in conjunction with any database adapter to use
relational database data from within the Zope environment.

Changelog
=========

3.16 (2022-12-16)
-----------------

- Fix insidious buildout configuration bug for tests against Zope 4.

- Add support for Python 3.11.


3.15 (2022-04-29)
-----------------

- Add support for Python 3.10.

- Fix Python 2 compatibility in
  ``Shared.DC.ZRDB.Connection.Connection.connect``
  (`#41 <https://github.com/zopefoundation/Products.ZSQLMethods/issues/41>`_)


3.14 (2021-06-29)
-----------------

- Fix `Z Search Interface Interface` creation under Python 3
  (`#30 <https://github.com/zopefoundation/Products.ZSQLMethods/issues/30>`_)


3.13 (2021-03-15)
-----------------

- Add support for Python 3.9.


3.12 (2020-01-09)
-----------------

- Zope 4 ZMI improvements for database connection test form.

- Fix the ``repr`` of SQL Methods.


3.11 (2020-07-15)
------------------

- Improve pagination and search result display on the ZMI `Test` tab
  (`#28 <https://github.com/zopefoundation/Products.ZSQLMethods/pull/28>`_)


3.10 (2020-07-14)
-----------------

- Removed last remnants of the Zope 2 Help System.

- Zope 4 ZMI improvements for ZSQL Method objects.

- Zope 4 ZMI improvements for database connection objects.

- Package and ``tox`` configuration cleanup to allow runing tests in parallel.


3.9 (2020-04-16)
----------------

- Added explicit type selection for ZSQL parameters on the ZMI `Test` tab.


3.8 (2020-04-15)
----------------

- Improved usability for the ZMI `Test` tab.


3.7 (2020-03-19)
----------------

- Improved error handling and feedback for ``dtml-sqltest``.


3.6 (2020-02-28)
----------------

- Fix batch links and warning for maximum numbr of rows
  (`#24 <https://github.com/zopefoundation/Products.ZSQLMethods/issues/24>`_)


3.5 (2020-02-26)
----------------

- Fixed up the ZMI `Test` tab.

  - Fixed broken batch link display.

  - Make number of rows shown configurable.

  - Show total result set size.

  - Shown warning if the result set size hits the configured limit.

- Fixed incompatibility with ``transaction`` version 3.
  (`#23 <https://github.com/zopefoundation/Products.ZSQLMethods/pull/23>`_)


3.4 (2020-02-13)
----------------

- Fixed ``PUT`` issue that failed due to a WebDAV lock test in ``manage_edit``.

- ``manage_DAVget`` now inserts a vi syntax highlighting hint.


3.3 (2020-02-12)
----------------

- Enable editing all properties via WebDAV
  This is done by copying the full-featured format used by the
  ``FSZSQLMethod`` class from ``Products.CMFCore``.


3.2 (2020-02-11)
----------------

- Fix support for editing ZSQL Methods via WebDAV
  (`#22 <https://github.com/zopefoundation/Products.ZSQLMethods/issues/22>`_)


3.1 (2020-02-09)
----------------

- Pull in WebDAV support from Zope and pin Zope to 4.2.1 or higher.


3.0.13 (2020-02-04)
-------------------

- Pin ``DocumentTemplate`` 3.2.2 for less quoting, it is to database-specific.


3.0.12 (2020-02-03)
-------------------

- Depend on ``DocumentTemplate`` 3.2.1+ to no longer escape ``"``.


3.0.11 (2020-01-31)
-------------------

- Depend on ``DocumentTemplate`` 3.1+ to do SQL quoting.


3.0.10 (2020-01-29)
-------------------

- Remove Zope Help System fossils so the product works with Zope 5.


3.0.9 (2019-11-22)
------------------

- Fix ImportError under Zope 5 due to moved dependencies
  (`#19 <https://github.com/zopefoundation/Products.ZSQLMethods/pull/19>`_)


3.0.8 (2019-08-05)
------------------

- Show rendered SQL output even if an exception occurred
  (`#15 <https://github.com/zopefoundation/Products.ZSQLMethods/issues/15>`_)

- Fix sqltest behavior with bytes inputs
  (`#14 <https://github.com/zopefoundation/Products.ZSQLMethods/issues/14>`_)


3.0.7 (2019-04-26)
------------------

- Compatibility fixes for better unicode support in DocumentTemplate.


3.0.6 (2019-04-03)
------------------

- Fix failing unpickling of older Z SQL Methods instances
  (`#12 <https://github.com/zopefoundation/Products.ZSQLMethods/issues/12>`_)

- Improve usability and add Zope 4 compatibility for connection forms.

- Improve general usability of the ZSQL Method edit and test forms.

- Enable the fancy editor for the ZSQL Method edit form.

- Sanitize ``tox`` and ``flake8`` configurations, reach ``flake8`` compliance.


3.0.5 (2019-03-29)
------------------

- Fix all ZMI forms for ZSQL Methods for Zope 4
  (`#11 <https://github.com/zopefoundation/Products.ZSQLMethods/issues/11>`_)


3.0.4 (2019-02-17)
------------------

- Specify supported Python versions using ``python_requires`` in setup.py
  (`Zope#481 <https://github.com/zopefoundation/Zope/issues/481>`_)

- Added support for Python 3.7 and 3.8.


3.0.3 (2018-06-11)
------------------

- Fix long-standing bug of setting an ``int`` as return value
  for the transaction manager's ``sortKey`` method. It must be a string.

- PEP-8 compliance.

- Clean out all ``install_requires`` that are already required by ``Zope``.

- Only claim to support Python versions supported by Zope itself.


3.0.2 (2018-03-16)
------------------

- Add flake8 code checking.

- Add test coverage computation.

- Various small Python 3 compatibility changes.


3.0.1 (2017-10-18)
------------------

- Fix syntax error in `Shared/DC/ZRDB/dbi_db.py`.

- More PEP8 compliance.


3.0.0 (2017-05-23)
------------------

- Added tox configuration.

- Python 3 compatibility.


3.0.0b1 (2017-05-03)
--------------------

- Target use with Zope 4:  no longer support 2.13.x.

- Make webdav from ZServer optional.
  [dataflake]

2.13.5 (2016-11-10)
-------------------

- Strip ``NUL`` bytes when quoting SQL string literals.

- Fixed a bug which might occur on Windows when two cache entries have been
  stored without `time.time()` having changed and the cache gets purged
  afterwards.

2.13.4 (2011-07-03)
-------------------

- Copy code from `App.Extensions` to keep compatibility with Zope 2.14.

2.13.3 (2010-08-31)
-------------------

- LP #142501: Only connect upon ZODB load if a new flag ``connect_on_load``
  has been set to a true value (which is its default for backwards
  compatibility).

- LP #142689: Actually use SQL connection titles in the list of
  connections returned by SQL.SQLConnectionIDs.

2.13.2 (2010-07-09)
-------------------

- Actually establish Zope 2.12 compatibility by dealing with all cases of
  moved classes and functions.

2.13.1 (2010-07-09)
-------------------

- Made compatible with Zope 2.12.9.

2.13.0 (2010-07-09)
-------------------

- Released as separate package.
