diff --git a/.github/workflows/ci-cd.yaml b/.github/workflows/ci-cd.yaml index c1d7256..30f6fa6 100644 --- a/.github/workflows/ci-cd.yaml +++ b/.github/workflows/ci-cd.yaml @@ -10,7 +10,7 @@ jobs: strategy: fail-fast: false matrix: - node: [14, 16, 18, 20, 22, 24, 25] + node: [14, 16, 18, 20, 22, 24, 25, 26] os: [ubuntu-latest, macOS-latest, windows-latest] exclude: - node: 14 @@ -32,7 +32,7 @@ jobs: strategy: fail-fast: false matrix: - node: [14, 16, 18, 20, 22, 24, 25] + node: [14, 16, 18, 20, 22, 24, 25, 26] os: [ubuntu-latest, macOS-latest, windows-latest] exclude: - node: 14 diff --git a/CHANGES.md b/CHANGES.md index 2e03d03..fab3f36 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,7 @@ +## 1.8.3 +* add JXL to supported image formats +* add node 26 as test target + ## 1.8.2 * Removed the `GET` with body HTTP call that was being made when obtaining the results of a compression and transforming at the same time. Replaced with `POST` in order to prepare for deprecation of `GET` with body interface from API. * Updated dependencies. diff --git a/package.json b/package.json index 9c376c7..a24959f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tinify", - "version": "1.8.2", + "version": "1.8.3", "description": "Node.js client for the Tinify API. Tinify compresses your images intelligently. Read more at https://tinify.com.", "keywords": [ "tinify", @@ -54,4 +54,4 @@ "tslint": "^5.10.0", "typescript": "^5.7.3" } -} \ No newline at end of file +} diff --git a/src/tinify/Source.ts b/src/tinify/Source.ts index df6ba63..e1fab71 100644 --- a/src/tinify/Source.ts +++ b/src/tinify/Source.ts @@ -9,6 +9,7 @@ export type SupportedImageTypes = "image/webp" | "image/png" | "image/jpg" | "image/jpeg" + | "image/jxl" | "image/avif"; export type WildcardOrSupportedImageTypes = SupportedImageTypes