packages feed

annotated-exception-0.3.0.3: ChangeLog.md

# Changelog for `annotated-exception`

## 0.3.0.3

- [#36](https://github.com/parsonsmatt/annotated-exception/pull/36)
    - Improved the `AnotatedException` `displayException` implementation.

## 0.3.0.2

- [#32](https://github.com/parsonsmatt/annotated-exception/pull/32)
    - Fixed the tests for GHC 9.10

## 0.3.0.1

- [#31](https://github.com/parsonsmatt/annotated-exception/pull/31)
    - The `Show` instance for `AnnotatedException` attempts to peek into the
      `SomeException` to provide a more useful exception type. Also gives the
      output of `show`.

## 0.3.0.0

- [#30](https://github.com/parsonsmatt/annotated-exception/pull/30)
    - The `Show` and `displayException` now render the annotated exception in a
      much nicer way.

## 0.2.0.5

- [#27](https://github.com/parsonsmatt/annotated-exception/pull/27)
    - Ensure that `flatten` combines `CallStack`s even when the callstack is
      attached manually.

## 0.2.0.4

- [#18](https://github.com/parsonsmatt/annotated-exception/pull/18)
    - Add `checkpointCallStack` even when `catch` doesn't catch an
      `AnnotatedException`

## 0.2.0.3

- [#17](https://github.com/parsonsmatt/annotated-exception/pull/17)
    - Add `HasCallStack` to `catch` and `catches`

## 0.2.0.2

- [#14](https://github.com/parsonsmatt/annotated-exception/pull/14)
    - Define `Control.Exception.Annotated.UnliftIO.checkpointCallStack` without
      re-exporting the `MonadCatch` variant. Sigh.

## 0.2.0.1

- [#13](https://github.com/parsonsmatt/annotated-exception/pull/13)
    - Fixed a bug in `UnliftIO.catches` where it would infinitely recurse.

## 0.2.0.0

- [#12](https://github.com/parsonsmatt/annotated-exception/pull/12)
    - Removed the `Eq` instance for `Annotation` as well as the `Eq` constraint
      in `AnnC`. These instances were only used for testing, and prevented the
      natural use of `CallStack` in a `[Annotation]`.
    - Removed the `Eq` instance for `AnnotatedException` as a consequence of
      dropping the `Eq` instance on `Annotation`.
    - Removed the `new` function. Use `pure` or `exceptionWithCallStack` instead.
    - Fixed a double-annotation bug in `checkpointCallStackWith`.
    - `checkpointCallStack` appends to the call-site list.
    - Pretty much everything now merges the `CallStack`s together. `throw`
      includes a `CallStack`, as do `checkpoint` and `checkpointMany`.

## 0.1.2.1

- [#8](https://github.com/parsonsmatt/annotated-exception/pull/8)
    - There was a bug where catching or trying to catch an exception of the
      wrong type would trigger an infinite loop as the `fromException` method
      kept digging and digging and would be unable to make things work out. The
      `fromException` code no longer tries to flatten out these exceptions.
      However, `toException` *does* flatten it, so all tests still pass.

## 0.1.2.0

- [#6](https://github.com/parsonsmatt/annotated-exception/pull/6)
    - Add `Control.Exception.Annotated.UnliftIO` that uses `MonadUnliftIO`
      instead of `MonadCatch` and `MonadThrow`.
    - Actually expose `catches`

## 0.1.1.0

- [#4](https://github.com/parsonsmatt/annotated-exception/pull/4)
    - Add `catches`
    - Replace `Control.Exception.Safe.try` with `try` that can get an
      `AnnotatedException e` or a regular, un-`Annotated` `e`.

## 0.1.0.0

- Initial Release