Skip to content

Commit f7a1dfc

Browse files
committed
Update Changelog & Improve examples
1 parent 9bbc57a commit f7a1dfc

File tree

9 files changed

+32
-6
lines changed

9 files changed

+32
-6
lines changed

CHANGELOG.md

+18-2
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,35 @@
11
# Changelog
2+
23
All notable changes to this project will be documented in this file.
34

4-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
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.4] - 2022-08-30
9+
10+
---
11+
12+
### Added
13+
14+
- Add `upload_storage` to the default information saved into the database. Before, `upload_storage` can be extracted
15+
from `path` attribute. Now you can access directly with `file['upload_storage']` by
16+
@jowilf https://github.com/jowilf/sqlalchemy-file/pull/11
17+
- Accept additional metadata from `File` object by @jowilf https://github.com/jowilf/sqlalchemy-file/pull/11
18+
- Add section [Upload File](https://jowilf.github.io/sqlalchemy-file/tutorial/using-files-in-models/#upload-file) to the
19+
documentation
620

721
## [0.1.3] - 2022-08-23
822

923
---
1024

1125
### Added
26+
1227
- Add `thumbnail_size` property to ImageField by @jowilf https://github.com/jowilf/sqlalchemy-file/pull/9
1328

1429
## [0.1.2] - 2022-08-11
1530

1631
---
1732

1833
### Added
34+
1935
- Add CHANGELOG.md

docs/changelog.md

+12
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.1.4] - 2022-08-30
8+
9+
---
10+
11+
### Added
12+
13+
- Add `upload_storage` to the default information saved into the database. Before, `upload_storage` can be extracted
14+
from `path` attribute. Now you can access directly with `file['upload_storage']` in [#11](https://github.com/jowilf/sqlalchemy-file/pull/11)
15+
- Accept additional metadata from `File` object in [#11](https://github.com/jowilf/sqlalchemy-file/pull/11)
16+
- Add section [Upload File](https://jowilf.github.io/sqlalchemy-file/tutorial/using-files-in-models/#upload-file) to the
17+
documentation
18+
719
## [0.1.3] - 2022-08-23
820

921
---

examples/fastapi/__init__.py

Whitespace-only changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

mkdocs.yml

-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ repo_name: jowilf/sqlalchemy-file
55
repo_url: https://github.com/jowilf/sqlalchemy-file
66
theme:
77
name: material
8-
icon:
9-
logo: material/file-cloud
108
palette:
119
- media: "(prefers-color-scheme: light)"
1210
scheme: default

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "sqlalchemy-file"
3-
version = "0.1.3"
3+
version = "0.1.4"
44
description = "SQLAlchemy-file is a SQLAlchemy extension for attaching files to SQLAlchemy model and uploading them to various storage."
55
authors = ["Jocelin Hounon <[email protected]>"]
66
license = "MIT"

sqlalchemy_file/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.1.3"
1+
__version__ = "0.1.4"
22

33
from .file import File as File
44
from .types import FileField as FileField

0 commit comments

Comments
 (0)