Skip to content

Commit

Permalink
Prepare for 1.1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lukel97 committed Feb 14, 2021
1 parent 2205561 commit b258a69
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 6 deletions.
33 changes: 33 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,38 @@
# Revision history for lsp

## 1.1.0.0

* Fix prepareRename reponse and prepareProvider (@kirelagin)
* Fix deriving instance of MonadUnliftIO (@banacorn)
* Add support for file and folder operations in WorkspaceEdit (@banacorn)
Instead of having TextDocumentEdit in WorkspaceEdit

```haskell
data WorkspaceEdit =
WorkspaceEdit
{ _changes :: Maybe WorkspaceEditMap
, _documentChanges :: Maybe (List TextDocumentEdit)
} deriving (Show, Read, Eq)
```
It is now replaced by a new type called DocumentChange

```haskell
data WorkspaceEdit =
WorkspaceEdit
{ _changes :: Maybe WorkspaceEditMap
, _documentChanges :: Maybe (List DocumentChange)
} deriving (Show, Read, Eq)
```
Which is just a synonym of union of WorkspaceEdit and other operations

```haskell
type DocumentChange = TextDocumentEdit |? CreateFile |? RenameFile |? DeleteFile
```
* Add new CodeAction features (isPreferred, disabled) (@pepeiborra)
* Respond to requests with missing handlers (@wz1000)
* Use Text over String in more places (@wz1000)
* Add missing lenses (@wz1000, @bubba)

## 1.0.0.0

1.0.0.0 is a major rework with both internal and external facing changes, and
Expand Down
33 changes: 33 additions & 0 deletions lsp-types/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,38 @@
# Revision history for haskell-lsp-types

## 1.1.0.0

* Fix prepareRename reponse and prepareProvider (@kirelagin)
* Fix deriving instance of MonadUnliftIO (@banacorn)
* Add support for file and folder operations in WorkspaceEdit (@banacorn)
Instead of having TextDocumentEdit in WorkspaceEdit

```haskell
data WorkspaceEdit =
WorkspaceEdit
{ _changes :: Maybe WorkspaceEditMap
, _documentChanges :: Maybe (List TextDocumentEdit)
} deriving (Show, Read, Eq)
```
It is now replaced by a new type called DocumentChange

```haskell
data WorkspaceEdit =
WorkspaceEdit
{ _changes :: Maybe WorkspaceEditMap
, _documentChanges :: Maybe (List DocumentChange)
} deriving (Show, Read, Eq)
```
Which is just a synonym of union of WorkspaceEdit and other operations

```haskell
type DocumentChange = TextDocumentEdit |? CreateFile |? RenameFile |? DeleteFile
```
* Add new CodeAction features (isPreferred, disabled) (@pepeiborra)
* Respond to requests with missing handlers (@wz1000)
* Use Text over String in more places (@wz1000)
* Add missing lenses (@wz1000, @bubba)

## 1.0.0.0

1.0.0.0 is a major rework with both internal and external facing changes, and
Expand Down
6 changes: 3 additions & 3 deletions lsp-types/lsp-types.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: lsp-types
version: 1.0.0.1
version: 1.1.0.0
synopsis: Haskell library for the Microsoft Language Server Protocol, data types

description: An implementation of the types to allow language implementors to
Expand All @@ -10,7 +10,7 @@ license: MIT
license-file: LICENSE
author: Alan Zimmerman
maintainer: alan.zimm@gmail.com
copyright: Alan Zimmerman, 2016-2020
copyright: Alan Zimmerman, 2016-2021
category: Development
build-type: Simple
extra-source-files: ChangeLog.md, README.md
Expand Down Expand Up @@ -94,4 +94,4 @@ library

source-repository head
type: git
location: https://github.com/alanz/haskell-lsp
location: https://github.com/alanz/lsp
6 changes: 3 additions & 3 deletions lsp.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.2
name: lsp
version: 1.0.0.1
version: 1.1.0.0
synopsis: Haskell library for the Microsoft Language Server Protocol

description: An implementation of the types, and basic message server to
Expand All @@ -15,7 +15,7 @@ license: MIT
license-file: LICENSE
author: Alan Zimmerman
maintainer: alan.zimm@gmail.com
copyright: Alan Zimmerman, 2016-2020
copyright: Alan Zimmerman, 2016-2021
category: Development
build-type: Simple
extra-source-files: ChangeLog.md, README.md
Expand All @@ -42,7 +42,7 @@ library
, filepath
, hslogger
, hashable
, lsp-types == 1.0.*
, lsp-types == 1.1.*
, dependent-map
, lens >= 4.15.2
, mtl
Expand Down

0 comments on commit b258a69

Please sign in to comment.