Skip to content

Commit 55337c7

Browse files
committed
chore: release
1 parent ccc7170 commit 55337c7

7 files changed

Lines changed: 12 additions & 12 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ license = "MIT"
1616
name = "litestar-start"
1717
readme = "README.md"
1818
requires-python = ">=3.13"
19-
version = "0.1.0a6"
19+
version = "0.1.0a7"
2020

2121
[project.scripts]
2222
litestar-start = "src.cli:main"

src/Litestar/Base/app/main.py.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ app = Litestar(
2929
openapi_config=OpenAPIConfig(
3030
title=settings.APP_NAME,
3131
version="0.1.0",
32-
path="/schema",
32+
path="/api",
3333
),
3434
debug=settings.DEBUG,
3535
{% if has_sqlalchemy %}

src/Litestar/Config/pyproject.toml.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ dependencies = [
1111
"sqlalchemy>=2.0.0",
1212
"advanced-alchemy>=0.31.0",
1313
{% if database.value == "PostgreSQL" %}
14-
"asyncpg>=0.30.0",
14+
"psycopg[binary,pool]>=3.3.2",
1515
{% elif database.value == "SQLite" %}
16-
"aiosqlite>=0.21.0",
16+
"aiosqlite>=0.22.1",
1717
{% elif database.value == "MySQL" %}
1818
"asyncmy>=0.2.10",
1919
{% endif %}

src/Litestar/Containers/docker-compose.infra.yml.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
{% if database.value == "PostgreSQL" %}
33
postgres:
4-
image: postgres:17-alpine
4+
image: postgres:18.1
55
container_name: {{ project_slug }}_postgres
66
environment:
77
POSTGRES_DB: mydb
@@ -22,7 +22,7 @@ volumes:
2222
postgres_data: {}
2323
{% elif database.value == "MySQL" %}
2424
mysql:
25-
image: mysql:8.0
25+
image: mysql:lts-oraclelinux9
2626
container_name: {{ project_slug }}_mysql
2727
environment:
2828
MYSQL_DATABASE: mydb

src/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"""Litestar Start - Interactive CLI to scaffold Litestar projects."""
22

3-
__version__ = "0.1.0a6"
3+
__version__ = "0.1.0a7"
44
__all__ = ["__version__"]

src/models.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ def for_database(cls, db: Database) -> DatabaseConfig | None:
8181
"""
8282
configs = {
8383
Database.POSTGRESQL: cls(
84-
driver="postgresql+asyncpg",
84+
driver="postgresql+psycopg",
8585
port=5432,
86-
default_url="postgresql+asyncpg://myuser:mypassword@localhost:5432/mydb",
87-
docker_image="postgres:17-alpine",
86+
default_url="postgresql+psycopg://myuser:mypassword@localhost:5432/mydb",
87+
docker_image="postgres:18.1",
8888
),
8989
Database.SQLITE: cls(
9090
driver="sqlite+aiosqlite",
@@ -96,7 +96,7 @@ def for_database(cls, db: Database) -> DatabaseConfig | None:
9696
driver="mysql+asyncmy",
9797
port=3306,
9898
default_url="mysql+asyncmy://myuser:mypassword@localhost:3306/mydb",
99-
docker_image="mysql:8.0",
99+
docker_image="mysql:lts-oraclelinux9",
100100
),
101101
}
102102
return configs.get(db)

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)