Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.3.2.1. #39

Merged
merged 1 commit into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 33 additions & 24 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,20 @@
`co-log-core` uses [PVP Versioning][1].
The change log is available [on GitHub][2].

## 0.x.y.zUnreleased
## 0.3.2.1Oct 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):
Expand Down Expand Up @@ -39,71 +48,71 @@ 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

- 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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion co-log-core.cabal
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/Colog/Core/Severity.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>
Stability : Stable
Expand Down Expand Up @@ -127,7 +127,7 @@
@since 0.3.1.0
-}
data WithSeverity msg = WithSeverity { getMsg :: msg , getSeverity :: Severity }
deriving stock (Show, Eq, Ord, Functor, Foldable, Traversable)

Check failure on line 130 in src/Colog/Core/Severity.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 8.4.4

• Can't make a derived instance of

Check failure on line 130 in src/Colog/Core/Severity.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 8.4.4

• Can't make a derived instance of

Check failure on line 130 in src/Colog/Core/Severity.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 8.4.4

• Can't make a derived instance of

Check failure on line 130 in src/Colog/Core/Severity.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 8.6.5

• Can't make a derived instance of

Check failure on line 130 in src/Colog/Core/Severity.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 8.6.5

• Can't make a derived instance of

Check failure on line 130 in src/Colog/Core/Severity.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 8.6.5

• Can't make a derived instance of

Check failure on line 130 in src/Colog/Core/Severity.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 8.2.2

• Can't make a derived instance of

Check failure on line 130 in src/Colog/Core/Severity.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 8.10.7

• Can't make a derived instance of

Check failure on line 130 in src/Colog/Core/Severity.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 8.10.7

• Can't make a derived instance of

Check failure on line 130 in src/Colog/Core/Severity.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 8.10.7

• Can't make a derived instance of

Check failure on line 130 in src/Colog/Core/Severity.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 8.8.4

• Can't make a derived instance of

Check failure on line 130 in src/Colog/Core/Severity.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 8.8.4

• Can't make a derived instance of

Check failure on line 130 in src/Colog/Core/Severity.hs

View workflow job for this annotation

GitHub Actions / ubuntu-latest / ghc 8.8.4

• Can't make a derived instance of

{- | Map the given function over the severity of a 'WithSeverity'.

Expand Down
Loading