Skip to content

Commit 3936eeb

Browse files
committed
chore(release): v0.6.1
1 parent dcf2b5d commit 3936eeb

File tree

9 files changed

+88
-35
lines changed

9 files changed

+88
-35
lines changed

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ jobs:
178178
name: Create Release
179179
runs-on: ubuntu-latest
180180
needs: [build, build-extension, tag]
181-
if: '!inputs.dryrun'
181+
if: "!inputs.dryrun"
182182
permissions:
183183
contents: write
184184
steps:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
toolchain: ${{ matrix.rust }}
4444
components: clippy
4545
cache-key: ${{ runner.os }}
46-
rustflags: ''
46+
rustflags: ""
4747

4848
- name: Create dummy tag
4949
run: git tag -f CI

.vscode/tasks.json

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111
"panel": "dedicated",
1212
"reveal": "never"
1313
},
14-
"problemMatcher": [
15-
"$esbuild"
16-
]
14+
"problemMatcher": ["$esbuild"]
1715
},
1816
{
1917
"type": "npm",
@@ -26,17 +24,12 @@
2624
"panel": "dedicated",
2725
"reveal": "silent"
2826
},
29-
"problemMatcher": [
30-
"$esbuild-watch"
31-
]
27+
"problemMatcher": ["$esbuild-watch"]
3228
},
3329
{
3430
"type": "cargo",
3531
"command": "watch",
36-
"args": [
37-
"-x",
38-
"build"
39-
],
32+
"args": ["-x", "build"],
4033
"isBackground": true,
4134
"group": {
4235
"kind": "build"
@@ -45,21 +38,16 @@
4538
"reveal": "silent",
4639
"panel": "dedicated"
4740
},
48-
"problemMatcher": [
49-
"$rustc-watch"
50-
]
41+
"problemMatcher": ["$rustc-watch"]
5142
},
5243
{
5344
"label": "watch-all",
54-
"dependsOn": [
55-
"npm: watch",
56-
"cargo: watch"
57-
],
45+
"dependsOn": ["npm: watch", "cargo: watch"],
5846
"dependsOrder": "parallel",
5947
"group": {
6048
"kind": "build",
6149
"isDefault": true
6250
}
63-
},
51+
}
6452
]
6553
}

CHANGELOG.md

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

3+
## [0.6.1](https://github.com/Desdaemon/odoo-lsp/releases/tag/v0.6.1) - 2025-07-26
4+
5+
Compare: [`v0.6.0...v0.6.1`](https://github.com/Desdaemon/odoo-lsp/compare/v0.6.0...v0.6.1)
6+
7+
### Added
8+
9+
- **analyze:** `odoo.http.request` [`076ba7f`](https://github.com/Desdaemon/odoo-lsp/commit/076ba7ff40df544c9854365a8f96357fea0e3c54)
10+
- **analyze:** Method name, return expression [`d56804f`](https://github.com/Desdaemon/odoo-lsp/commit/d56804f1f4d72f33c3c8ab1182700e53f52d957c)
11+
- Call signature assistance [`dc6f948`](https://github.com/Desdaemon/odoo-lsp/commit/dc6f94846c53633e156c1bf6df853e183cb5ad7f)
12+
- **vscode:** Only restart extension host when self-updating [`2835924`](https://github.com/Desdaemon/odoo-lsp/commit/283592455315751696c8d431f67cf6e20f45916d)
13+
- **lsp:** Implement serverInfo (#62) [`00790a1`](https://github.com/Desdaemon/odoo-lsp/commit/00790a1221a38efb1cff1fbfa4f8b729cb166eae)
14+
- **xml:** Handle button tag (#59) [`04591d2`](https://github.com/Desdaemon/odoo-lsp/commit/04591d27e07295d9c242a249dd4d5079aa29660e)
15+
- **python:** Add support for command lists [`80e0f38`](https://github.com/Desdaemon/odoo-lsp/commit/80e0f386950cf39d2925142295e46638e8a60f56)
16+
- Implement lazy loading (#66) [`298675a`](https://github.com/Desdaemon/odoo-lsp/commit/298675afbb448240bcf856dcf47932fb08801205)
17+
- Add details for field completions [`c759a6a`](https://github.com/Desdaemon/odoo-lsp/commit/c759a6ac705477541e0c7e000cf486f34297c604)
18+
- Load all dependents for codebase-wide searches [`2d7cb48`](https://github.com/Desdaemon/odoo-lsp/commit/2d7cb48c3ae2db3b8b41dc5b62cc31a863070db6)
19+
- Don't load all dependents for gotodefs [`73c159b`](https://github.com/Desdaemon/odoo-lsp/commit/73c159ba16af72826de1836a4b1631736b9d5441)
20+
- **xml:** Resolve button action and method (#69) [`c5eb1ea`](https://github.com/Desdaemon/odoo-lsp/commit/c5eb1eac721c472029a854fce218a731035aedbf)
21+
- **python:** Python imports go to def (#70) [`0309c74`](https://github.com/Desdaemon/odoo-lsp/commit/0309c74f0443378154f589fcef6df5089134c4b5)
22+
- **cli:** Show manpage for help [`c639d3f`](https://github.com/Desdaemon/odoo-lsp/commit/c639d3f958a62030da7d05d0e58ec2e67d5a9e13)
23+
- **ci:** Run clippy for CI (#72) [`b3c047a`](https://github.com/Desdaemon/odoo-lsp/commit/b3c047acfe185c44f6e23ddbd5cc3f2eb57b44de)
24+
- **xml:** Add attribute name to the page tag (#74) [`c638209`](https://github.com/Desdaemon/odoo-lsp/commit/c638209b694bc79e56845ebc46a2fdca1358df54)
25+
- **python:** Groups for python fields (#77) [`8aa6ecb`](https://github.com/Desdaemon/odoo-lsp/commit/8aa6ecb755fc81fe1bcafa24d1ab5abedb410eb7)
26+
- **xml:** Include list view (#78) [`e26915f`](https://github.com/Desdaemon/odoo-lsp/commit/e26915f176d92684b75c97d70d22586d67c32c83)
27+
- **js:** Base for js completions (#79) [`8af71a9`](https://github.com/Desdaemon/odoo-lsp/commit/8af71a9fe994460ca4c19dd6a456cb968b1afd7e)
28+
- **js:** Gotodefs, hover for ORM calls [`c16443a`](https://github.com/Desdaemon/odoo-lsp/commit/c16443ac583bff31c1d5402bb00a0da659ff9c8f)
29+
- Menuaction action return all actions (#86) [`c6d24c4`](https://github.com/Desdaemon/odoo-lsp/commit/c6d24c4970994fa9d605f2d8283b4fd49dfaae79)
30+
- **cli:** Change manpage calling method [`668e679`](https://github.com/Desdaemon/odoo-lsp/commit/668e679f28bd4188e58f2bba460decd82e69cf02)
31+
- Groups support [`276fad3`](https://github.com/Desdaemon/odoo-lsp/commit/276fad3e6c186ef1c1579e071d13e1444a9a0e5d), Closes #17
32+
- **js:** Detect additional widgets [`4944b7f`](https://github.com/Desdaemon/odoo-lsp/commit/4944b7f9f2e4947c75860b333182adfd36c33472), Closes #89
33+
- Support `user_has_groups` and `user.has_group` [`dcf2b5d`](https://github.com/Desdaemon/odoo-lsp/commit/dcf2b5d5191830ecc3490d65c00c4bc5cdcf3d6c)
34+
35+
### Fixed
36+
37+
- Field parameters [`9c03a12`](https://github.com/Desdaemon/odoo-lsp/commit/9c03a1219f01a54bbdee76db4f012856cf72d90b)
38+
- `comodel_name` assistance [`4405a2e`](https://github.com/Desdaemon/odoo-lsp/commit/4405a2e140fcfbbde8fd42027a5269e928b8f156)
39+
- Incomplete attributes [`c1928ed`](https://github.com/Desdaemon/odoo-lsp/commit/c1928ed1f1b0c2bf0ebed02a0628d42398c98e73)
40+
- **ci:** Wrong cargo build syntax [`71ad091`](https://github.com/Desdaemon/odoo-lsp/commit/71ad09198aca73809fa922f5d3d280f3815683a0)
41+
- **python:** Field attributes [`1e1d3ed`](https://github.com/Desdaemon/odoo-lsp/commit/1e1d3edb947488f9ffbf718b86237c5ef1912339), Closes #53
42+
- **test:** Only init tracing once (#56) [`8abe4d9`](https://github.com/Desdaemon/odoo-lsp/commit/8abe4d9940a213594ce39728e89540621d525fff)
43+
- **test:** Run xml files (#58) [`0f2aba9`](https://github.com/Desdaemon/odoo-lsp/commit/0f2aba9361c71f13e7f8fdf968672dd6cb1d10ef)
44+
- **python:** Parse mapped, byte index out of bounds (#61) [`b9f3b5e`](https://github.com/Desdaemon/odoo-lsp/commit/b9f3b5e281911030b079b0742bfeb78e2904d761)
45+
- **vscode:** Missing mkdir before download [`a9d2874`](https://github.com/Desdaemon/odoo-lsp/commit/a9d2874fe355b38a88413814d541c3d7acf87f8f)
46+
- **ci:** Wrong syntax for Windows [`1c198da`](https://github.com/Desdaemon/odoo-lsp/commit/1c198da434ec6f83eb888cc9bff74bb8df837e36)
47+
- Remove server error from using tokio task id [`5ebea3f`](https://github.com/Desdaemon/odoo-lsp/commit/5ebea3f83e00a883e8bdaf7de127e50bdd1008ad)
48+
- **parser:** Manifest depends properly parse comment (#84) [`bd62bf7`](https://github.com/Desdaemon/odoo-lsp/commit/bd62bf7ba3da0027dcdc0bca651d443372d1abe1), fix #83
49+
- **python:** Commandlist properties not completing properly (#85) [`5dd6d25`](https://github.com/Desdaemon/odoo-lsp/commit/5dd6d251b043aebd0f510ddb64bbbf55d6b930f0)
50+
- **js:** Retain space for ORM methods [`c73b5a8`](https://github.com/Desdaemon/odoo-lsp/commit/c73b5a8bf15db282df272a598f748b67051b2e44), Closes #90
51+
52+
### Refactor
53+
54+
- Python, testing [`ff951b4`](https://github.com/Desdaemon/odoo-lsp/commit/ff951b4ee315f27ceb81f2c535d2cef6b07e8b23)
55+
- **index:** Components and registry items [`e419ae5`](https://github.com/Desdaemon/odoo-lsp/commit/e419ae5925e0e481da3cc9ae99bd713827d80c60)
56+
57+
### Testing
58+
59+
- Some invalid model name usages [`f909721`](https://github.com/Desdaemon/odoo-lsp/commit/f9097214ea618ddd512a88ea7c6cba448160a6df)
60+
- Increase code coverage (#65) [`18bd783`](https://github.com/Desdaemon/odoo-lsp/commit/18bd7830d46e87da0d41eec8bd9c44977d58fb1c)
61+
- Add index tests (#73) [`dd6c940`](https://github.com/Desdaemon/odoo-lsp/commit/dd6c940dd323071447dca5c2646a8ec64927058e)
62+
363
## [0.6.0](https://github.com/Desdaemon/odoo-lsp/releases/tag/v0.6.0) - 2025-03-17
464

565
Compare: [`v0.5.0...v0.6.0`](https://github.com/Desdaemon/odoo-lsp/compare/v0.5.0...v0.6.0)

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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-lsp"
3-
version = "0.6.0"
3+
version = "0.6.1"
44
edition = "2024"
55
rust-version = "1.88"
66
authors = ["Viet Dinh <[email protected]>"]

client/src/extension.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,11 @@ function updateExtension(context: vscode.ExtensionContext, release: string) {
235235
return;
236236
}
237237
vscode.window
238-
.showInformationMessage(`Extension updated to ${release}. Reload to apply changes.`, "Reload extensions", "Later")
238+
.showInformationMessage(
239+
`Extension updated to ${release}. Reload to apply changes.`,
240+
"Reload extensions",
241+
"Later",
242+
)
239243
.then((resp) => {
240244
if (resp === "Reload extensions") vscode.commands.executeCommand("workbench.action.restartExtensionHost");
241245
});

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "odoo-lsp",
33
"description": "Language server for Odoo Python/JS/XML",
44
"license": "MIT",
5-
"version": "0.6.0",
5+
"version": "0.6.1",
66
"categories": [
77
"Programming Languages"
88
],
@@ -157,7 +157,7 @@
157157
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
158158
"compile": "cross-env NODE_ENV=production tsc -b",
159159
"watch": "rm -rf dist && npm run esbuild-watch",
160-
"lint": "prettier --write . && cargo fmt && cargo clippy --fix --allow-dirty --allow-staged && ruff format",
160+
"lint": "prettier --write . && cargo fmt && cargo clippy --fix --allow-dirty --allow-staged",
161161
"build": "npm run esbuild-base -- --sourcemap",
162162
"package": "vsce package --no-dependencies",
163163
"publish": "vsce publish --no-dependencies",
@@ -192,5 +192,6 @@
192192
"esbuild",
193193
"keytar"
194194
]
195-
}
195+
},
196+
"packageManager": "[email protected]+sha512.37ebf1a5c7a30d5fabe0c5df44ee8da4c965ca0c5af3dbab28c3a1681b70a256218d05c81c9c0dcf767ef6b8551eb5b960042b9ed4300c59242336377e01cfad"
196197
}
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
/** @odoo-module **/
22

33
export class TestWidget extends Component {
4-
static template = "test_module.TestWidget";
4+
static template = "test_module.TestWidget";
55

6-
async onButtonClick() {
7-
const result = await this.orm.call('test', 'test_method');
8-
// ^complete test.model
6+
async onButtonClick() {
7+
const result = await this.orm.call("test", "test_method");
8+
// ^complete test.model
99

10-
// Test method name completion
11-
const result2 = await this.orm.call('test.model', 'an');
12-
// ^complete another_method
13-
}
10+
// Test method name completion
11+
const result2 = await this.orm.call("test.model", "an");
12+
// ^complete another_method
13+
}
1414
}
1515

16-
registry.category("fields").add("foo").add("bar").add("baz")
16+
registry.category("fields").add("foo").add("bar").add("baz");

0 commit comments

Comments
 (0)