Skip to content

Commit

Permalink
Merge branch 'release/5.0.6' into v5
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Feb 12, 2025
2 parents 232b22f + ddc1b33 commit 10813e1
Show file tree
Hide file tree
Showing 50 changed files with 2,988 additions and 2,501 deletions.
13 changes: 10 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
# ImageOptimize Changelog

## 5.0.6 - 2025.02.12
### Added
* 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))

### Changed
* Update buildchain to Vite 6 & Tailwind CSS 4

## 5.0.5 - 2025.02.06
## Fixed
### Fixed
* Reverted `srcset` width filtering ([#416](https://github.com/nystudio107/craft-imageoptimize/pull/416)) to address ([#418](https://github.com/nystudio107/craft-imageoptimize/issues/418))

## 5.0.4 - 2025.01.13
## Fixed
### Fixed
* 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))
* Fixed `srcset` width filtering ([#416](https://github.com/nystudio107/craft-imageoptimize/pull/416))

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

### Fixed
Expand Down
Empty file removed buildchain/.eslintignore
Empty file.
25 changes: 0 additions & 25 deletions buildchain/.eslintrc

This file was deleted.

19 changes: 0 additions & 19 deletions buildchain/.stylelintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion buildchain/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG TAG=20-alpine
ARG TAG=22-alpine
FROM node:$TAG

RUN npm install -g npm@^11.0.0
Expand Down
5 changes: 3 additions & 2 deletions buildchain/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
MAJOR_VERSION?=5
TAG?=20-alpine
TAG?=22-alpine
CONTAINER?=$(shell basename $(dir $(CURDIR)))-v${MAJOR_VERSION}-buildchain
DEV_PORT?=300${MAJOR_VERSION}
IMAGE_INFO=$(shell docker image inspect $(CONTAINER):$(TAG))
IMAGE_NAME=${CONTAINER}:${TAG}
DOCKER_RUN=docker container run --rm -it --network plugindev_default -v "${CURDIR}"/../:/app
DOCKER_NETWORK?=plugindev_default
DOCKER_RUN=docker container run --rm -it --network "${DOCKER_NETWORK}" -v "${CURDIR}"/../:/app

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

Expand Down
15 changes: 15 additions & 0 deletions buildchain/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";
import pluginVue from "eslint-plugin-vue";


/** @type {import('eslint').Linter.Config[]} */
export default [
{files: ["**/*.{js,mjs,cjs,ts,vue}"]},
{languageOptions: { globals: globals.browser }},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
...pluginVue.configs["flat/essential"],
{files: ["**/*.vue"], languageOptions: {parserOptions: {parser: tseslint.parser}}},
];
Loading

0 comments on commit 10813e1

Please sign in to comment.