From 903ea79aa21d3885ee852a6e7c255585e7ae7a24 Mon Sep 17 00:00:00 2001 From: Mariusz Kogen Date: Fri, 29 Nov 2024 13:19:45 +0100 Subject: [PATCH] Latest upstream update v2024.11.29 --- Dockerfile | 2 +- Makefile | 2 +- manifest.yaml | 14 ++++++++------ scripts/bundle.ts | 6 ++++++ scripts/services/migrations.ts | 2 +- 5 files changed, 17 insertions(+), 9 deletions(-) create mode 100644 scripts/bundle.ts diff --git a/Dockerfile b/Dockerfile index e95447e..2bc063a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM redis:alpine as redis -FROM searxng/searxng:2024.10.4-3e747d049 +FROM searxng/searxng:2024.11.29-cf034488d USER root diff --git a/Makefile b/Makefile index d3a9937..4ff5709 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ clean: rm -f scripts/*.js scripts/embassy.js: $(TS_FILES) - deno bundle scripts/embassy.ts scripts/embassy.js + deno run --allow-read --allow-write --allow-env --allow-net scripts/bundle.ts docker-images/x86_64.tar: Dockerfile docker_entrypoint.sh ifeq ($(ARCH),aarch64) diff --git a/manifest.yaml b/manifest.yaml index 9a39531..ce292a4 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -1,14 +1,16 @@ id: searxng title: "SearXNG" -version: 2024.10.4 +version: 2024.11.29 release-notes: | - Updated SearXNG code to the latest version from upstream. + - Update bundling process to use Deno emit module - > `Highlights` - - **Black Theme**: A new, pure black theme option is now available for a sleek, modern look. - - **More Languages & Regions**: Added support for more languages and regions to improve search accuracy and customization. - - **Outdated Engines Removed**: Removed old, unsupported search engines for a cleaner, more streamlined experience. - - **Regular Updates & Security**: Frequent updates ensure compatibility with the latest software, keeping everything secure and up-to-date. + > **Highlights** + - **Improved search results**: Fixed issues with DuckDuckGo and Google search engines, removing unwanted HTML tags and improving result quality. + - **Enhanced image search**: Fixed stretching issues in image search results and improved thumbnail handling across various image sources. + - **New search sources**: Added Adobe Stock (photos, videos, audio) and OpenLibrary search capabilities. + - **Browser integration**: Added new RSS viewing features for better browser compatibility. + - **General improvements**: Updated various components for better performance and fixed several currency conversion issues. license: MIT wrapper-repo: "https://github.com/Start9Labs/searxng-startos" upstream-repo: "https://github.com/searxng/searxng-docker" diff --git a/scripts/bundle.ts b/scripts/bundle.ts new file mode 100644 index 0000000..07cbf3a --- /dev/null +++ b/scripts/bundle.ts @@ -0,0 +1,6 @@ +// scripts/bundle.ts +import { bundle } from "https://deno.land/x/emit@0.40.0/mod.ts"; + +const result = await bundle("scripts/embassy.ts"); + +await Deno.writeTextFile("scripts/embassy.js", result.code); diff --git a/scripts/services/migrations.ts b/scripts/services/migrations.ts index fa36151..ce90617 100644 --- a/scripts/services/migrations.ts +++ b/scripts/services/migrations.ts @@ -24,5 +24,5 @@ export const migration: T.ExpectedExports.migration = ), }, }, - "2024.10.4" + "2024.11.29" );