* Prepare release 2.9.0.0
* Bump 'bytestring' version for release CI test scripts
The older 'bytestring-0.11.1.0' version doesn't compile with the recent
GHC 9.10.1 release. Bump the version to '0.12.1.0' which can be
successfully compiled on all supported GHC versions.
* Update supported GHC version table
* Move plugin ghc support conditionals into .cabal file
Having them in the cabal.project file is a very neat way to
enable/disable a plugin, but it negatively affects Hackage users as they
can no longer trivially install HLS from Hackage.
This discussion might be revisited in the future, but not during a
release process.
* Disable tests and benchmarks in release test pipeline
On some platforms, building bytestring-0.12.1.0 is not fully supported
yet. Hence, we disable tests and benchmarks, to allow building on the
platform Windows with GHC 9.10.1.
* Always show debug output in release test ci
* Upgrade cabal version in the release pipeline
* Switch to `text` for release test package
---------
Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
* Refine GHC deprecation policy
* Update docs/support/ghc-version-support.md
Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
* Update docs/support/ghc-version-support.md
Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
* Reword to support status, as this is mentioned above
* Include ghcup recommended version in support discussion
* reword
* Reword
---------
Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
Co-authored-by: Fendor <fendor@posteo.de>
Co-authored-by: soulomoon <fwy996602672@gmail.com>
* hls-notes-plugin: Initial implementation
* hls-notes-plugin: add to feature list and plugin table
* hls-notes-plugin: Add more documentation comments
* hls-notes-plugin: Fix tests after #3846, add CI job
* hls-notes-plugin: Address review comments
* hls-notes-plugin: Allow Note definition within single line comments
* hls-notes-plugin: Improve "Note not found" error message
* hls-notes-plugin: Allow single line notes to be indented
* treewide: Add missing underscores to note definitions
* hls-notes-plugin: Wait until HLS is done in tests
* hls-notes-plugin: Fix tests on windows
The regex did not allow windows line endings in note definitions
---------
Co-authored-by: Jan Hrcek <2716069+jhrcek@users.noreply.github.com>
Co-authored-by: fendor <fendor@users.noreply.github.com>
* Stylish-haskell now supports 9.8
* Ormolu and fourmolu already support 9.8
* New version of floskell in fact builds with 9.8
* New hlint builds with 9.8
* add config for semantic tokens for mapping between hs token type to LSP default token type
* fix Missing features header
* Delete plugins/hls-semantic-tokens-plugin/test/testdata/TDatatype.hs
* Delete plugins/hls-semantic-tokens-plugin/test/testdata/TDatafamily.hs
* Delete plugins/hls-semantic-tokens-plugin/test/testdata/TPatternsyn.hs
* update doc
* fix ghc96 schema generation
* remove typedata and add ghc98 scheme generation test file
* Ajust case in mappings
* add ghc92 generate scheme
* add ghc94 generate scheme
* cleanup
* modify the lspTokenReverseMap to take semantic config
* rename fromLspTokenType to lspTokenTypeHsTokenType
* add description for semantic tokens mappings config
* fix doc and cleanup
* delete content for /test/testdata/schema for now, since we are modifying the configuration
* semantic config keys use lower case in the first element
* add config generation scheme test
* fix config generation scheme test
* ajust names for semantic tokens
* add token suffix to token type configuration
* cleanup
* fix merge
* fix dodgy macro
* Automatically remove macros for 9.2
* Manual GLASGOW_HASKELL bits
* Remove from CI
* Remove from docs
* Remove from release CI
* fix positions
* Some simplification in ghcide
* Maybe fix
* Maybe this
* WIP
* More
This removes the support for:
- Dev shells with pre-built packages
- Building binaries
These have been almost continually broken, and nobody is really
maintaining them. Better to just do the simple thing we can do reliably,
which is to provide dev shells.
Closes#3800
* Prepare release 2.3.0.0
* release ci: respect ADD_CABAL_ARGS on non-windows builds
* release ci: disable simdutf text for centos
* release ci: disable simdutf text for freebsd
* Fix cabal file of hls-fourmolu-plugin to allow it to be uploaded to hackage
Fixes#3819
* Update ghc version support docs
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* Prepare release 2.1.0.0
* Update release ghc versions
* Fix release CI for unknown linux
* Generate ChangeLog from 2.0.0.0
* Update notable changes in ChangeLog
* Update index-state
* Add environment for vars context
* Free up disk space after running test
* Expand release notes
* Update supported ghc version page
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* overloaded record dot plugin initial version (closes#3350)
* Added support to GHC 9.2, and updated documentation
Also, update the CI to test overloaded-record-dot-plugin
and added overloaded-record-dot-plugin to stack.yml
* Apply suggestions from Lei Zhu (July541)
Co-authored-by: Lei Zhu <julytreee@gmail.com>
* Use GHC2021 and updated gif
* Fix test.yml formatting problem
* use coerce instead of unExt (from michaelpj)
Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
* Implements michaelpj code review suggestions
* Collect records on lists instead of maybe
This way we don't need to switch back and forward between the two,
and we can also return more than one match from inside a HsExpanded
* Added documentation
* Reworded comments for spelling and clarity
* use useWithStale for the TypeCheck rule
* Update version to conform with changes on master
* No longer depend on specific hls package versions
* Fixed comments and line length issues
* Added test for HsExpanded expressions
---------
Co-authored-by: Lei Zhu <julytreee@gmail.com>
Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
* Docs: update Emacs section: add eglot with config example
Based on the discussion at https://github.com/haskell/haskell-language-server/issues/3157
* Update docs/configuration.md
Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
---------
Co-authored-by: Michael Peyton Jones <me@michaelpj.com>