Releases: RafidMuhymin/astro-imagetools
Releases · RafidMuhymin/astro-imagetools
v0.6.5
Bug Fixes
- Fixes issues and inconsistencies related to path resolving. Thanks @IanVS
- Fixes incompatibility with Node.js version supported by
astro
Thanks @IanVS - Fixes
Cannot find module astroViteConfigs.js
error
Features
- Astro ImageTools now accepts
src
paths that are relative to thepublicDir
Codebase
- Thanks to @IanVS for adding support for Prettier formatting and linting, Vitest tests & GitHub workflows.
v0.6.4
Fixes
- Fixed a few path joining inconsistencies
v0.6.3
v0.6.2
Bug Fixes
- Fixed Node.js throwing
(intermediate value)(...) is not a function
error when trying to accessimport.meta
- Fixed
distassets
empty directory being created during build
v0.6.1
Bug Fixes
- Fixed localhost getting stuck in dev mode
- Fixed assets being generated in the wrong directory
TypeScript
- Added types for the SSR middleware
v0.6.0
Features
- Added experimental SSR support for Node.js. Check the
SSR
documentation for more information. - Added
attributes
config option to allow adding custom attributes to the generated HTML elements.
Bug Fixes
- Fixed
base
config defined in AstroConfig not being respected
Removals
- The
<Image />
component and therenderImage
API deprecated inv0.5.1
have been removed. And the Vite plugin has been removed in this release in favor of the new Astro integration. Check theDeprecations
documentation for more information.
Documentation
- Global Config Options have been documented and the doc site now has an Algolia Docsearch powered search bar https://astro-imagetools-docs.netlify.app/
v0.5.8
Features
- Added
cacheDir
config option to specify which directory to use to store cache
v0.5.7
Changes
- Capped default maximum breakpoint at
3840px
- The maximum default
count
is now11
Bug Fixes
- Fixed Art Directions not respecting
backgroundSize
andbackgroundPosition
for the<BackgroundImage />
component.
v0.5.6
Bug Fixes
- Fixed style content showing
false
- Fixed Background components and APIs generating image set only for source format
- Fixed placeholder overlapping image or image is not showing up when JS is disabled
- Fixed placeholder image not being displayed properly on network failure
v0.5.5
Bug Fixes
- Fixed keys inside
formatOptions
are required - Fixed Global Configs treated as transform configs
- Fixed options passed through query parameters not working properly