Skip to content

Commit

Permalink
Merge pull request #2864 from clash-lang/1.8.2-release
Browse files Browse the repository at this point in the history
1.8.2 release
  • Loading branch information
christiaanb authored Jan 3, 2025
2 parents c639ace + 69942c2 commit 639cf15
Show file tree
Hide file tree
Showing 29 changed files with 41 additions and 33 deletions.
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# Changelog for the Clash project

## 1.8.2 *Jan 3rd 2025*

Added:
* Support for GHC 9.10 [#2758](https://github.com/clash-lang/clash-compiler/pull/2758)
* Support for GHC 9.8.4 [#2852](https://github.com/clash-lang/clash-compiler/issues/2852)
* Add `ShowX`, `NFDataX` instances for `Proxy` [#2637](https://github.com/clash-lang/clash-compiler/pull/2637)
* Added `Clash.Sized.Vector.ToTuple.vecToTuple`: a way to safely work around incomplete patterns warnings on patterns involving `Vec`tors. [#2862](https://github.com/clash-lang/clash-compiler/pull/2682)
* Added operator precedences for infix usage of functions exported from `Clash.Class.Num`: `mul`, `add`, `sub`, `satMul`, `satAdd`, `satSub`, `boundedMul`, `boundedAdd`, and `boundedSub`. This means that expressions such as `` a `add` b `mul` c `` now get parsed as `` a `add` (b `mul` c) `` instead of `` (a `add` b) `mul` c ``. [#2719](https://github.com/clash-lang/clash-compiler/pull/2719)

Changed:
* `BitVector n` now has an implementation for `ensureSpine` which ensures the constructor is present. [#2702](https://github.com/clash-lang/clash-compiler/pull/2702)
* `xToBV` is now located in `Clash.Sized.Internal.BitVector` to avoid circular dependencies. [#2702](https://github.com/clash-lang/clash-compiler/pull/2702)
* The error messages that mention the valid ranges for out-of-range inputs have been improved to be more intuitive: one of `<empty range>`, `[n]` or `[n..m]`. All _n..m_ ranges are now ordered with the lower bound on the left. [#2733](https://github.com/clash-lang/clash-compiler/pull/2733)

Fixed:
* cabal: Make `workaround-ghc-mmap-crash` a noop on non-x86_64. Fixes [#2656](https://github.com/clash-lang/clash-compiler/issues/2656)
* Clash no longer hides error messages if it fails to load external (precompiled) modules. Note: this fix only works from GHC 9.0 on. See [#2365](https://github.com/clash-lang/clash-compiler/issues/2365)
* HDL generation fails when using multiple-hidden feature in combination with synthesis attributes [#2593](https://github.com/clash-lang/clash-compiler/issues/2593)
* Clash no longer errors out in the netlist generation stage when a polymorphic function is applied to type X in one alternative of a case-statement and applied to a newtype wrapper of type X in a different alternative. See [#2828](https://github.com/clash-lang/clash-compiler/issues/2628)
* various issues with black boxes and evaluator rules for number-related primitives [#2689](https://github.com/clash-lang/clash-compiler/pull/2689)
* `genBitVector` no longer contains off-by-one error on for generated Naturals [#2704](https://github.com/clash-lang/clash-compiler/pull/2704)
* (+>>.) and (.<<+) such that they are compliant with (+>>) and (<<+) for vectors of zero length in the sense that the input vector is kept unchanged. [#2730](https://github.com/clash-lang/clash-compiler/issues/2730)
* Removed `stringsearch` dependency from `v16-upgrade-primitives`. See [#2726](https://github.com/clash-lang/clash-compiler/issues/2726)
* Bug in the compile-time evaluator [#2781](https://github.com/clash-lang/clash-compiler/issues/2781)
* Exponentiation (`Clash.Class.Exp`) is now right-associative with a precedence level of 8 (`infixr 8`). By accident, it used to lack a fixity declaration, meaning it was implicitly left-associative at level 9. [#2818](https://github.com/clash-lang/clash-compiler/pull/2818)
* Unused argument warnings on writeToBiSignal# [#2822](https://github.com/clash-lang/clash-compiler/pull/2822)
* Clash errored saying it cannot translate a globally recursive function in code that originally only contains let-bound (local) recursion [#2839](https://github.com/clash-lang/clash-compiler/issues/2839)
* Clash generates illegal Verilog names [#2845](https://github.com/clash-lang/clash-compiler/issues/2845)

## 1.8.1 *Nov 10th 2023*

* Bump package dependencies to allow inclusion in stackage-nightly
Expand Down
1 change: 0 additions & 1 deletion changelog/2024-01-15T18_50_38-05_00_showx-proxy-instances

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changelog/2024-02-08T11_27_48+01_00_fix_2365

This file was deleted.

1 change: 0 additions & 1 deletion changelog/2024-02-16T16_42_52+01_00_fix2593

This file was deleted.

1 change: 0 additions & 1 deletion changelog/2024-02-23T16_56_56+01_00_fix2628

This file was deleted.

1 change: 0 additions & 1 deletion changelog/2024-02-27T20_43_27+01_00_add_vecToTuple

This file was deleted.

1 change: 0 additions & 1 deletion changelog/2024-03-04T17_11_12+01_00_fix_numeric_issues

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changelog/2024-04-08T16_56_08+02_00_fix_genBitVector

This file was deleted.

1 change: 0 additions & 1 deletion changelog/2024-04-08T17_33_38+02_00_move_xToBV

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changelog/2024-05-31T20_14_29+02_00_fix_bitvector_shifts

This file was deleted.

1 change: 0 additions & 1 deletion changelog/2024-06-11T16_55_10+02_00_improve_range_error

This file was deleted.

1 change: 0 additions & 1 deletion changelog/2024-07-21T16_46_47+02_00_remove_stringsearch

This file was deleted.

1 change: 0 additions & 1 deletion changelog/2024-07-26T07_36_58+02_00_ghc_910_upgrade

This file was deleted.

1 change: 0 additions & 1 deletion changelog/2024-08-05T22_45_27+02_00_fix2781

This file was deleted.

1 change: 0 additions & 1 deletion changelog/2024-10-03T17_02_19+02_00_exp_fixity

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changelog/2024-11-18T13_43_58+01_00_fix2839

This file was deleted.

1 change: 0 additions & 1 deletion changelog/2024-11-18T14_59_34+01_00_fix2845

This file was deleted.

1 change: 0 additions & 1 deletion changelog/2024-12-31T16_09_30+01_00_ghc_984_support

This file was deleted.

2 changes: 1 addition & 1 deletion clash-cores/clash-cores.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 2.2

name: clash-cores
version: 1.8.1
version: 1.8.2
synopsis: A collection of IP cores for Clash
description: A collection of IP cores for Clash
bug-reports: https://github.com/clash-lang/clash-cores/issues
Expand Down
6 changes: 3 additions & 3 deletions clash-ghc/clash-ghc.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Cabal-version: 2.2
Name: clash-ghc
Version: 1.8.1
Version: 1.8.2
Synopsis: Clash: a functional hardware description language - GHC frontend
Description:
Clash is a functional hardware description language that borrows both its
Expand Down Expand Up @@ -170,8 +170,8 @@ library
transformers >= 0.5.2.0 && < 0.7,
unordered-containers >= 0.2.1.0 && < 0.3,

clash-lib == 1.8.1,
clash-prelude == 1.8.1,
clash-lib == 1.8.2,
clash-prelude == 1.8.2,
ghc-typelits-extra >= 0.3.2 && < 0.5,
ghc-typelits-knownnat >= 0.6 && < 0.8,
ghc-typelits-natnormalise >= 0.6 && < 0.8,
Expand Down
4 changes: 2 additions & 2 deletions clash-lib-hedgehog/clash-lib-hedgehog.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 2.2

name: clash-lib-hedgehog
version: 1.8.1
version: 1.8.2
synopsis: Hedgehog Generators for clash-lib
description: Hedgehog Generators for clash-lib
bug-reports: https://github.com/clash-lang/clash-compiler/issues
Expand Down Expand Up @@ -63,4 +63,4 @@ library
transformers >= 0.5.2.0 && < 0.7,
ghc >= 8.6.0 && < 9.11,

clash-lib == 1.8.1,
clash-lib == 1.8.2,
4 changes: 2 additions & 2 deletions clash-lib/clash-lib.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Cabal-version: 2.2
Name: clash-lib
Version: 1.8.1
Version: 1.8.2
Synopsis: Clash: a functional hardware description language - As a library
Description:
Clash is a functional hardware description language that borrows both its
Expand Down Expand Up @@ -151,7 +151,7 @@ Library
base16-bytestring >= 0.1.1 && < 1.1,
binary >= 0.8.5 && < 0.11,
bytestring >= 0.10.0.2 && < 0.13,
clash-prelude == 1.8.1,
clash-prelude == 1.8.2,
containers >= 0.5.0.0 && < 0.8,
cryptohash-sha256 >= 0.11 && < 0.12,
data-binary-ieee754 >= 0.4.4 && < 0.6,
Expand Down
4 changes: 2 additions & 2 deletions clash-prelude-hedgehog/clash-prelude-hedgehog.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 2.2

name: clash-prelude-hedgehog
version: 1.8.1
version: 1.8.2
synopsis: Hedgehog Generators for clash-prelude
description: Hedgehog Generators for clash-prelude
bug-reports: https://github.com/clash-lang/clash-compiler/issues
Expand Down Expand Up @@ -51,4 +51,4 @@ library
ghc-typelits-natnormalise >= 0.7.2 && < 0.8,
text >= 1.2.2 && < 2.2,

clash-prelude == 1.8.1,
clash-prelude == 1.8.2,
2 changes: 1 addition & 1 deletion clash-prelude/clash-prelude.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Cabal-version: 2.2
Name: clash-prelude
Version: 1.8.1
Version: 1.8.2
Synopsis: Clash: a functional hardware description language - Prelude library
Description:
Clash is a functional hardware description language that borrows both its
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
project = 'Clash'
copyright = '2017-2019, The Clash Developers'
author = 'The Clash Developers'
version = '1.8.0'
version = '1.8.2'
release = version

# Syntax highlighting
Expand Down

0 comments on commit 639cf15

Please sign in to comment.