Skip to content

Conversation

@cloud9c
Copy link

@cloud9c cloud9c commented Jan 27, 2026

Summary

  • Rename org_slugorg
  • Rename game_sluggame
  • Rename branch_slugenvironment (enum: production, demo, sandbox)
  • Add version field for semantic versioning (major.minor.patch)
  • Update API endpoints from /branches/{branch_slug}/ to /environments/{environment}/
  • Send build version to API when pushing builds

New config format

org = "my-org"
game = "my-game"
environment = "sandbox"
version = "1.0.0"
upload_dir = "./builds/webgl"

[godot]
version = "4.5-stable"

Changes

  • Added version field with regex validation (must be major.minor.patch)
  • Renamed version() to engine_version() for clarity
  • Added get_build_version() method
  • Removed legacy field aliases (org_slug, game_slug, branch_slug)
  • Removed deprecated field warnings
  • Added regex dependency for version validation

Test plan

  • cargo check passes
  • Test wvdsh build push with new config format
  • Verify version is sent to API and stored on build

Note: Requires corresponding backend changes (wavedash PR #346)

🤖 Generated with Claude Code

Update wavedash.toml config format:
- org_slug → org
- game_slug → game
- branch_slug → environment (enum: production, demo, sandbox)

Also update:
- API endpoint URLs to use /environments/ instead of /branches/
- URL param from gbrslug to genv

New config format:
```toml
org = "my-org"
game = "my-game"
environment = "production"
upload_dir = "./builds/webgl"
```

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
@claude
Copy link

claude bot commented Jan 27, 2026

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

cloud9c and others added 2 commits January 27, 2026 13:20
- Warn users when org_slug, game_slug, or branch_slug are used
- Guide users to use new field names: org, game, environment

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
- Add `version` field to wavedash.toml for semantic versioning (major.minor.patch)
- Validate version format with regex
- Send build version to API when pushing builds
- Rename version() to engine_version() for clarity
- Add get_build_version() method
- Remove legacy field aliases (org_slug, game_slug, branch_slug)
- Remove deprecated field warnings
- Add regex dependency

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
@cloud9c cloud9c changed the title refactor(config): rename config fields and use environment enum feat: environment config and semantic versioning Jan 28, 2026
@cloud9c cloud9c changed the title feat: environment config and semantic versioning update .toml Jan 28, 2026
cloud9c and others added 2 commits January 28, 2026 17:03
The `version` field in wavedash.toml is now required instead of optional.
This ensures all builds have a semantic version that can be matched to
releases in the developer portal.

- Change `build_version` from `Option<String>` to `String`
- Always include version in API request body
- Update getter to return `&str` instead of `Option<&str>`

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Add support for passing a build message when pushing builds, similar to
git commit -m. The message is stored with the build and can be displayed
in the developer portal.

Usage: wvdsh build push -m "Fixed player collision bug"

Co-Authored-By: Claude Opus 4.5 <[email protected]>
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.

2 participants