Skip to content

Commit 53e2a16

Browse files
committed
Info call changes and fixes
1 parent e65c07d commit 53e2a16

File tree

9 files changed

+262
-109
lines changed

9 files changed

+262
-109
lines changed

CHANGELOG.md

+24
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,30 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## [1.10.7] - 2024-12-15
8+
9+
### Changed
10+
11+
- Rename `DbClass` items to become more descriptive
12+
- Cleanup of Useless StmtInfoCode codes
13+
- Use new info codes in Statement
14+
15+
### Added
16+
17+
- `DatabaseInfoProvider3.supports` and `TransactionInfoProvider3.supports` functions.
18+
- `StatementInfoProvider` and use it in `Cursor.affected_rows` implementation.
19+
- Dataclasses `IpData` and `ImpDataOld`
20+
- Missing `ReqInfoCode` codes.
21+
- missing `encoding` and `errors` SPB config parameters.
22+
23+
### Fixed
24+
25+
- `DatabaseInfoProvider3.implementation` property.
26+
- Issue when wrong close is selected in class hierarchy.
27+
- Handling of `DbInfoCode.BASE_LEVEL`, `DbInfoCode.DB_FILE_SIZE`,
28+
`DbInfoCode.IMPLEMENTATION`, `DbInfoCode.IMPLEMENTATION_OLD`, `DbInfoCode.ACTIVE_TRANSACTIONS`,
29+
`DbInfoCode.LIMBO`, `DbInfoCode.PAGE_CONTENTS`, `DbInfoCode.USER_NAME`, `DbInfoCode.SQL_ROLE` codes
30+
731
## [1.10.6] - 2024-08-15
832

933
### Fixed

docs/changelog.txt

+17
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
22
Changelog
33
#########
44

5+
Version 1.10.7
6+
==============
7+
8+
- Change: Rename `.DbClass` items to become more descriptive
9+
- Change: Cleanup of Useless StmtInfoCode codes
10+
- Add: `.DatabaseInfoProvider3.supports` and `.TransactionInfoProvider3.supports` functions.
11+
- Add: `.StatementInfoProvider` and use it in `.Cursor.affected_rows` implementation.
12+
- Add: Dataclasses `.ImpData` and `.ImpDataOld`
13+
- Add: Missing `.ReqInfoCode` codes
14+
- Add: missing `encoding` and `errors` SPB config parameters.
15+
- Use new info codes in Statement
16+
- Fix: `.DatabaseInfoProvider3.implementation` property
17+
- Fix: issue when wrong close is selected in class hierarchy.
18+
- Fix: Handling of `.DbInfoCode.BASE_LEVEL`, `.DbInfoCode.DB_FILE_SIZE`,
19+
`.DbInfoCode.IMPLEMENTATION`, `.DbInfoCode.IMPLEMENTATION_OLD`, `.DbInfoCode.ACTIVE_TRANSACTIONS`,
20+
`.DbInfoCode.LIMBO`, `.DbInfoCode.PAGE_CONTENTS`, `.DbInfoCode.USER_NAME`, `.DbInfoCode.SQL_ROLE` codes
21+
522
Version 1.10.6
623
==============
724

docs/ref-core.txt

+2
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ Classes
9090
.. autoclass:: DatabaseInfoProvider
9191
.. autoclass:: TransactionInfoProvider3
9292
.. autoclass:: TransactionInfoProvider
93+
.. autoclass:: StatementInfoProvider3
94+
.. autoclass:: StatementInfoProvider
9395
.. autoclass:: ServerInfoProvider
9496
.. autoclass:: EventCollector
9597
.. autoclass:: EventBlock

docs/ref-types.txt

+8
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ Enums
117117
.. autoclass:: Features
118118
.. autoclass:: ReplicaMode
119119
.. autoclass:: StmtInfoCode
120+
.. autoclass:: ReqInfoCode
121+
.. autoclass:: ReqState
120122
.. autoclass:: TraInfoCode
121123
.. autoclass:: TraInfoIsolation
122124
.. autoclass:: TraInfoReadCommitted
@@ -200,6 +202,12 @@ Dataclasses
200202
.. autoclass:: TraceSession
201203
:no-members:
202204

205+
.. autoclass:: ImpData
206+
:no-members:
207+
208+
.. autoclass:: ImpDataOld
209+
:no-members:
210+
203211
Helper functions
204212
================
205213

pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.9",
2323
"Programming Language :: Python :: 3.10",
2424
"Programming Language :: Python :: 3.11",
25+
"Programming Language :: Python :: 3.12",
2526
"Operating System :: POSIX :: Linux",
2627
"Operating System :: Microsoft :: Windows",
2728
"Operating System :: MacOS",
@@ -76,7 +77,7 @@ cov = [
7677
version = "python --version"
7778

7879
[[tool.hatch.envs.test.matrix]]
79-
python = ["3.8", "3.9", "3.10", "3.11"]
80+
python = ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
8081

8182
[tool.hatch.envs.doc]
8283
detached = false

src/firebird/driver/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@
6161
Server, Statement)
6262

6363
#: Current driver version, SEMVER string.
64-
__VERSION__ = '1.10.6'
64+
__VERSION__ = '1.10.7'

0 commit comments

Comments
 (0)