Skip to content

Commit 14f4173

Browse files
committed
0.2.3
1 parent 722a1a3 commit 14f4173

File tree

3 files changed

+26
-2
lines changed

3 files changed

+26
-2
lines changed

CHANGELOG.md

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

3+
## 0.2.3 - 2023/12/19
4+
5+
Last update of 2023 ! We wish you all an happy new year !
6+
7+
### VsCode
8+
9+
The rework of the client to work with the Python Extension is delayed to 0.2.4
10+
11+
- New option to choose which missing import should be diagnosed. 3 options are available: none, only odoo imports, all
12+
13+
### Server
14+
15+
- Support a new configuration option to choose which missing import should be diagnosed. The option is called "diagMissingImportLevel" and can take 3 values: "all", "only_odoo" or "none".
16+
- The server can now identify a 'type alias' as it should be. It should now be correctly displayed where it is relevant. Best example of type alias is "AbstractModel", that is a type alias of "BaseModel".
17+
- Server is now able to override `__get__` functions behaviour in its core, and the odoo implementation define all return values for all fields. It means that from now:
18+
`self.name` will be displayed as an str, but `MyModel.name` will be displayed as a fields.Char.
19+
This value is used to for the autocompletion, and so you won't have suggestions from fields class after using a field in a function (like `self.name.???`)
20+
21+
### Fixs
22+
23+
- Prevent BrokenPipeError to log indefinitely if the server is disconnected from client. This fix improve the one of the last version to handle last (hopefully) not catched situation.
24+
- Update int to proper enums in module.py for the 'severity' option of diagnostics
25+
26+
327
## 0.2.2 - 2023/11/20
428

529
### VsCode

server/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from enum import Enum
22

33
EXTENSION_NAME = "Odoo"
4-
EXTENSION_VERSION = "0.2.2"
4+
EXTENSION_VERSION = "0.2.3"
55

66
#DEBUG PARAMETERS
77

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.2",
5+
"version": "0.2.3",
66
"publisher": "Odoo",
77
"repository": {
88
"type": "git",

0 commit comments

Comments
 (0)