Skip to content

Commit 10813e1

Browse files
committed
Merge branch 'release/5.0.6' into v5
2 parents 232b22f + ddc1b33 commit 10813e1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+2988
-2501
lines changed

CHANGELOG.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
11
# ImageOptimize Changelog
22

3+
## 5.0.6 - 2025.02.12
4+
### Added
5+
* Added the `.placeholder('none')` parameter to allow specifying that no placeholder background image CSS should be used for lazy loaded images (useful for transparent PNGs) ([#410](https://github.com/nystudio107/craft-imageoptimize/issues/410))
6+
7+
### Changed
8+
* Update buildchain to Vite 6 & Tailwind CSS 4
9+
310
## 5.0.5 - 2025.02.06
4-
## Fixed
11+
### Fixed
512
* Reverted `srcset` width filtering ([#416](https://github.com/nystudio107/craft-imageoptimize/pull/416)) to address ([#418](https://github.com/nystudio107/craft-imageoptimize/issues/418))
613

714
## 5.0.4 - 2025.01.13
8-
## Fixed
15+
### Fixed
916
* Don't try to apply filters to assets that are seemingly corrupt, and have a `0` width or `0` height ([#383](https://github.com/nystudio107/craft-imageoptimize/issues/383))
1017
* Fixed `srcset` width filtering ([#416](https://github.com/nystudio107/craft-imageoptimize/pull/416))
1118

1219
## 5.0.3 - 2024.10.21
13-
## Changed
20+
### Changed
1421
* Allow for empty `alt` tags for screen readers as per WCAG ([411](https://github.com/nystudio107/craft-imageoptimize/issues/411))
1522

1623
### Fixed

buildchain/.eslintignore

Whitespace-only changes.

buildchain/.eslintrc

Lines changed: 0 additions & 25 deletions
This file was deleted.

buildchain/.stylelintrc.json

Lines changed: 0 additions & 19 deletions
This file was deleted.

buildchain/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG TAG=20-alpine
1+
ARG TAG=22-alpine
22
FROM node:$TAG
33

44
RUN npm install -g npm@^11.0.0

buildchain/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
MAJOR_VERSION?=5
2-
TAG?=20-alpine
2+
TAG?=22-alpine
33
CONTAINER?=$(shell basename $(dir $(CURDIR)))-v${MAJOR_VERSION}-buildchain
44
DEV_PORT?=300${MAJOR_VERSION}
55
IMAGE_INFO=$(shell docker image inspect $(CONTAINER):$(TAG))
66
IMAGE_NAME=${CONTAINER}:${TAG}
7-
DOCKER_RUN=docker container run --rm -it --network plugindev_default -v "${CURDIR}"/../:/app
7+
DOCKER_NETWORK?=plugindev_default
8+
DOCKER_RUN=docker container run --rm -it --network "${DOCKER_NETWORK}" -v "${CURDIR}"/../:/app
89

910
.PHONY: build clean dev image-build image-check npm ssh
1011

buildchain/eslint.config.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import globals from "globals";
2+
import pluginJs from "@eslint/js";
3+
import tseslint from "typescript-eslint";
4+
import pluginVue from "eslint-plugin-vue";
5+
6+
7+
/** @type {import('eslint').Linter.Config[]} */
8+
export default [
9+
{files: ["**/*.{js,mjs,cjs,ts,vue}"]},
10+
{languageOptions: { globals: globals.browser }},
11+
pluginJs.configs.recommended,
12+
...tseslint.configs.recommended,
13+
...pluginVue.configs["flat/essential"],
14+
{files: ["**/*.vue"], languageOptions: {parserOptions: {parser: tseslint.parser}}},
15+
];

0 commit comments

Comments
 (0)