Skip to content

Release v0.3.0

Choose a tag to compare

@SWHL SWHL released this 31 Jul 06:57
· 20 commits to main since this release
fbb248b

Added

  • Added workspace-scoped repository configuration. Configure GitHub Repository now lets each project use its own repository, branch, and image directory while preserving global settings as the fallback.
  • Added GitPaste: Check Configuration to validate repository syntax, write permission, branch access, repository paths, conflict settings, and filename, public URL, commit message, and output templates without creating a test commit.
  • Added GitPaste: Replace Image at Cursor for inline Markdown images. It uploads a replacement, updates the Markdown, and can optionally delete the old GitHub file when the old URL maps unambiguously to the configured repository.
  • Added gitpaste.github.conflictStrategy with rename, overwrite, and prompt modes. The default rename mode preserves existing files by adding a numeric suffix.

Improved

  • Multi-image uploads can now retry a failed image, skip it and continue, or stop the batch.
  • Stopped and incomplete command-based uploads can clean up files newly created earlier in the same operation.
  • Existing remote files are read before overwrite and deletion operations so GitHub receives the current file SHA.
  • Configuration errors now fail early with actionable messages instead of surfacing during the first upload.
  • Expanded the English and Chinese documentation with workflow guidance, safety boundaries, complete setting descriptions, and template variable references.

Safety and Compatibility

  • Cleanup never deletes overwritten files because GitPaste does not retain their previous contents.
  • Cleanup verifies that a newly uploaded file still has the same SHA and refuses to delete a file changed by another process.
  • Old-image deletion requires explicit confirmation and is only offered for URLs associated with the active GitPaste repository configuration.
  • GitHub deletion creates a deletion commit; it does not erase the file from Git history or immediately invalidate every CDN cache.
  • Desktop clipboard behavior is unchanged. gitpaste.uploadOnPaste remains Web-only, and desktop users continue to use the dedicated clipboard shortcut.
  • Existing global settings remain valid. Workspace settings override global values only while that workspace is open.