|
1 | 1 | # Changelog |
2 | 2 |
|
3 | | -## [0.12.0] |
| 3 | +## [0.12.1] - 2025/09/05 - Hotfixes |
| 4 | + |
| 5 | +### PyCharm |
| 6 | + |
| 7 | +- Fix the button that lead to OdooLS settings |
| 8 | + |
| 9 | +### VsCode |
| 10 | + |
| 11 | +- Update the version check that display the "Beta warning" to fit the post 1.0 format |
| 12 | + |
| 13 | +### Server |
| 14 | + |
| 15 | +- Upgrade Rust edition from 2021 to 2024 |
| 16 | +- Configuration files: Diagnostics filter paths is now an array instead of a String, and we can choose if the filter is applied to any file in the list of paths or not in the list of path |
| 17 | +- Improve the the origin_range (the underlined part of the test) in chains of relational fields when doing a gotodefinition on a String |
| 18 | +- Improve the detection of the detection of python (choose python or python3 depending on availability) |
| 19 | +- Remove self from list of models implementation in gotodefinition |
| 20 | +- Improve the line breaks in Hovers depending on the capabilities of the client. VsCode is supporting markdown and so ` \n`, but PyCharm only support `<br/>` that VsCode is escaping. The server now uses the given parser name from the client to choose the right line break |
| 21 | +- Force color background and font for 'all configuration page' to ensure clear visibility on all clients. |
| 22 | +- Log the full config of the user in the logs to help debugging |
| 23 | +- Remove compilation warnings |
| 24 | + |
| 25 | +### Fixes |
| 26 | + |
| 27 | +- New $autoDetectAddons was not always properly detected |
| 28 | +- Fix launch.json on linux since the repository structure update |
| 29 | +- Refactor the threadpool to fix concurrency issue in the way some LSP messages were handled, causing random rare crashes. |
| 30 | + |
| 31 | +## [0.12.0] - 2025/08/28 - PyCharm, Csv and configurations |
| 32 | + |
| 33 | +This patch includes somes changes required for the new [PyCharm](https://github.com/odoo/odoo-ls-pycharm) plugin. |
| 34 | +We changed some keys in the configurations files to improve clarity and added a TomL schema helper. Install a TomL extension to get |
| 35 | +syntax diagnostics, as well as validation of your configuration files. (You'll have the best by installing "Even Better TOML" AND "Tombi" on vscode) |
| 36 | + |
| 37 | +### PyCharm |
| 38 | + |
| 39 | +- Start and manage the lifecycle of OdooLS in Pycharm. |
| 40 | +- Add a Profile Selector |
| 41 | +- Add a Crash Report |
| 42 | +- Add a webview to display configuration resumes. |
| 43 | + |
| 44 | +### VsCode |
| 45 | + |
| 46 | +- Code has been moved to its own repository: https://github.com/odoo/odoo-ls-vscode |
| 47 | +- Automatically link toml schema to odools.toml files |
| 48 | + |
| 49 | +### Server |
| 50 | + |
| 51 | +- New parameters available in configuration: "no_typeshed_stubs" that prevents the loading of typeshed stubs, if you want to provide yours, and "stdlib", that allows you to provide a different location for your stdlib stubs. |
| 52 | +- Remove parameter "add_workspace_addon_path" from configs. Addons path now contains the value "$autoDetectAddons" by default, that means that server will automatically try to detect addons. When setting addon paths in your configuration, you can add this value to the list to keep this behaviour. |
| 53 | +- Load CSV files and extract xml_id from it |
| 54 | +- Improve reloading and cache update of files with invalid syntax |
| 55 | +- Handle If..else statements with an empty bloc in the if and else (invalid ast) |
| 56 | +- OLS03020 is now evaluated later in the process to give accurate results |
| 57 | +- Improve dynamic reloading on creation of missing models |
| 58 | + |
| 59 | +### Fixes |
| 60 | + |
| 61 | +- Server will now search for stubs and additional files next to its exe, and not in the current working directory. If not present, it will search then in current working directory |
| 62 | +- Fix a version verification in is_inheriting method |
| 63 | +- Fix crashes that can happen if one of the following field has a value that is not of the right type ("False" instead of False for example): "comodel_name", "related", "compute", "delegate", "required", "default" |
4 | 64 |
|
5 | 65 | ## [0.10.0] - 2025/08/08 - Better configuration and XML features |
6 | 66 |
|
|
0 commit comments