Skip to content

Commit 84eaafe

Browse files
committed
0.2.8
1 parent b2000f4 commit 84eaafe

File tree

4 files changed

+45
-3
lines changed

4 files changed

+45
-3
lines changed

CHANGELOG.md

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

3+
## 0.2.8 - 2024/18/12
4+
5+
### VsCode
6+
7+
- addon paths in configurations can now contains variables: ${workspaceFolder} and ${userHome} are available.
8+
- search for valid addon path in parent folders too.
9+
- New popup windows that will suggest you to disable your actual python language server for your workspace if any is active (only for Python extension).
10+
- Fix hanging if popup window stay opened.
11+
- Fix infinite reload issue
12+
13+
### Server
14+
15+
- Improve autocompletion to take base classes and comodels.
16+
- Add inheritance information in hover for models.
17+
- Adapt the architecture to store function arguments.
18+
- Parse and evaluate function calls according to the function signature. Actually limited to domains and args counts.
19+
- New domain validation: validate structure, operators and fields. Composed fields are not validated for now.
20+
- Autocompletion that contains "." or that complete a string with a "." will not duplicate elements anymore.
21+
- Improve function return type syntax in Hover feature.
22+
- Implement super() evaluation.
23+
- Handle @overload and @classmethod decorator
24+
25+
### Server Fixs
26+
27+
- Autocompletion will not raise an exception if the request is done outside of odoo.
28+
- Gotodefinition will skip evaluation that lead to the same place
29+
- Fix range on GotoDefinition for symbol that has multiple evaluation.
30+
- Prevent parsing docstrings as markdown codeblocks
31+
- Make read thread able to create delayed tasks.
32+
- correctly skip arch step for syntaxically incorrect files.
33+
- Avoid range evaluations on files.
34+
- Allow not imported files to be reloaded
35+
- Remove duplicates in autocompletion results due to diamond inheritance
36+
- Change classes structure to keep inheritance order (HashSet to Vector)
37+
- Incorrect "Base class not found" diagnostic
38+
39+
#### New diagnostics / odoo helpers
40+
41+
- New signature for "browse" on BaseModel.
42+
- New hook for Odoo registry.
43+
- Add "magic" fields to models (id, create_date, etc...)
44+
345
## 0.2.7 - 2024/31/10
446

547
### Server

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.2.7"
3+
version = "0.2.8"
44
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

server/src/constants.rs

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

44
pub const EXTENSION_NAME: &str = "Odoo";
5-
pub const EXTENSION_VERSION: &str = "0.2.7";
5+
pub const EXTENSION_VERSION: &str = "0.2.8";
66

77
pub const DEBUG_ODOO_BUILDER: bool = false;
88
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.2.7",
5+
"version": "0.2.8",
66
"publisher": "Odoo",
77
"repository": {
88
"type": "git",

0 commit comments

Comments
 (0)