Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
christiaanb committed Jan 3, 2025
1 parent 8fb7bb8 commit 69942c2
Show file tree
Hide file tree
Showing 22 changed files with 29 additions and 21 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.

0 comments on commit 69942c2

Please sign in to comment.