Skip to content

Commit

Permalink
Merge pull request #9 from jowilf/release/0.1.1
Browse files Browse the repository at this point in the history
✨️ Release 0.1.1
  • Loading branch information
jowilf authored Sep 9, 2022
2 parents 4de95e2 + dbada00 commit 8392445
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 4 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.1.1] - 2022-09-09

---

### Added

- Add `ColorField` by @jowilf in https://github.com/jowilf/starlette-admin/pull/7
- AsyncEngine support for SQLAlchemy by @jowilf in https://github.com/jowilf/starlette-admin/pull/8


**Full Changelog**: https://github.com/jowilf/starlette-admin/compare/0.1.0...0.1.1
15 changes: 15 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.1.1] - 2022-09-09

---

### Added

- Add `ColorField` in [#7](https://github.com/jowilf/starlette-admin/pull/7)
- AsyncEngine support for SQLAlchemy in [#8](https://github.com/jowilf/starlette-admin/pull/8)
4 changes: 2 additions & 2 deletions docs/tutorial/configurations/modelview.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,8 @@ The pagination options in the list page can be configured. The available options
The template files are built using Jinja2 and can be completely overridden in the configurations. The pages available are:

* `list_template`: List view template. Default is `list.html`.
* `detail_template`: Details view template. Default is `details.html`.
* `create_template`: Edit view template. Default is `edit.html`.
* `detail_template`: Details view template. Default is `detail.html`.
* `create_template`: Edit view template. Default is `create.html`.
* `edit_template`: Edit view template. Default is `edit.html`.

!!! Example
Expand Down
4 changes: 4 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,13 @@ nav:
- Views: 'api/views.md'
- BaseAdmin: 'api/base-admin.md'
- AuthProvider: 'api/auth-provider.md'
- Changelog: 'changelog.md'


extra:
analytics:
provider: google
property: G-65T0Z8JY8D
social:
- icon: fontawesome/brands/github
link: https://github.com/jowilf
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "starlette-admin"
version = "0.1.0"
version = "0.1.1"
description = "Simple and extensible admin interface framework for Starlette/FastApi"
authors = ["Jocelin Hounon <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion starlette_admin/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.1.0"
__version__ = "0.1.1"

from starlette_admin.base import BaseAdmin
from starlette_admin.fields import *
Expand Down
2 changes: 2 additions & 0 deletions starlette_admin/contrib/sqla/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
)
from starlette.requests import Request
from starlette_admin import (
ColorField,
EmailField,
PhoneField,
RelationField,
Expand Down Expand Up @@ -312,6 +313,7 @@ def build_full_text_search_query(
EmailField,
URLField,
PhoneField,
ColorField,
]:
query["or"].append({field.name: {"contains": term}})
return build_query(query, model)
Expand Down

0 comments on commit 8392445

Please sign in to comment.