Update the version to 1.6.2
This commit is contained in:
parent
acf956443d
commit
b8f93e6203
@ -1,4 +1,4 @@
|
|||||||
## 1.6.1
|
## 1.6.2
|
||||||
|
|
||||||
* Add byLabel-related functions like byLabelContain
|
* Add byLabel-related functions like byLabelContain
|
||||||
[#1482](https://github.com/yesodweb/yesod/pull/1482)
|
[#1482](https://github.com/yesodweb/yesod/pull/1482)
|
||||||
|
|||||||
@ -672,7 +672,7 @@ byLabelExact = byLabelWithMatch (==)
|
|||||||
--
|
--
|
||||||
-- Note: Just like 'byLabel', this function throws an error if it finds multiple labels
|
-- Note: Just like 'byLabel', this function throws an error if it finds multiple labels
|
||||||
--
|
--
|
||||||
-- @since 1.6.1
|
-- @since 1.6.2
|
||||||
byLabelContain :: T.Text -- ^ The text in the @\<label>@.
|
byLabelContain :: T.Text -- ^ The text in the @\<label>@.
|
||||||
-> T.Text -- ^ The value to set the parameter to.
|
-> T.Text -- ^ The value to set the parameter to.
|
||||||
-> RequestBuilder site ()
|
-> RequestBuilder site ()
|
||||||
@ -683,7 +683,7 @@ byLabelContain = byLabelWithMatch T.isInfixOf
|
|||||||
--
|
--
|
||||||
-- Note: Just like 'byLabel', this function throws an error if it finds multiple labels
|
-- Note: Just like 'byLabel', this function throws an error if it finds multiple labels
|
||||||
--
|
--
|
||||||
-- @since 1.6.1
|
-- @since 1.6.2
|
||||||
byLabelPrefix :: T.Text -- ^ The text in the @\<label>@.
|
byLabelPrefix :: T.Text -- ^ The text in the @\<label>@.
|
||||||
-> T.Text -- ^ The value to set the parameter to.
|
-> T.Text -- ^ The value to set the parameter to.
|
||||||
-> RequestBuilder site ()
|
-> RequestBuilder site ()
|
||||||
@ -694,7 +694,7 @@ byLabelPrefix = byLabelWithMatch T.isPrefixOf
|
|||||||
--
|
--
|
||||||
-- Note: Just like 'byLabel', this function throws an error if it finds multiple labels
|
-- Note: Just like 'byLabel', this function throws an error if it finds multiple labels
|
||||||
--
|
--
|
||||||
-- @since 1.6.1
|
-- @since 1.6.2
|
||||||
byLabelSuffix :: T.Text -- ^ The text in the @\<label>@.
|
byLabelSuffix :: T.Text -- ^ The text in the @\<label>@.
|
||||||
-> T.Text -- ^ The value to set the parameter to.
|
-> T.Text -- ^ The value to set the parameter to.
|
||||||
-> RequestBuilder site ()
|
-> RequestBuilder site ()
|
||||||
@ -774,7 +774,7 @@ fileByLabelExact = fileByLabelWithMatch (==)
|
|||||||
--
|
--
|
||||||
-- Note: Just like 'fileByLabel', this function throws an error if it finds multiple labels
|
-- Note: Just like 'fileByLabel', this function throws an error if it finds multiple labels
|
||||||
--
|
--
|
||||||
-- @since 1.6.1
|
-- @since 1.6.2
|
||||||
fileByLabelContain :: T.Text -- ^ The text contained in the @\<label>@.
|
fileByLabelContain :: T.Text -- ^ The text contained in the @\<label>@.
|
||||||
-> FilePath -- ^ The path to the file.
|
-> FilePath -- ^ The path to the file.
|
||||||
-> T.Text -- ^ The MIME type of the file, e.g. "image/png".
|
-> T.Text -- ^ The MIME type of the file, e.g. "image/png".
|
||||||
@ -786,7 +786,7 @@ fileByLabelContain = fileByLabelWithMatch T.isInfixOf
|
|||||||
--
|
--
|
||||||
-- Note: Just like 'fileByLabel', this function throws an error if it finds multiple labels
|
-- Note: Just like 'fileByLabel', this function throws an error if it finds multiple labels
|
||||||
--
|
--
|
||||||
-- @since 1.6.1
|
-- @since 1.6.2
|
||||||
fileByLabelPrefix :: T.Text -- ^ The text contained in the @\<label>@.
|
fileByLabelPrefix :: T.Text -- ^ The text contained in the @\<label>@.
|
||||||
-> FilePath -- ^ The path to the file.
|
-> FilePath -- ^ The path to the file.
|
||||||
-> T.Text -- ^ The MIME type of the file, e.g. "image/png".
|
-> T.Text -- ^ The MIME type of the file, e.g. "image/png".
|
||||||
@ -798,7 +798,7 @@ fileByLabelPrefix = fileByLabelWithMatch T.isPrefixOf
|
|||||||
--
|
--
|
||||||
-- Note: Just like 'fileByLabel', this function throws an error if it finds multiple labels
|
-- Note: Just like 'fileByLabel', this function throws an error if it finds multiple labels
|
||||||
--
|
--
|
||||||
-- @since 1.6.1
|
-- @since 1.6.2
|
||||||
fileByLabelSuffix :: T.Text -- ^ The text contained in the @\<label>@.
|
fileByLabelSuffix :: T.Text -- ^ The text contained in the @\<label>@.
|
||||||
-> FilePath -- ^ The path to the file.
|
-> FilePath -- ^ The path to the file.
|
||||||
-> T.Text -- ^ The MIME type of the file, e.g. "image/png".
|
-> T.Text -- ^ The MIME type of the file, e.g. "image/png".
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
name: yesod-test
|
name: yesod-test
|
||||||
version: 1.6.1
|
version: 1.6.2
|
||||||
license: MIT
|
license: MIT
|
||||||
license-file: LICENSE
|
license-file: LICENSE
|
||||||
author: Nubis <nubis@woobiz.com.ar>
|
author: Nubis <nubis@woobiz.com.ar>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user