Skip to content

v0.6.0

Latest

Choose a tag to compare

@DominusKelvin DominusKelvin released this 11 Jan 05:52
· 5 commits to develop since this release

πŸš€ 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