All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
0.7.1 (2022-06-22)
- domain normalization when no protocol and port are provided (c6c7085)
0.7.0 (2022-06-22)
- pkg: add engines field to require
node>=14.16
- switch to unbuild
- update dependencies
- cloudflare provider (#359) (94625ce)
- cloudimage provider (#523) (33b36bc)
- cloudinary: add types for options and modifiers (#511) (79c1580)
- layer0 provider (#501) (5de4eb6)
- pkg: add engines field to require
node>=14.16
(38d77f1) - storyblok: update to the new service (#497) (3edbd22)
- support placeholder (#477) (fc7e3d5)
- twicpics: fix modifiers and improve documentation (#503) (7942232)
- update dependencies (d4de9d3)
- ipx:
nuxtContext
is optional (37f09b0) - ipx: allow overriding
baseURL
regardless of router base (#484) (2720956) - normalize domains to hostname (resolves #486) (9f53d28)
- nuxt-img, nuxt-picture: return empty object from
head
when preload is disabled (#528) (86088e4)
- switch to unbuild (d7bb617)
0.6.2 (2022-02-17)
0.6.1 (2022-01-31)
- add
imgAttrs
property to<nuxt-picture>
(#445) (448d9ef) - add ImageEngine provider (#456) (3f00cf3)
- add preload functionality (#444) (6f245c6)
- emit native
<img>
events (#416) (f22ae01)
0.6.0 (2021-09-05)
- update ipx to 0.8.x (sharp changelog)
- add contentful provider (#398) (3eccba6)
- imgix: format keys (#364) (ce66fa7)
- ipx: compatible with 0.7.x (017c335)
- provider: unsplash (#357) (ad6c1ae)
0.5.0 (2021-07-01)
- prepend router base (#339)
- support alias (#348) (3d11b87)
- imagekit: add modifiers and improve docs (#336) (d53fda5)
- validate external domains (#343) (bee0040)
- prepend router base (#339) (2d7a04d)
- static: url encoded name included in generated ext (#340) (58dd744)
0.4.17 (2021-06-23)
- pkg: add missing consola and semver deps (bc34597)
0.4.16 (2021-06-23)
0.4.15 (2021-06-23)
0.4.14 (2021-06-02)
0.4.13 (2021-05-29)
0.4.12 (2021-05-27)
0.4.11 (2021-05-26)
0.4.10 (2021-05-17)
- vercel: add default proto for domains (fixes #277) (f501914)
- don't allow undefined values to override defaults (#274) (d2e65f9), closes #273
0.4.9 (2021-05-13)
- add sanity provider (#164) (6483c34)
- vercel: remove protocol from vercel domains (086227c), closes #242
- add guard for
ssrContext
existence (d8aa3a1), closes #258 #249 - fix typo regression for height modifier (fixes #262) (9a93f19)
- remove lazy loading polyfill in favour of native (#256) (424bd44), closes #213 #190
- vue-loader support for PascalCase components (#168) (8629e3f)
- cloudinary: use
jpg
instead ofjpeg
(#255) (7d49fa8), closes #254 - vercel: fix vercel auto-detection and provide local vercel mode (#246) (a156c66)
0.4.8 (2021-04-28)
- image: ratio calc regression (fixes #238) (5e28edd)
- ensure static image map is available on first load (#236) (466d5a8)
- generate static images even if lazy loaded (#233) (5be72a5), closes #232
- vercel provider improvements (#231) (9561daf)
0.4.7 (2021-04-23)
- pkg: use --ext js to avoid issues with mjs (a483e14)
0.4.6 (2021-04-22)
staticFilename
option to customize static image filenames (#220) (975b1a2)- type improvements (#222) (6dc8aa0)
- deps: add missing lru-cache (0af0bf3)
0.4.5 (2021-04-19)
0.4.4 (2021-04-10)
- enable default provider for resolving (18ed241)
0.4.3 (2021-04-10)
0.4.2 (2021-04-07)
0.4.1 (2021-02-16)
- allow sizes key to be screen width (6624440)
- use Math.round for generated width (8ee9a40)
0.4.0 (2021-02-15)
- remove nuxt-picture wrapper
- screen based responsive (#182)
0.3.0 (2021-02-03)
- improved $img interface (#169)
- improved $img interface (#169) (40ab562)
- use [email protected] (fe92ecf)
- image: use defu for options and fix default format (#166) (cf2e9c1)
- plugin: create static manifest for client hydration (#162) (0b10c22)
- provider: use resolvePath to resolve aliases as well (#161) (930e192)
- use correct width and handle x2 (97e3889)
- use ratio in getSizes (8e5b658)
0.2.1 (2021-01-26)
- nuxt-img: set key to allow making transitions (20ed72b)
0.2.0 (2021-01-25)
- nuxt-img: responsive prop (#155) (3dcee93)
- $img.getSources and better srcset for
<nuxt-picture>
(36e039b) - add background prop (ec8d1ce)
- allow overiding sharp options (7df04ca)
- allow top level provider options (7b47d6e)
- allow/disallow remote urls (0856343)
- fix full static support (caaff86)
- imagekit provider implementation and tests (#109) (fa8be15)
- support modifiers prop for components (#154) (6fe9e8f)
- nuxt-img: handle loading=lazy with observer (abb32a1)
- support
NUXT_IMAGE_PROVIDER
environment variable (1385eb8) - support assets using remote adapter (acff75c)
- support providers and presets with props (189cfb9)
- support types for config (4d7bf06)
- add types for pick utility and fix issues with imageOptions (#156) (63aaa8a)
- img: handle ststic images in with prod server target (95dd0c6)
- clean up
undefined
values (bf9e040) - cleanup double slashes outside of provider runtime (d71b03a)
- disable blur filter on custom placeholder (3f277a3)
- do not generate multiple sizes for SVG files (7e385c3)
- do not render image without src (cbeada1)
- do not sent data urls to provider (565445f)
- improve error readability (#79) (763f215)
- merge merge presets with inline modifiers (164af06)
- opacity (1220c6a)
- parse width and height modifiers (dd2bf78)
- remove resolution server middleware (fc34a73)
- set correct width and height for svg (05e3bfe)
- sizes as array should overwrites defaults (339b7dd)
- cloudinary: fit types, auto format & quality (#76) (74ef445)
- module: add package name to transpile list as well (f97b34a)
- picture: call
getMeta
with current arguments (d43daf2) - twicpics: fix minor issues and adds custom operations (#132) (5a4e5d3)
- reduce placeholders quality (b20a8f9)
- rename
nuxt-image
tonuxt-img
(df3b92c) - sanitize backgroun modifier (c1f3fb4)
- picture: show image after load (709d8e7)
0.0.4 (2020-11-10)
- a11y (1732d62)
- add
cacheDir
options (449a005) - add click listener (cbe2351)
- add component aliases (845579b)
- add fastly provider (#15) (34ceb3c)
- add module option to modify
IntersectionObserver
options (#41) (9f9b920) - auto detect image ratio (#37) (0f6e17e)
- inline styles (#67) (6909267)
- keep internal provider enable (#60) (349b40a)
- load all images on print (#66) (2c034de)
- support responsive prop to generate sizes (7e3f80b)
- universal meta resolving (#55) (45bbbe9)
- componets: introduce
no-script
prop (eb522b7) - runtime: add imgix provider (#29) (3f4a6a5)
- runtime: catch image exceptions and prevent page crash (#43) (e5190c1)
- ensure component needs placeholder (029f2cf)
- image ratio calculation (b88bb9c)
- rename default provider's option (c1509fb)
- resolve cache dir aliases (5303699)
- tests & typo (6f06e65)
- local-provider: resolve input dir alias (0a612d5), closes #47
- runtime: fix runtime behavior (0ed7625)
- runtime: handle ssr false (27c3445)
- runtime: rename
size
prop tofit
(6174417), closes #16 - runtime: use file name from
src
ifalt
prop is missing (19e6157)
0.0.3 (2020-10-05)
- runtime: fix runtime behavior (0ed7625)
- runtime: rename
size
prop tofit
(6174417), closes #16 - runtime: use file name from
src
ifalt
prop is missing (19e6157)
0.0.2 (2020-10-02)
- improvements to make it work with Nuxt content (46cc0e2)
- img: support
<img>
attributes (9ed71da) - preserve images name on generation (3f789fc)
- support
clearCache
on local provider (ba239a4) - support remote urls (fd4184b)
- generate: generate local file on static generation (0f46395)
- picture: init nuxt-picture (bce1645)
- srcset: introduce
sets
props to create srcset (e330900) - user-defined presets (3e7b1cf)
- full-static: find hashed images from page payload (f7512c7)
- local: remove baseUrl from provider options (e0ec956)
- provider: normalize runtime paths to support windows (df9470f)
- runtime: global nuxt variable to load page payload (1869b0d)
- use router base in generated images (28ed0f2)
- sets-prop: use width if breakpoint is missing (d1f62df)