Skip to content

v0.5.0-rc1

Pre-release
Pre-release
Compare
Choose a tag to compare
@kralicky kralicky released this 23 May 18:55
· 50 commits to main since this release
5fcc252

Changelog

  • a1d90b7 Go to Generated Definition bugfixes and error message improvements
  • af3f289 AST viewer now updates correctly without delay; various completion bugfixes, code cleanup
  • 3a4ba5a Add 'protols decode' cli command
  • 3d2771f Add 'protols fmt' command
  • b2c48c3 Add AST printer
  • 9460d2c Add README.md
  • 2f1c551 Add basic marker test for symbol references; bump kralicky/protocompile to fix enum value ref indexing
  • 2800107 Add basic package name completion based on adjacent files and directory name; fix hover/definition for groups
  • 9c7a7b5 Add codegen driver option to restore original names of synthetic file descriptors generated from existing dependencies, instead of using lsp-resolved names
  • 09c8ab0 Add column alignment when using ast document formatting
  • b92a59c Add column formatting support for adjacent option nodes and message literal fields
  • 142d1b9 Add command to reindex all workspaces without restarting the language server
  • c5b43a5 Add command to restart language server
  • 9728ccb Add completion logic for rpc types
  • 94c1849 Add hover and definition support for package names and prefixes
  • 9e87150 Add missing formatter logic for edition nodes
  • b4ed093 Add missing implementation for DidChangeWatchedFiles
  • 4db53fa Add more built in well-known types
  • 177d179 Add multi-workspace support
  • d0614af Add refactor action to find and add missing imports for unresolved types and extensions
  • 3fd1cfb Add related information to diagnostics for symbol collision reports
  • d4dcfff Add semantic tokens for escape sequences; fix escape sequences in textmate grammar
  • 84a7b5f Add support for generating code via code lenses and navigating to symbols in generated code
  • cc0512b Add support for incomplete extend and import declarations, and code completion for extendee types
  • 207ea5c Add support for partial linker results
  • e7d5fa9 Add vscode extension
  • a13e3af Adjust semantic token search logic when cursor is directly after a token
  • 75f0603 Always insert trailing commas (or replace semicolons) when formatting multiline message literal fields
  • e4d84cf Automatically add, remove, and organize imports on save
  • 1f59260 Bump buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go
  • 89d1fda Bump buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go
  • e6ff886 Bump buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go
  • 87e879c Bump buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go
  • f3cb7cc Bump buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go
  • 65c5d21 Bump github.com/bufbuild/protovalidate-go from 0.5.1 to 0.5.2
  • 21171ac Bump github.com/bufbuild/protovalidate-go from 0.5.2 to 0.6.0
  • 42d4933 Bump github.com/bufbuild/protovalidate-go from 0.6.0 to 0.6.1
  • 158804b Bump github.com/bufbuild/protovalidate-go from 0.6.1 to 0.6.2
  • 8c21203 Bump github.com/google/cel-go from 0.19.0 to 0.20.0
  • 8e39cf0 Bump github.com/google/cel-go from 0.20.0 to 0.20.1
  • b11801f Bump github.com/google/uuid from 1.4.0 to 1.6.0
  • f0d07f5 Bump github.com/stretchr/testify from 1.8.4 to 1.9.0
  • a9c9dad Bump golang.org/x/mod from 0.15.0 to 0.16.0
  • a96ed7c Bump golang.org/x/mod from 0.16.0 to 0.17.0
  • fa82371 Bump golang.org/x/sync from 0.6.0 to 0.7.0
  • 855238f Bump google.golang.org/protobuf
  • 5ab3ef4 Bump protocompile; Don't trigger completion within comments
  • ae078f0 Bump protocompile; adjust unused import severity
  • b585207 Bump protocompile; fix panic when attempting to check for pragmas if the result's ast is nil
  • 2673e87 Bump tools-lite and protocompile; adjust modified import paths
  • ebef142 Check if the latest document contents are well-formed before handling lsp requests for document formatting, semantic tokens, and inlay hints
  • 32bc4b6 Code organization and cleanup
  • eed5ed6 Completion bugfixes; add type/option completion for enums and services
  • e700961 Completion work in progress
  • bd5bdf3 Create LICENSE
  • 48d4775 Create dependabot.yml
  • 079c3c1 Decouple source file discovery from cache initialization
  • ba27782 Find references to fields inside message extensions and extendee types
  • 00c0046 Fix alternative path resolution logic not being applied to dependencies of synthesized module sources in some cases
  • b0e6957 Fix ast viewer not working with synthetic files
  • 01f794a Fix compact message literal formatting
  • dcfbd96 Fix deepPathSearch using wrong parse result in some cases
  • 56baafc Fix enum definition name hover
  • 0c0741b Fix go import paths not working correctly
  • e932ba5 Fix golang.org/x/exp imports
  • 76498a0 Fix incorrect semantic token type given to (non-negative/ambiguous) 'inf' and 'nan' idents when used as float values
  • a45dd45 Fix lsp trace log output
  • 94b7a99 Fix message literal column formatting for fields adjacent to multi-line values
  • 7bc03e8 Fix missing comment semantic tokens for string literals with escape sequences
  • abd9bb4 Fix non-concrete nodes not being filtered during path search
  • a966e50 Fix order of moved options when simplifying, and preserve comments
  • 78b05af Fix path search logic for compound idents in extension field types
  • 674700f Fix resolver not handling relative imports when no go.mod is present
  • aa4f45b Fix rune nodes taking priority over directly adjacent identifiers on hover
  • 7a181ea Fix semantic tokens for multiline comments
  • 1ccb895 Fixes for new special float literal handling; improve semantic tokens for scalar identifiers and enum literals
  • 94012e2 Fixes for overlapping tokens in some scenarios
  • e42e5f9 Formatter will now replace single-quoted strings with double quotes.
  • 9528d8b Hover and definition support for option/extension literals
  • 8227521 Implement //protols:nofmt pragma comment
  • 46a6e65 Implement context-sensitive imports and resolved/unresolved path semantics
  • 29be66f Implement debug pragma to control diagnostic severity for extended syntax errors
  • ef38af2 Implement document version tracking for compiler
  • f892dd5 Implement find/hover logic for nested types and oneofs
  • 21f77c8 Implement refactor code action for extracting selected fields to a new message
  • 16fceb3 Implement refactor code actions for inlining messages and renumbering fields
  • 0299b46 Implement workspace diagnostics
  • 94ad00a Implement workspace symbol query
  • a1388e7 Improve completion within complex option names
  • 1b76ca9 Improve element sorting logic
  • 0f33917 Improve formatting for groups of trailing comments
  • eb95a36 Improve go package import logic
  • 85ba7ce Improve gogoproto compatibility logic
  • 6979c71 Improve hover functionality with basic highlighting and updated formatter
  • ae98dce Improve inlay hints for imports; add settings to allow toggling individual inlay hint types
  • e0c52c5 Improve path matching heuristics for relative import resolution
  • 725c501 Improve semantic tokens for compound identifiers
  • 328aab3 Improve synthetic source file handling and fix import resolution issues
  • cbe0fdd Initial commit
  • cfc6b5e Initial integration of upstream editions features
  • 85ebe43 Initial test setup using gopls integration test fixtures
  • 9ebc3fd Integrate new AST path tools and apis; move pathbuilder generator to separate repo
  • afc3dba Merge pull request #11 from kralicky/dependabot/go_modules/buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go-1.33.0-20240221180331-f05a6f4403ce.1
  • 1deef32 Merge pull request #12 from kralicky/dependabot/go_modules/github.com/google/cel-go-0.20.1
  • 65b87a7 Merge pull request #13 from kralicky/dependabot/go_modules/buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go-1.33.0-20240401165935-b983156c5e99.1
  • a31bf8d Merge pull request #14 from kralicky/dependabot/go_modules/github.com/bufbuild/protovalidate-go-0.6.1
  • da66ded Merge pull request #15 from kralicky/dependabot/go_modules/golang.org/x/sync-0.7.0
  • c962a25 Merge pull request #16 from kralicky/dependabot/go_modules/golang.org/x/mod-0.17.0
  • 5f3cde6 Merge pull request #17 from kralicky/dependabot/go_modules/github.com/bufbuild/protovalidate-go-0.6.2
  • b5f7c35 Merge pull request #18 from kralicky/dependabot/go_modules/google.golang.org/protobuf-1.34.0
  • 5599ccc Merge pull request #19 from kralicky/dependabot/go_modules/buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go-1.34.0-20240401165935-b983156c5e99.1
  • df0f74c Merge pull request #2 from kralicky/dependabot/go_modules/github.com/bufbuild/protovalidate-go-0.5.2
  • 5fcc252 Merge pull request #23 from kralicky/ci
  • 04c6b13 Merge pull request #3 from kralicky/dependabot/go_modules/github.com/google/uuid-1.6.0
  • 5839a0d Merge pull request #4 from kralicky/dependabot/go_modules/buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go-1.32.0-20240212200630-3014d81c3a48.1
  • 37edf33 Merge pull request #5 from kralicky/dependabot/go_modules/github.com/google/cel-go-0.20.0
  • 5dde155 Merge pull request #6 from kralicky/dependabot/go_modules/buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go-1.32.0-20240221180331-f05a6f4403ce.1
  • fe6c453 Merge pull request #7 from kralicky/dependabot/go_modules/github.com/bufbuild/protovalidate-go-0.6.0
  • d76cc26 Merge pull request #8 from kralicky/dependabot/go_modules/github.com/stretchr/testify-1.9.0
  • 1cc6cc1 Merge pull request #9 from kralicky/dependabot/go_modules/golang.org/x/mod-0.16.0
  • 0913891 Migrate python generator
  • 865a7b0 Move to new repo
  • faf7f90 Port desc/protoprint to reflection v2 api
  • 33fcbfd Re-enable and fix up document symbol support
  • e8fb6f2 Re-enable inlay hints for field reference types, with hover/definition support
  • ae8a0f8 Refactor typescript code; add ast viewer to vscode extension; code actions work in progress
  • 70a0e94 Remove tmlanguage config
  • ed19b04 Reorganize code structure
  • 4007ff2 Replace zap loggers with slog
  • 91b11fc Search for the protols binary in PATH by default, and add config override
  • 1e4885d Semantic token tests work in progress
  • f2d7e5a Several improvements and fixes related to import resolution and synthetic descriptors
  • f0c9a04 Streaming workspace diagnostics
  • cf92e61 Treat extended syntax warnings as errors for diagnostic purposes
  • cbfaec1 Update 'simplify repeated options' code action
  • 6770cf8 Update README.md
  • 0cd4b9e Update README.md
  • 13c5603 Update README.md
  • 06e67be Update README.md
  • 612cd99 Update README.md
  • 7d014b1 Update README.md
  • 682ca5e Update README.md
  • 4f86485 Update README.md
  • 23a6cd2 Update README.md
  • 7d778a2 Update README.md
  • 6c86de1 Update README.md
  • 6635b56 Update README.md
  • c444794 Update README.md
  • de28e40 Update README.md
  • ae3f09c Update formatter for new AST
  • b6a34ab Update formatter to handle virtual semicolon logic improvements
  • a52b72e Update module replacements
  • 5a05bb4 Update protocompile
  • 632db48 Update protocompile with new ast tooling, work in progress improvements to refactor code actions
  • 3fef34d Update vscode extension package config
  • 1b657e2 Update vscode extension package config
  • 7d0f6aa Use submodules for forked repos
  • aa5dc36 Various fixes and improvements for semantic tokens, formatting and grammar, hover and go-to features, and symbol resolution for options, enum values, and map fields.
  • c793122 Work in progress: AST refactor
  • 08a2bbf Work in progress: find implementations in generated code
  • ec32b92 add .gitignore
  • 2f06157 add completion for imports and syntax; fix auto-import; completion text edit logic improvements
  • 4a22c79 add embedded semantic token syntax highlighting for CEL expressions within protovalidate constraint options
  • 19446d8 add go.work
  • 8e5280d add goreleaser config
  • 7797e71 add simple CI test workflow
  • 4cc6450 add simple release CI workflow
  • 1426aac add version info
  • 73a6684 add/improve formatting logic for options
  • f98bca8 ast viewer and vscode extension updates
  • d808123 basic gogoproto compatibility
  • 243abdf breaking stuff
  • 46a75af bump kralicky/protocompile
  • 59cd631 bump kralicky/protocompile
  • d9f5a2a bump protocompile
  • adb66f2 bump protocompile fork
  • 9aaeb2c bump protocompile; apply protoprint bugfixes from upstream
  • 7d33f77 bump protocompile; fix token offset calculation
  • c21eea6 bump tools to latest master
  • 7d95f8c bump tools-lite
  • abc9228 ci : include -coverpkg=./... in go test
  • aacddb6 code cleanup, completion work in progress
  • c8c732f completion work in progress: relative package names in identifiers
  • 1f50517 dependency updates
  • 3be87ef extended syntax implementation and fixes
  • f06bd76 fix compact option formatting
  • d326d38 fix formatting for multiline string literals
  • c4f4fa8 fix issues with trailing comments; file operations work in progress
  • 8667094 format: break groups between option and non-option message elements
  • 669d20c format: fix multiline compact options with nested arrays
  • ba519f2 format: remove leading and trailing commas in compact options
  • 7259505 formatter bugfixes; add column formatting for oneof elements
  • 3c25028 formatter: ensure compact option separators are rewritten as commas if necessary
  • 3cf5f70 formatting improvements
  • 87170b8 hover improvements
  • fa105bb import hints and semantic token improvements
  • 344e8b1 improve log output in sdk/driver
  • 453fee0 initial codegen plumbing and cli tools
  • 76c4a5c option name completion bugfixes; improve completion for message literal fields
  • cfcafbf refactor hover and go-to-definition implementations; implement find-usages
  • 2c8bbe8 refactor project layout
  • 389f80d remove protoreflect submodule
  • c306b28 replace old nonstandardRequest usages with executeCommand
  • 71d0774 un-break semantic tokens and formatter
  • e06d4b4 update README with pretty badges :)
  • 29adea0 update protocompile
  • c685001 update submodules
  • 2c175cd update to go 1.21
  • 353a8a7 update tools
  • a679ad8 vendor formatter.go from buf/bufformat
  • 61fd489 wip code actions refactoring; bump protocompile
  • 2df945f wip: diagnostics, semantic tokens, various fixes
  • 9d33a31 wip: document symbols, semantic tokens, hover improvements
  • b640e5c wip: option completion
  • 12d20c0 wip: option name, keyword completion
  • 0744c19 wip: switch to generated protocol sdk
  • 1bc049c work in progress - successful semantic token syntax highlighting
  • 5650cf2 work in progress: better handling of ill-formed and deleted files
  • fb346ea work in progress: code refactor actions
  • 878c8c2 work in progress: completion; code organization
  • 4e9ca42 work in progress: context-sensitive import resolution; roll back some previous changes that caused regressions
  • af05e4c work in progress: dynamic import resolution and automatic pattern editing, synthesizing descriptors from generated go ASTs, optimizations, custom formatting, fixes for inlay hints
  • 5c03bc6 work in progress: inlay hints for options and extensions
  • c02811f work in progress: integrate new extended syntax rules for identifiers; ast printer improvements; semantic token fixes
  • b157ded work in progress: marker tests
  • 3f71d39 work in progress: option and field literal value completion
  • d87290c work in progress: option/extension/field completion; formatting bugfixes
  • 81a3f0f work in progress: refactor cache to use gopls' text synchronization types
  • 944d331 work in progress: refactor diagnostic streaming
  • 12e94ca work in progress: refactor option name completion logic
  • cda50f2 work in progress: symbol renaming
  • 6d71f87 work in progress: synthetic file navigation and editor support
  • cd90ef2 work in progress: type completion in messages
  • 21c25f7 work in progress: type completions in message fields
  • 0506805 work in progress: update completion logic to use new ast traversal