Skip to content

Releases: sailshq/language-tools

v0.6.0

Choose a tag to compare

@DominusKelvin DominusKelvin released this 11 Jan 05:52

🚀 New Features

Command Palette Generators

Run Sails generators directly from VS Code's Command Palette (Cmd/Ctrl + Shift + P):

  • Sails: Generate Action - Create a new action at api/controllers/
  • Sails: Generate Model - Create a new model at api/models/
  • Sails: Generate Helper - Create a new helper at api/helpers/
  • Sails: Generate Hook - Create a new hook
  • Sails: Generate Response - Create a custom response at api/responses/
  • Sails: Generate Adapter - Create a custom adapter at api/adapters/

Quick Fix for Missing Actions & Models

When you reference an action or model that doesn't exist, the extension now offers a quick fix to generate it automatically.

Auto-Refresh on File Changes

The language server now automatically refreshes validation when files are created, deleted, or renamed in api/ and config/ directories. No more stale errors!

🐛 Bug Fixes

  • Fixed cascade validation error where all routes showed "action not found" when only one was missing (#95)
  • Fixed action existence validation to properly detect missing action files (#105)
  • Removed circular devDependency in language-server package

🔧 Internal Improvements

  • Refactored code actions with factory pattern for extensibility
  • Added file watchers for real-time validation updates (#97)
  • Fixed rspack config for absolute output path

Pull Requests

  • #105 - feat: Command Palette generators with middleware
  • #104 - feat: Add generators for helper, action, model, and hook
  • #102 - feat: Quick fix for missing models
  • #99 - feat: Quick fix for missing actions
  • #97 - feat: Auto-refresh on file create/delete
  • #95 - fix: Action validation cascade error

Contributors


Full Changelog: v0.5.2...v0.6.0

v0.4.1

Choose a tag to compare

@DominusKelvin DominusKelvin released this 28 Dec 20:29

What changed

Fixed case insensitive validation of models #83 by @DominusKelvin

Full Changelog: v0.4.0...v0.4.1

v0.4.0

Choose a tag to compare

@DominusKelvin DominusKelvin released this 24 Dec 10:44

What's Changed

  • fix(language-server): model attributes completion & validation for top-level query modifiers by @DominusKelvin in #73
  • [feat] implement model attribute go to definition by @DominusKelvin in #75
  • [feat] go to helper input by @DominusKelvin in #77
  • feat(validation): improve required input validation logic for helper inputs by @DominusKelvin in #79
  • feat(completion): enhance input completion item properties handling by @DominusKelvin in #81

Full Changelog: v0.3.0...v0.4.0

v0.3.0

Choose a tag to compare

@DominusKelvin DominusKelvin released this 23 Dec 23:04

What's Changed

Full Changelog: v0.2.5...v0.3.0

v0.2.5

Choose a tag to compare

@DominusKelvin DominusKelvin released this 30 Jun 19:46

What's Changes

  • Fixed issue with creating routes mapping to action for routes that are redirects #52 by @DominusKelvin

Full Changelog: v0.2.4...v0.2.5

v0.2.4

Choose a tag to compare

@DominusKelvin DominusKelvin released this 30 Jun 13:52

What's Changed

  • fix(language-server): return empty array instead of null for go-to definition handlers by @DominusKelvin in #49
  • feat(language-server): add missing Waterline query predicates (or, and, not) by @DominusKelvin in #51

Full Changelog: v0.2.3...v0.2.4

v0.2.3

Choose a tag to compare

@DominusKelvin DominusKelvin released this 30 Jun 13:40

Full Changelog: v0.2.2...v0.2.3

v0.2.2

Choose a tag to compare

@DominusKelvin DominusKelvin released this 30 Jun 13:40

Full Changelog: v0.2.1...v0.2.2

v0.2.1

Choose a tag to compare

@DominusKelvin DominusKelvin released this 30 Jun 13:40

Full Changelog: v0.2.0...v0.2.1

v0.2.0

Choose a tag to compare

@DominusKelvin DominusKelvin released this 30 Jun 13:40

What's Changed

Full Changelog: v0.1.0...v0.2.0