Skip to content

Commit aaca065

Browse files
committed
0.10.0
1 parent fadcd83 commit aaca065

File tree

4 files changed

+52
-3
lines changed

4 files changed

+52
-3
lines changed

changelog.md

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

3+
## 0.10.0 - 2025/08/08 - Better configuration and XML features
4+
5+
Following your feedbacks, we are adding some new features and ways to configure your odools.toml files. If you still think that some changes would be interesting, do not hesitate to contact us !
6+
Alongside these changes, we added some features to XML files, like gotodefinition, hover, and new diagnostics. Everything we want is not there yet, but it's coming soon!
7+
We focused a lot too on improving the exactness of various diagnostics, so you should see less errors in your project!
8+
9+
### VsCode
10+
11+
- Add wiki link to configuration view.
12+
- Update Disabled profile: "Disabled" now shuts down the server
13+
- New setting to provide a generic odools.toml that would be applied to ALL profiles, and that can be at a specific location
14+
15+
16+
### Server
17+
18+
- Add diagnostics filters in configuration files. It allows you to choose diagnostics you want to hide and their severity level
19+
- Add new config url parameter to give a common config file for all your profiles
20+
- Rewrite diagnostics modules, to allow filtering and changes of the level.
21+
- Fix new convention for OLS codes
22+
- Improve the server restart behaviour
23+
- Parse and use `delegate=True` to detect _inherits models
24+
- Improve build tools
25+
- Fix imports with asname value
26+
- gotodefinition on ref to xml_ids
27+
- New hook to global field on IrRule
28+
- New hooks for werkzeug _monkeypatches
29+
- Disable call argument checks for properties function for now.
30+
- Detect and mark function with @classproperty or @lazy_classproperty as such
31+
- Fix all the arguments validation process
32+
33+
#### XML
34+
35+
- menuitem: check that parent is valid
36+
- menuitem: chack validity of action attribute
37+
- menuitem: validate groups attribute
38+
- record: validate model
39+
- record: check that all mandatory fields has been provided
40+
- record, fields, menuitem: hover and gotodefinition to xml_ids and models
41+
- field: basic validation and for specific models (ir.ui.view)
42+
- Support for @language in XML Fields
43+
44+
### Fixes
45+
46+
- Fixed version comparator that was not equaling "18.0" and "18.0.0". It had various side effects on some specific version features.
47+
- Fix crash on delayed thread that occur if odoo is made invalid in the delay
48+
- Fix creation of custom entrypoints on hovering some xml/csv files
49+
- Fix crash on reloading functions created by hooks (only in orm files)
50+
- Various things that would be too hard to explain here. You really read all the changelog?
51+
352
## 0.8.1 - 2025/09/07 - Quick fix
453

554
### Fix

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 = "0.8.1"
3+
version = "0.10.0"
44
edition = "2021"
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
@@ -4,7 +4,7 @@ use core::fmt;
44
use byteyarn::{yarn, Yarn};
55

66
pub const EXTENSION_NAME: &str = "Odoo";
7-
pub const EXTENSION_VERSION: &str = "0.8.1";
7+
pub const EXTENSION_VERSION: &str = "0.10.0";
88

99
pub const DEBUG_ODOO_BUILDER: bool = false;
1010
pub const DEBUG_MEMORY: bool = false;

vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "odoo",
33
"displayName": "Odoo",
44
"description": "Language Server for Odoo projects",
5-
"version": "0.8.1",
5+
"version": "0.10.0",
66
"publisher": "Odoo",
77
"repository": {
88
"type": "git",

0 commit comments

Comments
 (0)