Releases: RafidMuhymin/astro-imagetools
Releases · RafidMuhymin/astro-imagetools
v0.5.4
Features
- Astro ImageTools will now throw errors and show warnings for required and non-existent config options.
Changes
- Updated logging messages
- Fixed types for Global configs and
<BackgroundImage />
component props - Updated remote image naming strategy
Bug Fixes
- Fixed some configs that were not working
v0.5.3
README
Updated Documentation URLs
v0.5.2
Features
- Added support for remote images inside Markdown files
Bug Fixes
- Fixed
layout="fill"
andlayout="fullWidth"
not working. - Fixed
<BackgroundPicture />
not working when any CSS Background is present - Fixed Types for Components Props not working
- Fixed
<BackgroundImage />
and<BackgroundPicture />
components showing undefined when no content is present - Fixed Markdown Images not getting transformed in supported scenarios
- Improved performance of detection of Markdown Images
- Removed accidentally published files
v0.5.1
Features
- New
<Img />
component! Check the Documentation for more information. - New
<Picture />
component! Check the Documentation for more information. - New
<BackgroundImage />
component! Check the Documentation for more information. - New
<BackgroundPicture />
component! Check the Documentation for more information. - New
renderImg
API! Check the Documentation for more information. - New
renderPicture
API! Check the Documentation for more information. - New
renderBackgroundImage
API! Check the Documentation for more information. - New
renderBackgroundPicture
API! Check the Documentation for more information. - Fully typed components, APIs and the
defineConfig
helper!
Bug Fixes
- Fixed
layout="fixed"
not working.
Changes
- Updated
peerDependency
range ofastro
to>=0.26 || >=1.0.0-beta
- Updated
fadeInTransition
config option type - The
<Picture />
and<BackgroundPicture />
components and therenderPicture
andrenderBackgroundPicture
APIs now uses::after
pseudo element instead of<span>
tag to display placeholder image.
Deprecations
- Deprecated the
<Image />
component and therenderImage
API. Check theDeprecation
section in the Docs for more information.
Documentation
- The Astro ImageTools library now has dedicated documentation website at https://astro-imagetools-docs.netlify.app/
v0.4.1
v0.4.0
Features
astro-imagetools
now allows defining global config options. Check https://www.npmjs.com/package/astro-imagetools#global-config-options
Changes
- Improved support with Node
v14
v0.3.1
Bug FIxes
- Added support for Node
v14
. Thanks @FlaccidJello - Fixed query parameters not working for image paths inside markdown files
v0.3.0
Features
- The Astro ImageTools package now comes with built-in support for auto-optimizing markdown images 🎉🎉🎉 . For more info check https://www.npmjs.com/package/astro-imagetools#markdown-images
v0.2.12
- Fixed
Named export 'fileTypeFromBuffer' not found
error 259ec98