From 49046da32385eebf991d51c85861718db50ae15a Mon Sep 17 00:00:00 2001 From: "valkeyrie-ops[bot]" <284117741+valkeyrie-ops[bot]@users.noreply.github.com> Date: Fri, 27 Nov 2026 12:42:06 +0200 Subject: [PATCH 1/2] Update website for version 9.2.1 (#808) This pull request updates the valkey website for the new release 9.2.1. Changes: - Updated downloads page with new release information - Updated Try Valkey page to use version 9.2.1 This pull request is created automatically by the [Valkey-Release-Automation](https://github.com/valkey-io/valkey-release-automation) --------- Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] --- content/download/releases/v9-2-1.md | 31 +++++++++++++++++++++++++++++ content/try-valkey/_index.md | 6 +++--- 2 files changed, 34 insertions(+), 3 deletions(-) create mode 100644 content/download/releases/v9-2-1.md diff --git a/content/download/releases/v9-2-1.md b/content/download/releases/v9-2-1.md new file mode 100644 index 00000000..f1cb01fa --- /dev/null +++ b/content/download/releases/v9-2-1.md @@ -0,0 +1,31 @@ +--- +title: "9.2.1" +date: 2026-11-26 +extra: + tag: "9.2.1" + artifact_source: https://download.valkey.io/releases/ + artifact_fname: "valkey" + container_registry: + - + name: "Docker Hub" + link: https://hub.docker.com/r/valkey/valkey/ + id: "valkey/valkey" + tags: + - "9.2.1" + - "9.2.1-trixie" + - "9.2.1-alpine" + - "9.2.1-alpine3.24" + packages: [] + + artifacts: + - distro: jammy + arch: + - arm64 + - x86_64 + - distro: noble + arch: + - arm64 + - x86_64 +--- + +Valkey 9.2.1 Release diff --git a/content/try-valkey/_index.md b/content/try-valkey/_index.md index 8434353b..c12ef0ed 100644 --- a/content/try-valkey/_index.md +++ b/content/try-valkey/_index.md @@ -2,9 +2,9 @@ title = "Try Valkey" template = "valkey-try-me.html" [extra] -state_file = "https://download.valkey.io/try-me-valkey/9.2.0/states/state.bin.gz" -filesystem_base_url = "https://download.valkey.io/try-me-valkey/9.2.0/fs/alpine-rootfs-flat" -filesystem_base_fs = "https://download.valkey.io/try-me-valkey/9.2.0/fs/alpine-fs.json" +state_file = "https://download.valkey.io/try-me-valkey/9.2.1/states/state.bin.gz" +filesystem_base_url = "https://download.valkey.io/try-me-valkey/9.2.1/fs/alpine-rootfs-flat" +filesystem_base_fs = "https://download.valkey.io/try-me-valkey/9.2.1/fs/alpine-fs.json" +++ From 1268a22808e70fcafb04c42e330537074a1b608e Mon Sep 17 00:00:00 2001 From: notleowang Date: Mon, 30 Nov 2026 16:42:04 -0700 Subject: [PATCH 2/2] Send searches to Google Tag Manager for search analytics Each search, from the header and from the search page, is pushed to Google Tag Manager's data layer as a "search" event once typing pauses: the query (search_term), how many results match it (search_results), and where it was searched (search_location, "modal" or "page"). Pagefind matches loosely, so even a made-up word returns a few results, scoring about 0.001, while real searches, typos included, score 2 or more. Only results scoring at least 0.1 are counted, so a search with search_results of 0 is a miss. The same query isn't counted twice in a row. Queries that look like an email address aren't sent, and queries are cut to 100 characters. valkey.io loads Google Analytics through the Linux Foundation's Tag Manager container, so the event reaches Analytics once a Custom Event trigger for "search" and a GA4 event tag are set up there, along with custom dimensions for search_results and search_location in GA4. Until then it isn't sent anywhere. Signed-off-by: notleowang --- static/assets/js/search.js | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/static/assets/js/search.js b/static/assets/js/search.js index c52b1622..f322733f 100644 --- a/static/assets/js/search.js +++ b/static/assets/js/search.js @@ -38,9 +38,45 @@ function setUpInstance(name) { const instance = window.PagefindComponents.getInstanceManager().getInstance(name); addBreadcrumbsToResults(instance); putExactTitleMatchesFirst(instance); + trackSearches(instance, name === 'page' ? 'page' : 'modal'); return instance; } +// Pushes each search to Google Tag Manager's data layer as a "search" event: the query +// (search_term), how many results match it (search_results, 0 for a miss), and where it was +// searched (search_location, "modal" or "page"). Pagefind's results come after 's +// debounce, so this counts searches once typing pauses rather than every key, and the same query +// isn't counted twice in a row. +// +// Pagefind matches loosely, so even a made-up word returns a few results, scoring about 0.001. +// Only results scoring at least MIN_MATCH_SCORE count as matches. Real searches, typos included, +// score 2 or more, so a search whose results all score below it is a miss. +// +// The site loads Google Analytics through the Linux Foundation's Tag Manager container, so the +// event only reaches Analytics through a Custom Event trigger for "search" and a GA4 event tag set +// up there. Analytics runs only if the visitor's consent allows it, through the site's consent +// manager. Queries that look like an email address aren't sent, since search boxes sometimes get +// personal details pasted into them. +const MIN_MATCH_SCORE = 0.1; +const MAX_TRACKED_SEARCH_LENGTH = 100; +const EMAIL_PATTERN = /[^\s@]+@[^\s@]+\.[^\s@]+/; + +function trackSearches(instance, location) { + let lastTrackedTerm = null; + instance.on('results', function(searchResult) { + const term = (instance.searchTerm || '').trim(); + if (!term || term === lastTrackedTerm || EMAIL_PATTERN.test(term)) return; + lastTrackedTerm = term; + window.dataLayer = window.dataLayer || []; + window.dataLayer.push({ + event: 'search', + search_term: term.slice(0, MAX_TRACKED_SEARCH_LENGTH), + search_results: searchResult.results.filter(function(result) { return result.score >= MIN_MATCH_SCORE; }).length, + search_location: location, + }); + }); +} + // The search page, templates/search.html. /search/?q= searches for , and q follows // what's typed, so the address can be shared. Pagefind's search event comes after // stops for its debounce, so the address changes once typing pauses, not on every key.