Skip to content

feat: add stable revision param to miniapp launch URL#446

Merged
Gaubee merged 1 commit intomainfrom
feat/miniapp-launch-revision-param
Feb 13, 2026
Merged

feat: add stable revision param to miniapp launch URL#446
Gaubee merged 1 commit intomainfrom
feat/miniapp-launch-revision-param

Conversation

@Gaubee
Copy link
Contributor

@Gaubee Gaubee commented Feb 13, 2026

Summary

  • append stable miniapp launch revision query param __rv based on manifest version (e.g. __rv=v:1.0.0)
  • keep existing context params intact and allow explicit __rv override
  • add focused unit tests for revision context building

Why

  • ensure iframe/wujie entry URL changes when miniapp version changes
  • leverage browser cache normally between unchanged versions
  • avoid timestamp-based cache busting that disables cache every launch

Validation

  • pnpm vitest run src/services/miniapp-runtime/tests/launch-context.test.ts src/services/miniapp-runtime/tests/container.test.ts
  • pnpm exec oxlint src/services/miniapp-runtime/index.ts src/services/miniapp-runtime/launch-context.ts src/services/miniapp-runtime/tests/launch-context.test.ts

@Gaubee Gaubee merged commit 0188377 into main Feb 13, 2026
5 checks passed
@Gaubee Gaubee deleted the feat/miniapp-launch-revision-param branch February 13, 2026 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant