Skip to content

Commit

Permalink
Esbonio Language Server Release v0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 22, 2022
1 parent ba49f1f commit c211e84
Show file tree
Hide file tree
Showing 9 changed files with 51 additions and 23 deletions.
2 changes: 1 addition & 1 deletion lib/esbonio/.bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.11.2
current_version = 0.12.0
commit = False
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(.dev(?P<dev>\d+))?
Expand Down
48 changes: 48 additions & 0 deletions lib/esbonio/CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,51 @@
v0.12.0 - 2022-05-22
--------------------

Features
^^^^^^^^

- The language server now supports many (but not all) ``sphinx-build`` command line options.
The ``sphinx.*`` section of the server's initialization options has been extened to include the following options.

- ``configOverrides``
- ``doctreeDir``
- ``keepGoing``
- ``makeMode``
- ``quiet``
- ``silent``
- ``tags``
- ``verbosity``
- ``warningIsError``

See the `documentation <https://swyddfa.github.io/esbonio/docs/latest/en/lsp/getting-started.html#configuration>`_ for details.

Additionally, a new cli application ``esbonio-sphinx`` is now available which language clients (or users) can use to convert ``sphinx-build`` cli options to/from the server's initialization options. (`#360 <https://github.com/swyddfa/esbonio/issues/360>`_)


Enhancements
^^^^^^^^^^^^

- ``textDocument/documentSymbol`` responses now include symbol information on directives. (`#374 <https://github.com/swyddfa/esbonio/issues/374>`_)


Fixes
^^^^^

- ``.. include::`` directives no longer break goto definition for ``:ref:`` role targets (`#361 <https://github.com/swyddfa/esbonio/issues/361>`_)


API Changes
^^^^^^^^^^^

- Add method ``get_initial_doctree`` to ``RstLanguageServer`` which can be used to obtain a doctree of the given file before any role and directives have been applied. (`#374 <https://github.com/swyddfa/esbonio/issues/374>`_)


Misc
^^^^

- The ``esbonio.sphinx.numJobs`` configuration now defaults to ``1`` in line with ``sphinx-build`` defaults. (`#374 <https://github.com/swyddfa/esbonio/issues/374>`_)


v0.11.2 - 2022-05-09
--------------------

Expand Down
16 changes: 0 additions & 16 deletions lib/esbonio/changes/360.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion lib/esbonio/changes/361.fix.rst

This file was deleted.

1 change: 0 additions & 1 deletion lib/esbonio/changes/374.api.rst

This file was deleted.

1 change: 0 additions & 1 deletion lib/esbonio/changes/374.enhancement.rst

This file was deleted.

1 change: 0 additions & 1 deletion lib/esbonio/changes/374.misc.rst

This file was deleted.

2 changes: 1 addition & 1 deletion lib/esbonio/esbonio/lsp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
from .rst import RstLanguageServer
from .symbols import SymbolVisitor

__version__ = "0.11.2"
__version__ = "0.12.0"

__all__ = [
"CompletionContext",
Expand Down
2 changes: 1 addition & 1 deletion lib/esbonio/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[metadata]
name = esbonio
version = 0.11.2
version = 0.12.0
description = A Language Server for Sphinx projects.
long_description = file:README.md
long_description_content_type = text/markdown
Expand Down

0 comments on commit c211e84

Please sign in to comment.