Skip to content

Commit 400ed2e

Browse files
committed
update changelog
1 parent 0183944 commit 400ed2e

File tree

1 file changed

+82
-79
lines changed

1 file changed

+82
-79
lines changed

CHANGELOG.md

Lines changed: 82 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -5,106 +5,109 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## Unreleased
9-
10-
- Fixed `template` attribute with the `view` template renderer
11-
- Added the `context` decorator and the `Context` type
12-
- Added the `headers` parameter to functions on `TestingContext`
13-
- Modified some behavior of automatic route inputs
14-
- Fixed syntax errors in `view init`
15-
- Added `Route.middleware`
16-
- Routes with equivalent paths but different methods now return `405 Method Not Allowed` when accessed
17-
- Added `route` and `App.route`
18-
- Added docstrings to router functions
19-
- Added the `JSON` response class
20-
- Added the `custom` body translate strategy
21-
- Made `method` a keyword-only parameter in `path`
22-
- Added the `extract_path` utility
23-
- Added the `view build` command
24-
- Added `App.template`
25-
- Route errors now display the error message when `dev` is `True`
26-
- Changed exception rendering in route errors to use the `rich` renderer
27-
- Added `compile_type` and `TCValidator`
28-
- Added `markdown` and `App.markdown`
29-
- Added the `Error` class
30-
- Added the `error_class` parameter to both `new_app` and `App`
31-
- Added the `ERROR_CODES` constant
32-
- **Breaking Change:** The `body` parameter in `Response` is now required
8+
## [1.0.0-alpha9] - 2024-2-4
9+
10+
- Fixed `template` attribute with the `view` template renderer
11+
- Added the `context` decorator and the `Context` type
12+
- Added the `headers` parameter to functions on `TestingContext`
13+
- Modified some behavior of automatic route inputs
14+
- Fixed syntax errors in `view init`
15+
- Added `Route.middleware`
16+
- Routes with equivalent paths but different methods now return `405 Method Not Allowed` when accessed
17+
- Added `route` and `App.route`
18+
- Added docstrings to router functions
19+
- Added the `JSON` response class
20+
- Added the `custom` body translate strategy
21+
- Made `method` a keyword-only parameter in `path`
22+
- Added the `extract_path` utility
23+
- Added the `view build` command
24+
- Added `App.template`
25+
- Route errors now display the error message when `dev` is `True`
26+
- Changed exception rendering in route errors to use the `rich` renderer
27+
- Added `compile_type` and `TCValidator`
28+
- Added `markdown` and `App.markdown`
29+
- Added the `Error` class
30+
- Added the `error_class` parameter to both `new_app` and `App`
31+
- Added the `ERROR_CODES` constant
32+
- Completely rewrote docs
33+
- **Breaking Change:** The `body` parameter in `Response` is now required
3334

3435
## [1.0.0-alpha8] - 2024-1-21
3536

36-
- Added optional dependencies for `databases` and `templates`
37-
- Added environment prefixes for database configuration
38-
- Added `templates` and `TemplatesConfig` to config
39-
- Added the `templates` function
40-
- Added support for `attrs` in type validation
41-
- Added documentation for caching
42-
- Added the `cache_rate` parameter to routers
43-
- Removed `psutil` and `plotext` as a global dependency
44-
- Added `fancy` optional dependencies
45-
- Fixed route inputs with synchronous routes
46-
- **Breaking Change:** Route inputs are now applied in the order of the decorator call as it appears in code
37+
- Added optional dependencies for `databases` and `templates`
38+
- Added environment prefixes for database configuration
39+
- Added `templates` and `TemplatesConfig` to config
40+
- Added the `templates` function
41+
- Added support for `attrs` in type validation
42+
- Added documentation for caching
43+
- Added the `cache_rate` parameter to routers
44+
- Removed `psutil` and `plotext` as a global dependency
45+
- Added `fancy` optional dependencies
46+
- Fixed route inputs with synchronous routes
47+
- **Breaking Change:** Route inputs are now applied in the order of the decorator call as it appears in code
4748

4849
## [1.0.0-alpha7] - 2023-12-7
4950

5051
**Quick Patch Release**
5152

52-
- Remerged new `view init` command.
53+
- Remerged new `view init` command.
5354

5455
## [1.0.0-alpha6] - 2023-11-30
5556

56-
- Added `get_app`
57-
- Added documentation generation
58-
- Added database support (NOT FINISHED)
59-
- Removed `attempt_import` and `MissingLibraryError`
60-
- Added support for lists in type validation
61-
- Added support for implicit query parameters
62-
- Renamed `debug` to `enable_debug`
63-
- Added `debug`, `info`, `warning`, `error`, and `critical` logging functions
64-
- Added `InvalidRouteError`, `DuplicateRouteError`, `ViewInternalError`, and `ConfigurationError`
65-
- Renamed `EnvironmentError` to `BadEnvironmentError`
66-
- Added logging functions to `App`
67-
- Changed environment prefixes for configuration
68-
- Rewrote documentation
69-
- Added `patterns` loader
70-
- Added handling of relative paths in the configuration setting `loader_path`
71-
- Added exists validation to `loader_path`
72-
- Add path to `PATH` environment variable during loading
73-
- Upgraded `view init`
57+
- Added `get_app`
58+
- Added documentation generation
59+
- Added database support (NOT FINISHED)
60+
- Removed `attempt_import` and `MissingLibraryError`
61+
- Added support for lists in type validation
62+
- Added support for implicit query parameters
63+
- Renamed `debug` to `enable_debug`
64+
- Added `debug`, `info`, `warning`, `error`, and `critical` logging functions
65+
- Added `InvalidRouteError`, `DuplicateRouteError`, `ViewInternalError`, and `ConfigurationError`
66+
- Renamed `EnvironmentError` to `BadEnvironmentError`
67+
- Added logging functions to `App`
68+
- Changed environment prefixes for configuration
69+
- Rewrote documentation
70+
- Added `patterns` loader
71+
- Added handling of relative paths in the configuration setting `loader_path`
72+
- Added exists validation to `loader_path`
73+
- Add path to `PATH` environment variable during loading
74+
- Upgraded `view init`
7475

7576
## [1.0.0-alpha5] - 2023-09-24
7677

77-
- Added `app.query` and `app.body`
78-
- Patched warning with starting app from incorrect filename
79-
- Updated `__all__` for `routing.py`
80-
- Added `view.Response` and `view.HTML`
81-
- Fixed `__view_result__`
82-
- Added support for `__view_body__` and `__view_construct__`
83-
- Added support for Pydantic, `NamedTuple`, and dataclasses for type validation
84-
- Support for direct union types (i.e. `str | int`, `Union[str, int]`) on type validation
85-
- Added support for non async routes
78+
- Added `app.query` and `app.body`
79+
- Patched warning with starting app from incorrect filename
80+
- Updated `__all__` for `routing.py`
81+
- Added `view.Response` and `view.HTML`
82+
- Fixed `__view_result__`
83+
- Added support for `__view_body__` and `__view_construct__`
84+
- Added support for Pydantic, `NamedTuple`, and dataclasses for type validation
85+
- Support for direct union types (i.e. `str | int`, `Union[str, int]`) on type validation
86+
- Added support for non async routes
8687

8788
## [1.0.0-alpha4] - 2023-09-10
88-
- Added type validation (without support for `__view_body__`)
89-
- Patched query strings on app testing
90-
- Added tests for query and body parameters
91-
- Patched body parameters
92-
- Documented type validation
93-
- Patched bodies with testing
89+
90+
- Added type validation (without support for `__view_body__`)
91+
- Patched query strings on app testing
92+
- Added tests for query and body parameters
93+
- Patched body parameters
94+
- Documented type validation
95+
- Patched bodies with testing
9496

9597
## [1.0.0-alpha3] - 2023-09-9
96-
- Patched header responses
97-
- Added tests for headers
98-
- Updated repr for `Route`
99-
- Patched responses with three values
100-
- Documented responses and result protocol
98+
99+
- Patched header responses
100+
- Added tests for headers
101+
- Updated repr for `Route`
102+
- Patched responses with three values
103+
- Documented responses and result protocol
101104

102105
## [1.0.0-alpha2] - 2023-09-9
103106

104-
- Added `App.test()`
105-
- Added warning when filename does not match `app_path`
106-
- Added more tests
107-
- Upgrade CIBW to work on 3.11
107+
- Added `App.test()`
108+
- Added warning when filename does not match `app_path`
109+
- Added more tests
110+
- Upgrade CIBW to work on 3.11
108111

109112
## [1.0.0-alpha1] - 2023-08-17
110113

0 commit comments

Comments
 (0)