CVS log for pkgsrc/converters/hs-lens-aeson/Makefile
Up to [cvs.NetBSD.org] / pkgsrc / converters / hs-lens-aeson
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Mar 5 03:38:57 2025 UTC (3 weeks, 2 days ago) by pho
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2
lines
recursive revbump after patching lang/ghc910
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Feb 2 13:04:52 2025 UTC (7 weeks, 4 days ago) by pho
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2
lines
Bump all Haskell packages after switching the default compiler.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu May 9 01:31:41 2024 UTC (10 months, 2 weeks ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base,
pkgsrc-2024Q4,
pkgsrc-2024Q3-base,
pkgsrc-2024Q3,
pkgsrc-2024Q2-base,
pkgsrc-2024Q2
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2
lines
Recursive revbump after changing the default Haskell compiler
Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri May 3 17:35:25 2024 UTC (10 months, 3 weeks ago) by pho
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +5 -1
lines
converters/hs-lens-aeson: Fix build with GHC 9.8
This breaks build with the currently default GHC 9.6. Please bear with me
until I switch the default compiler.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Nov 2 06:36:12 2023 UTC (16 months, 3 weeks ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base,
pkgsrc-2024Q1,
pkgsrc-2023Q4-base,
pkgsrc-2023Q4
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -1
lines
Revbump all Haskell after updating lang/ghc96
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Oct 30 18:55:53 2023 UTC (16 months, 3 weeks ago) by pho
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -4
lines
converters/hs-lens-aeson: Update to 1.2.3
1.2.3 [2023.06.27]
* Use aeson's decode function in the AsJSON instance for ByteStrings. This
allows removing a direct dependency on attoparsec.
* Allow building with aeson-2.2.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Oct 9 04:54:03 2023 UTC (17 months, 2 weeks ago) by pho
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2
lines
Bump Haskell packages after updating lang/ghc94
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Feb 7 01:40:23 2023 UTC (2 years, 1 month ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base,
pkgsrc-2023Q3,
pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -1
lines
revbump all the Haskell packages after modifying the runtime system of lang/ghc94
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Aug 28 21:38:42 2022 UTC (2 years, 6 months ago) by mef
Branches: MAIN
CVS tags: pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -3
lines
(converters/hs-lens-aeson) Updated 1.1.3 to 1.2.2
1.2.2 [2022.08.11]
------------------
* Add `atKey :: AsValue t => Key -> Traversal' t (Maybe Value)`, a variant of
`key` that uses `at` instead of `ix`.
1.2.1 [2022.05.07]
------------------
* Change the `IsKey` instances for `ByteString`s to use
`decodeUtf8With lenientDecode` instead of `decodeUtf8`. While these `IsKey`
instances are meant to used for interoperability with `aeson` values that
are UTF-8–encoded, using `decodeUtf8With lenientDecode` at least ensures
that converting a non–UTF-8–encoded `ByteString` will not crash.
1.2 [2022.03.19]
----------------
* Require `aeson-2.0.2.*` and `lens-5.0.*` or greater.
* Change the types of `_Object`, `key`, and `members`:
```diff
-_Object :: Prism' t (HashMap Text Value)
+_Object :: Prism' t (KeyMap Value)
-key :: AsValue t => Text -> Traversal' t Value
+key :: AsValue t => Key -> Traversal' 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:
```diff
-type instance Index Value = Text
+type instance Index Value = Key
```
* Remove `Primitive` and `AsPrimitive`, since https://tools.ietf.org/html/rfc7159
de-emphasized the notion of primitive versus composite JSON values.
* The `AsPrimitive` methods (`_Value`, `_String`, and `_Bool`) are now
`AsValue` methods.
* `_Number`'s default signature, `Bool_`, `String_`, and `Null_` now have an
`AsValue` constraint.
* Add `Wrapped` and `Rewrapped` instances for `KeyMap`. These treat `KeyMap v`
as a wrapper around `[(Key, v)]`. The order in which the key-value pairs
appear in this list is not stable.
* Add an `IsKey` class, whose method `_Key` is an `Iso` for converting values
to and from a `Key`.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Aug 20 08:08:12 2022 UTC (2 years, 7 months ago) by wiz
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2
lines
hs*: recursive bump for new dependencies needed
for hs-aeson, hs-vector
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Feb 26 03:57:45 2022 UTC (3 years, 1 month ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1
lines
Bump all Haskell packages after enabling "split sections" in mk/haskell.mk
Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Feb 16 10:01:34 2022 UTC (3 years, 1 month ago) by pho
Branches: MAIN
converters/hs-lens-aeson: import hs-lens-aeson-1.1.3
The goal of lens-aeson is to provide traversals and prisms for the Aeson
library's Value type, while obeying the Traversal/Prism laws.
CVSweb <webmaster@jp.NetBSD.org>