From e960ce18775eaca582e9da14db748652a27bf317 Mon Sep 17 00:00:00 2001 From: Sandy Maguire Date: Wed, 12 Jun 2019 09:40:08 -0400 Subject: [PATCH] Release polysemy 0.4.0.0 --- ChangeLog.md | 30 +++++++++++++++++++++++------- package.yaml | 2 +- polysemy.cabal | 4 ++-- 3 files changed, 26 insertions(+), 10 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index cda0432..6f84461 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,13 +1,30 @@ # Changelog for polysemy +## 0.4.0.0 (2019-06-12) + +### Breaking Changes + +- Renamed `runResource` to `runResourceInIO` + +### Other Changes + +- Added `runResource`, which runs a `Resource` purely +- Added `onException`, `finally` and `bracketOnError` to `Resource` +- Added a new function, `runResource` which performs bracketing for pure code + ## 0.3.0.1 (2019-06-09) - Fixed a type error in the benchmark caused by deprecation of `Semantic` ## 0.3.0.0 (2019-06-01) +### Breaking Changes + - Removed all deprecated names - Moved `Random` effect to `polysemy-zoo` + +### Other Changes + - `makeSem` can now be used to create term-level operators (thanks to @TheMatten) @@ -27,9 +44,14 @@ ## 0.2.0.0 (2019-05-23) +### Breaking Changes + +- Lower precedence of `.@` and `.@@` to 8, from 9 + +### Other Changes + - Fixed a serious bug in `interpretH` and friends, where higher-order effects would always be run with the current interpreter. -- Lower precedence of `.@` and `.@@` to 8, from 9 - Users need no longer require `inlineRecursiveCalls` --- the `polysemy-plugin-0.2.0.0` will do it automatically when compiling with `-O` - Deprecated `inlineRecursiveCalls`; slated for removal in the next version @@ -62,9 +84,3 @@ ## Unreleased changes -NEEDS NEW RELEASE: 0.4.0.0 -- Added `runResource`, which runs a `Resource` purely -- Added `onException`, `finally` and `bracketOnError` to `Resource` -- Renamed `runResource` to `runResourceInIO` -- Added a new function, `runResource` which performs bracketing for pure code - diff --git a/package.yaml b/package.yaml index 84f6ed9..f4091b0 100644 --- a/package.yaml +++ b/package.yaml @@ -1,5 +1,5 @@ name: polysemy -version: 0.3.0.1 +version: 0.4.0.0 github: "isovector/polysemy" license: BSD3 author: "Sandy Maguire" diff --git a/polysemy.cabal b/polysemy.cabal index 22b0a37..e5fdfd5 100644 --- a/polysemy.cabal +++ b/polysemy.cabal @@ -4,10 +4,10 @@ cabal-version: 1.12 -- -- see: https://github.com/sol/hpack -- --- hash: 20a3fcddb39c94daf5bd5361ea1ca0e2de0fda57895ca11f71332e80548c6d53 +-- hash: 4be5160aee3aafedfc1de37204f6dbea8e61f8aceaee0deaa59520e662451bd3 name: polysemy -version: 0.3.0.1 +version: 0.4.0.0 synopsis: Higher-order, low-boilerplate, zero-cost free monads. description: Please see the README on GitHub at category: Language