From aec611f8b797015c88c999a46a1defe92a8d93a0 Mon Sep 17 00:00:00 2001 From: kimmoahola <28525546+kimmoahola@users.noreply.github.com> Date: Wed, 22 Feb 2023 13:11:46 +0200 Subject: [PATCH] Fix date of version 0.6.0 --- CHANGELOG.md | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ea6d6b20..9e604aa5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ We use [Break Versioning][breakver]. The version numbers follow a `. {:status 400, :body {:errors {:x ["missing required key"]}}} ``` @@ -347,13 +347,13 @@ is called the first time, so that `rfe/push-state` and such can be called * `reitit.ring/routes` strips away `nil` routes, fixes [#394](https://github.com/metosin/reitit/issues/394) * `reitit.ring/create-file-handler` to serve files from filesystem, fixes [#395](https://github.com/metosin/reitit/issues/395) -* **BREAKING**: router option `:reitit.ring/default-options-handler` is deprecated +* **BREAKING**: router option `:reitit.ring/default-options-handler` is deprecated * fails with router creation time error * use `:reitit.ring/default-options-endpoint` instead, takes an expandable route data instead just of a handler. ### `reitit-http` -* **BREAKING**: router option `:reitit.http/default-options-handler` is deprecated +* **BREAKING**: router option `:reitit.http/default-options-handler` is deprecated * fails with router creation time error * use `:reitit.http/default-options-endpoint` instead, takes an expandable route data instead just of a handler. @@ -432,7 +432,7 @@ is called the first time, so that `rfe/push-state` and such can be called * **BREAKING**: Decode multi-valued query params correctly into seqs (e.g. `foo=bar&foo=baz` ↦ `{:foo ["bar", "baz"]}`). * Previously you'd get only the first value. (e.g. `foo=bar&foo=baz` ↦ `{:foo "bar"}`) - + ### `reitit-ring` * **BREAKING**: New validation rule: `:middleware` must be a vector, not a list. Fixes [#296](https://github.com/metosin/reitit/issues/296). ([#319](https://github.com/metosin/reitit/pull/319) by [Daw-Ran Liou](https://github.com/dawran6)) @@ -550,23 +550,23 @@ is called the first time, so that `rfe/push-state` and such can be called {:parameters {:body [s/Str]}}]] {:exception pretty/exception}) ; -- Router creation failed -------------------------------------------- user:7 -- -; +; ; Error merging route-data: -; +; ; -- On route ----------------------- -; +; ; /kikka/kakka -; +; ; -- Exception ---------------------- -; +; ; Don't know how to create ISeq from: java.lang.Class -; +; ; {:parameters {:body {:id java.lang.String}}} -; +; ; {:parameters {:body [java.lang.String]}} -; +; ; https://cljdoc.org/d/metosin/reitit/CURRENT/doc/basics/route-data -; +; ; -------------------------------------------------------------------------------- ``` @@ -585,7 +585,7 @@ is called the first time, so that `rfe/push-state` and such can be called ### `reitit-core` -* new options `:reitit.spec/wrap` to wrap top-level route data specs when spec validation is enabled. Using `spec-tools.spell/closed` closes top-level specs. +* new options `:reitit.spec/wrap` to wrap top-level route data specs when spec validation is enabled. Using `spec-tools.spell/closed` closes top-level specs. * Updated swagger-examples to easily enable closed spec validation ```clj @@ -650,9 +650,9 @@ is called the first time, so that `rfe/push-state` and such can be called * new module for friendly router creation time exception handling * new option `:exception` in `r/router`, of type `Exception => Exception` (default `reitit.exception/exception`) * new exception pretty-printer `reitit.dev.pretty/exception`, based on [fipp](https://github.com/brandonbloom/fipp) and [expound](https://github.com/bhb/expound) for human readable, newbie-friendly errors. - + #### Conflicting paths - + ```clj (require '[reitit.core :as r]) (require '[reitit.dev.pretty :as pretty])