Skip to content

Latest commit

 

History

History
209 lines (180 loc) · 6.14 KB

CHANGELOG.rst

File metadata and controls

209 lines (180 loc) · 6.14 KB

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Added

  • Support for Python 3.12

0.5.0 - 2024-01-15

Added

  • Support for Python 3.10
  • Minimal events flag for reduced output

Fixed

  • Adjusted the prerequisites transformer to the Sep2022 stream. It is now incompatible with older versions of MonetDB server and will emit warnings.
  • A bug in the prerequisites transformer that would output every instruction as a prerequisite of itself.
  • Adjusted the key filters to the Sep2022 stream. They are now incompatible with older versions of MonetDB server and will emit warnings.

Removed

  • The obfuscation transformer now falls back to the masking transformer.
  • Support for Python 3.6.

0.4.2 - 2021-10-27

Fixed

  • A bug when reading from the server messages larger than one block, that would cause stethoscope to hang.

0.4.1 - 2021-10-25

Added

  • A switch --flush to instruct stethoscope to immediatelly flush the output stream.
  • A signal handler for SIGTERM that just exits with status code 0.

0.4.0 - 2021-06-25

Added

  • A --version option.
  • Switches for controlling logging: --verbose, --no-console and --log-file.
  • Support for Python 3.9.

Removed

  • Support for Python 3.5.

Fixed

  • The options --transformer (-t), --include-keys (-i) and --exclude-keys (-e) now require at least one argument, emitting an error if one is not provided.
  • A number of documentation bugs.
  • A bug in the statement transformer that rendered statements erroneously.
  • A bug in the the prerequisite transformer that would prevent the computation of prerequisites for subsequent queries after the first.

Changed

  • The name of the executable string from pystethoscope to stethoscope.
  • Made the usage string more clear about arguments to --include-keys and --exclude-keys being a space separated list and added a suggestion if a key is not found while containing the comma character.
  • Specifying the transformers statement or prereqs adds the corresponding keys to the included keys list.
  • Errors and warnings are now reported using the logging package from the python standard library.
  • The name of the python package from monetdb_pystethoscope to monetdb_stethoscope.

0.3.2 - 2021-04-26

Fixed

  • A type mismatch with pymonetdb when connecting to a non-default port.

0.3.1 - 2020-10-23

Changed

  • Added functionality to the new obfuscation method.

0.3.0 - 2020-09-30

Added

  • A github workflow to upload automatically to PyPI on tagging.
  • Help string and default value ([]) for the transformers option.
  • Help string and default value (raw) for the formatter option.
  • The option to provide input from a file (-I) or to connect to a database (-d).
  • A new obfuscation method (--transformer obfuscate). The old method has been renamed to mask: --transformer mask.
  • A boolean that distinguishes between development and production modes. In development certain exceptions get propagated.
  • Rudimentary handling for SIGINT: A friendlier message is shown.

Fixed

  • A reference to non existing arguments that prevented startup (#18).
  • A data leak under the obfuscation transformer when exceptions happened.
  • A data leak under the obfuscation transformer of UUIDs.

Changed

  • Formatters now return strings instead of printing them. Printing happens on the main loop.
  • The JSON formatter is now the default.

0.2.0 - 2020-07-22

Added

  • monetdb_pystethoscope.api module that gathers all the public API.
  • The docstrings to the documentation.

Removed

  • Dependency on click.

0.1.3 - 2020-05-25

Fixed

  • A bug in the statement constructor (#13)

Added

  • An API for connecting to the MonetDB server profiler. This should be backported to pymonetdb in the future.
  • Some more tests
  • Coverage reports

0.1.2 - 2020-05-15

Added

  • Version command line option
  • Support for Python 3.5
  • bump2version support

0.1.1 - 2020-05-14

Removed

  • Unneeded dependency to funcy.

0.1.0 - 2020-05-14

Added

  • pystethoscope tool with the following features:

    Transformers
    • statement
    • prereqs
    • obfuscate
    • identity
    • dummy
    • include-keys
    • exclude-keys
    Formatters
    • json
    • json_pretty
    • raw
    Predefined pipelines
    • raw