Skip to content

v0.4.0

Choose a tag to compare

@yinzhenyu-su yinzhenyu-su released this 24 Aug 05:04
· 290 commits to main since this release

Changelog

Features

  • 63ce98b feat(cache): disable read cache with max_size=0, default 2G
  • 5115d41 feat(ci): 添加本地 CI 检查脚本以复现 CI 检查流程
  • 2bcff85 feat(cli): add --compare strategy to fs check and fs sync
  • 02bc92d feat(cli): add fs check with non-download hash verification
  • 4c7eda0 feat(cli): add fs crypt-encode/crypt-decode for backend filename comparison
  • 9330d24 feat(cli): add fs df/du/find, --bwlimit flags and human-readable sizes
  • 1ca865d feat(cli): add layered exit codes, copy dry-run, journal replay/prune, jsonl streaming
  • a25dc47 feat(cli): add qrypt config path; drop per-command config path prints
  • c53ae32 feat(cli): fs sync --resume continues interrupted sessions
  • d4912ce feat(cli): fs sync one-way tree synchronization
  • f4536d7 feat(config): default log_file/error_file to <storage.log_dir>/qrypt*.log
  • 308d0ba feat(control): expose /v1/tasks debug endpoint with recovery linkage
  • 7fdb85f feat(control): report build version on /v1/health
  • 1a2b25e feat(control): shared test fixture and multipart driver test
  • bf1c088 feat(control): unified test-run envelope and capability-matrix scheduler
  • a70d727 feat(control): unify fs/resume specs into the test-spec registry
  • cba16ca feat(core): recover staging uploads and retry direct uploads in place
  • 08c5d51 feat(core): 支持可配置的读取分块大小并用于大文件分块读取
  • 6cbbca5 feat(drive): fault injection toolkit on FakeDriver
  • 7f73251 feat(drive): stable error sentinels across driver and task boundaries
  • 8fd91c2 feat(drivecopy): route same-driver copies through provider-side Copy
  • 4c29271 feat(drivers): add internal/util/httpclient and unify request plumbing
  • f8f4fec feat(drivers): scopedfs — platform-authorized directory as a qrypt drive
  • 560da2c feat(drivers): server-side Copy for onedrive, aliyundrive, baidunetdisk, p115, p115open, p189
  • 891e5c8 feat(drivers): server-side Copy for webdav, s3, quark
  • 62bd5ef feat(fuse): invalidate kernel path caches after async uploads
  • 5c2379f feat(logging): render log timestamps with an explicit UTC offset
  • 7f05708 feat(mobile): improve upload visibility, paging, read cancel, config mgmt
  • ae71bc6 feat(read): add seek test pattern with concurrent scenario support
  • 63f2941 feat(upload): direct source-upload stream tasks with restart recovery
  • e6f36c0 feat(upload): direct-upload integrity checks, read-cache seeding, raw reads
  • 4dd3a41 feat(vfs): add batch upload/move tests and target index cache
  • e5f3ee1 feat(vfs): add mounted read test with cache mode support
  • e511f52 feat(vfs): add streaming ReadStream for bounded-memory downloads
  • a3e6e5b feat(vfs): scope sequential read tracking per open-file session
  • 2c45bb4 feat: improve mobile read pipeline

Bug fixes

  • eb65b7f fix(ci): include local cgofuse module in Docker build context
  • 15f0bb1 fix(ci): regenerate config docs from schema, harden test cache teardown
  • f5c8173 fix(ci): remove dead compat shims, update golangci stutter exclusions
  • cfcbd3e fix(cli): attempt FUSE unmount on every exit path, not just signals
  • 631bd6a fix(cli): df json keeps failing mounts, du on single files, find canonical paths
  • fd28751 fix(cli): fs sync waits for uploads without a deadline
  • 91103bd fix(cli): keep tests off NTP DNS to stop goleak flakes
  • d7aba9e fix(cli): sync review findings — hash error handling, vfs mtime, delete race, ok/exit parity, journal writes
  • 68056e9 fix(cli): test NTP gate lost to EffectiveNTPEnabled override
  • 7cef9f4 fix(config): reject NaN in ParseSize
  • 45f00c0 fix(config): stop shadowing the builtin max in fuzz test
  • 679c6cf fix(core): apply De Morgan's law to satisfy QF1001 in random access check
  • af20693 fix(crypt): segment long encrypted filenames instead of panicking
  • a5b4b18 fix(drivers): classify not-found and respect ctx in 5 drivers
  • c64b353 fix(drivers): classify not-found errors with vfs.ErrNotFound
  • 644a5f3 fix(drivers): mask raw response bodies in error strings
  • 3ee9ca4 fix(drivers): unify redaction on util.Snippet, audit remaining leak sites
  • 54b361c fix(mobile): partial upload config merge, dangling upload tasks, session core race
  • 0030d3a fix(mobile): tie API contexts to the session lifecycle
  • b9146fd fix(mount): enable auto_xattr on Darwin for macOS 26.6.1 Finder copies
  • 5ab4f39 fix(mount): skip volname option on Linux
  • 029a06d fix(quark): fs df reporting zero capacity
  • cbd5893 fix(quark): strip OSS signature from upload-part debug log
  • a85fc36 fix(syncer): support Windows session locks
  • 7fb3a51 fix(task): never cancel a succeeded upload when dismissing its task
  • 4a93a85 fix(timeutil): make NTP sync loop interruptible and drained on stop
  • 9863daa fix(vfs): blocking upload-queue enqueue leaks on shutdown
  • 0f413c6 fix(vfs): complete teardown in TestDomainCloseStopsScheduledTimers
  • 139d7bc fix(vfs): de-flake TestDomainCloseStopsScheduledTimers arming check
  • 7280ac4 fix(vfs): defer upload scheduling until Start
  • 0190d68 fix(vfs): journal prune no longer resurrects finished uploads
  • 0a9e95f fix(vfs): make Start idempotent with lifecycle tests
  • 6bac533 fix(vfs): path-lock lifecycle, overlay index, concurrent close
  • 627b92d fix(vfs): sweep unreferenced staging files while running
  • cdf3f44 fix(vfs): unify listing order — dirs first, case-insensitive names
  • 98e9e94 fix: 分块读取大型 MP4 元数据以免超出单次读取限制

Others

  • e9452ff Handle busy debug server without failing core open
  • e369fb5 build: upgrade project to Go 1.27
  • 9acf2d8 chore(third_party): apply modern gofmt to cgofuse
  • 5e7bc03 ci(contract): use repository variable for mount matrix, not a secret
  • 0a3f35d ci(contract): write mounts output via GITHUB_OUTPUT
  • 26ebdd8 ci(coverage): enforce per-package coverage floors
  • 34dc3d9 ci(fuzz): nightly fuzz runner with corpus preservation
  • 790e94d ci(scripts): add integration layer and per-layer timing to test-layers
  • 663075f ci(scripts): per-package timing report and coverage baseline script
  • c7377ac ci(scripts): warn when a test layer exceeds 20s
  • 348fd20 ci: add PR-stage coverage snapshot to CI summary
  • d45dab5 ci: add golangci-lint and govulncheck gates
  • fd942b4 ci: add layered test entry script
  • f7ec797 ci: enforce architecture boundaries with scripts/check-arch.sh
  • 1c6b061 ci: enforce gofmt and extend race coverage to CLI/core/mobile/crypt/task
  • 3cfcfa4 ci: fail the build when generated user docs are stale
  • 42ac1d6 ci: migrate to golangci-lint v2 and fix lint failures
  • 31372b9 ci: nightly quality gates and contract-test workflow
  • 7c58779 ci: pin Go 1.26.6 toolchain and fix dist ldflags package path
  • 51ae5f5 ci: pin govulncheck and all GitHub Actions for reproducibility
  • 1f5ab5c ci: single source of truth for test package lists
  • 850febd ci: 升级 golangci-lint 到 v2.13.1 并精简版本固定文档
  • bc62552 docs(debug): add mount-debug-test.sh usage guide
  • ecb58bd docs(faq): add TL;DR to write-amplification section
  • 1f8250d docs(faq): explain cross-drive copy write amplification
  • fe91a7e docs(scripts): describe work_dir derivation and QRYPT_HOME in config docs
  • faf0c33 docs(scripts): generate full-config [mount] section from mountOptionsConfig
  • 77f0488 docs(vfs): pin Namespace.Start propagation semantics
  • be687bc feat(drive,control,cli): driver behavioral contract suite
  • e37cb2e feat(drive,core): unify error taxonomy with permission/persistence categories
  • 6b06f3c feat(drivers,cli): content-hash verification for sync/check
  • e689252 feat(vfs/read): add sequential read detection and adaptive prefetch
  • eacad93 fix(core,vfs,control): stop background workers on shutdown
  • c45e36d perf(core): parallel mount init, async statfs, fast mount ready
  • 31f542b perf(read): cut seek latency via CDN warmup and merged chunk reads
  • d0a821d perf(vfs): allocation-free virtual path parent traversal
  • 00ce317 perf(vfs): shard view entries, sync.Map path locks, O(1) pending lookup
  • 64f2c46 perf: tune adaptive remote video reads
  • 24add61 perf: tune hot chunk retention
  • 9410bd7 perf: 将读取缓存块大小调整为 512 KiB 并优化大文件下载
  • 16f5ede refactor(api): lift internal packages to pkg, split CLI subcommands
  • 7c0d54f refactor(config): group mount options under [mount] table
  • afe4532 refactor(contracttest): improve read test cleanup and add retry helper
  • b68e4e4 refactor(contracttest): improve read test cleanup and data output
  • c270908 refactor(control): narrow smoke/resume helpers to any + capability asserts
  • 7dea204 refactor(control): split driver_benchmark.go into five files
  • d819d45 refactor(control): split server_handlers.go by debug domain
  • 684ace9 refactor(core): export BuiltFileSystem, narrow walkTaskTree to Reader
  • 1fd3b33 refactor(drive,vfs): fix driver→vfs dependency inversion on ErrNotFound
  • 2a996e5 refactor(drivers): centralize HTTP error redaction in util.HTTPError
  • 107804c refactor(drivers): promote shared driver util to internal/util
  • 0e3cadf refactor(drivers): split remaining oversized driver files
  • c7ad37f refactor(drivers): 统一不可重试客户端状态判断到 httputil 辅助函数
  • b9935be refactor(internal): rebalance internal package layering
  • 198297a refactor(media): resolve chunk offset rewrite via metadata-only fixed point
  • e6ea72d refactor(sync): extract fs sync into a standalone domain package
  • 6ef2aa8 refactor(vfs): layered VFS with domain packages + transaction model
  • bb01a6d refactor(vfs): move construction/teardown into domain states, document ownership
  • 3076d72 refactor(vfs): name optional capability interfaces, drop anonymous assertions
  • de3bd58 refactor(vfs): retire superseded staging generations at schedule time
  • 6ce9bfd refactor(vfs): split lifecycle and cache control out of FileSystem
  • 4814c1a refactor(vfs): split listing domain, rename debug, harden domain close
  • e1eb96d refactor(vfs): split namespace routes and group domain state
  • e766fda refactor: drop Upload prefix from uploadsession exports
  • 40b4b86 refactor: split oversized files by responsibility
  • 0f09881 revert: 撤销有问题的 mobile 接口变更
  • c8de399 style(vfs): apply gofmt to visibility_overlay.go
  • 82c565e style(vfs): gofmt alignment and modernize test loops
  • ba0e1cd style: gofmt the seven unformatted files
  • 358f8c2 style: staticcheck cleanup — dead code, simplifications, deprecations
  • 9dbf637 test(cli): cover config show secret redaction
  • b62df89 test(cli): isolate every sync test's session store from the real config dir
  • 9586ef2 test(cli): isolate tests from the real home directory
  • d21befa test(core): cross-layer error taxonomy contract
  • 0c0dd3d test(drive): local contract matrix for every driver + fake ResolvePath fix
  • 4fc1fb8 test(drivers): include server_side_copy in localfs capability contract
  • 2940786 test(fuzz): property fuzzers for paths, parsers and error taxonomy
  • ab69a92 test(speed): cut ~13s from yun139, vfs, and core test suites
  • 8b8a078 test(sync): dry-run produces no remote mutation
  • bb30543 test(sync): session lifecycle round-trip and TTL pruning
  • 87f2f01 test(vfs): assert blocked-enqueue shutdown semantics, fix listing docs
  • 3372e30 test(vfs): drain upload worker with waitNoPending in SetModTime test
  • 2971a41 test(vfs): fix TestSetModTimeAppliesToUpload staging cleanup race
  • af7e362 test(vfs): real resume-once coverage and context ownership test
  • 8731537 test(vfs): state-machine coverage for the five reliability gaps
  • 522cd24 test(vfs): three-generation visibility and delete-retry-vs-restore
  • 1c7b655 test(vfs): verify disabled read cache keeps the full file lifecycle
  • fa892f2 test: adapt read windows to tuned chunk settings
  • 4f4cebe test: add goleak goroutine-leak verification to core packages
  • 1da69c0 test: add in-memory FakeDriver, adopt it in VFS/core tests
  • 416fa86 test: 在 testRuntimeLayout 中设置 RootDir 为 storage 子目录
  • 1dd9139 test: 改用 b.Loop 编写 fetch 基准测试