Releases: filipsnastins/tomodachi-testcontainers
0.10.1
0.10.1 (2023-11-06)
Bug fixes
- (#95)
import tomodachi_testcontainers.pytest
was failing withImportError
becauseMySQL
andPostgreSQL
fixtures were not handled as optional imports.
What's Changed
- chore(deps-dev): bump pre-commit from 3.4.0 to 3.5.0 by @dependabot in #78
- chore(deps-dev): bump mypy from 1.6.0 to 1.6.1 by @dependabot in #79
- chore(deps-dev): bump black from 23.9.1 to 23.10.1 by @dependabot in #86
- chore(deps-dev): bump ruff from 0.0.291 to 0.1.4 by @dependabot in #93
- 🐛 MySQL and PostgreSQL are optional imports by @filipsnastins in #95
Full Changelog: 0.10.0...0.10.1
0.10.0
0.10.0 (2023-11-05)
New features
-
(#90)
DockerContainer
: added abstract methodlog_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 ofMotoContainer
, 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
: addedpurge_queue
method -
(#92) Added abstract
DatabaseContainer
andWebContainer
-
(#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 toDockerContainer.restart
-
(#92)
tomodachi_testcontainers.utils.wait_for_http_healthcheck
moved totomodachi_testcontainers.containers.common.web
What's Changed
- Log message on container start by @filipsnastins in #90
- clients.snssqs refactorings by @filipsnastins in #91
- MySQL container by @filipsnastins in #92
- PostgreSQL container by @filipsnastins in #94
Full Changelog: 0.9.0...0.10.0
0.9.0
What's Changed
- Breaking change: Rename
tomodachi_image
fixture totestcontainers_docker_image
by @filipsnastins in #89
Full Changelog: 0.8.7...0.9.0
0.8.7
What's Changed
- SNSSQSTestClient: explicit protobuf message type check by @filipsnastins in #77
Full Changelog: 0.8.6...0.8.7
0.8.6
0.8.5
What's Changed
- Forward container logs on startup failure by @filipsnastins in #74
Full Changelog: 0.8.4...0.8.5
0.8.4
What's Changed
Full Changelog: 0.8.3...0.8.4
0.8.3
What's Changed
- SFTP container - add download dir by @filipsnastins in #72
Full Changelog: 0.8.2...0.8.3
0.8.2
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
Full Changelog: 0.8.1...0.8.2
0.8.1
What's Changed
- Fix: async probe to support synchronous function returning coroutine by @filipsnastins in #64
Full Changelog: 0.8.0...0.8.1