Commit graph

2005 commits

Author SHA1 Message Date
Daniel Compton
7a707f042b Add regex based router
Reitit is very fast, but cannot support all routing structures that
other routers like Bidi support, particular regex-based routes.
2025-02-25 22:50:06 +13: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
Juho Teperi
f60a7ad902 Fixes 2025-01-22 14:05:45 +02:00
Juho Teperi
1ba77a7267 Apply query parameters encoding on rfe/set-query 2025-01-22 14:05:45 +02:00
Juho Teperi
21e5840f13 Ensure extra query-string params aren't removed by coercion 2025-01-22 14:05:45 +02:00
Juho Teperi
5f10465533 Another test case 2025-01-22 14:05:26 +02:00
Juho Teperi
dba8d159cc . 2025-01-22 14:05:26 +02:00
Juho Teperi
5829e1c656 Add reitit.frontend test case 2025-01-22 14:05:26 +02:00
Juho Teperi
1819fa5d75 Note 2025-01-22 14:05:26 +02:00
Juho Teperi
25dd0abcaf Use coercion to encode query-string values in match->path 2025-01-22 14:05:26 +02:00
Juho Teperi
a19b6034dd
Merge pull request #717 from metosin/shadow-cljs
Update CI tests and add shadow-cljs to run cljs tests
2025-01-22 14:05:10 +02:00
Juho Teperi
0256642f64 Add bb tasks for Cljs tests 2025-01-22 13:57:10 +02:00
Juho Teperi
b1d066246a Cleanup 2025-01-22 13:36:59 +02:00
Juho Teperi
b19dda8d5d Cleanup 2025-01-22 13:31:09 +02:00
Juho Teperi
0a7b50a730 Test fix, silence extra cljs warnings 2025-01-22 12:09:14 +02:00
Juho Teperi
bf82533028 Handle shadow-cljs infern warnings 2025-01-22 12:01:10 +02:00
Juho Teperi
0370750a3f Run some ring tests only on jvm 2025-01-22 11:56:35 +02:00
Juho Teperi
ea88b06206 Update CI tests and add shadow-cljs to run cljs tests 2025-01-22 11:54:38 +02:00
Tommi Reiman
ada41ec7dd
Merge pull request #712 from p-himik/p-himik/708-incorrect-ring-responses
Make exception middleware return proper Ring responses
2024-12-08 14:59:08 +02:00
Tommi Reiman
1abff4937c
Update exception_test.clj
ring.util.http-response should be enough
2024-12-08 14:54:14 +02:00
Eugene Pakhomov
cc1cd114e4 Make exception middleware return proper Ring responses 2024-12-07 23:47:05 +02:00
Joel Kaasinen
e86662561f
Merge pull request #711 from metosin/doc-named-schemas
document status of named definition support for openapi&swagger
2024-12-02 07:54:23 +02:00
Joel Kaasinen
059f93aee8 doc: fix typo, mention swagger ui handling of names schemas 2024-12-02 07:47:36 +02:00
Joel Kaasinen
fc132f3a92 doc: swagger reusable schema definitions supported only for malli 2024-11-28 09:56:02 +02:00
Joel Kaasinen
431242c926 doc: openapi named schemas only produced for malli 2024-11-28 09:51:31 +02:00
Joel Kaasinen
0f9414847a
Merge pull request #706 from metosin/openapi-query-warning-master
feat: add warning for unsupported openapi parameter schemas
2024-11-07 10:01:00 +02:00
Joel Kaasinen
86e04414ba
Merge pull request #703 from cloudpermit/handle_form_coercion_properly_in_openapi
Add OpenAPI :requestBody for :form request schema
2024-11-01 08:26:48 +02:00
Joel Kaasinen
c89b6bbe31 feat: add warning for unsupported openapi parameter schemas
for #705
2024-10-30 09:58:32 +02:00
Joel Kaasinen
f6b8054669
Merge pull request #704 from metosin/commercial-support
mention metosin commercial support in README.md
2024-10-10 16:27:27 +03:00
Joel Kaasinen
4f4d05fe65 doc: mention metosin commercial support in README.md 2024-10-10 10:31:26 +03:00
Markus Penttilä
702e7b8972 Add OpenAPI :requestBody for :form request schema
OpenAPI Specification 3 requires defining form parameters, i.e. classic
application/x-www-form-urlencoded type body as a :requestBody. They are
not supported as regular parameters like in OAS 2.
2024-10-09 22:28:57 -04:00
Tommi Reiman
d11deb3473
Merge pull request #701 from bsless/fix-interface-maps
Add dispatch for every implementation of IPersistentMap
2024-09-30 20:03:41 +01:00
Joel Kaasinen
e2c63d6579
Merge pull request #697 from dekelpilli/master
fix: fix bug where http ring handler would cause :path to be applied twice
2024-09-25 10:45:02 +03:00
Joel Kaasinen
86871a6a55
Merge pull request #702 from metosin/openapi-example-docs
clarify openapi docs plus minor fix
2024-09-16 15:51:39 +03:00
Joel Kaasinen
923bafdc9b doc: update changelog 2024-09-16 12:49:30 +03:00
Joel Kaasinen
afc8945d78 doc: improve openapi docs 2024-09-16 12:47:33 +03:00
Joel Kaasinen
610586f0d3 fix: OpenAPI :description belongs at Response level, not Media Type
also, support singular :example in addition to :examples
2024-09-16 12:46:57 +03:00