diff --git a/CHANGELOG.md b/CHANGELOG.md index 97cf718..976c138 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ Format basé sur [Keep a Changelog](https://keepachangelog.com/fr/1.1.0/), et [Semantic Versioning](https://semver.org/spec/v2.0.0.html). > **En cours de développement** : les changements à venir sont listés dans la section -> [Unreleased](#unreleased). La dernière version livrée est **2.5.1**. +> [Unreleased](#unreleased). La dernière version livrée est **2.5.2**. --- @@ -14,6 +14,10 @@ et [Semantic Versioning](https://semver.org/spec/v2.0.0.html). --- +## [2.5.2] — 2026-09-16 + +--- + ## [2.5.1] — 2026-09-16 --- diff --git a/README.fr.md b/README.fr.md index 46524b1..f84dc5d 100644 --- a/README.fr.md +++ b/README.fr.md @@ -4,7 +4,7 @@ **Porte d'entrée web ultra-léger pour vos vaults Obsidian** — Accédez, naviguez et recherchez dans toutes vos notes Obsidian depuis n'importe quel appareil via une interface web moderne et responsive. -[![Version](https://img.shields.io/badge/Version-2.5.1-blue.svg)]() +[![Version](https://img.shields.io/badge/Version-2.5.2-blue.svg)]() [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Docker](https://img.shields.io/badge/Docker-Ready-blue.svg)](https://www.docker.com/) [![Python](https://img.shields.io/badge/Python-3.11+-green.svg)](https://www.python.org/) @@ -916,8 +916,8 @@ Ce projet est sous licence **MIT** — voir le fichier [LICENSE](LICENSE) pour l ## 📝 Changelog -Consultez le [CHANGELOG.md](./CHANGELOG.md) pour l'historique complet de toutes les versions (v1.0.0 → v2.5.1). +Consultez le [CHANGELOG.md](./CHANGELOG.md) pour l'historique complet de toutes les versions (v1.0.0 → v2.5.2). --- -*Projet : ObsiGate | Version : 2.5.1 | Dernière mise à jour : Juin 2026* +*Projet : ObsiGate | Version : 2.5.2 | Dernière mise à jour : Juin 2026* diff --git a/README.md b/README.md index 6827020..a6b62bc 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ **Ultra-light web gateway for your Obsidian vaults** — Access, browse, and search all your Obsidian notes from any device via a modern, responsive web interface. -[![Version](https://img.shields.io/badge/Version-2.5.1-blue.svg)]() +[![Version](https://img.shields.io/badge/Version-2.5.2-blue.svg)]() [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Docker](https://img.shields.io/badge/Docker-Ready-blue.svg)](https://www.docker.com/) [![Python](https://img.shields.io/badge/Python-3.11+-green.svg)](https://www.python.org/) @@ -1085,8 +1085,8 @@ This project is licensed under the **MIT License** - see the [LICENSE](LICENSE) ## 📝 Changelog -See [CHANGELOG.md](./CHANGELOG.md) for the complete version history (v1.0.0 → v2.5.1). +See [CHANGELOG.md](./CHANGELOG.md) for the complete version history (v1.0.0 → v2.5.2). --- -*Project: ObsiGate | Version: 2.5.1 | Last updated: May 2026* +*Project: ObsiGate | Version: 2.5.2 | Last updated: May 2026* diff --git a/VERSION b/VERSION index 73462a5..f225a78 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.5.1 +2.5.2 diff --git a/desktop/Cargo.lock b/desktop/Cargo.lock index f362c43..6f07ead 100644 --- a/desktop/Cargo.lock +++ b/desktop/Cargo.lock @@ -2626,7 +2626,7 @@ dependencies = [ [[package]] name = "obsigate-desktop" -version = "2.5.1" +version = "2.5.2" dependencies = [ "chrono", "env_logger", diff --git a/desktop/Cargo.toml b/desktop/Cargo.toml index f16192a..5e2f7a8 100644 --- a/desktop/Cargo.toml +++ b/desktop/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "obsigate-desktop" -version = "2.5.1" +version = "2.5.2" description = "ObsiGate Desktop — Porte d'entrée native pour vos vaults Obsidian" authors = ["Bruno Charest"] edition = "2021" diff --git a/desktop/tauri.conf.json b/desktop/tauri.conf.json index 8317d87..704c942 100644 --- a/desktop/tauri.conf.json +++ b/desktop/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://raw.githubusercontent.com/nicedoc/obsigate/main/desktop/tauri.conf.schema.json", "productName": "ObsiGate", - "version": "2.5.1", + "version": "2.5.2", "identifier": "com.obsigate.desktop", "build": { "frontendDist": "../frontend", diff --git a/docs/ROADMAP.md b/docs/ROADMAP.md index 484e23f..7eaae0d 100644 --- a/docs/ROADMAP.md +++ b/docs/ROADMAP.md @@ -1,6 +1,6 @@ # ObsiGate — Roadmap -> **Version :** 2.5.1 | **Dernière mise à jour :** 2026-09-16 +> **Version :** 2.5.2 | **Dernière mise à jour :** 2026-09-16 > **Ce fichier ne contient que le travail à venir** (🔵 En cours + ⚪ Backlog) et un index compact > vers les fonctionnalités livrées. > - **Méthode de livraison à appliquer pour toute tâche : [DELIVERY_WORKFLOW.md](./DELIVERY_WORKFLOW.md)** diff --git a/package.json b/package.json index cb613e2..6075c07 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsigate", - "version": "2.5.1", + "version": "2.5.2", "description": "**Porte d'entrée web ultra-léger pour vos vaults Obsidian** — Accédez, naviguez et recherchez dans toutes vos notes Obsidian depuis n'importe quel appareil via une interface web moderne et responsive.", "main": "patch.js", "directories": { diff --git a/tests/frontend/ai.test.mjs b/tests/frontend/ai.test.mjs index eb7638d..641217a 100644 --- a/tests/frontend/ai.test.mjs +++ b/tests/frontend/ai.test.mjs @@ -1363,6 +1363,14 @@ async function main() { // ── 39. Accented `@` mentions + all-vault fallback (BUG-008) ── await test("mention menu accepts accents and searches all vaults without a vault", async () => { localStorage.clear(); + document.body.replaceChildren(); + const stateMod = await import(pathToFileURL(path.join(JS_DIR, "state.js")).href); + const prevVaults = stateMod.state.allVaults; + const prevSelected = stateMod.state.selectedContextVault; + const prevCurrent = stateMod.state.currentVault; + stateMod.state.allVaults = []; + stateMod.state.selectedContextVault = null; + stateMod.state.currentVault = null; let lastUrl = ""; globalThis.fetch = async (url) => { lastUrl = String(url); @@ -1382,13 +1390,21 @@ async function main() { ta.value = "@café"; ta.selectionStart = ta.selectionEnd = 5; b._onComposerInput(); - await sleep(20); const menu = b._panel.querySelector(".bookslm-mention-menu"); + let waited = 0; + while (!lastUrl.includes("tree-search") && waited < 500) { + await sleep(20); + waited += 20; + } assert.ok(!menu.classList.contains("hidden"), "accented mention keeps the menu open"); - assert.ok(lastUrl.includes("vault=all"), "no vault -> searches all vaults"); + assert.ok(lastUrl.includes("vault=all"), + `no vault -> searches all vaults (got last fetch "${lastUrl}")`); assert.equal(menu.querySelectorAll(".bookslm-menu-item").length, 1); b._panel.remove(); localStorage.clear(); + stateMod.state.allVaults = prevVaults; + stateMod.state.selectedContextVault = prevSelected; + stateMod.state.currentVault = prevCurrent; }); // ── 40. Keyboard navigation in the command menu (BUG-007) ──