Skip to content

Latest commit

 

History

History
1005 lines (672 loc) · 55.7 KB

CHANGELOG.md

File metadata and controls

1005 lines (672 loc) · 55.7 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

v1.6.0

compare changes

🚀 Enhancements

  • Configure domains with NUXT_IMAGE_DOMAINS (#1332)
  • nuxt-img: Add placeholderClass prop (#1111)

🩹 Fixes

  • hygraph: Support new hygraph asset system (#1321)
  • uploadcare: Omit base when resolved URL is returned (#1254)
  • Handle undefined or empty image source values (#1300)
  • Reduce warnings about density values > 2 (dad493a)
  • netlify: Normalise jpeg format to jpg (a59e57c)

📖 Documentation

  • Use new nuxi module add command in installation (#1310)
  • Warn <NuxtPicture> doesn't support different sources (#1326)

🏡 Chore

✅ Tests

❤️ Contributors

v1.5.0

compare changes

🚀 Enhancements

  • netlify: Support domains option with Netlify Image CDN (#1287)

🩹 Fixes

  • Opt in to import.meta.* properties (#1301)
  • Don't attempt to parse falsy values in options.domains (#1305)

📖 Documentation

🏡 Chore

✅ Tests

  • Close out playwright page after each test (2b4bac9)

❤️ Contributors

v1.4.0

compare changes

🚀 Enhancements

  • Add performance feature detection markers (#1221)
  • Support Netlify Image CDN (#1234)
  • Add @error event from <NuxtPicture> (#1252)

🩹 Fixes

  • ipx: Temporarily downgrade ipx/sharp (#1265)

📖 Documentation

🏡 Chore

  • docs: Upgrade versions and add carbon ads (503b663)
  • Use explicit version to bust stackblitz cache (ae93934)
  • Assert event exists (8701991)
  • Pin vue for docs hotfix (b56c760)
  • Upgrade ipx/sharp separately (9a711e6)
  • Release @nuxt/image-nightly with changelogen (074d12e)

🤖 CI

❤️ Contributors

v1.3.0

compare changes

🚀 Enhancements

  • imagekit: Replace obsolete overlay syntax with layers (#1197)
  • ipx: Support nuxt layers (#1177)

🏡 Chore

  • Deduplicate vue versions in workspace (#1202)

❤️ Contributors

v1.2.0

compare changes

🚀 Enhancements

  • Add hygraph provider (#1152)
  • Add weserv provider (#1019)
  • Add caisy provider (#1154)
  • Add bunny provider (#1179)

🩹 Fixes

  • Add types to ipx provider options (#1132)

📖 Documentation

  • Explain fall back to larger size on amplify + vercel (#1124)
  • Add link back to sizes and mention TailwindCSS (6e41429)
  • Added deprecated message Netlify Large Media (#1141)
  • Add bun installation command (#1155)

🏡 Chore

  • Migrate to @nuxt/test-utils for runtime testing (#1149)
  • Test bundler module resolution (#1161)

❤️ Contributors

v1.1.0

compare changes

🚀 Enhancements

  • Add sirv provider (#1066)
  • Add aliyun provider (#1091)
  • Support aws amplify provider (#1112)

📖 Documentation

  • Remove @rc version constraint (866a6aa)
  • Scale logo for consistency (#1059)
  • Add clearer examples of making a custom provider (#1074)
  • Add sirv logo (c435c1d)
  • Fix sirv link (8b815ac)
  • Fix typo (#1095)
  • Add aliyun logo (3dff67d)

🏡 Chore

  • Add backquote in readme (7f8d8f2)
  • Add homepage to package.json (#1097)
  • Use correct repository syntax (7a89e86)
  • Ensure amplify types respect upstream nitro types (5c4cd7c)
  • Add ignore (13a120f)

🤖 CI

❤️ Contributors

v1.0.0

compare changes

🩹 Fixes

  • cloudimage: Skip cdn when src path is provided with protocol (#1028)
  • ipx: ⚠️ Pass all options (#1056)
  • Type-only import of IPXRuntimeConfig (0b6bd83)
  • Autocomplete <NuxtImg> loading attribute (#1057)

📖 Documentation

🏡 Chore

⚠️ Breaking Changes

  • ipx: ⚠️ Pass all options (#1056)

❤️ Contributors

v1.0.0-rc.3

compare changes

🚀 Enhancements

  • ⚠️ Migrate to ipx v2 (#988)
  • Add nonce support (#1012)

🩹 Fixes

  • cloudinary: Handle blur modifier correctly (#985)

📖 Documentation

  • Track anonymous search queries (dd4451e)
  • Add query in search event (92f71da)
  • Update deps (d39eab1)
  • Display supported unsplash parameters as a list (#995)
  • Update to ui pro (a9cc6bd)
  • Add contribution guide (fdc0975)
  • Remove stray code block (#1016)

🏡 Chore

  • Split out docs updates into separate prs (8cb7c50)
  • Expand renovate group to nuxt ui prefix (adbdff3)
  • Build before releasing (db4d4a8)
  • Use explicit build command (e638a0e)

🤖 CI

⚠️ Breaking Changes

  • ⚠️ Migrate to ipx v2 (#988)

❤️ Contributors

v1.0.0-rc.2

compare changes

🚀 Enhancements

  • Support densities for devices with DevicePixelRatio > 1 (#769)
  • nuxt-picture: Support multiple image formats (#684)
  • Add prepr cms image provider integration (#823)
  • Allow setting global format defaults in config (#880)
  • Allow setting global quality defaults in config (#884)
  • Add uploadcare provider (#740)
  • nuxt-img: Placeholder default blur + improve playground (#966)
  • Add apiVersion to cloudimage provider (#955)
  • ⚠️ Switch sizes default to responsive-first (#977)
  • Add ipxStatic provider (#878)

🩹 Fixes

  • Apply sizes/srcset when using placeholder (#676)
  • Run setup and add none to providers list (#860)
  • Remove key for picture/image to stop flicker when loading (#760)
  • storyblok: Don't apply resize/format/filter on vector (#870)
  • Address miscellaneous bugs with new 'densities' prop (#872)
  • Add explicit import for useImage (4865ccb)
  • Augment runtime config with explicit ipx key (d73833b)
  • Provide default ipx opts earlier (2f62c05)
  • Respect densities prop with <nuxt-picture> (#928)
  • Warn in dev mode if density is provided above 2x (#973)
  • Generate sizes when only a single sizes is provided (#920)

📖 Documentation

  • Add rc tag to home page cta (d50d705)
  • providers: Cloudflare image is available to all plans now (99cb37f)
  • Remove unused module options (07836ae)
  • Update link to v0 docs (37395b7)
  • Make it nice (08d5645)
  • Fix link (cb96767)
  • Fix link (343dda0)
  • Upgraded documentation (#953)
  • Update elements (c3a2e25)
  • Add Nuxt Studio (bad4420)
  • Update deps and add canonical (#957)
  • Improve gradient (9f026b2)
  • Update color palette (green) (9f93a2e)
  • Update deps (f6b038a)
  • Leverage UPageLinks (8423773)
  • Fix typo in Storyblok provider (#959)
  • Move to @nuxt/ui and leverage autoSubfolderIndex false (549cbf5)
  • Migrate to routeRules for redirects (4db1c5a)
  • Move to ULandingCard (e0a8183)
  • Fix text center on hero (bfcb955)
  • Update colors (23ef384)
  • Remove unused styles (bd00755)

🏡 Chore

  • release: V1.0.0-rc.1 (1e4a95a)
  • Update changelog for rc.0 (8cd9b0f)
  • Add link to social card (56d8b71)
  • Ignore vitest updates for now (eb5702f)
  • Upgrade dependencies and dedupe lockfile (#947)
  • Bump h3 dependency (75ecf56)
  • Revert to Nitro 2.6.2 (680fe4c)
  • Update docs and dev dependencies (#972)
  • Update lockfile (6058c63)
  • Add stackblitz playground link (fc98960)
  • Add reproduire workflows (ae81f77)
  • Fix typo (60b96ae)

✅ Tests

  • Ensure <img> is rendered with custom format (fcc9b7a)
  • Pass string to fit (1a8c782)
  • Iterate over providers array with for/of (df062d0)
  • Move to v8 coverage engine (6fb8ef6)

🎨 Styles

  • Add spaces around string literal types (3badcb8)

🤖 CI

  • Test coverage and split out release job (c4a8ff6)
  • Run tests on node 20.5 until hotfix arrives (a5bd7de)

⚠️ Breaking Changes

  • ⚠️ Switch sizes default to responsive-first (#977)

❤️ Contributors

v1.0.0-rc.1

compare changes

🚀 Enhancements

  • Initial rewrite for nuxt 3 support (64dfecc)
  • Migrate to composition api (#571)
  • vercel: Set image config using v3 output api (4d8aab0)
  • Support prerendering static images (#614)
  • Support load event for nuxt-img and nuxt-picture (#702)
  • Add data-nuxt-img and data-nuxt-pic attrs (#747)
  • Add none provider and only enable ipx when node present (#840)
  • Add directus provider (#787)
  • Add wagtail provider (#774)

🔥 Performance

  • Do not inject $img by default (#836)

🩹 Fixes

  • Add missing defineNuxtPlugin import (e5ca160)
  • Use resolver to resolve built-in providers (bb8381c)
  • ipx: Ensure leading slash is added to ipx url (93ce78a)
  • vercel: Remove dependency of fs-extra (23076b8)
  • Update nuxt version constraint (#603)
  • Add implicit imports (db0934c)
  • Provide empty array if source data is not present (#606)
  • vercel: Update image to images and add ttl (a3cd82c)
  • imagekit: Transformation query param generation (#610)
  • AddAutoImport has been renamed to addImports (#648)
  • Update ipx (b087201)
  • nuxt-picture: Only pass defined props to <nuxt-img> component (#620)
  • Default dir value (cc4a09d)
  • nuxt-img: Access prerender.env only in server side (#661)
  • Pass ipx maxAge option from options (#706)
  • ⚠️ Improve prerendering support (#725)
  • module: Parse options.domains with parseURL #659 (#680, #659)
  • cloudinary: Update mapping key for density (#730)
  • unsplash: Merge query params with src (#712)
  • ipx: Use actual relative ipx dir (#779)
  • ipx: Support runtime nuxt baseURL (#778)
  • ipx: Set prerenderer config as well (#784)
  • Use absolute path for prerenderer (#788)
  • sanity: Add dpr modifier (#789)
  • pkg: Relax upper node version constraint (#818)
  • Correctly apply provided format to <NuxtPicture> (#827)
  • Type vercel nitro config correctly (2679d60)
  • Remove ignored second arg for hash (52ba7aa)
  • Prerender static images when calling createImage (d927447)
  • nuxt-picture: Render svgs with src not srcset (46939f1)
  • Ensure $img injection is correctly typed (ed573bb)
  • Test for imgEl before setting src (e5a294e)
  • Respect dir option from module for ipx (7e187e5)
  • Use publicDir for runtime ipx generation (#849)
  • pkg: Use esm build as main field (#848)
  • Emit synthetic load and error events on initial hydration (#842)

💅 Refactors

  • ipx: Use event.node.req and event.node.res (#777)

📖 Documentation

  • Advice modules instead of buildModules (#557)
  • Update static/ dir to public/ (#558)
  • Update lint to nuxt 3 (4e029e2)
  • Update default provider section (35c8a9d)
  • Change static/ to public/ (#566)
  • Upgrade docus and improve structure (#564)
  • Fix link to unsplash license (#579)
  • Update to script setup (4b27db3)
  • Upgrade to latest Docus (#678)
  • Fix cloudflare usage example (255d991)
  • Fix typo (#670)
  • Fix typo in api docs (#754)
  • Update badge (4cee565)
  • Update codesandbox link and refresh example lockfile (10c8735)
  • Update nuxt config definition (#816)
  • Update default dir value (f293072)

📦 Build

  • Change node engine requirement to be same as nuxt3 (4c23770)

✅ Tests

  • Add back and update tests (#830)
  • Update implementation of <ProviderSelector> (295b8c4)
  • Test types in module and fixtures (28f550d)
  • Sort file snapshot (b3a9089)
  • Remove leftover code (c7531e0)
  • Add test for URI encoding (852371a)
  • Add test for load and error events (#841)
  • Add unit test for correct crop sizing (682b674)
  • Extract mountImage helper (5c21f4c)

🎨 Styles

  • cloudinary: Remove dangle comma (#733)
  • Fix lint (2ed711e)

❤️ Contributors

  • Bono (@bonomite)
  • Daniel Roe (@danielroe)
  • Sandro Circi (@Sandros94)
  • Raphael Lima (@oraphadev)
  • Pooya Parsa (@pi0)
  • Th3R3alAndr3 (@th3r3alandr3)
  • Damian Głowala (@DamianGlowala)
  • Clément Ollivier (@clemcode)
  • Bartosz Podlewski (@podlebar)
  • Kara (@kara)
  • Sébastien Chopin (@atinux)
  • Rubén Rodríguez (@rubenRP)
  • Levi (Nguyễn Lương Huy) (@huynl-96)
  • Daniel, Petrica Andrei-Daniel (@danielpetrica)
  • Matthias Esterl (@madc)
  • Roald-di (@roald-di)
  • XLor (@yjl9903)
  • Alex (@piscis)
  • Baffo (@baffo)
  • Yaël Guilloux (@Tahul)
  • Ross (@chadsr)
  • Duy NGUYEN (@nthduy)
  • Daniil Chudo (@daniil4udo)
  • Abhinavr4 (@Abhinavr4)
  • Conrawl Rogers (@Diizzayy)
  • Thomas Bnt (@thomasbnt)
  • Zernonia (@Zernonia)
  • Nick Medrano (@dosstx)

0.7.1 (2022-06-22)

Bug Fixes

  • domain normalization when no protocol and port are provided (c6c7085)

0.7.0 (2022-06-22)

⚠ BREAKING CHANGES

  • pkg: add engines field to require node>=14.16
  • switch to unbuild
  • update dependencies

Features

Bug Fixes

  • 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)

build

0.6.2 (2022-02-17)

Features

Bug Fixes

  • avoid dynamic import of lru-cache (resolves #481) (61bcb90)

0.6.1 (2022-01-31)

Features

Bug Fixes

  • vercel: sort valid widths before picking largest (#472) (f4a408f)

0.6.0 (2021-09-05)

⚠ BREAKING CHANGES

Features

Bug Fixes

0.5.0 (2021-07-01)

⚠ BREAKING CHANGES

  • prepend router base (#339)

Features

Bug Fixes

0.4.17 (2021-06-23)

Bug Fixes

  • pkg: add missing consola and semver deps (bc34597)

0.4.16 (2021-06-23)

Features

  • imgix: additional documentation and modifiers (#316) (c90b484)

Bug Fixes

0.4.15 (2021-06-23)

Features

0.4.14 (2021-06-02)

Features

  • sanity: sanity provider enhancements (#301) (288997b)

Bug Fixes

  • ensure payload includes up-to-date _img (#303) (03ea6fe)

0.4.13 (2021-05-29)

Features

0.4.12 (2021-05-27)

Features

0.4.11 (2021-05-26)

Bug Fixes

0.4.10 (2021-05-17)

Features

Bug Fixes

  • 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)

Features

Bug Fixes

  • 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 of jpeg (#255) (7d49fa8), closes #254
  • vercel: fix vercel auto-detection and provide local vercel mode (#246) (a156c66)

0.4.8 (2021-04-28)

Bug Fixes

  • 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)

Bug Fixes

  • pkg: use --ext js to avoid issues with mjs (a483e14)

0.4.6 (2021-04-22)

Features

  • staticFilename option to customize static image filenames (#220) (975b1a2)
  • type improvements (#222) (6dc8aa0)

Bug Fixes

  • deps: add missing lru-cache (0af0bf3)

0.4.5 (2021-04-19)

Features

Bug Fixes

0.4.4 (2021-04-10)

Bug Fixes

  • enable default provider for resolving (18ed241)

0.4.3 (2021-04-10)

Features

0.4.2 (2021-04-07)

Features

0.4.1 (2021-02-16)

Features

  • allow sizes key to be screen width (6624440)

Bug Fixes

  • use Math.round for generated width (8ee9a40)

0.4.0 (2021-02-15)

⚠ BREAKING CHANGES

  • remove nuxt-picture wrapper
  • screen based responsive (#182)

Features

0.3.0 (2021-02-03)

⚠ BREAKING CHANGES

  • improved $img interface (#169)

Features

Bug Fixes

  • 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)

Bug Fixes

  • nuxt-img: set key to allow making transitions (20ed72b)

0.2.0 (2021-01-25)

Features

  • 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)

Bug Fixes

  • 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 to nuxt-img (df3b92c)
  • sanitize backgroun modifier (c1f3fb4)
  • picture: show image after load (709d8e7)

0.0.4 (2020-11-10)

Features

Bug Fixes

  • 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 to fit (6174417), closes #16
  • runtime: use file name from src if alt prop is missing (19e6157)

0.0.3 (2020-10-05)

Features

Bug Fixes

  • runtime: fix runtime behavior (0ed7625)
  • runtime: rename size prop to fit (6174417), closes #16
  • runtime: use file name from src if alt prop is missing (19e6157)

0.0.2 (2020-10-02)

Bug Fixes

  • improvements to make it work with Nuxt content (46cc0e2)

0.0.1 (2020-10-02)

Features

  • 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)

Bug Fixes

  • 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)