Sublime-GitHubFileFetcher - Release 1.1.0
Sublime-GitHubFileFetcher - Release 1.1.0
1.1.0
Fixed
- Percent-encode repository search queries and contents API paths so spaces and special characters no longer raise
InvalidURL. Thanks to @dpc00 (#1). - Reset repository search results between queries (
found_repositories,new_repo_found). Thanks to @dpc00 (#2). - On failed GitHub API calls (404, 403 rate limit, connection errors), show an error dialog with HTTP status where available and stop search, branch, file list, and file fetch instead of
AttributeErroror follow-up crashes. Thanks to @dpc00 (#3). - Show an error when no workspace folder is open instead of
IndexErroronfolders[0]. Thanks to @dpc00 (#4). - Decode fetched file content as UTF-8 with
errors="replace"so binary files no longer crash withUnicodeDecodeError. Thanks to @dpc00 (#5). - Thanks to @Jah-yee (#10) for contributing these fixes.
What’s Changed
- fix: handle binary files, None responses, URL encoding, and search state by @Jah-yee in https://github.com/dennykorsukewitz/Sublime-GitHubFileFetcher/pull/10
New Contributors
- @Jah-yee made their first contribution in https://github.com/dennykorsukewitz/Sublime-GitHubFileFetcher/pull/10
Full Changelog: https://github.com/dennykorsukewitz/Sublime-GitHubFileFetcher/compare/1.0.2…1.1.0
This post is licensed under CC BY 4.0 by the author.