[ANNOUNCE] GHC 9.2.1-alpha1 now available

Hi all, The GHC developers are very happy to announce the availability of the first alpha release in the 9.2.1 series. Binary distributions, source distributions, and documentation are available at https://downloads.haskell.org/ghc/9.2.1-alpha1 GHC 9.2 will bring a number of exciting features including: * Many changes in the area of records, including the new `RecordDotSyntax` and `NoFieldSelectors` language extensions, as well as Support for `DuplicateRecordFields` with `PatternSynonyms`. * Introduction of the new `GHC2021` language extension set, giving users convenient access to a larger set of language extensions which have been long considered stable. * Merge of `ghc-exactprint` into the GHC tree, providing infrastructure for source-to-source program rewriting out-of-the-box. * Introduction of a `BoxedRep` `RuntimeRep`, allowing for polymorphism over levity of boxed objects (#17526) * Implementation of the `UnliftedDataTypes` extension, allowing users to define types which do not admit lazy evaluation ([proposal]) * The new [-hi profiling] mechanism which provides significantly improved insight into thunk leaks. * Support for the `ghc-debug` out-of-process heap inspection library [ghc-debug] * Support for profiling of pinned objects with the cost-centre profiler (#7275) * Introduction of Haddock documentation support in TemplateHaskell (#5467) In addition, the final 9.2.1 release will bring a new native code generator for ARM, providing fast, first-class for Haskell on Apple ARM hardware [apple-m1], although this functionality is not yet present in this alpha. As always, do give this a try and open a [ticket] if you see anything amiss. Happy testing, - Ben [apple-m1]: https://www.haskell.org/ghc/blog/20210309-apple-m1-story.html [proposal]: https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0265-un... [-hi profiling]: https://well-typed.com/blog/2021/01/first-look-at-hi-profiling-mode/ [ghc-debug]: http://ghc.gitlab.haskell.org/ghc-debug/ [ticket]: https://gitlab.haskell.org/ghc/ghc/-/issues/new

Hi,
Typically a GHC release is tied to a new cabal release as well. I however
can't find a new tag for Cabal.
Does this mean I need to use cabal-head or can I use Cabal 3.4?
Thanks,
Tamar
On Thu, Apr 1, 2021 at 5:44 PM Ben Gamari
Hi all,
The GHC developers are very happy to announce the availability of the first alpha release in the 9.2.1 series. Binary distributions, source distributions, and documentation are available at
https://downloads.haskell.org/ghc/9.2.1-alpha1
GHC 9.2 will bring a number of exciting features including:
* Many changes in the area of records, including the new `RecordDotSyntax` and `NoFieldSelectors` language extensions, as well as Support for `DuplicateRecordFields` with `PatternSynonyms`.
* Introduction of the new `GHC2021` language extension set, giving users convenient access to a larger set of language extensions which have been long considered stable.
* Merge of `ghc-exactprint` into the GHC tree, providing infrastructure for source-to-source program rewriting out-of-the-box.
* Introduction of a `BoxedRep` `RuntimeRep`, allowing for polymorphism over levity of boxed objects (#17526)
* Implementation of the `UnliftedDataTypes` extension, allowing users to define types which do not admit lazy evaluation ([proposal])
* The new [-hi profiling] mechanism which provides significantly improved insight into thunk leaks.
* Support for the `ghc-debug` out-of-process heap inspection library [ghc-debug]
* Support for profiling of pinned objects with the cost-centre profiler (#7275)
* Introduction of Haddock documentation support in TemplateHaskell (#5467)
In addition, the final 9.2.1 release will bring a new native code generator for ARM, providing fast, first-class for Haskell on Apple ARM hardware [apple-m1], although this functionality is not yet present in this alpha.
As always, do give this a try and open a [ticket] if you see anything amiss.
Happy testing,
- Ben
[apple-m1]: https://www.haskell.org/ghc/blog/20210309-apple-m1-story.html [proposal]: https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0265-un... [-hi https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0265-un... profiling]: https://well-typed.com/blog/2021/01/first-look-at-hi-profiling-mode/ [ghc-debug https://well-typed.com/blog/2021/01/first-look-at-hi-profiling-mode/%5Bghc-d...]: http://ghc.gitlab.haskell.org/ghc-debug/ [ticket]: https://gitlab.haskell.org/ghc/ghc/-/issues/new _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Phyx
Hi,
Typically a GHC release is tied to a new cabal release as well. I however can't find a new tag for Cabal.
Does this mean I need to use cabal-head or can I use Cabal 3.4?
There will be a Cabal 3.6 release associated with this release however this branch hasn't happened yet. Hopefully this will be sorted by the next alpha. Cheers, - Ben

Great news! I couldn't find a mention of the supported llvm version in the
release notes here
https://ghc.gitlab.haskell.org/ghc/doc/users_guide/9.2.1-notes.html.
Also will the llvm compiler option be supported for 9.2.1?
Thanks
George
On Thu, Apr 1, 2021 at 1:44 PM Ben Gamari
Hi all,
The GHC developers are very happy to announce the availability of the first alpha release in the 9.2.1 series. Binary distributions, source distributions, and documentation are available at
https://downloads.haskell.org/ghc/9.2.1-alpha1
GHC 9.2 will bring a number of exciting features including:
* Many changes in the area of records, including the new `RecordDotSyntax` and `NoFieldSelectors` language extensions, as well as Support for `DuplicateRecordFields` with `PatternSynonyms`.
* Introduction of the new `GHC2021` language extension set, giving users convenient access to a larger set of language extensions which have been long considered stable.
* Merge of `ghc-exactprint` into the GHC tree, providing infrastructure for source-to-source program rewriting out-of-the-box.
* Introduction of a `BoxedRep` `RuntimeRep`, allowing for polymorphism over levity of boxed objects (#17526)
* Implementation of the `UnliftedDataTypes` extension, allowing users to define types which do not admit lazy evaluation ([proposal])
* The new [-hi profiling] mechanism which provides significantly improved insight into thunk leaks.
* Support for the `ghc-debug` out-of-process heap inspection library [ghc-debug]
* Support for profiling of pinned objects with the cost-centre profiler (#7275)
* Introduction of Haddock documentation support in TemplateHaskell (#5467)
In addition, the final 9.2.1 release will bring a new native code generator for ARM, providing fast, first-class for Haskell on Apple ARM hardware [apple-m1], although this functionality is not yet present in this alpha.
As always, do give this a try and open a [ticket] if you see anything amiss.
Happy testing,
- Ben
[apple-m1]: https://www.haskell.org/ghc/blog/20210309-apple-m1-story.html [proposal]: https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0265-un... [-hi https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0265-un... profiling]: https://well-typed.com/blog/2021/01/first-look-at-hi-profiling-mode/ [ghc-debug https://well-typed.com/blog/2021/01/first-look-at-hi-profiling-mode/%5Bghc-d...]: http://ghc.gitlab.haskell.org/ghc-debug/ [ticket]: https://gitlab.haskell.org/ghc/ghc/-/issues/new _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

George Colpitts
Great news! I couldn't find a mention of the supported llvm version in the release notes here https://ghc.gitlab.haskell.org/ghc/doc/users_guide/9.2.1-notes.html.
Also will the llvm compiler option be supported for 9.2.1?
This is mentioned in the users guide associated with the 9.2.1-alpha1 release [1]. We will support both LLVM 10 and 11 in this release. Cheers, - Ben [1] http://downloads.haskell.org/ghc/9.2.1-alpha1/docs/html/users_guide/9.2.1-no...
participants (3)
-
Ben Gamari
-
George Colpitts
-
Phyx