Skip to content

Commit 163655a

Browse files
Esbonio Language Server Release v0.13.1
1 parent c474114 commit 163655a

File tree

10 files changed

+36
-18
lines changed

10 files changed

+36
-18
lines changed

lib/esbonio/.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.13.0
2+
current_version = 0.13.1
33
commit = False
44
tag = False
55
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(.dev(?P<dev>\d+))?

lib/esbonio/CHANGES.rst

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1+
v0.13.1 - 2022-06-29
2+
--------------------
3+
4+
Fixes
5+
^^^^^
6+
7+
- Log messages from Sphinx's startup are now captured and forwarded onto the language client. (`#408 <https://github.com/swyddfa/esbonio/issues/408>`_)
8+
- Log messages from the server's startup are now captured and forwarded onto the language client. (`#417 <https://github.com/swyddfa/esbonio/issues/417>`_)
9+
- Fixed handling of default roles when getting a document's initial doctree. (`#418 <https://github.com/swyddfa/esbonio/issues/418>`_)
10+
11+
12+
API Changes
13+
^^^^^^^^^^^
14+
15+
- Improved type annotations allow ``rst.get_feature`` to be called with a language feature's type and have the return type match accordingly. This should allow editors to provide better autocomplete suggestions etc. (`#409 <https://github.com/swyddfa/esbonio/issues/409>`_)
16+
- ``esbonio_setup`` functions can now request specific language features and servers, just by providing type annotations e.g::
17+
18+
from esbonio.lsp.roles import Roles
19+
from esbonio.lsp.sphinx import SphinxLanguageServer
20+
21+
def esbonio_setup(rst: SphinxLanguageServer, roles: Roles):
22+
...
23+
24+
This function will then only be called when the language server is actually an instance of ``SphinxLanguageServer`` and only when that lanuage server instance contains an intance of the ``Roles`` feature. (`#410 <https://github.com/swyddfa/esbonio/issues/410>`_)
25+
26+
27+
Deprecated
28+
^^^^^^^^^^
29+
30+
- Calling ``rst.get_feature`` with a string will become an error in ``v.1.0``, a language feature's class should be given instead. (`#409 <https://github.com/swyddfa/esbonio/issues/409>`_)
31+
32+
133
v0.13.0 - 2022-05-27
234
--------------------
335

lib/esbonio/changes/408.fix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

lib/esbonio/changes/409.api.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

lib/esbonio/changes/409.deprecated.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

lib/esbonio/changes/410.api.rst

Lines changed: 0 additions & 9 deletions
This file was deleted.

lib/esbonio/changes/417.fix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

lib/esbonio/changes/418.fix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

lib/esbonio/esbonio/lsp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
from .rst import RstLanguageServer
6060
from .symbols import SymbolVisitor
6161

62-
__version__ = "0.13.0"
62+
__version__ = "0.13.1"
6363

6464
__all__ = [
6565
"CompletionContext",

lib/esbonio/setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
[metadata]
33
name = esbonio
4-
version = 0.13.0
4+
version = 0.13.1
55
description = A Language Server for Sphinx projects.
66
long_description = file:README.md
77
long_description_content_type = text/markdown
@@ -34,7 +34,7 @@ include_package_data = True
3434
install_requires =
3535
appdirs
3636
sphinx
37-
pygls>=0.11.0,<0.13.0
37+
pygls>=0.11.0,<0.13.1
3838
pyspellchecker
3939
typing-extensions
4040

0 commit comments

Comments
 (0)