Commit graph

2091 commits

Author SHA1 Message Date
Joel Kaasinen
832d9ebe95 deps: bump malli 2025-05-12 14:28:13 +03:00
Joel Kaasinen
4b7a596ece doc: update CHANGELOG.md 2025-05-05 11:28:36 +03:00
Casey Link
0454e8914f Apply router options to top-level middleware chain
Middleware supplied to the `ring-handler` function could not be resolved
from the middleware registry, because the router options (which contain
the registry) were not being propagated.

Fixes #738
2025-04-29 14:52:09 +02:00
Joel Kaasinen
7a77c9f86b
Merge pull request #735 from metosin/response-default
Resurrect :responses :default
2025-04-29 09:30:02 +03:00
Joel Kaasinen
a8b4bc0d2d feat: rework & document response coercer defaulting rules 2025-04-28 10:01:09 +03:00
Joel Kaasinen
9db58f21dc doc: update CHANGELOG.md 2025-04-25 15:15:11 +03:00
Joel Kaasinen
9797725ae8
Merge pull request #714 from mokshasoft/openapi3-parameter-deprecation
Place the openapi deprecation tag directly under parameters
2025-04-25 15:13:26 +03:00
Joel Kaasinen
3c6139950c doc: deprecated openapi parameters in docs & example 2025-04-25 15:07:52 +03:00
Joel Kaasinen
9534f6df8b feat: avoid duplicated :description for openapi parameters 2025-04-25 15:04:51 +03:00
Joel Kaasinen
a390180975 test: add description and deprecated to openapi-test 2025-04-25 15:03:40 +03:00
Joel Kaasinen
f038fe1941 test: corner cases in how :responses :default gets applied 2025-04-24 09:31:27 +03:00
Joel Kaasinen
8058cecae0 doc: document :responses :default 2025-04-11 11:45:12 +03:00
Joel Kaasinen
dd835e73a8 feat: allow :default response status code again
it is an old feature, but didn't have a test, so it was broken by #715

also add a test so we don't break it again
2025-04-11 10:30:52 +03:00
Joel Kaasinen
78cf477b88
Merge pull request #733 from evaogbe/static-mime-type
Add mime-types option to static handler
2025-04-08 08:24:22 +03:00
Joel Kaasinen
2d1d0cc5d2 doc: update CHANGELOG.md 2025-04-08 08:19:04 +03:00
Joel Kaasinen
75a5e816a9 reindent 2025-04-08 08:15:59 +03:00
Eva Ogbe
e16c95c5b3 Add mime-types option to static handler 2025-04-07 20:35:58 -04:00
Juho Teperi
91fa60324f Use same javac options for reiti-core project.clj 2025-03-28 16:13:47 +02:00
Juho Teperi
6dd9cb1b7c Prepare release 0.8.0 2025-03-28 16:06:12 +02:00
Juho Teperi
fa28489b63
Merge pull request #728 from metosin/update-deps
Update dependencies
2025-03-28 15:57:56 +02:00
Juho Teperi
9849ed5ebb Mention Java 11 requirement 2025-03-28 15:54:24 +02:00
Juho Teperi
a103411bf7 Update ring 2025-03-28 15:40:58 +02:00
Juho Teperi
a57662693c Drop Java 8 tests and support 2025-03-28 15:40:26 +02:00
Juho Teperi
44d54cc9f2
Merge pull request #730 from agorgl/index-redirect-default
Change default index-redirect? value to false
2025-03-28 15:27:14 +02:00
Loukas Agorgianitis
3342e77538
Change default index-redirect? value to false
Signed-off-by: Loukas Agorgianitis <loukas@agorgianitis.com>
2025-03-28 15:14:15 +02:00
Juho Teperi
8fb44467a0
Merge pull request #727 from agorgl/directory-index
Add option to disable index files served on paths that are not directories
2025-03-28 15:11:09 +02:00
Loukas Agorgianitis
c2feb5b983
Add option to disable index files served on paths that are not directories
Signed-off-by: Loukas Agorgianitis <loukas@agorgianitis.com>
2025-03-28 13:49:36 +02:00
Juho Teperi
9fb0b7233a Update dependencies 2025-03-27 13:58:30 +02:00
Joel Kaasinen
89c05932dc doc: update CHANGELOG.md 2025-03-26 11:10:21 +02:00
Joel Kaasinen
2f1defe3cd
Merge pull request #725 from agorgl/index-redirect
Add option to allow serving index files without redirect
2025-03-26 11:08:54 +02:00
Loukas Agorgianitis
f50feff63c
Add option to allow serving index files without redirect
Signed-off-by: Loukas Agorgianitis <loukas@agorgianitis.com>
2025-03-25 23:07:36 +02:00
Joel Kaasinen
34e6db0d3f
Merge pull request #726 from metosin/bump-gha
chore: bump actions/cache for cljs workflow
2025-03-24 08:46:15 +02:00
Joel Kaasinen
04cb70f1f7 chore: bump actions/cache for cljs workflow 2025-03-24 08:40:12 +02:00
Joel Kaasinen
58195eed68 doc: update CHANGELOG.md 2025-02-25 12:52:33 +02:00
Joel Kaasinen
d5d46d5b0b
Merge pull request #715 from filipesilva/coerce-response-int
fix: throw if response status is not int
2025-02-25 12:49:23 +02:00
Filipe Silva
f0fc440425 fix: throw if response status is not int
Fix #667
2025-02-25 10:12:47 +00:00
Juho Teperi
30fd739fa9 Update CHANGELOG 2025-02-04 11:23:47 +02:00
Joel Kaasinen
de0e1f4462
Merge pull request #718 from metosin/doc-param-merge
doc: document nested parameter definitions
2025-02-03 14:55:38 +02:00
Juho Teperi
34b6bb9349 Link to PR from changelog 2025-01-31 14:42:33 +02:00
Joel Kaasinen
3fcd6cfd73 doc: document nested parameter definitions
originally implemented in #626 for #422
2025-01-31 14:31:54 +02:00
Juho Teperi
e5483cb1fc Release 0.8.0-alpha1 2025-01-31 14:06:05 +02:00
Juho Teperi
481c653139
Merge pull request #716 from metosin/query-string-encoding
Use coercion to encode query-string values in match->path
2025-01-31 14:04:31 +02:00
Juho Teperi
5ca22193d0 Use defined :string :default transformer for query-string-coercer 2025-01-31 09:39:19 +02:00
Juho Teperi
4eb29d3ed9 Extend frontend docs 2025-01-28 15:46:37 +02:00
Juho Teperi
dfc5a4ef67 Remove todo comments 2025-01-28 15:12:46 +02:00
Juho Teperi
7e9116f77e Simplify Malli coercion for query-params to only encode 2025-01-28 15:09:31 +02:00
Juho Teperi
7ae118fbb5 Move query string coercion to coercion ns from core 2025-01-28 14:34:21 +02:00
Juho Teperi
ce6d9e26cd Update docstrings and changelog 2025-01-22 14:35:56 +02:00
Juho Teperi
7ae2bfafc2 Cleanup 2025-01-22 14:20:02 +02:00
Juho Teperi
1b37c87aa2 Test set-query without a match 2025-01-22 14:18:54 +02:00