Skip to content

Commit

Permalink
3.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sumneko committed Oct 30, 2024
1 parent 2c861f3 commit f7386db
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 12 deletions.
17 changes: 17 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@
## Unreleased
<!-- Add all new changes here. They will be moved under a version at release -->

## 3.12.0
`2024-10-30`
* `NEW` Support importing `enum` through class name suffix matching in quick fixes, allowing the import of `enum` from `table.table.enum; return table`.
* `NEW` Support limited multiline annotations
```lua
---@type {
--- x: number,
--- y: number,
--- z: number,
---}
local point --> local point: { x: number, y: number, z: number }
```
* `FIX` A regression related to type narrow and generic param introduced since `v3.10.1`
* `FIX` Parse storagePath to improve reliability of resolving ${addons} placeholder
* `FIX` Reference should also look in tablefield
* `FIX` Determine that the index of `{...}` is an integer when iterating

## 3.11.1
`2024-10-9`
* `FIX` Fixed an issue preventing to set the locale to Japanese
Expand Down
11 changes: 1 addition & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3235,15 +3235,6 @@
}
],
"languages": [
{

This comment has been minimized.

Copy link
@IronGeek

IronGeek Oct 31, 2024

Contributor

Hi, @sumneko ...

I made the PR to add this languages contribution points in the previous merged commit. Is there a specific reason why this is now reverted?

This comment has been minimized.

Copy link
@sumneko

sumneko Oct 31, 2024

Author Collaborator

I forgot that this file is automatically generated in the release process, and you need to modify this source file
https://github.com/LuaLS/vscode-lua/blob/master/package/package.lua

This comment has been minimized.

Copy link
@sumneko

sumneko Oct 31, 2024

Author Collaborator

Let me modify the generation process.

This comment has been minimized.

Copy link
@IronGeek

IronGeek Oct 31, 2024

Contributor

I see..., so I just need to mirror the changes in package/package.lua file right?

Should I create a new PR for this? Or would you rather handle it yourself?

This comment has been minimized.

Copy link
@sumneko

sumneko Oct 31, 2024

Author Collaborator

I will handle it

"id": "lua",
"extensions": [
".lua"
],
"aliases": [
"Lua"
]
},
{
"filenames": [
".luarc.json",
Expand Down Expand Up @@ -3415,5 +3406,5 @@
"sponsor": {
"url": "https://github.com/LuaLS/lua-language-server/issues/484"
},
"version": "3.11.1"
"version": "3.12.0"
}
2 changes: 1 addition & 1 deletion package/build.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
local json = require 'json-beautify'

local VERSION = "3.11.1"
local VERSION = "3.12.0"

local package = require 'package.package'
local fsu = require 'fs-utility'
Expand Down

0 comments on commit f7386db

Please sign in to comment.