Skip to content

feat(application): update/upgrade/downgrade/plans commands - #224

Merged
LorrisSaintGenez merged 6 commits into
mainfrom
feat/new-application-commands
Jun 2, 2026
Merged

LorrisSaintGenez merged 6 commits into
mainfrom
feat/new-application-commands

Conversation

@LorrisSaintGenez

@LorrisSaintGenez LorrisSaintGenez commented May 29, 2026

Copy link
Copy Markdown
Contributor

What

  • application update --name — rename the current application
  • application plans — list available self-serve plans (supports -o json)
  • application upgrade / application downgrade — change the current app's self-serve plan
    • interactive picker or --plan, plus --dry-run and --accept-terms
    • both share one planchange flow and currently behave identically (no tier/direction enforcement)
    • blocks paid plans when the account has no payment method; requires ToS acceptance before applying
  • Dashboard client: add UpdateApplication, GetSelfServePlans, GetUser, ChangeApplicationPlan (+ types), reusing the existing OAuth reauth-on-expiry flow
  • Budget: Offer to control the cost by redirect to the cost-management page after upgrading to a paid plan

Test

  • Manual: application update --name, application plans, application upgrade --dry-run, interactive upgrade/downgrade
  • When upgrading your app to a paid plan, you should see "Want to create a budget and monitor your costs?"
    • Pressing Y or Enter should open a browser page to the cost-management page of your current application
Screenshot 2026-06-01 at 14 10 14

Dependencies

https://github.com/algolia/AlgoliaWeb/pull/28576 --> needs to be live Live ✅

GROUT-304

@LorrisSaintGenez LorrisSaintGenez self-assigned this May 29, 2026
@LorrisSaintGenez LorrisSaintGenez changed the title Feat/new application commands feat(application): update/upgrade/downgrade/plans commands May 29, 2026
@LorrisSaintGenez
LorrisSaintGenez requested review from a team, 8bittitan, NatanTechofNY, dylantientcheu, gzagura-algolia and pipeline1987 and removed request for a team and gzagura-algolia May 29, 2026 21:37
@LorrisSaintGenez
LorrisSaintGenez marked this pull request as ready for review May 29, 2026 21:38
@codacy-production

codacy-production Bot commented May 29, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 185 complexity · 104 duplication

Metric Results
Complexity 185
Duplication 104

View in Codacy

TIP This summary will be updated as you push new changes.

@8bittitan 8bittitan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

@LorrisSaintGenez
LorrisSaintGenez merged commit 9a60ca9 into main Jun 2, 2026
3 checks passed
@LorrisSaintGenez
LorrisSaintGenez deleted the feat/new-application-commands branch June 2, 2026 15:30
social4hyq pushed a commit to social4hyq/homebrew-core that referenced this pull request Sep 20, 2026
algolia 1.11.0

Created-by: HarmonybrewBot
Commit-by: HarmonybrewBot
Merged-by: HarmonybrewBot
Description: Created by `brew bump`

---

Created with `brew bump-formula-pr`.<details>
  <summary>release notes</summary>
  <pre>## What's Changed
* feat(open): add new dashboard shortcuts by @LorrisSaintGenez in algolia/cli#225
* feat(application): update/upgrade/downgrade/plans commands by @LorrisSaintGenez in algolia/cli#224
* docs: add npm install option to README by @tkrugg in algolia/cli#223
* feat(application): add name, tos and plan selection during application creation by @LorrisSaintGenez in algolia/cli#227
* feat(identify): send user data to identify after oauth flow by @LorrisSaintGenez in algolia/cli#228
* feat(application): more precise plan upgrade/downgrade direction by @LorrisSaintGenez in algolia/cli#226
* feat(telemetry): CLI flow events by @LorrisSaintGenez in algolia/cli#243
* feat: add auth get command by @levimichael in algolia/cli#253
* chore(api client): Upgrade Algolia Go API client by @tkrugg in algolia/cli#254
* fix: update 'auth get' to support refresh by @levimichael in algolia/cli#255
* feat(auth): Add token to `auth get` command by @levimichael in algolia/cli#257

## New Contributors
* @levimichael made their first contribution in algolia/cli#253

**Full Changelog**: https://github.com/algolia/cli/compare/v1.10.5...v1.11.0</pre>
  <p>View the full release notes at <a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Falgolia%2Fcli%2Fpull%2F%3Ca+href%3D"https://github.com/algolia/cli/releases/tag/v1.11.0">https://github.com/algolia/cli/releases/tag/v1.11.0</a>.</p">https://github.com/algolia/cli/releases/tag/v1.11.0">https://github.com/algolia/cli/releases/tag/v1.11.0</a>.</p>
</details>
<hr>

See merge request: Harmonybrew/homebrew-core!13019
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.

3 participants