Releases: watzon/goshot
v0.4.2
Changelog
- 84e2f75 ⬆️ chore(ci): upgrade GitHub Actions and improve release workflow
- 952dde1 ⬆️ chore(deps): bump sigstore/cosign-installer from 3.3.0 to 3.7.0
- e63117c 🔧 fix(release): pin goreleaser-action version to v2.4.7 for stability
- 22e11ca 🚀 feat: add GoReleaser configuration and GitHub Actions release workflow
Fix monospace font rendering
Monospace fonts weren't being properly rendered. This should be fixed now.
GoShot v0.4.0
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
andcode-pad-horiz
withcode-pad-top
,code-pad-bottom
,code-pad-left
, andcode-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
- Added shadow spread radius control with
🔧 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-vert
→code-pad-top
andcode-pad-bottom
code-pad-horiz
→code-pad-left
andcode-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
v0.3.1
Linux is taking over!
This release adds and fixes a lot of things, but the most exciting is the addition of gnome as a chrome type along with the adwaita and breeze variants. I will say that I am not super happy with breeze, and won't be until I get support for gradients in titlebars, but for now I will consider it good enough. Enjoy!
Added
- ✨ Interactive TUI mode for configuring code screenshots (WIP)
- 🖼️ Support for loading background images from files
- 🎨 New gradient types and improved gradient options
- 📝 Default output filename for rendered images
- 🔤 Title font size configuration
- 📦 Embedded fonts with improved fallback handling:
- Cantarell (Regular, Bold, Italic, BoldItalic)
- Inter (Regular, Italic)
- Monaspace (Argon, Neon variants)
Changed
- ♻️ Modernized window chrome system with improved theming and styling:
- More flexible and extensible theming system with proper variant support
- Improved window chrome implementations for macOS, Windows, and GNOME
- Better font handling with embedded fonts and fallbacks
- Cleaner separation of chrome styles and themes
- 🔧 Default gradient angle now set to 45 degrees for better visual appeal
- 📐 Corrected padding parameter ordering in SetPaddingDetailed
- 🎯 Improved text centering in title bar
- 🖥️ Enhanced Breeze theme controls with proper styling
Removed
- 🗑️ Removed unused width parameter from Mac window controls
- 🔄 Replaced older window chrome implementations with new modular system
Developer Changes
- 📦 Updated dependencies in go.mod
- 🏗️ Restructured chrome rendering system for better maintainability
- 📚 Added new example: complete showcase (05_complete)
Gradients in the CLI
This release adds support for all of the gradiated goodies in the CLI
A few updates
Full Changelog: v0.1.0...v0.1.1
v0.1.0 - Initial Release
Initial release of Goshot
Features
- 🎨 Beautiful syntax highlighting with multiple themes
- 🖼 Customizable window chrome (macOS, Windows styles)
- 🌈 Various background options (solid colors, gradients, images)
- 🔤 Custom font support
- 📏 Adjustable padding and margins
- 💾 Multiple export formats (PNG, JPEG)
- 🛠 Both CLI and library interfaces
This is the first public release of Goshot, providing both a Go library and CLI tool for creating beautiful code screenshots.