Release 2.0.4
## PinMe v2.0.4
`v2.0.4` continues the Worker-first direction introduced in `v2.0.0` and focuses on making the project workflow more stable, more practical, and easier to use in real deployments.
This release further improves the experience around **Worker project creation, authenticated deployment, project configuration, and domain binding**.
## Highlights
### Improved Worker project creation flow
The Worker project bootstrap flow is more complete and reliable.
Notable improvements include:
- better handling of project initialization during `pinme create`
- improved generated project configuration
- `api_url` is now written into `pinme.toml` to better connect local project config with platform-side Worker resources
This reduces manual setup and makes generated Worker projects easier to deploy and maintain.
### Stronger authenticated deployment workflow
Worker-related deployment flows now rely on a more consistent authenticated experience.
This includes improvements around:
- browser login flow
- AppKey-based auth flow
- authenticated upload-related APIs
- better propagation of auth headers across upload and deploy operations
These changes help make Worker project deploys more reliable in real user and automation scenarios.
### Better Worker project deploy ergonomics
The full-stack project workflow introduced in 2.0.0 is further refined in 2.0.4.
Key areas improved:
- more consistent save/deploy flow
- clearer handling of Worker update paths
- better project command behavior around configuration and platform access
- cleaner separation between Worker, frontend, and database update responsibilities
### Better CLI error handling for Worker workflows
Deployment and update commands now provide clearer feedback when something goes wrong.
This is especially valuable for Worker project commands such as:
- `pinme create`
- `pinme save`
- `pinme update-worker`
- `pinme update-db`
- `pinme update-web`
The goal is to make build failures, configuration issues, and API-side errors easier to understand and fix.
### Improved domain binding for project deploys
This release also improves domain workflows often used after Worker project deployment.
Improvements include:
- clearer domain validation
- better handling for custom DNS domains
- better handling for PinMe subdomains
- wallet balance checks before certain domain operations
- improved bind flow for deployment outputs
### Continued evolution of the Worker project model
By `v2.0.4`, PinMe is no longer just introducing the Worker workflow.
It is actively polishing that workflow into a more production-usable developer experience.
## Recommended workflow
```bash
pinme login
pinme create my-app
cd my-app
pinme save