Releases: rossmoody/svg-gobbler
Releases · rossmoody/svg-gobbler
v3.2
- Added feedback mechanism from Feedback Fish (awesome app). Please gimme all the feedbacks.
- Extension icon now disables when page isn't valid to be scraped
- Cors restricted SVGs now automatically open SVG Gobbler in a new tab when prompted
- Large SVG class logic refactor to be more understandable
- Small design refactor for the menu
- Improvements to parsing and building g elements
- Implemented a Drawer component for viewing and copying the SVG markup (both original and optimized)
3.0
- Codebase rewrite to Typescript and React
- Leveraging Chakra UI as a component library
- Complete UI overhaul
- Simplified Webpack configuration and version update to 5.0
- Simplified SVG edge case handling related to cors, sprites, and symbols
- Support for refreshing the page and not losing SVG content
- Improved error handling in Chrome extension message passing
- Download and copy now use the original version by default
- Optimizing the content before export has been moved to the overflow menu
- Improved logic for gathering and building sprite instances on the page
- Improved logic and communication related to sprite masters
- Bug fixes for a few sites
- Better error handling
v2.5
v2.3
v2.2
Fixes
Improvements
- SVGO optimization is back! SVGs that are copied or downloaded now receive optimization automatically
- Just incase SVGO takes too many liberties, there is an avenue to download or copy the original SVG as well
v2.1
🌮 Improvements
Lots of positive updates in this release. If I'm honest, it was mostly just me being confused about correct Promise implementation.
- After battling with Promise resolution for three days, turn out
text()
returns a Promise and I wasn't awaiting it. This tiny bug fix significantly improves card render formatting. - Improved error handling within Promise.all filtering. ty @solominh
- Improved CORS handling for Firefox and Chrome. You can download SVGs after opening in a new tab now as well (before the Extension wouldn't fire at all)
- Improved communication in the
Download all
button. It now only downloads available SVG strings instead of zipping upimg
elements masquerading as SVGs - Fixed asynchoronous messaging when trying to send data to a new tab ty @Deliaz
- Style updates to the cards. We gave the grey background behind white SVGs a little padding and lightened it up a bit
- Improved the error notification on the cards to more accurately say what is happening for Sprites and CORS
- Sprites now dynamically copy their
xlink
content so exported sprites are now valid SVGs (though they still reference a singleid
). Thought it was a pretty crafty hack for not being able to access content in the shadow-dom.
What's next
- Bringing back SVGO implementation for optimizing SVGs before export or copy
- Explore SplitChunksPlugin for webpack so the bundle isn't 4mb
v2.0!
Complete codebase rewrite
Under the hood
- Complete codebase rewrite and simplification
- Revised webpack to segment and export modules more sensibly. This saved significant bundle size. We we are at around 800kb. Crazy to think the first releases were like 6mb+.
- Improved class structure of SVG creation. It's easier to read and understand now.
- Set up a testing index.html site with live-server for local testing applications
On top of the hood
- SVG Gobbler now opens in a new Tab instead of on top of the content of the current page. This will set it up to be much more modular and thankfully it won't have to compete with the page styling.
- Improved Sprite handling. Copy and Download should work significantly better
- Improved size determination. This helps SVGs format more dependably in the cards
v1.3.0
New functionality
- Isolated SVGs on pages that are opened in a new tab due to CORS can now be copied to clipboard by hitting the SVG Gobbler extension icon.
Fixes
- Fixed a break in gobbling svgs from image sources. They now fetch and error to the console correctly
- Fixed some specificity styling with the buttons on certain sites.
- Removed Feedback mechanism
- Removed SVGO from the package. It was increasing the package size by 8x and generally causing problems
- Updated all dependencies
- Fixed a regression with size estimation based on
boundingClientRects
- No longer rendering percent based sizing in the cards
v1.0.16
- Fundamental exports for
PNG
andJPG
formats implemented (ty @jasonrsadler!) - Improved SVG size determining logic
Download All
button added (not optimized on export though cause I can't figure it out, halp!)- Fixed issue with overflow on html not being able to scroll on certain sites
- Removed the
viewBox
andhidden from view
indicators. They were being given too much prominence
v1.14
- Increased file naming convention. Now grabs the name of the site instead of endless
gobble-gobble.svg
which even I found annoying - Improved CORS alert messaging and styling. It now has it's own icon