2022-02-24 19:18:17 +01:00
|
|
|
#########
|
|
|
|
Changelog
|
|
|
|
#########
|
|
|
|
|
2022-06-19 15:50:08 +02:00
|
|
|
.. currentmodule:: firebird.qa.plugin
|
|
|
|
|
2024-05-09 16:23:00 +02:00
|
|
|
Version 0.20.0
|
|
|
|
==============
|
|
|
|
|
|
|
|
* New `.existing_db_factory` firxture to directly use database from `databases` subdirectory.
|
|
|
|
It's not intended for use in Firebird QA, but it's necessary for other plugin
|
|
|
|
users.
|
|
|
|
* Fix: Report test error also in cases when unexpected stderr is returned from tool execution
|
|
|
|
while `returncode` is zero.
|
|
|
|
* Fix: Select test marked for current platform also when it's not marked for Firebird version.
|
|
|
|
|
|
|
|
|
2024-03-21 10:01:30 +01:00
|
|
|
Version 0.19.3
|
|
|
|
==============
|
|
|
|
|
|
|
|
* Fixed problem with ndiff in assert.
|
|
|
|
|
2024-02-20 16:45:27 +01:00
|
|
|
Version 0.19.2
|
|
|
|
==============
|
|
|
|
|
|
|
|
* Remove fix for `#21 <https://github.com/FirebirdSQL/firebird-qa/issues/21>`_. The error
|
|
|
|
was not caused by pytest 8.0, but by `Error` exception from `firebird-base` package that
|
|
|
|
masked the absence of `__notes__` attribute from `pytest`. Dependency to pytest reverted
|
|
|
|
to `>=7.4`.
|
|
|
|
* Updated documentation.
|
2024-02-09 16:21:05 +01:00
|
|
|
|
|
|
|
Version 0.19.1
|
|
|
|
==============
|
|
|
|
|
|
|
|
* Fix for `#21 <https://github.com/FirebirdSQL/firebird-qa/issues/21>`_. Dependency to pytest
|
|
|
|
changed from `>=8.0.0` to `~=7.4`. Other dependecies changed from `>=` to `~=`.
|
|
|
|
|
2024-02-08 17:03:56 +01:00
|
|
|
Version 0.19.0
|
|
|
|
==============
|
|
|
|
|
|
|
|
* Switch from `setuptools` to `hatch`.
|
|
|
|
* Updated dependencies.
|
|
|
|
|
2023-02-14 16:20:50 +01:00
|
|
|
Version 0.18.0
|
|
|
|
==============
|
|
|
|
|
|
|
|
* Added cache for empty databases. This works transparently and does not require any
|
|
|
|
special configuration. Databases are stored in `dbcache` subdirectory (created automatically)
|
|
|
|
for combination of ODS + page size + SQL dialect + character set.
|
|
|
|
|
|
|
|
Files in `dbcache` directory could be removed as needed (including whole directory)
|
|
|
|
to fore creation of new database.
|
|
|
|
|
|
|
|
Cache is enabled by default. Use new --disable-db-cache option to disable it.
|
|
|
|
|
2023-02-14 14:57:46 +01:00
|
|
|
Version 0.17.3
|
|
|
|
==============
|
|
|
|
|
2024-02-08 17:03:56 +01:00
|
|
|
* Added `--driver-config` option to specify different filename for driver configuration.
|
2023-02-14 14:57:46 +01:00
|
|
|
|
2023-01-17 18:16:13 +01:00
|
|
|
Version 0.17.2
|
|
|
|
==============
|
|
|
|
|
|
|
|
* Trace session support in plugin now uses service query with timeout (provided by
|
|
|
|
firebird-driver 1.8.0) and terminates the trace thread gracefuly even if terminating
|
|
|
|
trace session fails.
|
|
|
|
|
2022-11-21 11:51:30 +01:00
|
|
|
Version 0.17.1
|
|
|
|
==============
|
|
|
|
|
|
|
|
* When database initialization script fails, the XML output is extended with `dbinit-stderr`
|
|
|
|
property that contains `stderr` output with errors reported by ISQL.
|
|
|
|
|
2022-06-30 17:37:21 +02:00
|
|
|
Version 0.17.0
|
|
|
|
==============
|
|
|
|
|
|
|
|
* Variable `test_cfg` renamed to `.QA_GLOBALS`.
|
|
|
|
* Added `.Mapping` and `.mapping_factory`.
|
|
|
|
|
2022-06-19 15:50:08 +02:00
|
|
|
Version 0.16.0
|
|
|
|
==============
|
|
|
|
|
|
|
|
* Added support for configuration of tests. A `~configparser.ConfigParser` instance is
|
2022-06-30 17:37:21 +02:00
|
|
|
available as `test_cfg`. This instance is initialized with values from file `test_config.ini`
|
2022-06-19 15:50:08 +02:00
|
|
|
located in `files` subdirectory.
|
|
|
|
|
2022-06-13 20:14:47 +02:00
|
|
|
Version 0.15.2
|
|
|
|
==============
|
|
|
|
|
|
|
|
* Fix problem with database init script. Now it uses the database charset instead default
|
|
|
|
UTF8. The UTF8 is used only when database charset is not specified.
|
|
|
|
|
2022-06-08 12:57:40 +02:00
|
|
|
Version 0.15.1
|
|
|
|
==============
|
|
|
|
|
|
|
|
* Package `psutil` is now a dependency, installed automatically with plugin.
|
|
|
|
* Added `encryption` marker to mark test as requiring the encryption plugin
|
|
|
|
|
2022-06-05 18:08:54 +02:00
|
|
|
Version 0.15.0
|
|
|
|
==============
|
|
|
|
|
|
|
|
* To simplify portable use of databases with special configuration via `databases.conf`,
|
|
|
|
the plugin initialization now ensures empty subdirectory `QA` in Firebird sample directory.
|
|
|
|
To define your test databases in `databases.conf`, use next pattern::
|
|
|
|
|
|
|
|
my_db = $(dir_sampleDB)/QA/my-db.fdb
|
|
|
|
{
|
|
|
|
...
|
|
|
|
}
|
|
|
|
|
|
|
|
On plugin initialization, the `QA` sub-directory is first emptied and removed, and then
|
|
|
|
newly created. On non-Windows, full privileges are granted.
|
|
|
|
|
|
|
|
* Added possibility to use databases aliases. The `.db_factory()` parameter `filename` is
|
|
|
|
now handled as database alias if it starts with `#`, for example `#employee` means alias
|
|
|
|
`employee`. The alias must be defined in `databases.conf` file.
|
|
|
|
|
|
|
|
When filename is an alias, the `.Database.db_path` property does not contain
|
|
|
|
full `~pathlib.Path` to the database, but this database alias.
|
|
|
|
|
2022-05-12 21:59:29 +02:00
|
|
|
Version 0.14.0
|
|
|
|
==============
|
|
|
|
|
|
|
|
* Added possibility to specify user, password and role in `.Action.connect_server()` and
|
|
|
|
`.Action.trace()`
|
|
|
|
|
|
|
|
Version 0.13.1
|
|
|
|
==============
|
|
|
|
|
|
|
|
* Fixed problem with service encoding
|
|
|
|
* Fixed problem with tags in User
|
|
|
|
|
2022-04-19 12:00:38 +02:00
|
|
|
Version 0.13.0
|
|
|
|
==============
|
|
|
|
|
|
|
|
* Explicit `Optional` typing.
|
|
|
|
* Added support for both `encoding` and `encoding_errors` in `.Action.connect_server()`
|
|
|
|
and `.Action.trace()`.
|
|
|
|
|
2022-02-24 19:18:17 +01:00
|
|
|
Version 0.12.1
|
|
|
|
==============
|
|
|
|
|
|
|
|
Initial release.
|