Skip to content

Commit

Permalink
0.2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
fda-odoo committed Dec 18, 2024
1 parent b2000f4 commit 84eaafe
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 3 deletions.
42 changes: 42 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,47 @@
# Changelog

## 0.2.8 - 2024/18/12

### VsCode

- addon paths in configurations can now contains variables: ${workspaceFolder} and ${userHome} are available.
- search for valid addon path in parent folders too.
- 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).
- Fix hanging if popup window stay opened.
- Fix infinite reload issue

### Server

- Improve autocompletion to take base classes and comodels.
- Add inheritance information in hover for models.
- Adapt the architecture to store function arguments.
- Parse and evaluate function calls according to the function signature. Actually limited to domains and args counts.
- New domain validation: validate structure, operators and fields. Composed fields are not validated for now.
- Autocompletion that contains "." or that complete a string with a "." will not duplicate elements anymore.
- Improve function return type syntax in Hover feature.
- Implement super() evaluation.
- Handle @overload and @classmethod decorator

### Server Fixs

- Autocompletion will not raise an exception if the request is done outside of odoo.
- Gotodefinition will skip evaluation that lead to the same place
- Fix range on GotoDefinition for symbol that has multiple evaluation.
- Prevent parsing docstrings as markdown codeblocks
- Make read thread able to create delayed tasks.
- correctly skip arch step for syntaxically incorrect files.
- Avoid range evaluations on files.
- Allow not imported files to be reloaded
- Remove duplicates in autocompletion results due to diamond inheritance
- Change classes structure to keep inheritance order (HashSet to Vector)
- Incorrect "Base class not found" diagnostic

#### New diagnostics / odoo helpers

- New signature for "browse" on BaseModel.
- New hook for Odoo registry.
- Add "magic" fields to models (id, create_date, etc...)

## 0.2.7 - 2024/31/10

### Server
Expand Down
2 changes: 1 addition & 1 deletion server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "odoo_ls_server"
version = "0.2.7"
version = "0.2.8"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion server/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
use core::fmt;

pub const EXTENSION_NAME: &str = "Odoo";
pub const EXTENSION_VERSION: &str = "0.2.7";
pub const EXTENSION_VERSION: &str = "0.2.8";

pub const DEBUG_ODOO_BUILDER: bool = false;
pub const DEBUG_MEMORY: bool = false;
Expand Down
2 changes: 1 addition & 1 deletion vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "odoo",
"displayName": "Odoo",
"description": "Language Server for Odoo projects",
"version": "0.2.7",
"version": "0.2.8",
"publisher": "Odoo",
"repository": {
"type": "git",
Expand Down

0 comments on commit 84eaafe

Please sign in to comment.