From 336e85a56bd34dc234af51fa2d675e187883202d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20L=C3=A4ndle?= Date: Fri, 20 Oct 2023 11:53:59 +0200 Subject: [PATCH] Next release 0.3.2.1. --- CHANGELOG.md | 57 ++++++++++++++++++++++---------------- README.md | 2 +- co-log-core.cabal | 2 +- src/Colog/Core/Severity.hs | 2 +- 4 files changed, 36 insertions(+), 27 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 10d3aff..cc2cd2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,11 +3,20 @@ `co-log-core` uses [PVP Versioning][1]. The change log is available [on GitHub][2]. -## 0.x.y.z — Unreleased +## 0.3.2.1 — Oct 20, 2023 -- [#29](https://github.com/co-log/co-log-core/issues/29): - Support GHC-9.6. +## What's Changed +* Relax doctest boundaries. by @alaendle in [#32](https://github.com/co-log/co-log-core/pull/32) +* GA(deps): Bump actions/checkout from 3 to 4 by @dependabot in [#35](https://github.com/co-log/co-log-core/pull/35) +* Allow doctest-0.22 by @Vekhir in [#36](https://github.com/co-log/co-log-core/pull/36) +* [#29] Support GHC 9.6 by @vrom911 in [#33](https://github.com/co-log/co-log-core/pull/33) +* Support ghc-9.8 by @alaendle in [#37](https://github.com/co-log/co-log-core/pull/37) +* Publish to hackage directly from GitHub by @alaendle in [#38](https://github.com/co-log/co-log-core/pull/38) +## New Contributors +* @Vekhir made their first contribution in https://github.com/co-log/co-log-core/pull/36 + +**Full Changelog**: https://github.com/co-log/co-log-core/compare/v0.3.2.0...v0.3.2.1 ## 0.3.2.0 — Nov 2, 2022 - [#25](https://github.com/co-log/co-log-core/issues/25): @@ -39,66 +48,66 @@ The change log is available [on GitHub][2]. ## 0.2.1.1 — Apr 18, 2020 -- [#186](https://github.com/kowainik/co-log/issues/186): +- [#186](https://github.com/co-log/co-log/issues/186): Support GHC-8.10.1. ## 0.2.1.0 — Jan 19, 2020 -- [#139](https://github.com/kowainik/co-log/issues/139): +- [#139](https://github.com/co-log/co-log/issues/139): Add (unrepresentable) `Functor` instance for `LogAction` with the custom type-error. (by [@vrom911](https://github.com/vrom911)) -- [#148](https://github.com/kowainik/co-log/issues/148): +- [#148](https://github.com/co-log/co-log/issues/148): Support GHC-8.8.2. (by [@chshersh](https://github.com/chshersh)) -- [#122](https://github.com/kowainik/co-log/issues/122): +- [#122](https://github.com/co-log/co-log/issues/122): Add the `separate` combinator. (by [@vrom911](https://github.com/vrom911)) -- [#125](https://github.com/kowainik/co-log/issues/125): +- [#125](https://github.com/co-log/co-log/issues/125): Add monadic versions of contravariant functions. (by [@piq9117](https://github.com/piq9117)) -- [#138](https://github.com/kowainik/co-log/issues/138): +- [#138](https://github.com/co-log/co-log/issues/138): Add `hoistLogAction` — higher-order transformation function. (by [@jiribenes](https://github.com/jiribenes)) -- [#123](https://github.com/kowainik/co-log/issues/123): +- [#123](https://github.com/co-log/co-log/issues/123): Write default implementation to `getLogAction` via `logActionL`. (by [@SanchayanMaity](https://github.com/SanchayanMaity)) ## 0.2.0.0 — May 5, 2019 -- [#85](https://github.com/kowainik/co-log/issues/85): +- [#85](https://github.com/co-log/co-log/issues/85): Move `overLogAction` to `HasLog` typeclass -- [#101](https://github.com/kowainik/co-log/issues/101): +- [#101](https://github.com/co-log/co-log/issues/101): Add `logActionL` lens with default implementation to `HasLog` type class. -- [#99](https://github.com/kowainik/co-log/issues/99): +- [#99](https://github.com/co-log/co-log/issues/99): Add comonadic combinators: `duplicate` and `multiplicate`. -- [#78](https://github.com/kowainik/co-log/issues/78): +- [#78](https://github.com/co-log/co-log/issues/78): Improve documentation significantly. ## 0.1.1 — Nov 15, 2018 -- [#63](https://github.com/kowainik/co-log/issues/63): +- [#63](https://github.com/co-log/co-log/issues/63): Add `logPrint`, `logPrintStderr`, `logPrintHandle` and `withLogPrintFile` to `Colog.Core.IO`. -- [#46](https://github.com/kowainik/co-log/issues/46): +- [#46](https://github.com/co-log/co-log/issues/46): Moves `logStringStdout`, `logStringStderr`, `logStringHandle`, `withLogStringFile` from `Colog.Actions` to `Colog.Core.IO`. -- [#48](https://github.com/kowainik/co-log/issues/48): +- [#48](https://github.com/co-log/co-log/issues/48): Adds `liftLogIO` function. -- [#49](https://github.com/kowainik/co-log/issues/49): +- [#49](https://github.com/co-log/co-log/issues/49): Add `<&` and `&>`operators for `unLogAction`. -- [#47](https://github.com/kowainik/co-log/issues/47): +- [#47](https://github.com/co-log/co-log/issues/47): Add `doctest` tests. -- [#13](https://github.com/kowainik/co-log/issues/13): +- [#13](https://github.com/co-log/co-log/issues/13): Add `.cabal` file description and improve documentation. -- [#39](https://github.com/kowainik/co-log/issues/39): +- [#39](https://github.com/co-log/co-log/issues/39): Support GHC-8.2.2 and GHC-8.6.2. ## 0.1.0 -- [#38](https://github.com/kowainik/co-log/issues/38): +- [#38](https://github.com/co-log/co-log/issues/38): Rename `cbind` to `cmapM`. -- [#37](https://github.com/kowainik/co-log/issues/37): +- [#37](https://github.com/co-log/co-log/issues/37): Add `base` bounds. ## 0.0.0 @@ -106,4 +115,4 @@ The change log is available [on GitHub][2]. - Initially created. [1]: https://pvp.haskell.org -[2]: https://github.com/kowainik/co-log/releases +[2]: https://github.com/co-log/co-log-core/releases diff --git a/README.md b/README.md index 7fcd9af..67809f3 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![GitHub CI](https://github.com/co-log/co-log-core/workflows/CI/badge.svg)](https://github.com/co-log/co-log-core/actions) [![Hackage][hk-img-core]][hk-core] -[![MPL-2.0 license](https://img.shields.io/badge/license-MPL--2.0-blue.svg)](https://github.com/kowainik/co-log/blob/main/LICENSE) +[![MPL-2.0 license](https://img.shields.io/badge/license-MPL--2.0-blue.svg)](https://github.com/co-log/co-log/blob/main/LICENSE) `co-log-core` is a lightweight package that provides core types and functions to work with the @LogAction@ data type which is both simple and powerful. diff --git a/co-log-core.cabal b/co-log-core.cabal index 329ca99..edcc0f5 100644 --- a/co-log-core.cabal +++ b/co-log-core.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: co-log-core -version: 0.3.2.0 +version: 0.3.2.1 synopsis: Composable Contravariant Comonadic Logging Library description: This package provides core types and functions to work with the @LogAction@ data type which is both simple and powerful. diff --git a/src/Colog/Core/Severity.hs b/src/Colog/Core/Severity.hs index 5f24ca8..69b6a4e 100644 --- a/src/Colog/Core/Severity.hs +++ b/src/Colog/Core/Severity.hs @@ -2,7 +2,7 @@ {- | Module : Colog.Core.Severity -Copyright : (c) 2018-2020 Kowainik, 2021-2022 Co-Log +Copyright : (c) 2018-2020 Kowainik, 2021-2023 Co-Log SPDX-License-Identifier : MPL-2.0 Maintainer : Co-Log Stability : Stable