# ChangeLog for yesod-core ## 1.6.21.0 * Export `Yesod.Core.Dispatch.defaultGen` so that users may reuse it for their own `YesodRunnerEnv`s [#1734](https://github.com/yesodweb/yesod/pull/1734) ## 1.6.20.2 * Fix compatibility with template-haskell 2.17 [#1729](https://github.com/yesodweb/yesod/pull/1729) ## 1.6.20.1 * Throw an error in `breadcrumbs` if the trail of breadcrumbs is circular. [#1727](https://github.com/yesodweb/yesod/issues/1727) ## 1.6.20 * Generate CSRF tokens using a secure entropy source [#1726](https://github.com/yesodweb/yesod/pull/1726) * Change semantics of `yreGen` and `defaultGen` ## 1.6.19.0 * Change order of priority in `languages`[#1721](https://github.com/yesodweb/yesod/pull/1721) ## 1.6.18.8 * Fix test suite for wai-extra change around vary header ## 1.6.18.7 * Fix functions generating Open Graph metadata[#1709](https://github.com/yesodweb/yesod/pull/1709) ## 1.6.18.6 * Update documentation from `HandlerT` to `HandlerFor` [#1703](https://github.com/yesodweb/yesod/pull/1703) ## 1.6.18.5 Document `ErrorResponse` [#1698](https://github.com/yesodweb/yesod/pull/1698) ## 1.6.18.4 * Fixed a bug where `mkYesod` and other TH functions didn't work for datatypes with explicitly stated type variables, including the case with typeclass constraints. [https://github.com/yesodweb/yesod/pull/1697](#1697) ## 1.6.18.3 * Remove mention of an oudated Yesod type (`GHandler`) from the docs for `handlerToIO`. [https://github.com/yesodweb/yesod/pull/1695](#1695) ## 1.6.18.2 * Recommends `.yesodroutes` as the file extension for Yesod routes files. [#1686](https://github.com/yesodweb/yesod/pull/1686) ## 1.6.18.1 * Increase the size of CSRF token ## 1.6.18 * Add functions for setting description and OG meta [#1663](https://github.com/yesodweb/yesod/pull/1663) * Use `DeriveLift` to implement the `Lift` instances for `ResourceTree`, `Resource`, `Piece`, and `Dispatch`. Among other benefits, this provides implementations of `liftTyped` on `template-haskell-2.16` (GHC 8.10) or later. [#1664](https://github.com/yesodweb/yesod/pull/1664) ## 1.6.17.3 * Support for `unliftio-core` 0.2 ## 1.6.17.2 * Support template-haskell 2.16, build with GHC 8.10 [#1657](https://github.com/yesodweb/yesod/pull/1657) ## 1.6.17.1 * Remove unnecessary deriving of Typeable ## 1.6.17 * Adds `contentTypeIsJson` [#1646](https://github.com/yesodweb/yesod/pull/1646) ## 1.6.16.1 * Compiles with GHC 8.8.1 ## 1.6.16 * Add `jsAttributesHandler` to run arbitrary Handler code before building the attributes map for the script tag generated by `widgetFile` [#1622](https://github.com/yesodweb/yesod/pull/1622) ## 1.6.15 * Move `redirectToPost` JavaScript form submission from HTML element to `