Skip to content

Releases: Bilbottom/db-query-profiler

v0.0.6

03 Apr 16:45
0d9cf2e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.5...v0.0.6

v0.0.5

04 Nov 10:39
b96b31e
Compare
Choose a tag to compare

v0.0.5 (2023.11.04)

This adds a release workflow to publish the package to PyPI.


Full Changelog

v0.0.4

30 Sep 15:09
Compare
Choose a tag to compare

v0.0.4 (2023.09.30)

This release has been tested on Windows, macOS, and ubuntu for Python 3.7 to 3.11.

As with v0.0.3, breaking changes should be expected in a future release so don't import from any sub-modules and use keyword arguments liberally. A quick-start template is below:

# pip install git+https://github.com/Bilbottom/[email protected]
import db_query_profiler


def main() -> None:
    db_conn = ...  # TODO: Create your database connection
    db_query_profiler.time_queries(
        conn=db_conn,
        repeat=5,
        directory="queries"  # TODO: Link your directory
    )


if __name__ == "__main__":
    main()

What's Changed

  • Added and improved the unit tests
  • Made the database protocol more flexible (which may be reverted later)

Full Changelog

v0.0.3

10 Sep 21:13
80406e2
Compare
Choose a tag to compare

v0.0.3 (2023.09.10)

This release has been tested on Windows, macOS, and ubuntu for Python 3.7 to 3.11.

As with v0.0.2, breaking changes should be expected in a future release so don't import from any sub-modules and use keyword arguments liberally. A quick-start template is below:

# pip install git+https://github.com/Bilbottom/[email protected]
import db_query_profiler


def main() -> None:
    db_conn = ...  # TODO: Create your database connection
    db_query_profiler.time_queries(
        conn=db_conn,
        repeat=5,
        directory="queries"  # TODO: Link your directory
    )


if __name__ == "__main__":
    main()

What's Changed

  • Significantly update the pre-commit config
  • Fail pytest if the coverage is too low
  • Add conditional imports and fiddle with protocol method types

Full Changelog

v0.0.2

19 Aug 17:04
6f6858a
Compare
Choose a tag to compare

v0.0.2 (2023.08.19)

This release has been tested on Windows, macOS, and ubuntu for Python 3.7 to 3.11.

As with v0.0.1, breaking changes should be expected in a future release so don't import from any sub-modules and use keyword arguments liberally. A quick-start template is below:

# pip install git+https://github.com/Bilbottom/[email protected]
import db_query_profiler


def main() -> None:
    db_conn = ...  # TODO: Create your database connection
    db_query_profiler.time_queries(
        conn=db_conn,
        repeat=5,
        directory="queries"  # TODO: Link your directory
    )


if __name__ == "__main__":
    main()

What's Changed

  • Add more unit tests, and tests on macOS and Ubuntu
  • Clarify time interval (seconds) in docstrings and stdout
  • Update scope, grammar, and typos
  • Add extra hooks to pre-commit
  • Adjust the flexibility of the requirements
  • Switch to Poetry for package management and deployment

Full Changelog

v0.0.1

08 May 07:52
644a3fe
Compare
Choose a tag to compare

Initial release for the public 🎉

This release has been tested on Windows and macOS for Python 3.7 to 3.11.

Breaking changes should be expected in a future release, so don't import from any sub-modules and use keyword arguments liberally. A quick-start template is below:

# pip install git+https://github.com/Bilbottom/[email protected]
import db_query_profiler


def main() -> None:
    db_conn = ...  # TODO: Create your database connection
    db_query_profiler.time_queries(
        conn=db_conn,
        repeat=5,
        directory="queries"  # TODO: Link your directory
    )


if __name__ == "__main__":
    main()

Full Changelog