Skip to content

Commit

Permalink
Release v5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cpburnz committed Aug 12, 2022
1 parent a8990e5 commit c858482
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 29 deletions.
27 changes: 14 additions & 13 deletions CHANGES.rst
Expand Up @@ -3,31 +3,32 @@ Change History
==============


5.0.0 (TBD)
5.0.0 (2022-08-11)
------------------

- Dropped support of EOL Python 3.6.
- Support Python 3.11.
- Changed build system to `pyproject.toml`_ and build backend to `setuptools.build_meta`_ which may have unforeseen consequences.
- Safely expand empty tuples. Fixes `Issue #8`_.
- Add rudimentary support for stripping comments. This helps prevent expansion of unexpected variables in comments. Fixes `Issue #9`_.
- Add support for stripping comments. This helps prevent expansion of unexpected variables in comments. Fixes `Issue #9`_.
- Rename GitHub project from `python-sql-parameters`_ to `python-sqlparams`_.

.. _`pyproject.toml`: https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/
.. _`setuptools.build_meta`: https://setuptools.pypa.io/en/latest/build_meta.html
.. _`Issue #8`: https://github.com/cpburnz/python-sql-parameters/issues/8
.. _`Issue #9`: https://github.com/cpburnz/python-sql-parameters/issues/9

.. _`Issue #8`: https://github.com/cpburnz/python-sqlparams/issues/8
.. _`Issue #9`: https://github.com/cpburnz/python-sqlparams/issues/9
.. _`python-sql-parameters`: https://github.com/cpburnz/python-sql-parameters
.. _`python-sqlparams`: https://github.com/cpburnz/python-sqlparams


4.0.0 (2022-06-06)
------------------

- Drop support for EOL Python 3.5.
- `Issue #10`_: When converting to 'format'/'pyformat' types, escape existing
'%' characters.
- When converting from 'format'/'pyformat' types, set `escape_char=True` to
unescape double '%' characters.
- `Issue #10`_: When converting to 'format'/'pyformat' types, escape existing '%' characters.
- When converting from 'format'/'pyformat' types, set `escape_char=True` to unescape double '%' characters.

.. _`Issue #10`: https://github.com/cpburnz/python-sql-parameters/issues/10
.. _`Issue #10`: https://github.com/cpburnz/python-sqlparams/issues/10



Expand All @@ -46,8 +47,8 @@ Change History
datetimes). Fixes `Issue #4`_.
- `Issue #7`_: Support dollar sign style for numeric and named parameters.

.. _`Issue #4`: https://github.com/cpburnz/python-sql-parameters/issues/4
.. _`Issue #7`: https://github.com/cpburnz/python-sql-parameters/issues/7
.. _`Issue #4`: https://github.com/cpburnz/python-sqlparams/issues/4
.. _`Issue #7`: https://github.com/cpburnz/python-sqlparams/issues/7


2.0.0 (2020-02-26)
Expand Down Expand Up @@ -86,7 +87,7 @@ Change History

- Fixed documentation for `issue 1`_.

.. _`issue 1`: https://github.com/cpburnz/python-sql-parameters/issues/1
.. _`issue 1`: https://github.com/cpburnz/python-sqlparams/issues/1


1.0.2 (2012-12-22)
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -58,7 +58,7 @@ dev-venv-create: dev-venv-base dev-venv-install

dev-venv-install:
${VENV} pip install --upgrade pip setuptools wheel
${VENV} pip install --upgrade build tox twine
${VENV} pip install --upgrade build sphinx tox twine
${VENV} pip install -e "${SRC_DIR}"


Expand Down
28 changes: 16 additions & 12 deletions README-dist.rst
Expand Up @@ -106,28 +106,32 @@ Change History
==============


5.0.0 (TBD)
5.0.0 (2022-08-11)
------------------

- Dropped support of EOL Python 3.6.
- Support Python 3.11.
- Changed build system to `pyproject.toml`_ and build backend to `setuptools.build_meta`_ which may have unforeseen consequences.
- `Issue #9`_: Add rudimentary support for stripping comments. This helps prevent expansion of unexpected variables in comments. {{ WARNING: WIP. DO NOT RELEASE. }}
- Safely expand empty tuples. Fixes `Issue #8`_.
- Add support for stripping comments. This helps prevent expansion of unexpected variables in comments. Fixes `Issue #9`_.
- Rename GitHub project from `python-sql-parameters`_ to `python-sqlparams`_.

.. _`pyproject.toml`: https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/
.. _`setuptools.build_meta`: https://setuptools.pypa.io/en/latest/build_meta.html
.. _`Issue #9`: https://github.com/cpburnz/python-sql-parameters/issues/9

.. _`Issue #8`: https://github.com/cpburnz/python-sqlparams/issues/8
.. _`Issue #9`: https://github.com/cpburnz/python-sqlparams/issues/9
.. _`python-sql-parameters`: https://github.com/cpburnz/python-sql-parameters
.. _`python-sqlparams`: https://github.com/cpburnz/python-sqlparams


4.0.0 (2022-06-06)
------------------

- Drop support for EOL Python 3.5.
- `Issue #10`_: When converting to 'format'/'pyformat' types, escape existing
'%' characters.
- When converting from 'format'/'pyformat' types, set `escape_char=True` to
unescape double '%' characters.
- `Issue #10`_: When converting to 'format'/'pyformat' types, escape existing '%' characters.
- When converting from 'format'/'pyformat' types, set `escape_char=True` to unescape double '%' characters.

.. _`Issue #10`: https://github.com/cpburnz/python-sql-parameters/issues/10
.. _`Issue #10`: https://github.com/cpburnz/python-sqlparams/issues/10



Expand All @@ -146,8 +150,8 @@ Change History
datetimes). Fixes `Issue #4`_.
- `Issue #7`_: Support dollar sign style for numeric and named parameters.

.. _`Issue #4`: https://github.com/cpburnz/python-sql-parameters/issues/4
.. _`Issue #7`: https://github.com/cpburnz/python-sql-parameters/issues/7
.. _`Issue #4`: https://github.com/cpburnz/python-sqlparams/issues/4
.. _`Issue #7`: https://github.com/cpburnz/python-sqlparams/issues/7


2.0.0 (2020-02-26)
Expand Down Expand Up @@ -186,7 +190,7 @@ Change History

- Fixed documentation for `issue 1`_.

.. _`issue 1`: https://github.com/cpburnz/python-sql-parameters/issues/1
.. _`issue 1`: https://github.com/cpburnz/python-sqlparams/issues/1


1.0.2 (2012-12-22)
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Expand Up @@ -32,9 +32,9 @@ readme = "README-dist.rst"
requires-python = ">=3.7"

[project.urls]
"Source Code" = "https://github.com/cpburnz/python-sql-parameters"
"Source Code" = "https://github.com/cpburnz/python-sqlparams"
"Documentation" = "https://python-sql-parameters.readthedocs.io/en/latest/index.html"
"Issue Tracker" = "https://github.com/cpburnz/python-sql-parameters/issues"
"Issue Tracker" = "https://github.com/cpburnz/python-sqlparams/issues"

[tool.setuptools]
packages = ["sqlparams"]
Expand Down
2 changes: 1 addition & 1 deletion sqlparams/_meta.py
Expand Up @@ -13,4 +13,4 @@
"sergey-shambir <https://github.com/sergey-shambir>",
]
__license__ = "MIT License"
__version__ = "5.0.0.dev1"
__version__ = "5.0.0"

0 comments on commit c858482

Please sign in to comment.