Eugene Pakhomov
cc1cd114e4
Make exception middleware return proper Ring responses
2024-12-07 23:47:05 +02:00
Tommi Reiman
d926ef7591
0.7.2
2024-08-30 18:05:18 +03:00
Tommi Reiman
5a2ae56991
simplify
2024-08-27 14:06:15 +03:00
Tommi Reiman
d8a8bce272
move out of public api
2024-08-27 14:06:09 +03:00
Ben Sless
c48b6a3704
Speed up routes code path
...
Fixes #692
2024-08-25 16:20:49 +03:00
Ben Sless
a0467d52cd
Inline call to routes
2024-08-25 16:20:15 +03:00
Tommi Reiman
5589328a3c
0.7.1
2024-06-30 18:58:46 +03:00
Tommi Reiman
877c45af90
bump up version
2024-04-30 11:51:18 +03:00
Tommi Reiman
2be0dbbb2a
0.7.0-alpha8
2024-04-30 11:12:39 +03:00
Ambrose Bonnaire-Sergeant
5444bad439
Fix formatting of #'router docstring
...
Escaped double quotes breaks the clojure.repl/doc output.
2024-01-12 13:50:18 -06:00
Juho Teperi
15e0c95cb6
0.7.0-alpha7
2023-10-03 13:34:36 +03:00
Juho Teperi
d4a85c40e6
Revert group id change
...
Per discussions in Slack, changing the group id causes too much problems
2023-10-03 13:06:23 +03:00
Tommi Reiman
6a39dcd6ec
0.7.0-alpha6
2023-09-11 15:03:31 +03:00
Joel Kaasinen
ccc2b5636e
move all libs metosin/reitit => fi.metosin/reitit
...
metosin/ is a clojars legacy group, and new modules like
fi.metosin/openapi can't be created under it. Let's move everything
under fi.metosin
2023-09-11 11:04:36 +03:00
Tommi Reiman
b0c810a981
Merge pull request #628 from metosin/openapi-parameters
...
Openapi parameters
2023-08-24 09:25:46 +03:00
Juho Teperi
4a182588b4
Release 0.7.0-alpha5
2023-06-14 16:06:20 +03:00
Tommi Reiman
b1404ada6d
top-level :request coercion & stuff
2023-05-28 16:49:08 +03:00
Tommi Reiman
d17c97780e
wrap :content schemas in :schema
2023-05-27 19:01:17 +03:00
Tommi Reiman
ce06214014
welcome 2-phase schema compilation
...
1) use `:update-paths` to handle data in certain (loose) paths differently
- accumulate schemas in all relevant routers into vector
- we do not know the coercion here (ring/http have special handling of data, e.g. http-methods)
2) run coercion compiler for the model to merge the effective model
- schema + malli = should work ok, spec = best effort
3) publish final schemas into compiled route data
2023-05-21 20:32:40 +03:00
Tommi Reiman
b3383b0396
0.7.3-alpha4
2023-05-17 18:23:05 +03:00
Juho Teperi
0b6ed62738
Release 0.7.0-alpha3
2023-05-05 12:57:31 +03:00
Juho Teperi
e204d4ff1b
Release 0.7.0-alpha2
2023-05-04 15:20:31 +03:00
Tommi Reiman
3336880b01
0.7.0-alpha1
2023-05-03 10:25:01 +03:00
Joel Kaasinen
33f7b1ccd7
chore: upgrade lein-parent plugin
2023-04-13 09:23:08 +03:00
Tommi Reiman
47f1ee0c84
0.6.0
2023-02-21 15:17:00 +02:00
Tommi Reiman
d1bb44a88f
Merge branch 'master' into reloading-ring-handler
2023-01-22 14:30:06 +02:00
Tommi Reiman
3fd20f2294
reloading-ring-handler
2023-01-22 14:15:08 +02:00
Tommi Reiman
8e1e7e62ca
fix spec tests + format
2023-01-21 10:58:53 +02:00
Tommi Reiman
f27c2fc2aa
clean
2023-01-21 10:56:42 +02:00
Tommi Reiman
98a4d9b447
:meta-merge-fn -> :meta-merge
2023-01-21 10:56:42 +02:00
Ilmo Raunio
0870b20a05
Add query-string to redirect-trailing-slash-handler
2023-01-20 00:20:10 +02:00
Tommi Reiman
26a581298a
Merge pull request #561 from pfeodrippe/meta-merge
...
add `:meta-merge-fn` option
2023-01-09 16:39:12 +02:00
Fredrik Vaeng Røtnes
edee97a550
Rename variable handle -> handler
2022-12-05 13:06:27 +00:00
Paulo Feodrippe
fc73d02e01
add :meta-merge-fn option
2022-08-11 07:55:15 -04:00
Tommi Reiman
3dff4c84aa
0.5.18
2022-04-05 21:38:04 +03:00
Tommi Reiman
f0405adc02
0.5.17
2022-03-10 20:15:43 +02:00
Tommi Reiman
382661a6c4
0.5.16
2022-02-15 16:55:08 +02:00
Tommi Reiman
0a872d8f3a
0.5.16-SNAPSHOT
2022-02-14 17:52:32 +02:00
Tommi Reiman
f3dee769fb
format-ns
2022-02-14 16:59:20 +02:00
Tommi Reiman
2aba5610c7
format
2022-02-14 16:58:10 +02:00
Tommi Reiman
bdcb1eb5b1
clean-ns
2022-02-12 22:35:27 +02:00
Tommi Reiman
5d4c886d35
format
2022-02-12 22:34:26 +02:00
Juho Teperi
07c39fc2df
Setup clj-kondo files for each module
...
Clojure-lsp will run clj-kondo on the module folders, so those modules
should refer back to root configuration. Clj-kondo itself works the
same, if running from a module directory. Some editor plugins might run
clj-kondo on the working directory always (reitit root folder usually),
and in those cases this isn't needed.
2022-01-24 12:39:42 +02:00
Tommi Reiman
8694d312f8
0.5.15
2021-08-05 18:46:29 +03:00
Tommi Reiman
db84daca95
0.5.14
2021-08-03 13:41:27 +03:00
Miikka Koskinen
1297cfd902
Handle URL-encoded paths in file and resource handlers
2021-04-30 14:38:18 +03:00
Miikka Koskinen
51a26ed052
Release 0.5.13
2021-04-23 17:41:40 +03:00
Miikka Koskinen
5824d9eeef
Make the not-found-handler fix backwards compatible
...
PR #471 aimed to fix issue #464 . However, the change was slightly
backwards-incompatible, since it made the file and resource handlers use
the default 404 handler when mounted outside of the router. The previous
behavior was to return nil in that case.
This patch restores the previous behavior and clarifies that `:path`
option can be used only when the file/resource handler is mounted
outside of a router.
2021-02-26 08:14:01 +02:00
Kari Marttila
902b33f004
Support not-found-handler with path in resource handler ( #464 )
2021-02-19 15:17:26 +02:00
Tommi Reiman
f43a8311fc
0.5.12
2021-02-04 20:40:25 +02:00