New features:
- Pull #13: ADD SQL Server style named parameter.
New features:
Improvements:
- Support Python 3.13.
- Fix documentation.
- Dropped support of EOL Python 3.7.
- Support Python 3.12.
Improvements:
- Support LiteralString.
- 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 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.
- 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.
- Major changes to internal implementation.
- Support converting any parameter style to any parameter style (all named, numeric, and ordinal styles).
- Renamed attribute named to in_style on sqlparams.SQLParams.
- Renamed attribute ordinal to out_style on sqlparams.SQLParams.
- Removed attributes match and replace from sqlparams.SQLParams which should have been private.
- Named parameters must now be valid identifiers (can no longer start with a digit to help prevent incorrectly matching common strings such as datetimes). Fixes Issue #4.
- Issue #7: Support dollar sign style for numeric and named parameters.
- Drop support for EOL Python 2.7, 3.2, 3.3, 3.4.
- Require setuptools.
- Support up to Python 3.8.
- Improved support for byte strings.
- Fixed support for byte strings.
- Support Python 3.2+.
- Fixed documentation for issue 1.
- Added sphinx documentation.
- Fixed running test as a script.
- Initial release.