Skip to content

Commit be55129

Browse files
authored
RELEASE: 1.3.0 (#419)
### Work Item / Issue Reference <!-- IMPORTANT: Please follow the PR template guidelines below. For mssql-python maintainers: Insert your ADO Work Item ID below For external contributors: Insert Github Issue number below Only one reference is required - either GitHub issue OR ADO Work Item. --> <!-- mssql-python maintainers: ADO Work Item --> > [AB#41886](https://sqlclientdrivers.visualstudio.com/c6d89619-62de-46a0-8b46-70b92a84d85e/_workitems/edit/41886) <!-- External contributors: GitHub Issue --> > GitHub Issue: #<ISSUE_NUMBER> ------------------------------------------------------------------- ### Summary <!-- Insert your summary of changes below. Minimum 10 characters required. --> This pull request updates the package to version 1.3.0 and revises the release notes to reflect the latest changes. The most significant update is a bug fix addressing a segmentation fault in the underlying driver. Version bump and documentation: * Updated the package version to `1.3.0` in both `mssql_python/__init__.py` and `setup.py`, ensuring consistency across the codebase and distribution metadata. [[1]](diffhunk://#diff-d95f3a67986de29f30453416b1b4c34e6a43207e9a33e2b1b80ef0c378b0a538L18-R18) [[2]](diffhunk://#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7L99-R99) * Revised the release notes in `PyPI_Description.md` to document the new version, removing previous entries and highlighting the segmentation fault fix in `libmsodbcsql-18.5` during `SQLFreeHandle()`. <!-- ### PR Title Guide > For feature requests FEAT: (short-description) > For non-feature requests like test case updates, config updates , dependency updates etc CHORE: (short-description) > For Fix requests FIX: (short-description) > For doc update requests DOC: (short-description) > For Formatting, indentation, or styling update STYLE: (short-description) > For Refactor, without any feature changes REFACTOR: (short-description) > For release related changes, without any feature changes RELEASE: #<RELEASE_VERSION> (short-description) ### Contribution Guidelines External contributors: - Create a GitHub issue first: https://github.com/microsoft/mssql-python/issues/new - Link the GitHub issue in the "GitHub Issue" section above - Follow the PR title format and provide a meaningful summary mssql-python maintainers: - Create an ADO Work Item following internal processes - Link the ADO Work Item in the "ADO Work Item" section above - Follow the PR title format and provide a meaningful summary -->
1 parent f229052 commit be55129

File tree

3 files changed

+4
-20
lines changed

3 files changed

+4
-20
lines changed

PyPI_Description.md

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -35,27 +35,11 @@ PyBind11 provides:
3535
- Memory-safe bindings
3636
- Clean and Pythonic API, while performance-critical logic remains in robust, maintainable C++.
3737

38-
## What's new in v1.2.0
39-
40-
### Enhancements
41-
42-
- **Connection.closed Property** - Added `Connection.closed` property to check if a connection is closed, improving connection state management.
43-
44-
- **Parameter as Dictionary** - Added support for passing parameters as dictionaries, providing more flexible query parameterization.
45-
46-
- **Copilot Prompts** - Introduced Copilot prompts for AI-assisted development, enhancing developer productivity.
38+
## What's new in v1.3.0
4739

4840
### Bug Fixes
4941

50-
- **FetchMany with LOB Columns** - Fixed `fetchmany(n)` ignoring batch size when working with LOB (Large Object) columns.
51-
52-
- **Non-ASCII Path Resolution** - Fixed path resolution for files with non-ASCII characters on Windows.
53-
54-
### CI/Infrastructure
55-
56-
- **SQL Server 2025 Test Support** - Added support for testing against SQL Server 2025 across Windows, macOS, and Linux CI pipelines, ensuring driver compatibility with the upcoming SQL Server release.
57-
58-
- **Forked PR Coverage Workflow** - Implemented coverage comment workflow for pull requests from forked repositories, improving the contribution experience for external contributors.
42+
- **Segmentation Fault Fix** - Fixed segmentation fault in libmsodbcsql-18.5 during SQLFreeHandle() (#415).
5943

6044
For more information, please visit the project link on Github: https://github.com/microsoft/mssql-python
6145

mssql_python/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from .helpers import Settings, get_settings, _settings, _settings_lock
1616

1717
# Driver version
18-
__version__ = "1.2.0"
18+
__version__ = "1.3.0"
1919

2020
# Exceptions
2121
# https://www.python.org/dev/peps/pep-0249/#exceptions

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def finalize_options(self):
9696

9797
setup(
9898
name="mssql-python",
99-
version="1.2.0",
99+
version="1.3.0",
100100
description="A Python library for interacting with Microsoft SQL Server",
101101
long_description=open("PyPI_Description.md", encoding="utf-8").read(),
102102
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)