Require aeson-2.0.3.* and optics-core-0.4.1 or greater.
Drop support for GHC-8.0
Change the types of _Object, key, and members:
-_Object :: Prism' t (HashMap Text Value)
+_Object :: Prism' t (KeyMap Value)
-key :: AsValue t => Text -> AffineTraversal' t Value
+key :: AsValue t => Key -> AffineTraversal' t Value
-members :: AsValue t => IndexedTraversal' Text t Value
+members :: AsValue t => IndexedTraversal' Key t Value
This mirrors similar changes made in aeson-2.0.*, where the type of
Object’s field was changed from HashMap Text Value to KeyMap Value.
The Ixed Value instance changes similarly:
-type instance Index Value = Text
+type instance Index Value = Key