Tommi Reiman
260b167853
Decode path-params on match-by-name, fixes #192
2018-12-21 20:17:46 +02:00
Tommi Reiman
0b9c72ab0f
Polish example
2018-12-17 21:03:51 +02:00
Tommi Reiman
56ad6a5168
Merge pull request #191 from metosin/DisallowEmptyPathParameters
...
Segment-router doesn't allow empty path-parameters
2018-12-11 16:27:40 +02:00
Tommi Reiman
492d5e2f2b
Segment-router doesn't allow empty path-parameters
2018-12-10 20:30:58 +02:00
Tommi Reiman
147034d914
Update swagger-guide, fixes #180
2018-12-09 20:16:32 +02:00
Tommi Reiman
d21ec8d490
Merge pull request #186 from metosin/controller-docs
...
Some documentation for controllers
2018-11-30 20:33:41 +02:00
Miikka Koskinen
adb27f445d
Some documentation for controllers
2018-11-30 18:07:41 +02:00
Tommi Reiman
8cc58df024
Merge pull request #183 from metosin/swagger-docs
...
Docs: Add a note about Swagger needing Muuntaja
2018-11-22 10:36:12 +02:00
Miikka Koskinen
d827f05a6a
Docs: Add a note about Swagger needing Muuntaja
2018-11-22 09:23:13 +02:00
Tommi Reiman
0e73b883ed
0.2.9
2018-11-21 16:03:09 +02:00
Tommi Reiman
ed1c2b0c4f
Add coercion tests for vector data-specs, 0.2.9
2018-11-21 16:02:04 +02:00
Tommi Reiman
8dc1e50c44
Merge pull request #182 from hjhamala/support-vectors-in-baselevel-data-specs
...
Add support for vector based specs in Swagger generation
2018-11-21 14:41:47 +02:00
Heikki Hämäläinen
24c146a702
Add support for vector based specs in Swagger generation
...
This allows data specs to be in vectors as well as maps. Before the change data spec [{:foo string?}] would throw exception when generating Swagger.
2018-11-21 14:23:33 +02:00
Tommi Reiman
883a65acca
Document the router options
2018-11-19 21:04:38 +02:00
Tommi Reiman
dd6b07aa0f
Release 0.2.8
2018-11-18 22:31:13 +02:00
Tommi Reiman
4663812afc
Merge pull request #177 from metosin/composing_middleware_interceptor_transformations
...
Support composable transformations of mw/interceptor chain
2018-11-18 22:27:19 +02:00
Tommi Reiman
ffc36fce36
Support composable transformations of mw/interceptor chain
...
* fixes #167
2018-11-18 22:19:30 +02:00
Tommi Reiman
18a9cdb802
Update Changelog
2018-11-17 21:26:52 +02:00
Tommi Reiman
cca55c5bd5
Add regression test for swagger-spec 3arity handler
2018-11-17 21:25:40 +02:00
Tommi Reiman
8bb5755ced
Merge pull request #176 from metosin/spec-errors
...
Expose spec problems to error handlers
2018-11-17 21:17:36 +02:00
Tommi Reiman
37cb99a13e
Expose spec problems to error handlers
2018-11-17 20:50:04 +02:00
Tommi Reiman
c3af856893
Merge pull request #174 from nenadalm/async_ring
...
Support swagger with async ring
2018-11-17 12:23:04 +02:00
Miloslav Nenadal
13141027ee
Support swagger with async ring
2018-11-17 11:11:55 +01:00
Tommi Reiman
02308b582d
Interceptors diff context, not request
2018-11-11 22:31:02 +02:00
Tommi Reiman
3f910c25f8
Merge pull request #165 from metosin/log-mw-interceptors
...
Middleware & Interceptor chain visualization, part1 (WIP)
2018-11-11 22:24:44 +02:00
Tommi Reiman
4bfafaffec
Diff printing middleware & interceptors
2018-11-11 22:23:51 +02:00
Tommi Reiman
a205d14afc
Update to 0.2.7 with new spec-tools
2018-11-11 22:03:16 +02:00
Tommi Reiman
69592c0f68
Bump up top 0.2.6
2018-11-09 15:41:13 +02:00
Tommi Reiman
8f2ac022c4
Update deps
2018-11-09 15:38:11 +02:00
Miikka Koskinen
b49325d81d
Update CHANGELOG.md
2018-11-08 14:29:31 +02:00
Miikka Koskinen
102e22af29
Merge pull request #170 from metosin/fix-169
...
Fix ClojureScript compiler warnings
2018-11-08 14:26:28 +02:00
Miikka Koskinen
1a13a24224
In ClojureScript, satisfies? is a macro
...
Thus `partial` can't be used with it.
2018-11-08 10:00:57 +02:00
Miikka Koskinen
65886c190f
Do not use cljs.string/replace-all, it's private
...
The 1.10.439 release of compiler complains about it. Fixes #169 .
2018-11-08 10:00:23 +02:00
Tommi Reiman
010211f7ec
Merge pull request #164 from smahood/slash_handler_docs
...
Update docs for slash-handler
2018-11-05 23:38:37 +02:00
Shaun Mahood
4016acb8ea
Update docs for slash-handler
...
Composing routes isn't explained until later, so anyone reading the docs from start to finish would not know how to use the default-handler and slash-handler together until they read the resource-handler section. Took me a bit of time to realize this so hopefully something like this would save a bit of work for other new users.
2018-11-05 14:24:17 -07:00
Tommi Reiman
e4b6b41554
Update CHANGELOG
2018-11-04 21:05:34 +02:00
Tommi Reiman
8f26ce8a32
Merge pull request #163 from metosin/perf_tuning
...
Perf tuning
2018-11-04 20:57:55 +02:00
Tommi Reiman
1623d001d1
Link to original source files
2018-11-04 20:55:27 +02:00
Tommi Reiman
48318b8793
Fix to if-some as the docs say
2018-11-04 20:54:52 +02:00
Tommi Reiman
35993ff257
Rerun segment-router perf tests
2018-11-04 10:07:27 +02:00
Tommi Reiman
f84a597c3f
10% faster in opensensors/real-world test
2018-11-04 10:03:46 +02:00
Tommi Reiman
9ce898a0b4
3x faster default path-parameter decoding
2018-11-04 09:57:32 +02:00
Tommi Reiman
10dc5702a1
Merge branch 'master' of github.com:metosin/reitit
2018-11-03 19:37:32 +02:00
Tommi Reiman
bd76fd6d0e
Benchmark against httprouter, reitit is ~3-6x slower
2018-11-03 19:37:26 +02:00
Tommi Reiman
1af3beda6a
Merge pull request #162 from dancek/work-with-multiple-trailing-slashes
...
Support stripping multiple slashes
2018-11-03 14:16:45 +02:00
Tommi Reiman
2c58205e85
Better Exception docs
2018-10-31 19:25:21 +02:00
Hannu Hartikainen
6a7fb095cb
Support stripping multiple slashes
...
One inspiration for stripping/adding slashes automatically in reitit was
https://github.com/julienschmidt/httprouter which can handle any number
of slashes. Make the implementation a bit better by stripping as many
slashes as there are.
This still doesn't support redirecting from a multiple-slash URI to a
single-slash URI. That could be handled as a special case, but in the
end I think the correct solution would be to convert both the router and
request URIs to a canonical form before matching. Then the question of
slashes is just a question of formatting.
2018-10-31 09:48:13 +02:00
Tommi Reiman
d24f86ccfe
Merge pull request #161 from dancek/patch-2
...
Correct testing instructions for contributors
2018-10-31 09:44:11 +02:00
Hannu Hartikainen
b7a5a6785f
Correct testing instructions for contributors
2018-10-31 09:36:45 +02:00
Miikka Koskinen
2d045511bb
Merge pull request #160 from dancek/fix-tests
...
Fix tests (add missing require)
2018-10-31 08:56:51 +02:00