File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,6 +15,6 @@ SECURITY_CSRF_VERIFY_JSON=false
1515SECURITY_CSRF_INPUT_KEY = _token
1616
1717SECURITY_THROTTLE_ENABLED = true
18- SECURITY_THROTTLE_ADD_TO_KERNEL = false
18+ SECURITY_THROTTLE_ADD_TO_KERNEL = true
1919SECURITY_THROTTLE_MAX_ATTEMPTS = 60
2020SECURITY_THROTTLE_DECAY_SECONDS = 60
Original file line number Diff line number Diff line change 4141 awk "/^## \\[$VERSION\\]/ {flag=1; next} /^## \\[/ {flag=0} flag {print}" CHANGELOG.md > RELEASE_NOTES.md
4242
4343 if [ ! -s RELEASE_NOTES.md ]; then
44- echo "⚠️ No changelog entry found, using default message"
44+ echo "No changelog entry found, using default message"
4545 echo "Release $RAW_VERSION" > RELEASE_NOTES.md
4646 fi
4747
Original file line number Diff line number Diff line change 22
33All notable changes to this project will be documented in this file.
44
5+ ## [ 1.3.0] - 2026-01-03
6+
7+ ### Changed
8+
9+ - Enabled throttle middleware auto-registration by default and synced ` .env.example ` default.
10+ - Bumped ` codemonster-ru/security ` to ` v1.1.0 ` .
11+
512## [ 1.2.0] - 2025-12-17
613
714### Added
@@ -39,7 +46,7 @@ All notable changes to this project will be documented in this file.
3946
4047### Initial Release
4148
42- - Introduced the ** Annabel Skeleton** — starter project for the [ Annabel PHP framework] ( https://github.com/codemonster-ru/annabel )
49+ - Introduced the ** Annabel Skeleton** - starter project for the [ Annabel PHP framework] ( https://github.com/codemonster-ru/annabel )
4350- Included minimal but complete structure:
4451 - ` app/Controllers/HomeController.php `
4552 - ` bootstrap/app.php ` , ` public/index.php `
Original file line number Diff line number Diff line change 44[ ![ Total Downloads] ( https://img.shields.io/packagist/dt/codemonster-ru/annabel-skeleton.svg?style=flat-square )] ( https://packagist.org/packages/codemonster-ru/annabel-skeleton )
55[ ![ License] ( https://img.shields.io/packagist/l/codemonster-ru/annabel-skeleton.svg?style=flat-square )] ( https://packagist.org/packages/codemonster-ru/annabel-skeleton )
66
7- Starter project for the ** [ Annabel PHP Framework] ( https://github.com/codemonster-ru/annabel ) ** —
8- a clean and modern foundation for building full-stack web applications.
7+ Starter project for the ** [ Annabel PHP Framework] ( https://github.com/codemonster-ru/annabel ) ** .
8+ A clean and modern foundation for building full-stack web applications.
99
1010## Quick Start
1111
@@ -17,8 +17,27 @@ cd myapp
1717composer start
1818```
1919
20- Then open [ http://localhost:8000 ] ( http://localhost:8000 ) —
21- you’ll see your first page rendered by ** Annabel**
20+ Open [ http://localhost:8000 ] ( http://localhost:8000 ) to see your first page rendered by ** Annabel** .
21+
22+ ## Security Defaults
23+
24+ The ` codemonster-ru/security ` package is enabled by default.
25+
26+ - CSRF and throttling are auto-registered in the kernel.
27+ - Use ` .env ` to disable or tune ` SECURITY_* ` settings.
28+
29+ Default ` SECURITY_* ` values:
30+
31+ ``` dotenv
32+ SECURITY_CSRF_ENABLED=true
33+ SECURITY_CSRF_ADD_TO_KERNEL=true
34+ SECURITY_CSRF_VERIFY_JSON=false
35+ SECURITY_CSRF_INPUT_KEY=_token
36+ SECURITY_THROTTLE_ENABLED=true
37+ SECURITY_THROTTLE_ADD_TO_KERNEL=true
38+ SECURITY_THROTTLE_MAX_ATTEMPTS=60
39+ SECURITY_THROTTLE_DECAY_SECONDS=60
40+ ```
2241
2342## Requirements
2443
Original file line number Diff line number Diff line change 1414 "authors" : [
1515 {
1616 "name" : " Kirill Kolesnikov" ,
17- "email" : " admin@codemonster.ru " ,
17+ "email" : " admin@codemonster.net " ,
1818 "homepage" : " https://github.com/KolesnikovKirill" ,
1919 "role" : " Lead Developer"
2020 }
2121 ],
2222 "require" : {
2323 "php" : " >=8.2" ,
24- "codemonster-ru/annabel" : " ^1.12 " ,
25- "codemonster-ru/security" : " ^1.0 "
24+ "codemonster-ru/annabel" : " ^1.14 " ,
25+ "codemonster-ru/security" : " ^1.1 "
2626 },
2727 "autoload" : {
2828 "psr-4" : {
You can’t perform that action at this time.
0 commit comments