Liquibase Secure Developer Extension Release Notes v 1.1.0
This 1.1.0 release focuses on quality improvements and bug fixes, particularly in the areas of changelog generation and command functionality. This release addresses numerous issues with generated change types that contain invalid or forbidden attributes, enhances the Policy Checks commands, improves changelog validation capabilities, and enhances the user experience for file creation and flow commands.
Improvements
Changelog Validation
Properties File Validation: Added support to validate changelogs directly from properties files, with automatic prompting to select a valid file when needed (#260)
Changelog Generation Enhancements
customChange Support: Added 'class' attribute to generated customChange changesets (#291)
executeCommand Enhancements: Added 'os' attribute and 'arg' nested tags to executeCommand change type (#262)
XML Tips Positioning: Moved DESC tips to appear before the change type in XML for better readability (#308)
Command Improvements
Init Project Streamlining: Removed 'format' parameter from the save parameters list in 'init project' command for cleaner workflow (#313)
Defaults File Location: Enhanced "Create Liquibase Defaults File" command to prompt users for file storage location instead of always creating in root (#270)
Defaults File Management: Improved "Create/Edit Liquibase Defaults File" command to ask for a nickname and properly edit the selected file (#276)
Bug Fixes
Changelog Generation
createPackage & createPackageBody: Fixed invalid 'replaceIfExists' attribute being generated in 'createPackage' and 'createPackageBody' change types (#297)
Comment Attribute: Removed forbidden 'comment' attribute from generated change types where it shouldn't appear (#296)
SQL Change Types: Fixed invalid attributes in 'sql' and 'sqlFile' change types - removed 'ignoreOriginalSplitStatements', 'sqlStartLine', and 'sqlEndLine' which were incorrectly being added (#295)
createIndex Column: Fixed incorrect attribute generation in createIndex column definitions (#290)
insert Change Type: Fixed incorrect attributes and added missing required attributes in insert change type (#309)
Include Change Type: Fixed 'id' and 'author' attributes incorrectly appearing when generating snippets for include change type (#264)
XML Changelog Generation: Fixed issue where generated XML changelogs had the example changeset commented out instead of active (#288)
Rollback: generated changesets contain an empty "rollback" object (#311)
Command Fixes
Rollback One Changeset: Fixed rollback one changeset command that was failing due to changeset path errors (#259)
Flow File Selection: Fixed issue where flow files couldn't be explored or picked from saved flow files (#248)
Policy Checks Commands:
- Fixed missing "Enable Specific Checks" command in the command palette (#266)
- Fixed bulk set severity command not working properly (#263)
- Fixed checks bulk set commands incorrectly overriding the extraOptions properties value in settings.json (#261)
File Recognition
SQL File Detection: Fixed issue where example.sql files were not being recognized as Liquibase files by the extension (#285)
User Interface
Extension Setup: Fixed extension setup progress being lost when switching focus between windows or applications (#279)
Anonymous Analytics
Analytics Tracking: Set analytics trackingID as user from VS Code for improved product usage data collection (#321)
Documentation
README Update: Removed broken link from README.md (#269)
Version References: Fixed README.MD and CHANGELOG.MD incorrectly mentioning versions 1.0.1 and 1.0.2 instead of 1.0.0, and removed reference to missing screenshot (#292)
Contributors
Special thanks to all contributors who made this release possible:
- @RomanDeveloperAcc
- @MalloD12
- @mariochampion
Getting Started
To get started with the Liquibase VS Code Extension:
1. Install or update the extension from the VS Code Marketplace
2. Open or create a Liquibase project
3. Use the command palette (Cmd/Ctrl+Shift+P) to access Liquibase commands
4. Configure your defaults file and start managing your database changes!
For more information, visit the Liquibase VS Code Extension documentation
Full Changelog: https://github.com/liquibase/liquibase-vscode/compare/v1.0.0...v1.1.0