Skip to content

Releases: filipsnastins/tomodachi-testcontainers

0.10.1

06 Nov 08:59
3c27ace
Compare
Choose a tag to compare

0.10.1 (2023-11-06)

Bug fixes

  • (#95) import tomodachi_testcontainers.pytest was failing with ImportError because MySQL and PostgreSQL fixtures were not handled as optional imports.

What's Changed

Full Changelog: 0.10.0...0.10.1

0.10.0

05 Nov 15:20
5672f89
Compare
Choose a tag to compare

0.10.0 (2023-11-05)

New features

  • (#90) DockerContainer: added abstract method log_message_on_container_start which returns a string that is logged when the container starts. It's useful for providing an information message of how to use the test container. For example, in case of MotoContainer, it outputs a link to the Moto Dashboard.

  • (#90) clients.snssqs: added cache for storing topic/queue ARNs and URLs to reduce amount of API calls to AWS

  • (#90) clients.snssqs: added new methods for fetching topic/queue attributes:

    • get_topic_arn
    • get_topic_attributes
    • get_queue_arn
    • get_queue_url
    • get_queue_attributes
  • (#90) clients.snssqs: added purge_queue method

  • (#92) Added abstract DatabaseContainer and WebContainer

  • (#92) Added MySQLContainer

    • Install with:

        # DatabaseContainer and SQLAlchemy
        pip install tomodachi-testcontainers[db]
      
        # MySQLContainer, SQLAlchemy and pymysql
        pip install tomodachi-testcontainers[mysql]
  • (#94) Added PostgreSQLContainer

    • Install with:

        # DatabaseContainer and SQLAlchemy
        pip install tomodachi-testcontainers[db]
      
        # PostgreSQLContainer, SQLAlchemy and psycopg2
        pip install tomodachi-testcontainers[postgres]

Breaking changes

  • (#91) DockerContainer.restart_container method renamed to DockerContainer.restart

  • (#92) tomodachi_testcontainers.utils.wait_for_http_healthcheck moved to tomodachi_testcontainers.containers.common.web

What's Changed

Full Changelog: 0.9.0...0.10.0

0.9.0

03 Nov 12:15
2f4ef15
Compare
Choose a tag to compare

What's Changed

  • Breaking change: Rename tomodachi_image fixture to testcontainers_docker_image by @filipsnastins in #89

Full Changelog: 0.8.7...0.9.0

0.8.7

11 Oct 15:26
b5d548d
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.8.6...0.8.7

0.8.6

11 Oct 12:40
2ad195e
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.8.5...0.8.6

0.8.5

11 Oct 09:16
b227e4d
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.8.4...0.8.5

0.8.4

11 Oct 06:21
0a236cd
Compare
Choose a tag to compare

What's Changed

  • Bugfix: create download folder on SFTP container startup by @Hmart in #73

Full Changelog: 0.8.3...0.8.4

0.8.3

10 Oct 08:48
460da8f
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.8.2...0.8.3

0.8.2

10 Oct 08:05
f3905e2
Compare
Choose a tag to compare

What's Changed

  • Clarify SNSSQSTestClient.subscribe_to 'subscribe_attributes' argument name by @filipsnastins in #71
  • Add support for fifo queues and topics in subscribe function by @Hmart in #70

New Contributors

  • @Hmart made their first contribution in #70

Full Changelog: 0.8.1...0.8.2

0.8.1

02 Oct 12:03
0371c22
Compare
Choose a tag to compare

What's Changed

  • Fix: async probe to support synchronous function returning coroutine by @filipsnastins in #64

Full Changelog: 0.8.0...0.8.1