Skip to content

Commit

Permalink
Prepare 2.2.3.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
phadej committed Jun 11, 2024
1 parent ae40b21 commit 85db32a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ For the latest version of this document, please see [https://github.com/haskell/
* Support `hashable-1.4.6.0`.
* Fix an issue where `Hashable Key` wasn't newtype instance over underlying `Text`,
so with `-ordered-keymap` there were correctness issues.
* Add instances for `Data.Semigroup.Sum`, `Product`, `Any`, `All`

### 2.2.2.0

Expand Down
6 changes: 6 additions & 0 deletions src/Data/Aeson/Types/FromJSON.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2342,14 +2342,20 @@ deriving via (a :: Type) instance FromJSON a => FromJSON (Semigroup.Last a)
deriving via Identity instance FromJSON1 Semigroup.WrappedMonoid
deriving via (a :: Type) instance FromJSON a => FromJSON (Semigroup.WrappedMonoid a)

-- | @since 2.2.3.0
deriving via Identity instance FromJSON1 Semigroup.Sum
-- | @since 2.2.3.0
deriving via (a :: Type) instance FromJSON a => FromJSON (Semigroup.Sum a)

-- | @since 2.2.3.0
deriving via Identity instance FromJSON1 Semigroup.Product
-- | @since 2.2.3.0
deriving via (a :: Type) instance FromJSON a => FromJSON (Semigroup.Product a)

-- | @since 2.2.3.0
deriving via Bool instance FromJSON Semigroup.All

-- | @since 2.2.3.0
deriving via Bool instance FromJSON Semigroup.Any

#if !MIN_VERSION_base(4,16,0)
Expand Down
6 changes: 6 additions & 0 deletions src/Data/Aeson/Types/ToJSON.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2104,14 +2104,20 @@ deriving via (a :: Type) instance ToJSON a => ToJSON (Semigroup.Last a)
deriving via Identity instance ToJSON1 Semigroup.WrappedMonoid
deriving via (a :: Type) instance ToJSON a => ToJSON (Semigroup.WrappedMonoid a)

-- | @since 2.2.3.0
deriving via Identity instance ToJSON1 Semigroup.Sum
-- | @since 2.2.3.0
deriving via (a :: Type) instance ToJSON a => ToJSON (Semigroup.Sum a)

-- | @since 2.2.3.0
deriving via Identity instance ToJSON1 Semigroup.Product
-- | @since 2.2.3.0
deriving via (a :: Type) instance ToJSON a => ToJSON (Semigroup.Product a)

-- | @since 2.2.3.0
deriving via Bool instance ToJSON Semigroup.All

-- | @since 2.2.3.0
deriving via Bool instance ToJSON Semigroup.Any

#if !MIN_VERSION_base(4,16,0)
Expand Down

0 comments on commit 85db32a

Please sign in to comment.