Skip to content

Commit 1ff244d

Browse files
committed
Update changelog & versions
1 parent 8b642ad commit 1ff244d

File tree

6 files changed

+49
-8
lines changed

6 files changed

+49
-8
lines changed

.cargo/config.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ runner = "wasmtime --wasi threads=y --dir ../shader-sense/test::/test"
1515
# Will have to wait until the issue is fixed in wasm32-unknown-unknown, god knows when.
1616
# https://stackoverflow.com/questions/78556000/how-you-can-link-a-rust-library-with-c-c-and-wasm-bindgen-for-the-wasm32-unkno
1717
# https://github.com/rustwasm/wasm-bindgen/issues/3454
18+
# Until now, it can be compiled by switching to nightly compiler `rustup default [stable|nightly]`
1819
rustflags = ["-Z", "wasm-c-abi=spec"]
1920

2021
# Set this to your wasi-sdk compiler to avoid picking a clang version that does not support WASI (such as vs bundled version)

shader-intrinsic-parser/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2021"
55
publish = false
66

77
[dependencies]
8-
shader-sense = { version = "0.5.2", path = "../shader-sense" }
8+
shader-sense = { version = "1.0.0", path = "../shader-sense" }
99
regex = "1.10.6"
1010
scraper = "0.20.0"
1111
serde = { version = "1.0.208", features = ["derive"] }

shader-language-server/CHANGELOG.md

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,45 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [unreleased]
99

10+
## [1.0.0] - 2025-08-25
11+
12+
This new version features a lot of changes that should drastically improve performances on huge shader codebase, memory usage and behaviour of variant & updates. There was also some redesign with the architecture to handle this and make the API more friendly to use.
13+
14+
### Fixed
15+
16+
- Fixed an issue where regions were not displayed when diagnostics were disabled.
17+
- Fixed an issue with file using variant context missing some symbols behind include guards.
18+
- Fixed and improved the way symbols caching are handled.
19+
- Fixed a warning when hovering a field return by a method.
20+
- Fixed an issue whith HLSL database where its missing some parameters in Texture objects.
21+
- Fixed an issue with include handler pushing include from inactive region on stack, which could end up including file from a wrong folder.
22+
- Fixed intrinsics depending on requirements that were ignored.
23+
- Fixed some missing diagnostics clear when files are closed.
24+
- Fixed some dependency files not being cleared from memory when main file was closed.
25+
- Fixed an issue with updating a variant dependency that would cause it to clear inactive regions.
26+
- Fixed diagnostic not being cleared when passing from error state to non error state.
27+
- Fixed an issue where a variant file not opened prevent using the feature.
28+
29+
### Changed
30+
31+
- There can be only **one** variant at a time to avoid file randomly picking a variant.
32+
- ValidationParams & SymbolParams have been merged into a single struct ShaderParams.
33+
- Update messages are now handled asynchronously, which avoid messages from getting queued when caching take a lot of time. This can increase server speed drastically in huge codebase.
34+
- Reporting cache update through progress report notification.
35+
- Validator is now behind a solid struct instead of a trait.
36+
- Main functions are now sharing common entry point for uniformity.
37+
- Reduced memory usage of the server.
38+
- Changed API entry point.
39+
- Clean code, moved files & renaming
40+
41+
### Added
42+
43+
- Added Dxc builtins macros to symbols.
44+
- Added advanced symbols filterings for intrinsics. Extensions should be now easy to add for GLSL in an upcoming release.
45+
- Added test for each shader stage.
46+
- Added check for which shader stage is supported in Validator
47+
- Added command line argument for shader-language-server to pass configuration on startup.
48+
1049
## [0.8.2] - 2025-08-03
1150

1251
### Fixed
@@ -305,8 +344,9 @@ Initial release of this extension
305344

306345

307346
<!-- Below are link for above changelog titles-->
308-
[unreleased]: https://github.com/antaalt/shader-sense/compare/v0.8.2...HEAD
309-
[0.8.1]: https://github.com/antaalt/shader-sense/compare/v0.8.1...v0.8.2
347+
[unreleased]: https://github.com/antaalt/shader-sense/compare/v1.0.0...HEAD
348+
[1.0.0]: https://github.com/antaalt/shader-sense/compare/v0.8.2...v1.0.0
349+
[0.8.2]: https://github.com/antaalt/shader-sense/compare/v0.8.1...v0.8.2
310350
[0.8.1]: https://github.com/antaalt/shader-sense/compare/v0.8.0...v0.8.1
311351
[0.8.0]: https://github.com/antaalt/shader-sense/compare/v0.7.0...v0.8.0
312352
[0.7.0]: https://github.com/antaalt/shader-sense/compare/v0.6.1...v0.7.0

shader-language-server/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Language server for HLSL / GLSL / WGSL shaders using LSP protocol
44
repository = "https://github.com/antaalt/shader-sense/tree/main/shader-language-server"
55
keywords = ["shader", "lsp", "hlsl", "glsl", "wgsl"]
66
categories = ["development-tools", "graphics"]
7-
version = "0.8.2"
7+
version = "1.0.0"
88
edition = "2021"
99
license-file = "../LICENSE"
1010

@@ -16,7 +16,7 @@ name = "shader-language-server"
1616
path = "src/main.rs"
1717

1818
[dependencies]
19-
shader-sense = { version = "0.5.2", path = "../shader-sense" }
19+
shader-sense = { version = "1.0.0", path = "../shader-sense" }
2020
regex = "1.10.4"
2121
serde = { version = "1.0.199", features = ["derive"] }
2222
serde_json = "1.0.116"

shader-sense-cli/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ description = "Command line interface for shader validation and symbol inspectio
44
repository = "https://github.com/antaalt/shader-sense"
55
keywords = ["shader", "validate", "hlsl", "glsl", "wgsl"]
66
categories = ["development-tools", "graphics"]
7-
version = "0.1.2"
7+
version = "0.2.0"
88
edition = "2021"
99
license-file = "../LICENSE"
1010

1111
[dependencies]
1212
colored = "3.0.0"
13-
shader-sense = { version = "0.5.2", path = "../shader-sense" }
13+
shader-sense = { version = "1.0.0", path = "../shader-sense" }

shader-sense/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Library for runtime shader validation and symbol inspection"
44
repository = "https://github.com/antaalt/shader-sense"
55
keywords = ["shader", "validate", "hlsl", "glsl", "wgsl"]
66
categories = ["development-tools", "graphics"]
7-
version = "0.5.2"
7+
version = "1.0.0"
88
edition = "2021"
99
license-file = "../LICENSE"
1010
readme = "../README.md"

0 commit comments

Comments
 (0)