Skip to content

Commit 8392445

Browse files
authored
Merge pull request #9 from jowilf/release/0.1.1
✨️ Release 0.1.1
2 parents 4de95e2 + dbada00 commit 8392445

File tree

7 files changed

+43
-4
lines changed

7 files changed

+43
-4
lines changed

CHANGELOG.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres
6+
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [0.1.1] - 2022-09-09
9+
10+
---
11+
12+
### Added
13+
14+
- Add `ColorField` by @jowilf in https://github.com/jowilf/starlette-admin/pull/7
15+
- AsyncEngine support for SQLAlchemy by @jowilf in https://github.com/jowilf/starlette-admin/pull/8
16+
17+
18+
**Full Changelog**: https://github.com/jowilf/starlette-admin/compare/0.1.0...0.1.1

docs/changelog.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres
6+
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [0.1.1] - 2022-09-09
9+
10+
---
11+
12+
### Added
13+
14+
- Add `ColorField` in [#7](https://github.com/jowilf/starlette-admin/pull/7)
15+
- AsyncEngine support for SQLAlchemy in [#8](https://github.com/jowilf/starlette-admin/pull/8)

docs/tutorial/configurations/modelview.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,8 @@ The pagination options in the list page can be configured. The available options
208208
The template files are built using Jinja2 and can be completely overridden in the configurations. The pages available are:
209209

210210
* `list_template`: List view template. Default is `list.html`.
211-
* `detail_template`: Details view template. Default is `details.html`.
212-
* `create_template`: Edit view template. Default is `edit.html`.
211+
* `detail_template`: Details view template. Default is `detail.html`.
212+
* `create_template`: Edit view template. Default is `create.html`.
213213
* `edit_template`: Edit view template. Default is `edit.html`.
214214

215215
!!! Example

mkdocs.yml

+4
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,13 @@ nav:
6666
- Views: 'api/views.md'
6767
- BaseAdmin: 'api/base-admin.md'
6868
- AuthProvider: 'api/auth-provider.md'
69+
- Changelog: 'changelog.md'
6970

7071

7172
extra:
73+
analytics:
74+
provider: google
75+
property: G-65T0Z8JY8D
7276
social:
7377
- icon: fontawesome/brands/github
7478
link: https://github.com/jowilf

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "starlette-admin"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
description = "Simple and extensible admin interface framework for Starlette/FastApi"
55
authors = ["Jocelin Hounon <hounonj@gmail.com>"]
66
license = "MIT"

starlette_admin/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.1.0"
1+
__version__ = "0.1.1"
22

33
from starlette_admin.base import BaseAdmin
44
from starlette_admin.fields import *

starlette_admin/contrib/sqla/view.py

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
)
1212
from starlette.requests import Request
1313
from starlette_admin import (
14+
ColorField,
1415
EmailField,
1516
PhoneField,
1617
RelationField,
@@ -312,6 +313,7 @@ def build_full_text_search_query(
312313
EmailField,
313314
URLField,
314315
PhoneField,
316+
ColorField,
315317
]:
316318
query["or"].append({field.name: {"contains": term}})
317319
return build_query(query, model)

0 commit comments

Comments
 (0)