Skip to content

Commit c41dca4

Browse files
committed
1.1.0
1 parent f349bb8 commit c41dca4

File tree

3 files changed

+61
-2
lines changed

3 files changed

+61
-2
lines changed

changelog.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,64 @@
11
# Changelog
22

3+
## [1.1.0] - 2025/11/06 - Workspace Symbols / WSL support
4+
5+
This Beta update improves the QoL on various IDEs and brings some new features:
6+
- Workspace Symbol Lookup allows you to search for any class/function/model/xml_id in the whole project (ctrl-t on vscode). All xml_id are prefixed
7+
by `xmlid.` and model names are quoted.
8+
9+
![workspace symbol lookup image](https://github.com/odoo/odoo-ls/blob/images-changelogs/images/workspace_symbol_lookup.png?raw=true)
10+
11+
- Import statements now have autocompletion, hover and gotodefinition features.
12+
- We now have a better support for WSL paths!
13+
14+
### VsCode
15+
16+
- Better display about the server status.
17+
18+
### PyCharm
19+
20+
- Improve the lifecycle of OdooLS. Server will be always running but idle, and starts only if a configuration is detected. It implies
21+
that we removed the 'start server' button as it is not useful anymore. It should end up in a more clear and usable interface.
22+
- Fix the "Disabled" profile behavior that was preventing any further profile change.
23+
- Starting from 2025.3, PyCharm will be able to display the loading status of the server.
24+
- Attach additional stubs (with lxml) to the build.
25+
- Add configuration wiki link on the settings page.
26+
- Update deprecated API calls to isAarch64 methods.
27+
28+
### Server
29+
30+
- Support for workspace Symbol requests.
31+
- Core structure to support `$/cancelRequest` notification and use it for Workspace Symbol Request. These notifications indicates that a job can be cancelled because no more useful.
32+
- Import statements now have autocompletion, hover feature and gotodefinition.
33+
- Server now supports WSL paths, including `file:////` or `file://wsl.localhost`
34+
- Server now use workDoneProgress to report loading status to client. Client that supports this feature will now display the loading progression at startup.
35+
- Server will now send more information about its status: it can indicate if it is waiting for a git lock to be freed.
36+
- Autocompletion and validation for inverse_name keyword argument.
37+
- Crash reports will now include the latest LSP messages to help the debugging and give us a better overview of what happened before the crash
38+
- It is now possible to autocomplete slices ( `self.env["`) even without closing the brackets.
39+
- Diagnostic filters in configuration files can now accept variables like `${userHome}` or `${workspaceFolder}`
40+
- You can now hover and gotodefinition for module names in `__manifest__.py` files, and in hover you could alse see full list of the module's dependencies.
41+
42+
![manifest hover module image](https://github.com/odoo/odoo-ls/blob/images-changelogs/images/manifest_hover_modules.png?raw=true)
43+
44+
- `filtered` and `filtered_domain` now has a proper return value.
45+
- Remove diagnostics of ImportError in the `except` block of a `try..except ImportError` statement.
46+
- Doing a gotodefinition on a `display_name` will now redirect you to the compute method.
47+
- Update Ruff dependencies to 0.14.3.
48+
49+
### Fixes
50+
51+
- Doing a gotodefinition on a value (like a string `"a string"`) will not lead to the value definition (`class str`)
52+
- Doing a cyclic dependency between 'modules depends' will not crash anymore but generate the diagnostic OLS04012.
53+
- Fix the path to additional stubs and so fix the usage of the lxml stubs.
54+
- If odoo_path is ending with `.something` but is pointing to a valid directory, the server should not consider `something` as a file extension, but as a part of the folder name.
55+
- Fix some internal hooks to work with user defined Fields, instead of only the Odoo ones.
56+
- Configuration option "diag_missing_imports" is now really taken into account when generating diagnostics about imports.
57+
- Fix dependencies on comodel and relation fields diagnostics.
58+
- Fix missing ImportError diagnostic on import statement without a 'from' or 'as' part.
59+
- Various small fixes and typos
60+
61+
362
## [1.0.4] - 2025/10/31 - Fix Borrow error
463

564
### Zed

server/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "odoo_ls_server"
3-
version = "1.0.4"
3+
version = "1.1.0"
44
edition = "2024"
55
authors = ["Odoo"]
66
readme = "../README.md"

server/src/constants.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use core::fmt;
33

44

55
pub const EXTENSION_NAME: &str = "Odoo";
6-
pub const EXTENSION_VERSION: &str = "1.0.4";
6+
pub const EXTENSION_VERSION: &str = "1.1.0";
77

88
pub const MAX_WATCHED_FILES_UPDATES_BEFORE_RESTART: u32 = 10;
99

0 commit comments

Comments
 (0)