Skip to content

Prepare release #386

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Dec 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Contributing

## Versioning policy

`lsp` and `lsp-types` should typically have identical versions and be released in lockstep.
This is for two reasons:
1. They are morally one package, and may become one again once multiple public libraries are better supported.
2. `lsp` exports many types from `lsp-types`, so in practice will need a major verison bump when `lsp-types` does anyway.

`lsp-test` can evolve independently.

## Git tags

The tagging scheme is `$package-$version`, e.g. `lsp-types-1.0.0`.

## Making a release

1. Bump version numbers as needed (see 'Versioning policy')
2. Update changelogs (currently manual, sadly)
3. Once the above is in master, create git tags following 'Git tags'
4. Create package candidates for the packages, and check that they all look good.
5. Finalize the package candidates.
4 changes: 4 additions & 0 deletions lsp-test/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Revision history for lsp-test

## 0.14.0.2

* Compatibility with new lsp-types major version.

## 0.14.0.1 -- 2021-07-30

* Catch IO exception when sending messages to server (#317) (@berberman)
Expand Down
6 changes: 2 additions & 4 deletions lsp-test/lsp-test.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.4
name: lsp-test
version: 0.14.0.1
version: 0.14.0.2
synopsis: Functional test framework for LSP servers.
description:
A test framework for writing tests against
Expand Down Expand Up @@ -81,7 +81,7 @@ test-suite tests
build-depends: base >= 4.10 && < 5
, hspec
, lens
, lsp == 1.2.*
, lsp == 1.4.*
, lsp-test
, data-default
, aeson
Expand All @@ -102,12 +102,10 @@ test-suite func-test
build-depends: base
, lsp-test
, lsp
, data-default
, process
, lens
, unliftio
, hspec
, async
default-language: Haskell2010

test-suite example
Expand Down
18 changes: 18 additions & 0 deletions lsp-types/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Revision history for lsp-types

## 1.4.0.0

* Aeson 2 compatibility (#360) (@michaelpj)
* Reduced dependency footprint (#383, #384) (@Bodigrim)
* Use appropriate number types (#366) (@michaelpj)
* Fix for #374 (#376) (@pepeiborra)
* Fix virtual file name adding .hs extension (#364) (@heitor-lassarote, @jneira)
Copy link
Member

@jneira jneira Dec 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Fix virtual file name adding .hs extension (#364) (@heitor-lassarote, @jneira)
* Fix virtual file name adding .hs extension (#364) (@heitor-lassarote)

I did not meaningful change in that pr (afair :-P)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You landed it!

* Fix the Semigroup instance for MarkupContent (#361) (@michaelpj)
* Various improvements to spec conformance (@michaelpj)

## 1.3.0.1

* Rollback NFP interning (#344) (@pepeiborra)

## 1.3.0.0

* Intern NormalizedFilePaths (#340) (@pepeiborra)

## 1.2.0.1

* Add compatibility with GHC 9.2 (#345) (@fendor)
Expand Down
5 changes: 5 additions & 0 deletions lsp/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Revision history for lsp

## 1.4.0.0

* Fix extraneous `asdf` in `withProgress` output (#372) (@heitor-lassarote)
* Use appropriate number types (#366) (@michaelpj)

## 1.2.0.1

* Add exception instances to LspT (#315) (@pepeiborra)
Expand Down
10 changes: 1 addition & 9 deletions lsp/lsp.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.2
name: lsp
version: 1.2.0.1
version: 1.4.0.0
synopsis: Haskell library for the Microsoft Language Server Protocol

description: An implementation of the types, and basic message server to
Expand Down Expand Up @@ -68,18 +68,10 @@ executable lsp-demo-reactor-server

build-depends: base
, aeson
, bytestring
, containers
, directory
, filepath
, hslogger
, lens >= 4.15.2
, mtl
, stm
, text
, transformers
, unordered-containers
, unliftio
-- the package library. Comment this out if you want repl changes to propagate
, lsp
if !flag(demo)
Expand Down