mini_program_tooling 0.2.21
mini_program_tooling: ^0.2.21 copied to clipboard
Local developer and CI tooling for the Flutter mini-program platform.
Changelog #
0.2.21 #
- reduce the generated starter-screen body top spacing by switching scaffolded
body padding from
StacEdgeInsets.all(24)to horizontal-only padding - replace the raw JSON dump in the preview native placeholder with a clearer structured inspector for route, expect-result, and argument details
- add regression coverage for the updated starter-screen layout and preview placeholder output
0.2.20 #
- remove the extra scaffolded
StacSafeAreawrapper from generated starter screens so mini-program bodies do not render with confusing blank space below the app bar - add regression coverage to keep new generated screens on the direct
StacSingleChildScrollViewbody layout
0.2.19 #
- fix preview watch mode so build output updates under
stac/.builddo not trigger repeated follow-up rebuilds after a single save - add regression coverage for exact ignored preview-build directory events in the watcher path filter
0.2.18 #
- remove the extra preview-shell app bar so
miniprogram previewshows the mini-program UI directly instead of wrapping it in a second host header - stop the preview status poll from rebuilding the UI every second when nothing changed, which fixes the visible jumping and repeated refresh effect
- keep the preview status banner overlaid on top of the page instead of shifting layout during preview status changes
0.2.17 #
- add
miniprogram preview -d <chrome|windows>as the new developer-first preview loop for standalone mini-program authoring - generate and manage a hidden project-local preview host under
.mini_program/preview_host - serve preview manifests, screens, and assets through an internal session-scoped preview server instead of the real local backend workspace
- watch mini-program source files, rebuild on save, and trigger full preview refresh while keeping the last good UI visible on rebuild failures
- document the preview flow, its capability limits, and how it differs from
the real
publishplusbackend startdelivery path
0.2.16 #
- fix local Chrome and web host-app development by making the generated local
backend workspace respond correctly to browser CORS preflights and private
network access checks for
127.0.0.1:8080 - make
miniprogram backend startandminiprogram backend statusprint the target-specific local backend URLs for Android emulator, desktop or Chrome, and Android USBadb reverseworkflows - make generated host runtime setup log the resolved backend base URL and its resolution source during startup for faster local debugging
0.2.15 #
- make generated host adapters use the shared SDK local-backend resolver with target-aware defaults instead of hardcoded per-file backend URL logic
- add generated support for
MINI_PROGRAM_BACKEND_BASE_URL,MINI_PROGRAM_BACKEND_HOST, andMINI_PROGRAM_BACKEND_PORT - bump generated host app dependencies to
mini_program_sdk: ^0.1.2 - document the local backend conditions for emulator, desktop, Chrome, USB
adb reverse, and physical-device Wi-Fi workflows
0.2.14 #
- fix
miniprogram embed initso generated host apppubspec.yamlfiles pinmini_program_sdk: ^0.1.1instead of the stale^0.1.0constraint - refresh the embedding docs and regression tests around the generated hosted SDK dependency version
0.2.13 #
- make local backend start attempt
adb reverse tcp:<port> tcp:<port>for connected Android devices and emulators so local host apps can keep using127.0.0.1when emulator routing to10.0.2.2is broken - report successful
adb reversesetup in backend start output - add regression coverage for the new local Android reverse-port setup
0.2.12 #
- make
embed initgenerate Android debug-only cleartext/network security config so the default local emulator backend URL can work without manual manifest edits - refresh the tooling docs around the generated Android local-backend setup and
align the public CLI surface with the optional in-folder
build/validate/publishflow
0.2.11 #
- fix backend workspace resolution so
validate,publish, backend commands, anddoctorfall back to the valid global backend workspace when a stale parent.mini_program/backend_workspace.jsonis present - add regression coverage for stale local backend workspace state masking the initialized global backend workspace
0.2.10 #
- let
miniprogram build,miniprogram validate, andminiprogram publishinfer the mini-program id from the current working directory when the user is already inside the mini-program root - keep the explicit forms such as
miniprogram build <id>andminiprogram publish <id>for scripted and multi-project workflows - refresh docs and tests around the simpler in-folder authoring workflow
0.2.9 #
- make
miniprogram backend initdefault to the per-user global backend workspace on Windows at%LOCALAPPDATA%\mini_program\backend\ - keep
miniprogram backend init --root <path>as the explicit override for a custom backend workspace - document the generated local backend URL defaults so Android emulator
workflows can usually run with plain
flutter run -d emulator-5554when the backend is already running on port8080 - refresh the generated embed README, public docs, and tests around the local
backend URL defaults and
MINI_PROGRAM_BACKEND_BASE_URLoverride
0.2.8 #
- let
miniprogram embed initdefault to the current working directory when--project-rootis omitted - keep
miniprogram embed init --project-root <path>for explicit and scripted workflows - refresh docs, tests, and installed-CLI smoke coverage for the simpler embed flow
0.2.7 #
- manage a pinned Stac builder internally inside
mini_program_tooling - expose the managed pinned Stac builder status and version through
miniprogram doctor - keep
--stac-cli-scriptas the escape hatch while removing the normal need for a separate visiblestacinstall
0.2.6 #
- let
miniprogram env initsucceed without a saved platform repo root for the standalone workflow - let standalone
validateandpublishrun againstbackend initworkspaces without any platform repo path - update
embed initto patch host apppubspec.yamlwith hostedmini_program_sdkandmini_program_contractsdependencies - refresh docs and the installed-CLI smoke flow around the fully standalone local workflow
0.2.5 #
- add
miniprogram backend initto scaffold a standalone backend workspace - add tracked backend workspace state in
.mini_program/backend_workspace.jsonand~/.mini_program/global_backend_workspace.json - let backend lifecycle commands resolve either a standalone backend workspace or the platform repo layout
- make
miniprogram publishwrite manifests and screens into the initialized standalone backend workspace whenminiprogram backend inithas been used - keep tracked local publish state attached to that backend workspace so
backend reset-local --yescleans the correct local backend - update validation and installed-CLI smoke coverage for the standalone backend publish flow
0.2.2 #
- add
miniprogram doctorfor machine, env, repo, and backend diagnostics
0.2.1 #
- refresh the pub.dev release metadata for the current env-based workflow
- ship the saved global repo-root fallback used by
embed initand backend commands when running from unrelated working directories
0.2.0 #
- add
miniprogram env init,miniprogram env use, andminiprogram env status - add
.mini_program/env.jsonas saved CLI environment state for standalone mini-program workspaces - add a user-level fallback config in
~/.mini_program/global_env.jsonsoembed initand backend commands can reuse the saved repo root from unrelated working directories - let
build,validate,publish, andbackend ...reuse saved repo-root configuration instead of requiring repeated--repo-root - update the installed CLI smoke flow and docs around the new env workflow
0.1.0 #
- add the global
miniprogramexecutable - add
create,build,validate,publish, andembed initcommands - add repo-local backend lifecycle commands for
start,status,stop, andreset-local - add repo-local CLI state tracking under
.mini_program/