Skip to content

Commit

Permalink
Actually export the new options (#1825)
Browse files Browse the repository at this point in the history
* actually export the new options

* bump version number, update changelog
  • Loading branch information
Benjamin-McRae-Tracsis committed Nov 28, 2023
1 parent 22c5e46 commit b240282
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 1 deletion.
4 changes: 4 additions & 0 deletions yesod-core/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# ChangeLog for yesod-core

## 1.6.25.1

* Export the options that were created in 1.6.25.0 [#1825](https://github.com/yesodweb/yesod/pull/1825)

## 1.6.25.0

* Add an options structure that allows the user to set which instances will be derived for a routes structure. [#1819](https://github.com/yesodweb/yesod/pull/1819)
Expand Down
10 changes: 10 additions & 0 deletions yesod-core/src/Yesod/Core/Dispatch.hs
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,22 @@ module Yesod.Core.Dispatch
, parseRoutesFile
, parseRoutesFileNoCheck
, mkYesod
, mkYesodOpts
, mkYesodWith
-- ** More fine-grained
, mkYesodData
, mkYesodDataOpts
, mkYesodSubData
, mkYesodSubDataOpts
, mkYesodDispatch
, mkYesodDispatchOpts
, mkYesodSubDispatch
-- *** Route generation options
, RouteOpts
, defaultOpts
, setEqDerived
, setShowDerived
, setReadDerived
-- *** Helpers
, defaultGen
, getGetMaxExpires
Expand Down
6 changes: 6 additions & 0 deletions yesod-core/src/Yesod/Core/Internal/TH.hs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ module Yesod.Core.Internal.TH

, subTopDispatch
, instanceD

, RouteOpts
, defaultOpts
, setEqDerived
, setShowDerived
, setReadDerived
)
where

Expand Down
2 changes: 1 addition & 1 deletion yesod-core/yesod-core.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: yesod-core
version: 1.6.25.0
version: 1.6.25.1
license: MIT
license-file: LICENSE
author: Michael Snoyman <[email protected]>
Expand Down

0 comments on commit b240282

Please sign in to comment.