22Changelog
33#########
44
5+ Version 1.3.0
6+ =============
7+
8+ * Fix (#4): exeption returns non ascii-127 symbols.
9+ The error message decode uses `.fbapi.err_encoding` value that is initialized to
10+ `locale.getpreferredencoding`. Also, the decode is now done with `errors="replace"`.
11+ * Fix unregistered bug: wrong handling of milliseconds in TIME and TEMEPSTAMP datatype.
12+ * Sync _VERSION_ value with package version
13+ * Fix unregistered bug: Do not raise exception if accessed `.Statement.plan` is `None`.
14+ * Fix unregistered bug: `.get_statistics()` does not send `tables` correctly.
15+ * Fix annotations.
16+ * `.ServerTraceServices` methods now have return values.
17+ * User name added to `.TraceSession`.
18+ * Fix unregistered bug: `auth_plugin_list` configuration option is ignored
19+ * All methods of `.ServerDbServices3` except 3 related to limbo transactions have new
20+ optional keyword-only parameter `role` that is passed to called utility.
21+ * Function `.connect_server()` has new optional keyword-only parameter `expected_db`,
22+ to access services with non-default security database.
23+
24+ * Improved Firebird 4 support.
25+
26+ - Version-specific classes introduced. Internal classes `.DatabaseInfoProvider`,
27+ `.TransactionInfoProvider` and `.ServerDbServices` now implement only Firebird 4 features
28+ and descend from Firebird 3 versions. The proper variant is returned according to
29+ connected server.
30+ - New `.DatabaseConfig` options `session_time_zone`, `set_bind`, `decfloat_round` and
31+ `decfloat_traps`.
32+ - New `.DPB` parameters `session_time_zone`, `set_db_replica`, `set_bind`, `decfloat_round`
33+ and `decfloat_traps`.
34+ - New `session_time_zone` keyword parameter for `.connect()`.
35+ - Added explicit support for READ COMMITTED READ CONSISTENCY isolation (when disabled in
36+ Firebird configuration).
37+ - Support for transactions started at specified snapshot number.
38+ New `.TransactionInfoProvider.snapshot_number` property.
39+ The `.TPB` has new `at_snapshot_number` parameter.
40+ - `.backup()` and `.local_backup()` have new optional keyword-only arguments
41+ `include_data`, `keyhoder`, `keyname` and `crypt`, and `ZIP` value was added to `SrvBackupFlag`.
42+ - `.restore()` and `.local_restore()` have new optional keyword-only
43+ arguments `include_data`, `keyhoder`, `keyname`, `crypt` and `replica_mode`.
44+ - `.nbackup()` has new optional keyword-only parameter `guid`.
45+ - Support for new services.
46+ New methods `.ServerDbServices.nfix_database()` and `.set_replica_mode()`.
47+ - Support for `.Statement.timeout`, and `idle_timeout` and `statement_timeout` in `.Connection.info`.
48+ - New types: `.Features`, `.ReplicaMode`, `.CancelType`, `.DecfloatRound`, `.DecfloatTraps`,
49+ `.ConnectionFlag` and `.EncryptionFlag`. Firebird 4-related values added to some other
50+ enum types.
51+
552Version 1.2.1
653=============
754
@@ -10,9 +57,9 @@ Version 1.2.1
1057Version 1.2.0
1158=============
1259
13- * Fix unregistered bug: `sql_dialect` is used instead `db_sql_dialect` in `create_database`.
60+ * Fix unregistered bug: `sql_dialect` is used instead `db_sql_dialect` in `. create_database`.
1461* Fix (#2): error when handling input parameters with value None
15- * Added `Server.mode` attribute to allow fetching service output using LINE or TO_EOF method.
62+ * Added `. Server.mode` attribute to allow fetching service output using LINE or TO_EOF method.
1663 Default mode is TO_EOF.
1764
1865Version 1.1.0
0 commit comments