clash-lib 1.6.5 → 1.6.6
raw patch · 3 files changed
+19/−4 lines, 3 filesdep +attoparsec-aesondep ~aesondep ~clash-preludePVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependencies added: attoparsec-aeson
Dependency ranges changed: aeson, clash-prelude
API changes (from Hackage documentation)
- Clash.Rewrite.Types: bindings :: forall extra_a3VQc. Lens' (RewriteState extra_a3VQc) BindingMap
+ Clash.Rewrite.Types: bindings :: forall extra_a3VQV. Lens' (RewriteState extra_a3VQV) BindingMap
- Clash.Rewrite.Types: curFun :: forall extra_a3VQc. Lens' (RewriteState extra_a3VQc) (Id, SrcSpan)
+ Clash.Rewrite.Types: curFun :: forall extra_a3VQV. Lens' (RewriteState extra_a3VQV) (Id, SrcSpan)
- Clash.Rewrite.Types: extra :: forall extra_a3VQc extra_a3VXY. Lens (RewriteState extra_a3VQc) (RewriteState extra_a3VXY) extra_a3VQc extra_a3VXY
+ Clash.Rewrite.Types: extra :: forall extra_a3VQV extra_a3VYH. Lens (RewriteState extra_a3VQV) (RewriteState extra_a3VYH) extra_a3VQV extra_a3VYH
- Clash.Rewrite.Types: globalHeap :: forall extra_a3VQc. Lens' (RewriteState extra_a3VQc) PrimHeap
+ Clash.Rewrite.Types: globalHeap :: forall extra_a3VQV. Lens' (RewriteState extra_a3VQV) PrimHeap
- Clash.Rewrite.Types: nameCounter :: forall extra_a3VQc. Lens' (RewriteState extra_a3VQc) Int
+ Clash.Rewrite.Types: nameCounter :: forall extra_a3VQV. Lens' (RewriteState extra_a3VQV) Int
- Clash.Rewrite.Types: transformCounter :: forall extra_a3VQc. Lens' (RewriteState extra_a3VQc) Word
+ Clash.Rewrite.Types: transformCounter :: forall extra_a3VQV. Lens' (RewriteState extra_a3VQV) Word
- Clash.Rewrite.Types: transformCounters :: forall extra_a3VQc. Lens' (RewriteState extra_a3VQc) (HashMap Text Word)
+ Clash.Rewrite.Types: transformCounters :: forall extra_a3VQV. Lens' (RewriteState extra_a3VQV) (HashMap Text Word)
- Clash.Rewrite.Types: uniqSupply :: forall extra_a3VQc. Lens' (RewriteState extra_a3VQc) Supply
+ Clash.Rewrite.Types: uniqSupply :: forall extra_a3VQV. Lens' (RewriteState extra_a3VQV) Supply
- Clash.Rewrite.Types: workFreeBinders :: forall extra_a3VQc. Lens' (RewriteState extra_a3VQc) (VarEnv Bool)
+ Clash.Rewrite.Types: workFreeBinders :: forall extra_a3VQV. Lens' (RewriteState extra_a3VQV) (VarEnv Bool)
Files
- CHANGELOG.md +11/−0
- clash-lib.cabal +6/−3
- src/Data/Aeson/Extra.hs +2/−1
CHANGELOG.md view
@@ -1,4 +1,15 @@ # Changelog for the Clash project+## 1.6.6 *Oct 2nd 2023*++* Support Aeson 2.2 [#2578](https://github.com/clash-lang/clash-compiler/pull/2578)+* Drop the snap package [#2439](https://github.com/clash-lang/clash-compiler/pull/2439)++ The Clash snap package has not been a recommended way to use Clash for quite some time, and it is a hassle to support.++ In order to build a snap package, we build .deb packages for Clash with Ubuntu 20.04 LTS. But the interaction between the Debian build system and GHC is problematic, requiring significant effort to support and to upgrade to a more recent Ubuntu release.++ Additionally, snap packages have their own issues on distributions other than Ubuntu. Given that we no longer recommend people use our snap package and given the effort required to keep supporting them, we have decided to drop the snap package.+ ## 1.6.5 *Jun 27th 2023* Fixed:
clash-lib.cabal view
@@ -1,6 +1,6 @@ Cabal-version: 2.2 Name: clash-lib-Version: 1.6.5+Version: 1.6.6 Synopsis: Clash: a functional hardware description language - As a library Description: Clash is a functional hardware description language that borrows both its@@ -126,7 +126,8 @@ RecordWildCards TemplateHaskell - Build-depends: aeson >= 0.6.2.0 && < 2.2,+ Build-depends: aeson >= 0.6.2.0 && < 2.3,+ attoparsec-aeson >= 2.1 && < 2.3, aeson-pretty >= 0.8 && < 0.9, ansi-terminal >= 0.8.0.0 && < 0.12, array,@@ -136,7 +137,7 @@ base16-bytestring >= 0.1.1 && < 1.1, binary >= 0.8.5 && < 0.11, bytestring >= 0.10.0.2 && < 0.12,- clash-prelude == 1.6.5,+ clash-prelude == 1.6.6, concurrent-supply >= 0.1.7 && < 0.2, containers >= 0.5.0.0 && < 0.7, cryptohash-sha256 >= 0.11 && < 0.12,@@ -307,6 +308,7 @@ Build-Depends: base, aeson,+ attoparsec-aeson, deepseq, yaml, bytestring,@@ -336,6 +338,7 @@ ghc-typelits-knownnat, aeson,+ attoparsec-aeson, aeson-pretty, base, base16-bytestring,
src/Data/Aeson/Extra.hs view
@@ -24,7 +24,8 @@ import Data.List (intercalate) import Data.List.Extra (groupOn) import Data.Tuple.Extra (second, first)-import Data.Aeson (FromJSON, Result (..), fromJSON, json)+import Data.Aeson (FromJSON, Result (..), fromJSON)+import Data.Aeson.Parser (json) import Data.Attoparsec.Lazy (Result (..), parse) import Data.ByteString.Lazy (ByteString) import qualified Data.ByteString.Lazy as BS