Skip to content

Commit c3ec5ed

Browse files
committed
1.3.0
1 parent c9cc8d3 commit c3ec5ed

4 files changed

Lines changed: 42 additions & 18 deletions

File tree

changelog.md

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,25 @@
11
# Changelog
22

3-
## [1.2.1] - 2026/03/18 - Fixes
3+
## [1.3.0] - 2026/04/07 - Go to References
44

5-
We are addressing some errors in 1.2.0 before releasing the 1.3.0 in the next days
5+
This update is refactoring the way "Goto" features are working, as well as adding the new Go to References feature.
66

77
### Server
88

9-
- Remove OLS05038 (empty function data in XML files), which is a valid use case.
10-
- New warning if 'odoo/addons' is missing.
11-
- Add completion of `inverse_name` if keyword is missing in the relational field.
12-
13-
### Fixes
14-
15-
- Fix crash on unexpected arguments in reading kwarg of self.env.ref function.
16-
- When autocompleting function calls, OdooLS will now follow return values hidden behind multiple references.
17-
- Fix annotation evaluation on functions that was dropped after being processed
18-
- Fix 'with' statement type evaluation
19-
- Fix the anti-duplication algorithm to prevent loading some symbols.
20-
- Fix first argument evalution on static methods and classmethods.
21-
- Fix evaluation of `inverse_name` if keyword is missing in the relational field declaration.
22-
- Remove some useless logs.
9+
- Change gotoDefinition to pass through imports until the true definition of the symbol
10+
- Add GoToDeclaration that goes to the first declaration or assignation found for a symbol
11+
- Add GoToReferences that will search for all usage of a symbol. Available in python, xml, csv and `__manifest__.py` files.
12+
- Implement all these gotos features in CSV files.
13+
- Load and validate `asset` nodes in XML files.
14+
- Validation of language codes used in XML files.
15+
- Add a new option in configuration files: "additional_languages", allowing you to add languages that would not be added in data files.
16+
- Server will not close anymore if multiple workspace folders has the same name. However, it will still be impossible to reference one of them in a configuration.
17+
- Handle lambda expressions.
18+
- Add evaluation for `request` and `request.env` in controllers.
19+
- Validation of `assets` values in `__manifest__.py`
20+
- Improve the `self` evaluation to be able to propagate it to class children or overrides.
21+
- Add the list of folders to the documentation when hovering a symbol representing a python namespace
22+
- CLI mode is now loading configurations like the normal process is doing, making the profiles available in this mode.
23+
- Add a new argument to the command line: `selected_config` allowing you to manually select a profile when running in CLI mode.
24+
- Various performances update (HashMap without hashing function for integer keys, better filesystem access on windows)
25+
- Upgrade Rust to 1.94, Ruff to 0.15.0

changelog_archive.md

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

3+
## [1.2.1] - 2026/03/18 - Fixes
4+
5+
We are addressing some errors in 1.2.0 before releasing the 1.3.0 in the next days
6+
7+
### Server
8+
9+
- Remove OLS05038 (empty function data in XML files), which is a valid use case.
10+
- New warning if 'odoo/addons' is missing.
11+
- Add completion of `inverse_name` if keyword is missing in the relational field.
12+
13+
### Fixes
14+
15+
- Fix crash on unexpected arguments in reading kwarg of self.env.ref function.
16+
- When autocompleting function calls, OdooLS will now follow return values hidden behind multiple references.
17+
- Fix annotation evaluation on functions that was dropped after being processed
18+
- Fix 'with' statement type evaluation
19+
- Fix the anti-duplication algorithm to prevent loading some symbols.
20+
- Fix first argument evalution on static methods and classmethods.
21+
- Fix evaluation of `inverse_name` if keyword is missing in the relational field declaration.
22+
- Remove some useless logs.
23+
324
## [1.2.0] - 2026/02/09 - Workspace Symbols / WSL support
425

526
*This update pushes the pre-release version 1.1 to the stable branch. There is nothing new if you already uses the pre-release version*

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.2.0"
3+
version = "1.3.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.2.1";
6+
pub const EXTENSION_VERSION: &str = "1.3.0";
77

88
pub const MAX_WATCHED_FILES_UPDATES_BEFORE_RESTART: u32 = 10;
99

0 commit comments

Comments
 (0)