Esbonio Language Server v1.0.0 - 2025-10-28
v1.0.0 - 2025-10-28
Enhancements
-
Add the
esbonio.sphinx.pythonCommand.envoption which can be used to set/override envrionment variables for the Sphinx process (#469) -
esbonio.sphinx.pythonCommandis now an object with with following fields[esbonio.sphinx.pythonCommand.]command: This list of strings from the original esbonio.sphinx.pythonCommand.[esbonio.sphinx.pythonCommand.]env: A dictionary allowing you to add/override environment variables passed to the sphinx process[esbonio.sphinx.pythonCommand.]cwd: A string allowing you to change the directory in which the sphinx process is launched.
95% of the time, the previous simple list of strings was sufficient to configure the process.
So the server will still accept a list of strings foresbonio.sphinx.pythonCommandand it will be automatically converted to the new object representation.The server now treats
initializationOptionsas the lowest priority settings source, allowing clients to use them to provide fallback options.(#1024)
-
If there is no
pythonCommandconfigured,esboniowill now attempt to use the server's runtime environment as a fallback. (#1027)
Fixes
- Passing the
-Cflag toesbonio.sphinx.buildCommandnow works as expected (#997)
Docs
- Add guide on using the
-Cflag tosphinx-buildto allow the use of esbonio with files that aren't in a Sphinx project. (#997)
Misc
-
The following options have been removed
esbonio.sphinx.envPassthrough: For ages now, the language server passes through all environment variables to the sphinx process so this option has no use.esbonio.sphinx.pythonPath: The original intent behind this option was to allow you to override the version of the sphinx agent. However, the better way to do this is just use a different version of esbonio.esbonio.sphinx.cwd: Useesbonio.sphinx.pythonCommand.cwdesbonio.sphinx.fallbackEnv: This was a hack to allow the VSCode extension to provide a default environment in the absence of any user configuration, client's should setesbonio.sphinx.pythonCommandin theirinitializationOptions.
(#1024)
-
Drop Python 3.9 support (#1032)