Skip to content

Commit

Permalink
changelog, postgres_image values
Browse files Browse the repository at this point in the history
  • Loading branch information
droserasprout committed Jan 28, 2025
1 parent 8c81248 commit 30e0cc2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ Releases prior to 7.0 has been removed from this file to declutter search result

## [Unreleased]

### Changed

- project: Set default PostgreSQL password and Hasura secret (both are `changeme`) for new projects.
- project: Use PostgreSQL 16 image for new projects.

### Deprecated

- package: DipDup packages are expected to have `pyproject.toml` and `dipdup.yaml` files in the root directory. This will become a requirement in 9.0.
Expand Down
3 changes: 3 additions & 0 deletions docs/9.release-notes/_8.0_changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@
- deps: Python 3.12 is now required to run DipDup.
- performance: All time intervals are now measured in seconds.
- performance: Several metrics have been renamed and new ones have been added.
- project: Set default PostgreSQL password and Hasura secret (both are `changeme`) for new projects.
- project: Use PostgreSQL 16 image for new projects.

### Deprecated

Expand All @@ -89,4 +91,5 @@
- deps: `sentry-sdk` updated to 2.1.
- deps: `tortoise-orm` updated to 0.20.1.
- deps: `tortoise-orm` updated to 0.21.2.
- deps: `tortoise-orm` updated to 0.24.0.
- deps: `web3` updated to 6.18.
6 changes: 3 additions & 3 deletions src/dipdup/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,9 @@ def answers_from_terminal(template: str | None) -> Answers:
_, answers['postgres_image'] = prompt_anyof(
question='Choose PostgreSQL version. Try TimescaleDB when working with time series.',
options=(
'postgres:15',
'timescale/timescaledb:latest-pg15',
'timescale/timescaledb-ha:pg15',
'postgres:16',
'timescale/timescaledb:latest-pg16',
'timescale/timescaledb-ha:pg16',
),
comments=(
'PostgreSQL',
Expand Down

0 comments on commit 30e0cc2

Please sign in to comment.