Skip to content

Commit a5e855b

Browse files
committed
1.2.0
1 parent 4e54b89 commit a5e855b

File tree

4 files changed

+257
-149
lines changed

4 files changed

+257
-149
lines changed

changelog.md

Lines changed: 50 additions & 147 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,10 @@
11
# Changelog
22

3-
## [1.1.3] - 2026/02/02 - Various fixes
3+
## [1.2.0] - 2026/02/09 - Workspace Symbols / WSL support
44

5-
### Fixes
5+
*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*
66

7-
- Fix failure to detect models when `CachedModel` is missing
8-
- Fix crash on SQL datafiles
9-
- Fix crash on missing python command
10-
- Fix crash on model classes outside a module
11-
- Load modules in the same order Odoo load them
12-
- Ignore invalid `Named` expression on incomplete AST
13-
- Handle models subscripts like `self.search([])[:5]`
14-
- Add missing Self evaluation to `search` method on BaseModel
15-
- Methods `__init_subclass__` and `__class_getitem__` are now automatically detected as `classmethod`s
16-
- Allow `M2OReference` on `inverse_name`
17-
- Fix index calculation in the arguments of functions
18-
- Fix crash on empty config received from client
19-
- Improve borrowing to avoid some borrow errors
20-
- `next_ref` will now rebuild descriptor on-the-fly if needed
21-
- Fix `follow_ref` sometimes dropping evaluations incorrectly
22-
- Remove wrong stop_on_type in features
23-
- Check all relational fields during domain validation
24-
- Correctly identify non-registry model classes
25-
- Update typeshed
26-
- Improve the `env.__getitem__` to handle multiple evaluation
27-
- Improve the `follow_ref` method to handle `typing.Self` evaluations
28-
29-
## [1.1.2] - 2025/12/10 - CachedModel fixes
30-
31-
### Server
32-
33-
- Various fixes
34-
- Fix and support for CachedModel introduced in 19.1
35-
- Use a deterministic job queue to avoid random errors caused by different order of symbols
36-
- For that we replace the current HashSet with a FIFO one, so symbols are processed in the queue order
37-
38-
### Fixes
39-
40-
- Fix wiki link for configuration on welcome page
41-
- Avoid having empty paths for addons or additional stubs in cli mode
42-
- Avoid adding model dependencies in orm files to avoid rebuilding base files
43-
- Avoid loading Models defined inside functions, e.g. tests.
44-
- Avoid attempting to rebuild `__iter__` on external files, as their file infos are deleted
45-
- Fix fetching symbols in inheritance tree by early stopping when one is found
46-
47-
48-
## [1.1.1] - 2025/11/24 - Untitled files and Encoding
49-
50-
### Server
51-
52-
- Support for encoding UTF-8, UTF-16 and UTF-32.
53-
- Support for "untitled" files for VsCode.
54-
- Add tests for diagnostics
55-
56-
### Fixs
57-
58-
- Fix crash when a file is importing a .pyd with the same name (avoid self referencing)
59-
- Fix OLS01002 not emitted on valued variables
60-
- FIX OLS01004 that should not be emitted on `classmethod`
61-
- FIX OLS01007 and OLS01010 on evaluation of function calls when keyword-only arguments are used.
62-
- XML Syntax error is now OLS05000
63-
- Fix range for diagnostic OLS05009
64-
- Fix OLS01009 that could be emitted on valid cases.
65-
- Fix detection of `search` and `inverse` keyword on fields declaration
66-
- Fix detection of `inverse_name` on One2Many if the keyword was missing
67-
- Fix deprecation warning OLS03301 that was not emitted
68-
- Fix crash on data not being string in `__manifest__.py`
69-
- Fix validation of `__manifest__.py` files even if the folder does not contain any `__init__.py`
70-
- Functions will not expose their internal function in an autocompletion anymore
71-
72-
73-
## [1.1.0] - 2025/11/06 - Workspace Symbols / WSL support
74-
75-
This Beta update improves the QoL on various IDEs and brings some new features:
7+
This update improves the QoL on various IDEs and brings some new features:
768
- 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
779
by `xmlid.` and model names are quoted.
7810

@@ -115,6 +47,13 @@ that we removed the 'start server' button as it is not useful anymore. It should
11547
- Remove diagnostics of ImportError in the `except` block of a `try..except ImportError` statement.
11648
- Doing a gotodefinition on a `display_name` will now redirect you to the compute method.
11749
- Update Ruff dependencies to 0.14.3.
50+
- Support for encoding UTF-8, UTF-16 and UTF-32.
51+
- Support for "untitled" files for VsCode.
52+
- Add tests for diagnostics
53+
- Various fixes
54+
- Fix and support for CachedModel introduced in 19.1
55+
- Use a deterministic job queue to avoid random errors caused by different order of symbols
56+
- For that we replace the current HashSet with a FIFO one, so symbols are processed in the queue order
11857

11958
### Fixes
12059

@@ -127,79 +66,43 @@ that we removed the 'start server' button as it is not useful anymore. It should
12766
- Fix dependencies on comodel and relation fields diagnostics.
12867
- Fix missing ImportError diagnostic on import statement without a 'from' or 'as' part.
12968
- Various small fixes and typos
130-
131-
132-
## [1.0.4] - 2025/10/31 - Fix Borrow error
133-
134-
### Zed
135-
136-
- Fix the update script to use ".tar.gz" compression instead of ".zip" on linux and darwin computers.
137-
138-
### Fixes
139-
140-
- crash fix: Borrow error on some "on-the-fly" builds.
141-
- Fix the rust version used to compile the server to 1.91 and put this requirement in cargo.toml
142-
143-
## [1.0.3] - 2025/10/26 - Fix out-of-sync issues
144-
145-
We rewrote the thread pool of OdooLS to get rid most of the last known crashes, as they are nearly all linked to out-of-sync issues and the way the thread pool was greedily delaying important tasks.
146-
It should result in a different feeling when using OdooLS, but it should be way more accurate and stable than before, and consistent.
147-
It was not possible to test this new core in all possible situations, so do not hesitate to give any feedback on differences you can see with this new version.
148-
Thank you very much to everyone for your crash reports, they were really helpful (and yes, we read all of them!)
149-
New features will come soon in the pre-release channel, stay tuned!
150-
151-
### Fixes
152-
153-
- New delayed thread and message flow in threads. Symbol creation (ARCH and ARCH-EVAL steps) are now always created on the fly, while validation of files are delayed to inactivity period. It results in more accurate and always in-sync results to requests.
154-
155-
## [1.0.2] - 2025/10/03 - Hotfixes and github actions
156-
157-
### Packaging
158-
159-
- use Github Actions to build all files: OdooLS binaries, Vsix and Pycharm plugin. Removing the dependency on cross-rs to build executables.
160-
161-
### Fixes
162-
163-
- Fix starting file version number for PyCharm, that is starting at 0, while vscode is starting at 1
164-
- Fix crash of package creation on custom tree
165-
- Fix crash on Odoo > 19 that happen if werkzeug is installed and up-to-date
166-
- Remove panic on missing `__init__.py` file for custom entry creation, happening if user removed/renamed the file during the initialization of the server, and warn it instead
167-
168-
169-
## [1.0.1] - 2025/09/17 - Day 1 fixes
170-
171-
### Fixes
172-
173-
- Crash that can occur when doing a gotodefinition in an XML file
174-
- Fix origin of gotodefinition for some links in XML files.
175-
- Change back `<br/>` line breaks that sometimes break PyCharm to escaped ` \\\n`
176-
177-
## [1.0.0] - 2025/09/16 - Release
178-
179-
This project is far from finished, but it has reached a level of maturity where we’re introducing two update channels: **Release** and **Pre-release** (Beta).
180-
181-
If you want early access to new features and to help us improve the tool, enable **Pre-release** updates in your IDE. The pre-release channel will only include features we consider ready, though crashes may still occur due to the wide variety of code we encounter. This helps us catch common issues before pushing to the stable channel.
182-
183-
So, if you prefer a more stable experience, stick with the **Release** channel !
184-
185-
Here is the changelog since the last Beta version (0.12.1)
186-
187-
### Zed
188-
189-
New plugin for Zed. As Zed API is quite poor, the implementation only stick to a basic language server implementation, and will not provide profile selector, profile viewer or crash report view.
190-
191-
### Server
192-
193-
- Change level of "unable to annotate tuple" log from error to debug, as it is indeed a debug information of non implemented statements
194-
195-
### Fixes
196-
197-
- When file cache is invalidated by an incoherent request, do not panic, but reload the cache
198-
- Fix wrong usage of `<br/>` for PyCharm and NeoVim.
199-
- Fix crashes that can occur on some gotodefinition.
200-
- Prevent creation of duplicated addons entrypoint if the directory of an addon path is in PYTHON_PATH
201-
- Prevent creation of custom entrypoint on renaming of directory
202-
- Handle removal of `__init__.py` from packages
203-
- Avoid checking path from FS on DidOpen notification.
204-
- Fix a typo in the hook of `__iter__` function of BaseModel on versions > 18.1
205-
- Force validation of `__iter__` functions if pending on a `for` evaluation
69+
- Fix crash when a file is importing a .pyd with the same name (avoid self referencing)
70+
- Fix OLS01002 not emitted on valued variables
71+
- FIX OLS01004 that should not be emitted on `classmethod`
72+
- FIX OLS01007 and OLS01010 on evaluation of function calls when keyword-only arguments are used.
73+
- XML Syntax error is now OLS05000
74+
- Fix range for diagnostic OLS05009
75+
- Fix OLS01009 that could be emitted on valid cases.
76+
- Fix detection of `search` and `inverse` keyword on fields declaration
77+
- Fix detection of `inverse_name` on One2Many if the keyword was missing
78+
- Fix deprecation warning OLS03301 that was not emitted
79+
- Fix crash on data not being string in `__manifest__.py`
80+
- Fix validation of `__manifest__.py` files even if the folder does not contain any `__init__.py`
81+
- Functions will not expose their internal function in an autocompletion anymore
82+
- Fix wiki link for configuration on welcome page
83+
- Avoid having empty paths for addons or additional stubs in cli mode
84+
- Avoid adding model dependencies in orm files to avoid rebuilding base files
85+
- Avoid loading Models defined inside functions, e.g. tests.
86+
- Avoid attempting to rebuild `__iter__` on external files, as their file infos are deleted
87+
- Fix fetching symbols in inheritance tree by early stopping when one is found
88+
- Fix failure to detect models when `CachedModel` is missing
89+
- Fix crash on SQL datafiles
90+
- Fix crash on missing python command
91+
- Fix crash on model classes outside a module
92+
- Load modules in the same order Odoo load them
93+
- Ignore invalid `Named` expression on incomplete AST
94+
- Handle models subscripts like `self.search([])[:5]`
95+
- Add missing Self evaluation to `search` method on BaseModel
96+
- Methods `__init_subclass__` and `__class_getitem__` are now automatically detected as `classmethod`s
97+
- Allow `M2OReference` on `inverse_name`
98+
- Fix index calculation in the arguments of functions
99+
- Fix crash on empty config received from client
100+
- Improve borrowing to avoid some borrow errors
101+
- `next_ref` will now rebuild descriptor on-the-fly if needed
102+
- Fix `follow_ref` sometimes dropping evaluations incorrectly
103+
- Remove wrong stop_on_type in features
104+
- Check all relational fields during domain validation
105+
- Correctly identify non-registry model classes
106+
- Update typeshed
107+
- Improve the `env.__getitem__` to handle multiple evaluation
108+
- Improve the `follow_ref` method to handle `typing.Self` evaluations

0 commit comments

Comments
 (0)