Commit graph

887 commits

Author SHA1 Message Date
8986f35184 Merge remote-tracking branch 'upstream/master' 2026-04-02 21:50:56 -03:00
Serdar Dogruyol
0b2d32d499 Bump version to 1.10.1 2026-03-24 14:24:00 +03:00
Serdar Dogruyol
f2285f9e16 Update CHANGELOG 2026-03-24 14:22:15 +03:00
Serdar Dogruyol - Sedo セド
990fdf2a42
Add shutdown_timeout configuration and implement graceful shutdown behavior (#745) 2026-03-19 20:15:57 +03:00
Serdar Dogruyol
af81c4c624 Fix typo in database connection object reference in MySQL example 2026-03-10 11:40:10 +03:00
Jesse Clark
01b4f5a37d
posgresql-db-example act on connection object (#743) 2026-03-10 11:39:08 +03:00
Serdar Dogruyol
1c7b33cfa6 Bump version to 1.10.0 2026-03-03 14:37:13 +03:00
Serdar Dogruyol
b06dd5023a Update CHANGELOG 2026-03-03 14:36:07 +03:00
Serdar Dogruyol - Sedo セド
f618eece5b
Add raw_body to ParamParser for multi-handler body access (#740) 2026-03-03 14:29:39 +03:00
Serdar Dogruyol
f45f6744c8 Clear EXCEPTION_HANDLERS during configuration reset 2026-03-03 13:57:39 +03:00
Serdar Dogruyol
7a1a07f733 Update documentation for OverrideMethodHandler to use INSTANCE constant 2026-03-01 21:55:48 +03:00
Serdar Dogruyol - Sedo セド
6c6270dee7
Fix OverrideMethodHandler route cache bug (#741) (#742) 2026-03-01 21:46:33 +03:00
Serdar Dogruyol - Sedo セド
89966f6f7b
Make route LRU cache concurrency-safe with Mutex (#739) 2026-02-17 12:01:52 +03:00
Serdar Dogruyol - Sedo セド
c09f0eaefb
Improve CLI SSL validation and expand CLI option parsing specs (#738) 2026-02-16 10:25:44 +03:00
Anton Maminov
1460c68d5f
ensures global wildcard filters always execute while keeping namespace filters isolated to their routes (#737) 2026-02-12 15:34:41 +03:00
Serdar Dogruyol
676a35f089 Add new features in version 1.10.0 to CHANGELOG 2026-02-09 12:53:18 +03:00
Serdar Dogruyol - Sedo セド
c65e6d1dd6
Add modular Router support (#731) 2026-02-09 11:33:22 +03:00
Anton Maminov
83ae194d7c
Add support to halt execution with a chained response (#736) 2026-02-06 14:13:24 +03:00
Serdar Dogruyol
33104b19f3 Refactor response methods in HTTP::Server to serialize content to a string before writing to the response 2026-02-05 16:05:56 +03:00
Serdar Dogruyol - Sedo セド
71f4e4528b
Improve response helpers: HTTP::Status, direct write, content_type param (#735) 2026-02-05 13:34:38 +03:00
Serdar Dogruyol - Sedo セド
3b45f93dae
Add use keyword for middleware registration with path-specific support (#734) 2026-02-05 13:30:16 +03:00
Serdar Dogruyol
669c867482 Update README to improve setup instructions by adding steps for creating a new Crystal application and clarifying the order of commands. 2026-02-03 14:08:17 +03:00
Serdar Dogruyol
80f84b12a3 Revise README to enhance key features section with clearer descriptions and improved formatting for better readability. 2026-02-03 13:27:54 +03:00
Serdar Dogruyol
8fba1c0edb Enhance README with philosophy section outlining Kemal's design principles 2026-02-03 13:19:22 +03:00
Serdar Dogruyol - Sedo セド
951be7524e
Add response helpers for JSON, HTML, text, XML, and status (#733) 2026-02-03 11:00:28 +03:00
Serdar Dogruyol
dafa4c9b44 Bump version to 1.9.0 2026-01-28 14:47:20 +03:00
Serdar Dogruyol
53cb26fad4 Update CHANGELOG 2026-01-28 14:45:50 +03:00
Serdar Dogruyol - Sedo セド
3c858bf24e
[Security] Limit maximum request body size to avoid DoS attacks (#730) 2026-01-26 10:48:41 +03:00
Sijawusz Pur Rahnama
1c5cc8c0f9
Ameba v1.7 (#729) 2026-01-11 13:18:57 +03:00
Serdar Dogruyol
8b6f282954 optimize JSON parameter parsing by directly using the request body IO. 2025-11-20 17:33:52 +03:00
Serdar Dogruyol
6731ed9271 add contributing guide, update README to reference it 2025-11-19 16:36:34 +03:00
Serdar Dogruyol
8205e8e817 Bump version to 1.8.0 2025-11-07 10:28:07 +03:00
Serdar Dogruyol
e4e04654a3 Update CHANGELOG 2025-11-07 10:27:02 +03:00
Serdar Dogruyol - Sedo セド
1643905df4
Enhance HEAD request handling by caching GET route lookups and optimize path construction using string interpolation for improved performance. (#728) 2025-11-04 14:33:35 +03:00
Serdar Dogruyol - Sedo セド
a5653eee92
Improve error messages (#726) 2025-11-03 12:32:58 +03:00
Serdar Dogruyol - Sedo セド
2648a32f27
Optimize route and websocket lookups by caching results to reduce redundant processing in the HTTP server context (#725) 2025-11-03 11:54:42 +03:00
Serdar Dogruyol
24609c1b31 Update README to change 'Sample Applications' to 'Example Applications' and fix link 2025-11-01 10:40:26 +03:00
Serdar Dogruyol - Sedo セド
d9352d5115
Replace full-flush Route cache with LRU and add a configurable max cache size (#724) 2025-10-31 19:11:20 +03:00
Serdar Dogruyol
c673b3960e Bump version to 1.7.3 2025-10-02 11:48:09 +03:00
Serdar Dogruyol
fa0034d007 Update CHANGELOG 2025-10-02 11:47:00 +03:00
Serdar Dogruyol
10ad40cbce Refactor server binding logic to improve readability and maintainability 2025-10-02 11:42:12 +03:00
Serdar Dogruyol
5bd65bcb73 improve run_spec, move Kemal configuration to run method and update server bind ports 2025-09-29 14:29:26 +03:00
Serdar Dogruyol
e684d2ec9f Fix ameba errors 2025-08-13 16:30:23 +03:00
Serdar Dogruyol
c60a8dcb81 Rename samples to examples. Add all code from cookbook 2025-08-13 16:20:05 +03:00
Serdar Dogruyol
f1a53520ac Bump version to 1.7.2 2025-08-04 17:15:11 +03:00
Serdar Dogruyol
6752511525 Update CHANGELOG 2025-08-04 17:14:45 +03:00
Serdar Dogruyol
72e7b9c902 Add kemal-session ref to README 2025-06-25 14:47:51 +03:00
Serdar Dogruyol - Sedo セド
5f87f549ec
Refactor server binding logic to avoid binding in test environment (#719) 2025-06-10 13:14:48 +03:00
syeopite
6eb9b6bafc
Move Kemal::Handler logic into separate module (#717)
This grants the application the additional freedom to inherit from
different classes while still retaining the methods provided by
`Kemal::Handler`.

Should be fully backwards compatible as `Kemal::Handler` includes the
new module, with the class vars being defined in an `included` macro.
2025-06-05 13:21:46 +03:00
Johannes Müller
f41025c2c4
Make use of helper methods in StaticFileHandler (#714) 2025-06-03 16:35:07 +03:00