File tree Expand file tree Collapse file tree 4 files changed +8
-10
lines changed
src/Language/LSP/Protocol/Types Expand file tree Collapse file tree 4 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 1
1
# Revision history for lsp-types
2
2
3
+ ## Unreleased
4
+
5
+ - Require aeson 2
6
+
3
7
## 2.1.0.0
4
8
5
9
- Add ` dynamicRegistrationSupported ` to ` Capabilities ` .
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ library
69
69
UndecidableInstances
70
70
71
71
build-depends :
72
- , aeson >= 1.2.2.0 && < 2.3
72
+ , aeson >= 2 && < 2.3
73
73
, base >= 4.11 && < 5
74
74
, binary
75
75
, containers
@@ -92,8 +92,6 @@ library
92
92
, some
93
93
, template-haskell
94
94
, text
95
- -- needed for aeson < 1
96
- , unordered-containers
97
95
98
96
if flag(force-ospath)
99
97
build-depends : filepath ^>= 1.4.100.0
@@ -528,7 +526,7 @@ library metamodel
528
526
Language.LSP.MetaModel.Types
529
527
530
528
build-depends :
531
- , aeson >= 1.2.2.0
529
+ , aeson >= 2
532
530
, base >= 4.11 && < 5
533
531
, file-embed
534
532
, lens >= 4.15.2
Original file line number Diff line number Diff line change @@ -27,11 +27,7 @@ import Control.DeepSeq
27
27
import Control.Lens
28
28
import Data.Aeson hiding (Null )
29
29
import Data.Aeson qualified as J
30
- #if MIN_VERSION_aeson(2,0,0)
31
- import qualified Data.Aeson.KeyMap as KM
32
- #else
33
- import qualified Data.HashMap.Strict as KM
34
- #endif
30
+ import Data.Aeson.KeyMap qualified as KM
35
31
import Data.Hashable
36
32
import Data.Int (Int32 )
37
33
import Data.Mod.Word
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ library
51
51
52
52
ghc-options : -Wall
53
53
build-depends :
54
- , aeson >= 1.0.0.0
54
+ , aeson >= 2
55
55
, async >= 2.0
56
56
, attoparsec
57
57
, base >= 4.11 && < 5
You can’t perform that action at this time.
0 commit comments