Skip to content

Releases

Keepraw-Fly v0.4.0

Choose a tag to compare

@keepraw keepraw released this 25 Nov 07:40

Keepraw-Fly v0.4.0

Stable feature release · 正式功能版本

English

v0.4.0 gives the flight archive three dedicated views and introduces two official skins. Aviation is the default and opens on Map.

Views and navigation

  • Log, Map and Stats share the selected year, airport or route, airline and aircraft-type filters, and sort order. Flight Detail has its own address at #/flight/<id>. Reload, Back and Forward restore the addressed view and its exploration state.
  • Desktop navigation and the Compact bottom tab bar provide access to all three primary views. Add flight stays visible in the primary views and is also available in Settings and Import.
  • The header uses the same layout across views. Share Flight Passport is now an action in Map, and existing #/passport links open Map.

Official skins

  • Aviation is Dark-only and uses the Neon Aviation map. Minimal offers Light and Dark appearances and opens on Log.
  • Aviation and Minimal replace the v0.3.0 visual style in the skin selector. Each skin supplies its own map theme and Flight Passport layout. Skin choices are browser preferences stored separately from the flight archive.

Log and statistics

  • Filter the more compact flight list by airline and aircraft type alongside the year, airport or route. Sort by newest, oldest, longest or shortest flight.
  • Stats includes annual flight counts, distances and arrival delays, monthly flight counts, airport, airline and aircraft-type rankings, and cabin-class distribution. Records show the longest and shortest flights, longest arrival delay, and most-flown route. Ranking entries can filter the shared view.

Aviation Flight Detail

  • The Flight Detail extension compares scheduled and actual operations on one timeline when all four times are recorded for a completed, non-diverted flight.
  • For flights with different known local clocks, the extension shows departure and arrival time zones together, with local midnight markers and the arrival day offset.
  • When the great-circle route crosses the 180th meridian, the timeline marks the estimated International Date Line crossing based on that route.

Import, editing and welcome

  • Import has its own view with a review step for Keepraw Fly JSON, CSV, Flighty CSV and Umetrip XLS.
  • The flight editor shows required fields first and groups optional fields for cancellations and diversions, ticketing and frequent-flyer details. Groups open automatically when the flight already has those details.
  • The welcome page makes it easier to try the demo, start an archive, or import a file. The Keepraw Fly Great-Circle Arc brand mark appears in the header, startup screen, favicons and app icons.
  • Import and recovery fixes preserve legacy ticket, baggage-carousel and frequent-flyer values during migration, retain leading zeros in XLS ticket numbers, and improve date handling, duplicate detection and airline statistics.

Data compatibility and distribution

  • Personal flight records stay in IndexedDB in the current browser profile and origin. The upgrade reads the existing archive in place using the same database and archive stores as v0.3.0.
  • The app version is 0.4.0. Full archive exports still use formatVersion 0.2.0, and JSON import accepts both 0.1.0 and 0.2.0 archives. The production site and Docker deployment use the v0.3.0 Content Security Policy (CSP).
  • The release provides static ZIP and TAR.GZ downloads and a Docker image for linux/amd64 and linux/arm64, with SHA256 checksums and Sigstore provenance for the files and image. Deployment guide

View architecture and skins

简体中文

v0.4.0 为航班档案提供三个独立视图,并引入两款官方皮肤。默认皮肤为 Aviation,首页打开地图。

视图与导航

  • 日志、地图和统计共享选定的年份、机场或航线、航司和机型筛选,以及排序方式。航班详情有独立地址 #/flight/<id>。刷新、后退和前进可恢复地址对应的视图及其浏览状态。
  • 桌面导航和紧凑屏幕的底部标签栏都可切换三个主视图。添加航班在主视图中持续可见,也可从设置和导入页打开。
  • 各视图采用统一的页眉布局。分享飞行护照已移至地图中,原有的 #/passport 链接会打开地图。

官方皮肤

  • Aviation 仅提供深色外观,使用 Neon Aviation 地图。Minimal 提供浅色和深色外观,首页打开日志。
  • Aviation 和 Minimal 取代了皮肤选择器中的 v0.3.0 视觉风格。地图主题和飞行护照版式由皮肤决定。皮肤作为浏览器偏好,与航班档案分开保存。

日志与统计

  • 更紧凑的航班列表支持按航司、机型以及年份、机场或航线组合筛选,可按最新、最早、航程最长或最短排序。
  • 统计涵盖各年的航班数、距离和到达延误,各月的航班数,机场、航司和机型排名,以及舱位分布。纪录包括最长及最短航程、最长到达延误和最常飞航线。点击排名条目可筛选共享视图。

Aviation 航班详情

  • 航班详情扩展位为已完成且未备降的航班提供时间轴。在计划起降和实际起降四个时间均有记录时,可在同一时间轴上比较。
  • 两地的已知当地时间不同时,扩展同时展示出发地和到达地的当地时间,并标记当地午夜及到达日期偏移。
  • 大圆航线经过 180° 经线时,时间轴会根据航线标记推算出的国际日期变更线穿越位置。

导入、编辑与欢迎页

  • 导入成为独立流程,支持 Keepraw Fly JSON、CSV、Flighty CSV 和航旅纵横 XLS。每种格式都可先预览确认。
  • 航班编辑器优先显示必填项,将取消或备降、客票和常旅客信息归入可选分组。已有对应记录时,分组会自动展开。
  • 欢迎页更便于试用示例、创建档案或导入文件。页眉、启动页、网站图标和应用图标已同步 Keepraw Fly Great-Circle Arc 品牌标识。
  • 导入与恢复修复保留旧档案迁移中的票号、行李转盘和常旅客信息,保留 XLS 票号的前导零,并改善日期处理、航班去重和航司统计。

数据兼容性与发行

  • 个人航班记录仍保存在当前浏览器配置和站点来源的 IndexedDB 中。升级会使用与 v0.3.0 相同的数据库和档案存储,直接读取现有档案。
  • 应用版本为 0.4.0。完整档案仍按 formatVersion 0.2.0 导出,JSON 导入支持 0.1.0 和 0.2.0 档案。生产站点与 Docker 部署沿用 v0.3.0 的内容安全策略(CSP)。
  • 本次提供静态 ZIP、TAR.GZ,以及支持 linux/amd64 和 linux/arm64 的 Docker 镜像。发行包包含 SHA256 校验清单,以及文件和镜像的 Sigstore 构建来源证明。部署指南

视图架构与皮肤说明

Verified provenance

Keepraw-Fly v0.3.0

Choose a tag to compare

@keepraw keepraw released this 22 Nov 09:08
b3a89c4

Keepraw-Fly v0.3.0 — 2D Maps and Airport History

Stable feature release · 正式功能版本

Maintainer :keepraw

English

v0.3.0 replaces the 3D globe with shared 2D maps, resolves airports by date
against a bundled airport history, and adds Umetrip XLS import. It includes the
changes since v0.2.0 and retains the browser-local flight archive model.

New: 2D maps and map themes

  • Passport and Flight Detail draw their routes on a shared 2D SVG map. The 3D
    globe, Three.js and the WebGL share renderer are removed; the application no
    longer needs WebGL.
  • Settings offers a map theme: Neon Aviation or Daylight Chart. It applies to
    the Passport map and the flight route map.
  • Settings offers a Flight Passport layout for the shared image: the new Neon
    sheet, which follows the map theme, or the classic passport book from v0.2.0.

New: date-aware airport history

  • Airports are resolved against the bundled Keepraw Airport History 0.14.0
    (Schema 4.0.0), so a code that moved between physical sites resolves to the
    site in use on the flight date. Airport names are localized.
  • A flight can store an optional permanent airport ID on its origin,
    destination and diversion, next to the recorded IATA code. Routes,
    statistics, time zones, distances and share images use that identity.
  • The earlier online airport research lookup is removed. Airports are resolved
    only from data shipped with the site.

New: Umetrip XLS import

  • Preview and append used historical flights from the supported Umetrip Excel
    export. Unused, OPEN, refunded, exchanged and invalid tickets are excluded.
    Compatibility has been checked against one real export only; see the
    supported layout and limitations.

Improvements and fixes

  • The startup screen appears before the application and the airport reference
    data load. The entry script drops from about 490 kB to about 134 kB gzip, and
    the two large airport data chunks are no longer preloaded.
  • Passport route lines stay solid when the map is zoomed. The import and share
    actions are outlined buttons, the arrival-delay total no longer uses the
    danger color, and flight numbers use the primary text color.
  • Settings marks a missing backup as a warning, no longer shows a disabled
    button once persistent storage is granted, and drops duplicated CSV and
    Flighty import descriptions.
  • Audit remediation for import, recovery and history correctness: recovery
    copies preserve repeated JSON values, and large archives import and recover
    more reliably.
  • Fixed Passport accessibility crashes on Firefox 159 mobile and stabilized
    locale reloads on WebKit.
  • Updated Soaring Symbols airline icons to alpha.14 and workspace dependencies.
    Full and production dependency audits report no known vulnerabilities; see the
    current security review.

Engineering maintenance

  • Removed the unused solarMode setting, dead barrel modules and Globe-era
    documentation. A stored solarMode value is ignored.
  • The E2E WebGL guard refuses every WebGL context type, and export specs that
    render twice have a matching time budget.

Data compatibility, upgrade and rollback

Application packages advance from 0.2.0 to 0.3.0. Archive formatVersion
advances from 0.1.0 to 0.2.0
to carry the optional airport IDs. v0.3.0
imports both 0.1.0 and 0.2.0 archives and exports 0.2.0. The IndexedDB
database version is unchanged.

v0.2.0 and earlier cannot import a 0.2.0 archive: their schema accepts only
0.1.0. Export a full Keepraw Fly JSON backup with your current version
before upgrading
and keep it; it is the only backup an older version can
import. Rolling back after saving data with v0.3.0 is not a tested path.

Flight records still live in the current browser origin's IndexedDB. Updating
website files does not intentionally clear them. Retain the same scheme,
hostname, port and browser profile; export/import JSON when moving origins or
devices. Docker hosts website files, not personal flight backups. There is no
account, cloud synchronization or server restore copy.

Docker users download and verify this release's installer, then select
--version v0.3.0 --dir /opt/keepraw-fly. Omit address flags to retain existing
hostname and ports. Fork Pages users select v0.3.0 in the existing
official-release workflow. Static-host users deploy the verified ZIP/tar.gz over
HTTPS. See the deployment guide for prerequisites and
commands.

Historical Releases, tags and images remain unchanged. The v0.3.0 installer can
explicitly select v0.2.0, v0.1.1 or v0.1.0; see the archive-format limit above
before rolling back.

Distribution and known limits

Static archives and linux/amd64 + linux/arm64 Docker images reuse the exact
successful main Push CI build
. The existing workflow requires CI, tag and
workflow source commits to match; it generates SHA256SUMS, provenance and
separate Sigstore-backed file/image attestations. The Owner-only publisher
verifies them and anonymous image access before publishing as keepraw. The
installer requires GitHub CLI 2.102.0 or newer; missing or invalid proofs
stop installation.

  • Chromium runs the full regression suite in CI; Firefox and WebKit run the
    compatibility subset. No physical-device test is part of this release.
  • Umetrip XLS import has been checked against one real export.
  • See current product boundaries for capabilities that
    are not implemented.

简体中文

v0.3.0 用共享的 2D 地图取代 3D 地球,按航班日期对照内置的机场历史数据解析机场,并新增航旅纵横
XLS 导入。本版本包含 v0.2.0 之后的全部改动,航班档案仍只保存在浏览器本地。

新增:2D 地图与地图主题

  • Passport 和航班详情在共享的 2D SVG 地图上绘制航线。3D 地球、Three.js 和 WebGL
    分享渲染器已删除,应用不再需要 WebGL。
  • 设置中可选择地图主题:Neon Aviation 或 Daylight Chart,作用于 Passport 地图和航班航线
    地图。
  • 设置中可选择分享图片的 Flight Passport 版式:新的 Neon 版式(跟随地图主题),或 v0.2.0
    的经典护照册。

新增:按日期解析的机场历史

  • 机场对照内置的 Keepraw Airport History 0.14.0(Schema 4.0.0)解析:同一代码先后对应不同
    物理机场时,按航班日期解析到当时在用的机场。机场名称已本地化。
  • 航班的出发、到达和备降机场可以在记录的 IATA 代码之外,各自保存一个可选的永久机场
    ID。航线、统计、时区、距离和分享图片都使用这个身份。
  • 早期的在线机场查询已删除,机场只用随网站发布的数据解析。

新增:航旅纵横 XLS 导入

  • 可预览并追加受支持的航旅纵横 Excel 导出文件中已使用的历史航班。未使用、OPEN、退票、改签和
    无效客票会被排除。兼容性只用一份真实导出文件验证过,见
    支持的格式与限制。

改进与修复

  • 启动页先显示,再加载应用和机场参考数据。入口脚本从约 490 kB 降到约 134 kB(gzip),两个
    大的机场数据块不再预加载。
  • Passport 地图放大后航线保持实线。“导入航班”和“分享飞行护照”改为带边框的按钮,到达晚点
    合计不再使用危险色,航班号改用主文字颜色。
  • 设置页把“尚未备份”显示为警示,持久存储已启用后不再显示禁用按钮,并删除了 CSV 和 Flighty
    导入的重复说明。
  • 导入、恢复和历史数据正确性的审计修复:恢复副本保留重复的 JSON 值,大档案的导入和恢复更
    可靠。
  • 修复 Firefox 159 移动端 Passport 的无障碍崩溃,并稳定 WebKit 下切换语言后的重新加载。
  • Soaring Symbols 航司图标更新到 alpha.14,并更新了工作区依赖。完整依赖和生产依赖审计均未
    报告已知漏洞,见当前安全审查。

工程维护

  • 删除未使用的 solarMode 设置、无引用的 barrel 模块和 Globe 时代的文档。已保存的
    solarMode 值会被忽略。
  • E2E 的 WebGL 守卫拒绝所有类型的 WebGL 上下文;需要渲染两次的导出用例有了相应的时间预算。

数据兼容性、升级与回滚

应用 package 版本从 0.2.0 升到 0.3.0。为保存可选的机场 ID,档案 formatVersion 从
0.1.0 升到 0.2.0
。v0.3.0 可导入 0.1.0 和 0.2.0 档案,导出为 0.2.0。IndexedDB
数据库版本不变。

v0.2.0 及更早版本无法导入 0.2.0 档案:它们的 Schema 只接受 0.1.0。升级前请先用当前
版本导出完整的 Keepraw Fly JSON 备份
并妥善保存,这是旧版本唯一能导入的备份。用 v0.3.0 保存
过数据之后再回滚,没有经过测试。

航班记录仍保存在当前浏览器来源的 IndexedDB 中。更新网站文件不会主动清空它们。请保持协议、
域名、端口和浏览器配置不变;更换来源地址或设备时用 JSON 导出和导入。Docker 托管的是网站
文件,不是个人航班备份。没有账号、云同步或服务器端恢复副本。

Docker 用户下载并校验本版本的安装器,然后使用 --version v0.3.0 --dir /opt/keepraw-fly。
不传地址参数会保留现有域名和端口。Fork Pages 用户在现有的官方发行流程中选择 v0.3.0。静态
托管用户通过 HTTPS 部署已校验的 ZIP/tar.gz。前提条件和命令见部署指南。

历史 Release、Tag 和镜像保持不变。v0.3.0 安装器可以显式选择 v0.2.0、v0.1.1 或 v0.1.0;回滚
前请先阅读上面的档案格式限制。

发行与已知限制

静态压缩包和 linux/amd64 + linux/arm64 Docker 镜像复用同一次成功的 main Push CI 构建。
现有流程要求 CI、Tag 和工作流的源提交一致,并生成 SHA256SUMS、provenance 以及分别由 Sigstore
签发的文件和镜像来源证明。仅限 Owner 的发布脚本会先校验这些证明和匿名镜像访问,再以
keepraw 身份发布。安装器需要 GitHub CLI 2.102.0 或更新版本;证明缺失或无效时停止安装。

  • CI 中 Chromium 运行完整回归,Firefox 和 WebKit 运行兼容性子集。本版本没有真机测试。
  • 航旅纵横 XLS 导入只用一份真实导出文件验证过。
  • 尚未实现的能力见当前功能边界。

Verified provenance

Keepraw-Fly v0.2.0 — Flight Passport Journal

Choose a tag to compare

@keepraw keepraw released this 25 Oct 03:06
1682c54

Keepraw-Fly v0.2.0 — Flight Passport Journal

Stable feature release

English

Flight Passport Journal adds a locally generated, two-page souvenir passport.
This feature release includes the changes since v0.1.1 and retains the
browser-local flight archive model.

New: Flight Passport journal

  • Choose Share Flight Passport from Passport to generate a 1200 × 1684 PNG
    on your device. Two equal, TD3-proportioned leaves form a vertically opened
    journal with paper texture and a sewn binding.
  • The upper page shows the complete Equal Earth world map, great-circle routes
    and airport dots using bundled geometry. The lower page shows your archive's
    saved name, a stable browser-local souvenir number, first flight, record period
    and flight statistics. Cancelled flights are excluded; Passport's year, search
    and airport filters do not limit the journal's full-archive totals.
  • View the finished image in place, click or press Enter/Space to enlarge, and
    save using native right-click or long-press image actions. Escape restores the
    fitted image and then closes the viewer; focus returns to the share action.
    Generation failures offer a retry.
  • Two 44-character MRZ rows implement TD3 field layout and check digits. Saved
    romanized names take precedence; Han names can use automatic pinyin. The
    fictional issuer, unspecified personal fields and fixed souvenir expiry are
    specimen policy, not personal facts inferred from flights. This is a keepsake,
    not a travel credential or certified physical OCR document.

The final viewer replaces the early Share Studio proposals. The removed 3:4/4:3
layout selector, editor toolbar and separate share-name editor are not available.
Edit the archive name in Settings.

Improvements and fixes

  • Refined page proportions, localized headers, holder grid, multiline name
    fitting, measured text clearance and MRZ print spacing. Dedicated Latin and
    regional CJK fonts support the existing ten interface locales and selected
    distance units, with bounded loading and system fallbacks.
  • Restored a complete world-map frame, including both poles, independently of
    route distribution. Dense journals draw the busiest 60 routes; statistics
    retain all non-cancelled flights. Airport dots are unlabelled, and the finished
    image does not print map-coverage captions.
  • Improved Passport home globe containment and desktop density across display
    scales, plus the content-driven Flight Detail hero and Globe composition.
  • Fixed production Blob-image previews under CSP. Reduced-motion palette changes
    avoid WebKit's intermediate theme colors; Globe Lab texture-failure checks wait
    for the actual failed resource before asserting fallback.
  • Patched the locked Ajv transitive dependency fast-uri from 3.1.8 to 3.1.9
    for four newly disclosed URI parsing advisories. Full and production dependency
    audits are clean; see the current security review.

Engineering maintenance

  • Unified development and CI on Node.js 24 and migrated to Vitest 5; updated
    dependencies and SHA-pinned Actions without weakening release verification.
  • Balanced all Chromium regression files across six CI shards, retained
    Firefox/WebKit compatibility journeys and production CSP/font-SRI checks, and
    pinned the matching browser runtime. Improved persistence-test timing and
    commit-identity validation for rewritten history.
  • Fixed a Globe test race by waiting for the filtered camera frame before
    checking keyboard movement and exact camera preservation across themes.
  • Consolidated user, deployment and developer documentation, examples and visual
    evidence. Synthetic installer fixtures now use v99.0.0 instead of the real
    v0.2.0, preserving upgrade, rollback and provenance refusal coverage.

Data compatibility, upgrade and rollback

Application packages advance from 0.1.1 to 0.2.0. Archive formatVersion
remains 0.1.0
. The JSON Schema, JSON backup/import contract, mapped CSV and
Flighty CSV import behavior, and IndexedDB database version are unchanged.
Existing archives need no new format migration for this release.

Export a full Keepraw Fly JSON backup before upgrading, and back up regularly.
Flight records still live in the current browser origin's IndexedDB. Updating
website files does not intentionally clear them. Retain the same scheme, hostname,
port and browser profile; export/import JSON when moving origins or devices.
Docker hosts website files, not personal flight backups. There is no account,
cloud synchronization or server restore copy.

The souvenir identity lives separately in localStorage and is not in JSON
backups
. Intermediate journal identities migrate deterministically from the
full legacy KRF-… value to a nine-character display number, preserving the
original identity and nickname without overwriting Settings. Clearing storage or
moving origins can create a different number; global uniqueness is not guaranteed.
The saved PNG includes the holder name and number: inspect it before sharing.

Docker users download and verify this release's installer, then select
--version v0.2.0 --dir /opt/keepraw-fly. Omit address flags to retain existing
hostname and ports. Fork Pages users select v0.2.0 in the existing official-release
workflow. Static-host users deploy the verified ZIP/tar.gz over HTTPS. See the
deployment guide for prerequisites and commands.

Historical Releases, tags and images remain unchanged. The v0.2.0 installer can
explicitly select v0.1.1 for rollback with file/image provenance verification;
v0.1.0 remains installable as the clearly identified checksum-only legacy release.
Back up data first and retain the same origin. Restore all three managed files
(compose.yaml, .env, .keepraw-managed) together when using deployment history.

Distribution and known limits

Static archives and linux/amd64 + linux/arm64 Docker images reuse the exact
successful main Push CI build
. The existing workflow requires CI, tag and
workflow source commits to match; it generates SHA256SUMS, provenance and separate
Sigstore-backed file/image attestations. The Owner-only publisher verifies them
and anonymous image access before publishing as keepraw. The installer
requires GitHub CLI 2.102.0 or newer; missing or invalid proofs stop installation.
Mocked tests do not replace real signature verification.

  • Offline startup is not guaranteed. CJK passport fonts can request version-pinned,
    SRI-checked stylesheets from jsDelivr; failed requests use system fonts whose
    glyphs can differ across devices. This does not upload flight records.
  • Missing distances/times can make statistics incomplete; the image does not
    print completeness warnings. Dense maps omit less frequent routes, and routes
    without usable coordinates cannot be drawn.
  • Empty or unsupported names can leave the MRZ name field unpersonalized.
    Automatic pinyin is not verified passport spelling; set a romanized name in
    Settings where needed. Native image saving depends on the browser.
  • Browser eviction or clearing site data can remove the only copy of records.
    Persistent-storage permission does not replace a downloaded JSON backup.

Implementation and merged changes:
journal specification,
Compare v0.1.1…v0.2.0,
Passport globe #80,
display density #81,
Flight Detail #82,
production CSP #90,
journal #91,
CI #92,
TD3 #94,
WebKit colors #96,
typography #97,
proportions #99,
final map/layout #100 and
reliability #102.

简体中文

Flight Passport Journal 带来在本机生成的双页旅行纪念护照。这是自 v0.1.1 以来的
正式功能升级,继续保持浏览器本地航班档案设计。

新增:Flight Passport 旅行纪念护照

  • 在 Passport 选择 分享飞行护照,在当前设备生成 1200 × 1684 PNG。
    两个等大的 TD3 比例页面纵向展开,保留纸张纹理和缝线装订效果。
  • 上页使用内置几何展示完整 Equal Earth 世界地图、大圆航线和机场点;下页展示档案
    姓名、浏览器本地纪念编号、首次飞行、记录区间和统计。取消的航班不计入;Passport
    的年份、搜索和机场筛选不会限制护照的全档案统计。
  • 原位查看成品图片,点击或按 Enter/空格放大,通过浏览器原生右键或长按保存。
    Escape 先恢复整图,再关闭查看器,焦点返回分享入口。生成失败可以重试。
  • 两行各 44 字符的 MRZ 实现 TD3 字段布局和校验位。优先使用已保存的罗马字姓名,
    汉字姓名可自动转为拼音。虚构签发方、未指定个人字段和固定纪念到期日属于示例策略,
    不从航班推断个人事实。它是纪念图片,不是真实旅行证件,也未通过实体 OCR 认证。

最终查看器替换了早期 Share Studio 方案,不提供已删除的 3:4/4:3 比例选择、编辑
工具栏或独立分享姓名编辑器;姓名在设置中修改。

改进与修复

  • 优化页面比例、本地化页眉、持有人网格、多行姓名适配、实测文字留白和 MRZ 排版。
    专用拉丁字体和地区化 CJK 字体支持现有十种界面语言及所选距离单位;加载有时间
    上限,并提供系统字体降级。
  • 恢复包含南北两极的完整世界地图,不随航线分布裁切。密集地图绘制最繁忙的 60 条
    航线,统计仍包含全部未取消航班。机场点不带标签,成品不打印地图覆盖率说明。
  • 优化 Passport 首页地球的宽度约束、不同显示缩放下的桌面密度,以及按内容适配的
    航班详情 Hero 和 Globe 地图构图。
  • 修复生产 CSP 下的 Blob 图片预览;减少动态效果时避免 WebKit 显示主题过渡色;
    Globe Lab 在实际贴图请求失败后再检查降级状态。
  • 将 Ajv 间接依赖 fast-uri 从 3.1.8 补丁升级到 3.1.9,修复四条新披露的 URI
    解析告警;完整和生产依赖审计均无已知漏洞,见当前安全审查。

工程维护

  • 开发和 CI 统一到 Node.js 24,迁移至 Vitest 5,更新依赖和完整 SHA 固定的 Actions,
    保留既有发行安全校验。
  • 将完整 Chromium 回归文件均衡分配到六个 CI 分片,保留 Firefox/WebKit 兼容测试和
    生产 CSP/字体 SRI 测试,固定匹配的浏览器环境。改进持久化测试时序和重写历史时的
    提交身份校验。
  • 修正 Globe 测试的相机帧时序:先等待筛选后的画面,再检查方向键移动及主题切换时
    相机位置精确保持不变。
  • 整理用户、部署和开发者文档、示例及视觉证据。安装器模拟版本改为 v99.0.0,避免与
    真实 v0.2.0 混淆;升级、回滚和来源证明拒绝场景的覆盖保持不变。

数据兼容性、升级与回滚

应用 package 版本从 0.1.1 升至 0.2.0,归档 **formatVersion ...

Read more

Keepraw-Fly v0.1.1

Choose a tag to compare

@keepraw keepraw released this 18 Oct 16:19
bbc1904

Keepraw-Fly v0.1.1

Security & Reliability Maintenance Release · 安全与可靠性维护版本

Maintainer / 维护者:keepraw

English

This maintenance release includes the security and engineering hardening in
PR #77 and the subsequent
Node.js 24-compatible actions/upload-artifact update. It retains the existing
local-first application and browser storage model.

Security and reliability

  • Production builds enforce a strict Content Security Policy without
    unsafe-inline or unsafe-eval; Ajv validation uses precompiled code. Static
    Pages deployments use a CSP meta tag. Docker/Caddy adds response headers,
    clickjacking protection and HSTS on HTTPS only. Meta CSP cannot enforce
    frame-ancestors on GitHub Pages.
  • The six MiSans CSS files use SHA-384 Subresource Integrity. Modified stylesheets
    are refused and system fonts remain available. This does not independently
    integrity-check the WOFF2 files referenced by those stylesheets.
  • Export without personal details removes names, PNRs, ticket numbers and frequent
    flyer numbers. Retained extensions use an explicit field whitelist; unknown
    fields, nested objects and arrays are dropped. Full backups retain the original
    data, and sharing does not change IndexedDB. Routes and exact dates remain, so
    these exports are not anonymous.
  • JSON, CSV and Flighty CSV imports enforce a 64 MB file limit and 100,000-record
    limit. CSV handles quoted fields, delimiters and embedded newlines. Storage
    migration retries are bounded; historical archives remain supported.
  • GitHub Actions use full commit SHA pins, including Node.js 24-compatible
    actions/upload-artifact v7.0.2. Releases reuse the exact successful main CI
    build instead of rebuilding the application.

Distribution and source verification

The release pipeline checks that the main CI commit, release workflow event
commit and version tag resolve to one source commit. It generates separate
Sigstore-backed GitHub Artifact Attestations for the release files and OCI image
digest, including the SHA256SUMS manifest itself. The installer requires GitHub CLI 2.102.0 or newer and verifies the
official repository, release.yml@refs/heads/main, source commit, GitHub-hosted
runner and image digest before pulling the image. Missing or invalid proofs stop
installation. Mock-based regression tests alone are not evidence of a valid
release signature; publishing requires the real verification gates to pass.

Static ZIP/tar.gz, Docker images for linux/amd64 and linux/arm64, installer,
Compose, Caddy configuration and bilingual deployment guides use the verified CI
build. The immutable image digest and exact source/run references are recorded in
the published provenance. Only keepraw may create and publish the GitHub
Release; CI may build, attest and attach verified artifacts to an owner draft.

Upgrade and compatibility

Application packages advance from 0.1.0 to 0.1.1; the canonical archive
formatVersion remains 0.1.0. Website updates do not intentionally clear
existing IndexedDB records. Export a full JSON backup before upgrading and retain
the same origin to continue using browser data.

v0.1.0 releases, tags and images remain unchanged and checksum-only. The v0.1.1
installer retains explicit v0.1.0 rollback support without describing that older
release as attested. See the deployment guide.

This release does not add guaranteed offline PWA startup, encrypted cloud sync,
the planned Passport map/Flight Detail redesign or a flight passport poster
generator. The recorded braces advisory affects the development CSS lint chain;
see the dependency review.

简体中文

本维护版本包含 PR #77 的安全与工程
加固,以及后续 actions/upload-artifact 的 Node.js 24 兼容升级,继续保持 local-first
和浏览器本地存储设计。

安全与可靠性

  • 生产构建采用不含 unsafe-inline、unsafe-eval 的严格 CSP,Ajv 使用预编译校验代码。
    Pages 使用 CSP Meta;Docker/Caddy 额外设置安全响应头、防嵌入策略及仅 HTTPS 下的
    HSTS。GitHub Pages 的 CSP Meta 无法强制执行 frame-ancestors。
  • 六个 MiSans CSS 文件通过 SHA-384 SRI 校验,样式被篡改时拒绝应用并降级至系统字体。
    CSS 所引用的 WOFF2 文件不具备独立的浏览器 SRI 验签。
  • 脱敏导出移除姓名、PNR、票号和常旅客号码,保留扩展仅允许明确字段,丢弃未知字段、
    嵌套对象和数组。完整备份保留原始信息,分享操作不修改 IndexedDB。具体航线和日期
    仍然保留,因此分享文件并非完全匿名。
  • JSON、CSV、Flighty CSV 导入限制为 64 MB、100,000 条记录,兼容 CSV 引号、分隔符和
    字段内换行。存储迁移并发重试具有上限,历史档案继续兼容。
  • GitHub Actions 使用完整 Commit SHA 固定,actions/upload-artifact v7.0.2 原生支持
    Node.js 24。发行流程复用成功 main CI 的原始应用产物,不重新构建应用。

发行与来源验证

发行流程要求 main CI、Release Workflow 事件和 Tag 指向同一源码提交,分别为发行附件和
OCI 镜像 digest 生成基于 Sigstore 的 GitHub Artifact Attestations,附件证明也覆盖
SHA256SUMS 清单本身。安装器要求
GitHub CLI 2.102.0 或更新版本,拉取镜像前核验官方仓库、
release.yml@refs/heads/main、源码提交、GitHub 托管 runner 和镜像 digest;缺失或无效
的证明会阻止安装。模拟回归测试不能代替真实签名验证,正式发布必须通过实际验签门禁。

静态 ZIP/tar.gz、linux/amd64 与 linux/arm64 Docker 镜像、安装器、Compose、Caddy 配置
和中英文部署指南使用经过验证的 CI 构建,实际镜像 digest、源码与工作流运行记录写入
发行来源信息。GitHub Release 必须由 keepraw 本人创建和发布;CI 可以构建、签发证明,
并向 Owner Draft 上传经过验证的附件。

升级与兼容性

应用 package 版本从 0.1.0 升至 0.1.1,档案 formatVersion 保持 0.1.0。
网站更新不会主动清空现有 IndexedDB。升级前导出完整 JSON 备份,保持同一来源地址才能
继续使用原浏览器数据。

历史 v0.1.0 Release、Tag、镜像保持不变,仍属于 checksum-only。v0.1.1 安装器保留显式
回滚到 v0.1.0 的能力,不将历史版本描述为已经签名。操作参见中文部署指南。

本次不包含完整离线 PWA、端到端加密云同步、计划中的 Passport 地图或 Flight Detail
改版,也不包含飞行护照海报生成器。既有 braces 告警涉及开发期 CSS lint 依赖链,
评估见依赖安全审查。

Verified provenance

Keepraw-Fly v0.1.0

Choose a tag to compare

@keepraw keepraw released this 16 Oct 11:17

Keepraw-Fly v0.1.0

The first public release of Keepraw-Fly, published by keepraw. Use it at https://fly.keepraw.com or host the prebuilt website on GitHub Pages or a Linux VPS. End users do not need Node.js, pnpm or a source build.

Included capabilities

  • Flight Passport with lifetime/yearly statistics, airports, airlines, aircraft, routes and delays.
  • Searchable flight archive with add, edit, duplicate and detail views; desktop route maps.
  • Validated JSON backup/migration, mapped Keepraw Fly CSV bulk import and supported Flighty CSV import with duplicate review.
  • Frequent-flyer profiles and responsive layouts in ten locales.
  • Local-first IndexedDB storage with optional browser persistent-storage requests.

This release adds deployment and distribution tooling without changing flight business logic, UI or the IndexedDB data contract. Application version 0.1.0 and archive Schema version remain independently managed.

Installation and verification

  • Online: https://fly.keepraw.com — no installation.
  • Fork Pages: Fork → enable Actions → Settings/Pages: GitHub Actions → run Deploy official release to Fork Pages, version v0.1.0. No install/build/E2E jobs. Fork source changes are not included in this prebuilt mode.
  • VPS: install Docker Engine + Compose v2, download/check/inspect install.sh and run with a domain for automatic Caddy HTTPS. Follow the attached bilingual deployment guides.
  • Other static hosts: extract keepraw-fly-v0.1.0.zip or keepraw-fly-v0.1.0.tar.gz and serve the directory containing index.html over HTTPS.

SHA256SUMS covers all release attachments except itself. The static archives include release.json (version, commit, author) and FILES.sha256. The official ghcr.io/keepraw/keepraw-fly:v0.1.0 image supports linux/amd64 and linux/arm64, runs only Caddy/static files and has no Node.js/pnpm production runtime. image.txt contains its immutable digest reference; the installer uses it. provenance.json links the exact successful main CI build and image workflow. ZIP, tar.gz, official Pages and Docker use that same production build. No moving latest tag is required.

Official CI retains documentation/formatting/CSS/type/unit/build checks, the full six-shard Chromium regression and Firefox/WebKit compatibility smoke tests. All must succeed before official Pages deployment or release artifact promotion. Release publication uses the keepraw account after draft attachment verification; Actions does not create a bot-authored Release.

Data, upgrades and limitations

Flight archives are stored only in the current browser's IndexedDB, not on GitHub Pages or the VPS. There are no accounts, server database or automatic cross-device cloud sync. Data is separate across origins, browser profiles and devices. Export JSON regularly and before migration/upgrades. Deploying a new version does not intentionally clear archives; Docker upgrades do not back up or move personal data. Keep the origin stable, and review Schema compatibility before rolling back future versions.

Upgrades and rollbacks select an explicit release version. The installer can be rerun, checks existing ownership/configuration and ports, preserves prior configuration and restores it on startup failure. Public HTTPS requires working domain DNS and inbound TCP 80/443; container health alone does not verify public certificate issuance. Browser storage policies and eviction still apply. Reference datasets are bundled and are not live flight-status data. Chinese fonts retain the existing external fixed-version CDN dependency and system-font fallback. Existing license, trademark and third-party declarations remain in effect.

See the attached English and Chinese deployment guides for maintenance, backup, uninstall and troubleshooting. Full real-world VPS validation depends on an actual public server/domain; container integration results are recorded in the release PR.

Verified provenance

  • Commit: ca95d79c7174f5e578d7289d9b247d76e0e300ac
  • Release PR: #74
  • Full main CI and Pages: https://github.com/keepraw/Keepraw-Fly/actions/runs/38882800515
  • Multi-platform image build: https://github.com/keepraw/Keepraw-Fly/actions/runs/38884081771
  • Image: ghcr.io/keepraw/keepraw-fly:v0.1.0
  • Immutable image: ghcr.io/keepraw/keepraw-fly@sha256:0e22bf4a9704a077f6ecfd7ee4ff3f41f3bc510d16c94eb1e2173b902e2608ae
  • Anonymous GHCR manifest access verified for linux/amd64 and linux/arm64. All 521 official HTTPS Pages files match the CI manifest.
  • Production Chromium HTTPS/root/subdirectory/resources/IndexedDB smoke passed. Container installation, repeat installation, explicit version/digest selection, simulated upgrade/rollback, first-start cleanup and recovery checks passed. No real public VPS/DNS/ACME test was performed; live fork creation is blocked by the current integration's HTTP 403 permission.