build: promote v1.68.0 after beta.4

Issue: #322
User-Visible: yes
This commit is contained in:
Matysh
2026-08-27 10:29:04 +03:00
parent 3d4e5580fa
commit aaf7611490
11 changed files with 64 additions and 17 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ PLAN_ORPHAN_TTL_S = 3600
SCHEDULED_GRACE_S = 30 * 24 * 3600
FILES_DIR = "houseplan/files"
CONF_ADMIN_ONLY = "admin_only"
VERSION = "1.68.0-beta.4"
VERSION = "1.68.0"
# Portable backup format. This is deliberately independent from the Home
# Assistant Store version above: storage migrations and files exported by a
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -16,5 +16,5 @@
"issue_tracker": "https://github.com/Matysh/houseplan-card/issues",
"requirements": [],
"single_config_entry": true,
"version": "1.68.0-beta.4"
"version": "1.68.0"
}
+2 -2
View File
File diff suppressed because one or more lines are too long
+20
View File
@@ -2,6 +2,26 @@
## Unreleased
## v1.68.0 — 2026-08-27
- Structural plan edits now rely on stable wall-segment IDs: thickness, draft
lineage and opening ownership survive Resize, Undo/Redo, import, optimization
and repeated editing. The model-v9 upgrade is atomic, while conflicts between
legacy boundaries and openings resolve automatically and deterministically.
Exporting a backup before the first structural save or Optimize plans run is
recommended because older versions do not understand the new wall model
([#282](https://github.com/Matysh/houseplan-card/issues/282),
[#316](https://github.com/Matysh/houseplan-card/issues/316),
[#319](https://github.com/Matysh/houseplan-card/issues/319)).
- Virtual walls are replaced by ordinary `0 cm` walls. They can be drawn and
changed with the Walls and Thickness tools, while each space can render them
dashed, transmitting Glow and sunlight, or solid as an exact zero-area light
barrier ([#306](https://github.com/Matysh/houseplan-card/issues/306)).
- Wall editing is more reliable: axes and nodes remain visible across tools,
standalone and saved-draft walls work with Thickness, and complex junctions
and acute corners no longer leave teeth, steps or white wedges.
- Small fixes and improvements.
## v1.68.0-beta.4 — 2026-08-27
- Updating to the new wall model no longer freezes editing: the server now
+23
View File
@@ -8,6 +8,29 @@
## Не выпущено
## v1.68.0 — 2026-08-27
- Структурные изменения плана теперь опираются на стабильные ID сегментов стен:
толщина, происхождение черновиков и принадлежность проёмов сохраняются при
Resize, Undo/Redo, импорте, оптимизации и повторном редактировании. Переход на
model v9 выполняется атомарно, а конфликты старых границ с проёмами разрешаются
автоматически и детерминированно. Перед первым структурным сохранением или
запуском «Оптимизировать планы» рекомендуется экспортировать резервную копию:
старые версии не понимают новую модель стен
([#282](https://github.com/Matysh/houseplan-card/issues/282),
[#316](https://github.com/Matysh/houseplan-card/issues/316),
[#319](https://github.com/Matysh/houseplan-card/issues/319)).
- Виртуальные стены заменены обычными стенами толщиной `0 см`. Их можно рисовать
и менять инструментами «Стены» и «Толщина», а в настройках пространства —
выбрать пунктирный вид, пропускающий Glow и солнечные лучи, либо сплошной,
работающий как световой барьер нулевой площади
([#306](https://github.com/Matysh/houseplan-card/issues/306)).
- Улучшена работа редактора стен: оси и узлы остаются видимыми во всех
инструментах, отдельно стоящие и черновые стены доступны инструменту
«Толщина», а сложные стыки и острые углы больше не оставляют зубцов, ступеней
и белых клиньев.
- Мелкие исправления и улучшения.
## v1.68.0-beta.4 — 2026-08-27
- Обновление на новую модель стен больше не замораживает редактирование:
+9 -5
View File
@@ -1,14 +1,18 @@
<!-- release: v1.68.0-beta.4 -->
<!-- release: v1.68.0 -->
## Основное
- Исправлены два блокера beta.3: рисование снова работает везде — сервер принимает первую запись обновлённой карточки поверх старого документа, а преобразование к новой модели стен само разрешает конфликты легаси-границ с проёмами (дверь в бывшей «границе» сохраняет настоящую стену).
- Стены получили стабильные ID: Resize, Undo/Redo, импорт, оптимизация и повторные правки сохраняют толщину и проёмы; переход на новую модель выполняется атомарно и сам разрешает конфликты старых границ с проёмами.
- Виртуальные стены заменены обычными стенами толщиной 0 см. Пунктирный вид пропускает Glow и солнце, сплошной работает как световой барьер.
- Перед первым структурным сохранением или «Оптимизировать планы» рекомендуется экспортировать резервную копию: старые версии не понимают новую модель стен.
- Мелкие исправления и улучшения.
## Highlights
- Two beta.3 blockers fixed: drawing works everywhere again — the server accepts the first write of the updated card over an older document, and the wall-model conversion resolves legacy border/opening conflicts by itself (a door inside a former «border» keeps its real wall).
- Walls now have stable IDs: Resize, Undo/Redo, import, optimization and repeated edits preserve thickness and openings; the new model upgrades atomically and resolves legacy boundary/opening conflicts by itself.
- Virtual walls are replaced by ordinary 0 cm walls. Dashed walls transmit Glow and sunlight, while solid ones act as light barriers.
- Exporting a backup before the first structural save or Optimize plans run is recommended because older versions do not understand the new wall model.
- Small fixes and improvements.
[Полный список изменений на русском](https://github.com/Matysh/houseplan-card/blob/v1.68.0-beta.4/docs/CHANGELOG.ru.md)
· [Full changelog in English](https://github.com/Matysh/houseplan-card/blob/v1.68.0-beta.4/docs/CHANGELOG.md)
[Полный список изменений на русском](https://github.com/Matysh/houseplan-card/blob/v1.68.0/docs/CHANGELOG.ru.md)
· [Full changelog in English](https://github.com/Matysh/houseplan-card/blob/v1.68.0/docs/CHANGELOG.md)
+2 -2
View File
@@ -21,8 +21,8 @@ metadata). Only an explicit owner-approved emergency hotfix may skip this gate.
| Item | State |
|---|---|
| Version | **v1.68.0-beta.4 candidate** everywhere (manifest, const.py, package.json, CARD_VERSION) |
| Current local cycle | v1.68.0-beta.3 is published but carries two write blockers; current `dev` fixes them: the stale-client guard accepts the first write of a newer wall model over an older document (#319), and the initial v9 migration auto-resolves every legacy border/opening conflict — the carrying atom keeps its thickness, ambiguity resolves deterministically, a carrier-less opening persists unhosted (#316). v1.68.0-beta.4 packages the reviewed S8 fixes and remains gated by exact-SHA Validate before publication. |
| Version | **v1.68.0** everywhere (manifest, const.py, package.json, CARD_VERSION) — stable promotion of the published v1.68.0-beta.4 product line |
| Current local cycle | v1.68.0 promotes the exact behaviour already published through beta.4: stable wall-segment identity and atomic model-v9 migration, unified zero-thickness walls, repaired junction rendering and reliable plan editing. The stable commit contains only version fields, generated bundle snapshots and release metadata; publication is gated by the complete local suite plus green exact-SHA Validate and Full Performance workflows. |
| Hidden Labs Stage | #89 Stage 1 ships in v1.63.0-beta.1. #122 Stage 2 ships in v1.64.0 and evolves the same hidden, expiring `iso` experiment with matte walls, a low exterior floor edge, restrained shared shadows and live vertical door/window/gate panels. Flat remains default; editors and `houseplan-space-card` remain flat; live floor effects and HA actions remain unchanged. Public activation remains a separate task. |
| Workflow | Superseded 2026-08-12: the pre-1.62 rule of "local edits without tests or commits" is **dead** — since release 1.62 every product change follows `PROCESS.md` (issue in `S5-ready`+, branch `issue/<NN>-slug`, trailers on every commit, review pipeline; `AGENTS.md` is the summary). Release mechanics below remain current. A requested pre-release gets a production build plus the smallest targeted unit/smoke set covering the changed surfaces, one tested `dev` commit/tag and a GitHub Release with `prerelease=true`; `main` stays untouched. The complete local frontend/backend/smoke gate runs only before a stable release, after which `main` is fast-forwarded to the exact tested `dev` SHA and the GitHub Release uses `prerelease=false`. Release bodies are short and bilingual (Russian first): only significant user changes get individual bullets, while minor/code-only work is grouped as `Мелкие исправления и улучшения` / `Small fixes and improvements`; every body ends with separate links to the Russian and English changelogs. Detailed RU/EN changelog bullets may link the corresponding closed GitHub Issues; open or partially delivered issues are never presented as shipped. Telegram announcements are sent only for stable releases; beta and RC publication is silent. `docs/RELEASE-NOTES.md` is the current canonical body instance; `npm run release:prerelease -- <tag> --issues=… --yes` is the primary local publication path and the manual `Publish prerelease` workflow is its GitHub-only equivalent once present on `main`. Nothing is copied to the home instance by hand |
| GitHub | https://github.com/Matysh/houseplan-card — [Issues](https://github.com/Matysh/houseplan-card/issues) are the canonical task records; their labels carry priority and workflow status (`PROCESS.md` §9). GitHub Projects is no longer used. `main` carries stable releases; pre-release tags may point directly at `dev`. Work lands on `dev` and is merged into `main` for a stable release, so `dev` is normally equal to or ahead of `main`, never behind. Push via SSH key `ha_jb` (remote git@github.com:…); API releases via the fine-grained PAT in `~/.git-credentials` (Contents R/W, issued 2026-07-23) |
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "houseplan-card",
"version": "1.68.0-beta.4",
"version": "1.68.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "houseplan-card",
"version": "1.68.0-beta.4",
"version": "1.68.0",
"license": "MIT",
"dependencies": {
"lit": "^3.1.3",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "houseplan-card",
"version": "1.68.0-beta.4",
"version": "1.68.0",
"description": "Interactive house plan Lovelace card for Home Assistant",
"license": "MIT",
"type": "module",
+1 -1
View File
@@ -317,7 +317,7 @@ import {
} from './space-order';
import { applyOpeningMoves, mergeCollinearPartitions, spaceMergeGeometry } from './wall-merge';
const CARD_VERSION = '1.68.0-beta.4';
const CARD_VERSION = '1.68.0';
type ResizeLiveLabel = {
kind: 'length';