diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 000000000..9eff55b44 --- /dev/null +++ b/CONTRIBUTING.md @@ -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. diff --git a/lsp-test/ChangeLog.md b/lsp-test/ChangeLog.md index 5ae2803d5..8b7ce0d88 100644 --- a/lsp-test/ChangeLog.md +++ b/lsp-test/ChangeLog.md @@ -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) diff --git a/lsp-test/lsp-test.cabal b/lsp-test/lsp-test.cabal index 111b57b3b..43eba012f 100644 --- a/lsp-test/lsp-test.cabal +++ b/lsp-test/lsp-test.cabal @@ -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 @@ -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 @@ -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 diff --git a/lsp-types/ChangeLog.md b/lsp-types/ChangeLog.md index 955737f9c..c6aaedda2 100644 --- a/lsp-types/ChangeLog.md +++ b/lsp-types/ChangeLog.md @@ -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) +* 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) diff --git a/lsp/ChangeLog.md b/lsp/ChangeLog.md index a380bc796..55e0184cb 100644 --- a/lsp/ChangeLog.md +++ b/lsp/ChangeLog.md @@ -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) diff --git a/lsp/lsp.cabal b/lsp/lsp.cabal index 7ae40103d..0b1d86f6e 100644 --- a/lsp/lsp.cabal +++ b/lsp/lsp.cabal @@ -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 @@ -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)