Skip to content

Releases: 11ty/eleventy-utils

Parse Dependencies (ESM) v2.0.4

19 Dec 22:22
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

Previous release (v2.0.3) notes: https://github.com/11ty/eleventy-dependency-tree-esm/releases/tag/v2.0.3

Node Version Check v1.0.1

10 Dec 22:49
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

Eleventy Utils v2.0.8-alpha.1

10 Dec 21:36
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

Pre-release
  • Switch to use npm Workspaces and this tests the release workflow.

Full Changelog: https://github.com/11ty/eleventy-utils/compare/v2.0.7...utils@2.0.8-alpha.1

Eleventy Utils v2.0.7

08 May 17:50

Choose a tag to compare

  • Fix missing lib sha256.js file with v2.0.6 release.

Eleventy Utils v2.0.6

08 May 17:44

Choose a tag to compare

  • Adds createHashSync and createHashHexSync functions (identical use to async functions createHash and createHashHex respectively). These functions automatically swap between node:crypto, the web standard WebCrypto API, and an inline script option in all other environments.
  • Adds Node v24 to CI test suite
import { createHashSync, createHashHexSync } from "@11ty/eleventy-utils";

const base64UrlHash = createHashSync("This", "is", "an", "arbitrary", "string.");
const hexHash = createHashHexSync("This", "is", "an", "arbitrary", "string.");

Eleventy Utils v2.0.5

29 Apr 19:57

Choose a tag to compare

Adds createHashHex export for hex hashes, similar to the createHash function which returns base64 hashes. Currently hex hashes are used by the Fetch plugin.

import { createHashHex } from "@11ty/eleventy-utils";

const hash = await createHashHex("This", "is", "an", "arbitrary", "string.");

Full Changelog: v2.0.4...v2.0.5

Eleventy Utils v2.0.4

29 Apr 16:40

Choose a tag to compare

  • Fix bug with Buffer or Uint8Array passed to createHash (when using WebCrypto API) — for Eleventy Image

Full Changelog: v2.0.3...v2.0.4

Eleventy Utils v2.0.3

29 Apr 14:57

Choose a tag to compare

Adds support for multiple arguments to new createHash utility to pass multiple pieces of content to the hashing function (backwards compatible with Node’s support for multiple .update() calls).

import { createHash } from "@11ty/eleventy-utils";

const base64hash = await createHash("This", "is", "an", "arbitrary", "string.");

Full Changelog: v2.0.2...v2.0.3

Eleventy Utils v2.0.2

24 Apr 20:56

Choose a tag to compare

Adds new createHash async function to generate base64 hashes from string content (used in Bundle and Image plugins), compatible with WebCrypto (Node 19+) and falls back to use node:crypto in other cases.

import { createHash } from "@11ty/eleventy-utils";

const base64hash = await createHash("This is an arbitrary string.");

Full Changelog: v2.0.1...v2.0.2

Eleventy Utils v2.0.1

31 Jan 17:33

Choose a tag to compare

  • Adds new DateCompare utility (for use in Fetch and Import utilities) to compare dates with string durations (e.g. "*", "24h", "1y")

Full Changelog: v2.0.0...v2.0.1