Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago committed Aug 30, 2024
1 parent 2324fb6 commit 6b7ebcc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).

Note: Minor version `0.X.0` update might break the API, It's recommended to pin `tipg` to minor version: `tipg>=0.1,<0.2`

## Unreleased

* add `TIPG_SORT_COLUMNS` settings to enable/disable columns sorting (default to `True`) (author @mattdiez-at, https://github.com/developmentseed/tipg/pull/187)

## [0.7.2] - 2024-08-27

* move back to `fastapi` dependency
Expand Down Expand Up @@ -310,7 +314,7 @@ Note: Minor version `0.X.0` update might break the API, It's recommended to pin
- Initial release

[unreleased]: https://github.com/developmentseed/tipg/compare/0.7.2...HEAD
[0.7.1]: https://github.com/developmentseed/tipg/compare/0.7.1...0.7.2
[0.7.2]: https://github.com/developmentseed/tipg/compare/0.7.1...0.7.2
[0.7.1]: https://github.com/developmentseed/tipg/compare/0.7.0...0.7.1
[0.7.0]: https://github.com/developmentseed/tipg/compare/0.6.3...0.7.0
[0.6.3]: https://github.com/developmentseed/tipg/compare/0.6.2...0.6.3
Expand Down
4 changes: 3 additions & 1 deletion tipg/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ class PostgresSettings(BaseSettings):

# https://github.com/tiangolo/full-stack-fastapi-postgresql/blob/master/%7B%7Bcookiecutter.project_slug%7D%7D/backend/app/app/core/config.py#L42
@field_validator("database_url", mode="before")
def assemble_db_connection(cls, v: Optional[str], info: ValidationInfo) -> PostgresDsn:
def assemble_db_connection(
cls, v: Optional[str], info: ValidationInfo
) -> PostgresDsn:
"""Validate db url settings."""
if isinstance(v, str):
return PostgresDsn(v)
Expand Down

0 comments on commit 6b7ebcc

Please sign in to comment.