Skip to content

GoShot v0.4.0

Compare
Choose a tag to compare
@watzon watzon released this 22 Nov 00:07
· 124 commits to main since this release

GoShot v0.4.0

🎉 New Features

  • Enhanced Padding Control: Split padding into individual properties for more precise control

    • Added separate controls for top, right, bottom, and left padding
    • Replaced code-pad-vert and code-pad-horiz with code-pad-top, code-pad-bottom, code-pad-left, and code-pad-right
  • Improved Window Controls

    • Added new blank chrome option for minimal window decoration
    • Renamed --no-window-controls flag for better clarity
    • Added window corner radius customization
  • Enhanced Shadow Customization

    • Added shadow spread radius control with --shadow-spread
    • Improved shadow color handling with alpha channel support
    • Renamed --shadow-blur-radius to --shadow-blur for consistency

🔧 Improvements

  • Improved hex color parsing to support RGBA colors (8-digit hex)
  • Added support for transparent backgrounds
  • Better handling of background and shadow configurations
  • Reduced example image size for better documentation

💥 Breaking Changes

  • Padding configuration flags have changed:
    • code-pad-vertcode-pad-top and code-pad-bottom
    • code-pad-horizcode-pad-left and code-pad-right
  • --shadow-blur-radius renamed to --shadow-blur
  • Default shadow color changed to #00000033 for better default appearance

📝 Notes

  • All existing functionality remains supported through the new, more granular controls
  • The interactive mode has been updated to reflect all new configuration options