Skip to content

Commit

Permalink
Fix infinite recursion in ...Test.Yesod.getResponse (#119)
Browse files Browse the repository at this point in the history
* Fix infinite recursion in ...Test.Yesod.getResponse

* bump version
  • Loading branch information
chris-martin authored Sep 20, 2023
1 parent 6decab1 commit 5cd9d96
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
## [_Unreleased_](https://github.com/freckle/freckle-app/compare/v1.9.5.0...main)
## [_Unreleased_](https://github.com/freckle/freckle-app/compare/v1.9.5.1...main)

## [v1.9.5.1](https://github.com/freckle/freckle-app/compare/v1.9.5.0...v1.9.5.1)

- Fixed mistake in `Freckle.App.Test.Yesod.getResponse` producing nontermination

## [v1.9.5.0](https://github.com/freckle/freckle-app/compare/v1.9.4.0...v1.9.5.0)

Expand Down
2 changes: 1 addition & 1 deletion freckle-app.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cabal-version: 1.18
-- see: https://github.com/sol/hpack

name: freckle-app
version: 1.9.5.0
version: 1.9.5.1
synopsis: Haskell application toolkit used at Freckle
description: Please see README.md
category: Utils
Expand Down
2 changes: 1 addition & 1 deletion library/Freckle/App/Test/Yesod.hs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ getRawBody =

-- | Get the most recently provided response value, if available
getResponse :: forall m site. MonadYesodExample site m => m (Maybe SResponse)
getResponse = liftYesodExample getResponse
getResponse = liftYesodExample Yesod.Test.getResponse

-- | The general interface for performing requests
--
Expand Down
2 changes: 1 addition & 1 deletion package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: freckle-app
version: 1.9.5.0
version: 1.9.5.1
maintainer: Freckle Education
category: Utils
github: freckle/freckle-app
Expand Down

0 comments on commit 5cd9d96

Please sign in to comment.