Skip to content

[release] v0.94.9#4045

Merged
mmabrouk merged 15 commits intomainfrom
release/v0.94.9
Mar 24, 2026
Merged

[release] v0.94.9#4045
mmabrouk merged 15 commits intomainfrom
release/v0.94.9

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Mar 23, 2026

New version v0.94.9 in

  • (web)
  • web/oss
  • web/ee
  • sdk
  • api
  • services

Open with Devin

mmabrouk and others added 8 commits March 21, 2026 21:53
Use Stripe availability as the cloud/self-hosted differentiator. When
STRIPE_API_KEY is absent, orgs get full enterprise entitlements, billing
UI is hidden, and cloud-specific flows (trials, checkout) are inactive.

Backend:
- Add SELF_HOSTED_ENTERPRISE plan with all flags on, unlimited quotas
- Add AGENTA_DEFAULT_PLAN env var via env.agenta.default_plan
- Refactor org creation into create_organization_for_signup() and
  create_organization_for_user() with clear subscription policies
- Add provision_signup_subscription() as single cloud/self-hosted
  decision point
- Remove start_free_plan() and use_reverse_trial flag
- Fix /billing/subscription for non-Stripe plans
- Fix extend_app_schema() hardcoded cloud.agenta.ai URL
- Treat undefined entitlement quotas as unlimited

Frontend:
- Derive NEXT_PUBLIC_AGENTA_BILLING_ENABLED from STRIPE_API_KEY
- Add isBillingEnabled() helper
- Hide billing tab, sidebar banners, upgrade prompts when disabled
- Recognize self_hosted_enterprise plan in useEntitlements
Forward only client-provided fields when constructing OrganizationUpdateDTO
using model_dump(exclude_unset=True). Previously, the router explicitly
passed all fields (including None defaults), which caused Pydantic to
treat them as 'set'. This led to two bugs:
1. Setting a slug would overwrite the org name with None
2. Renaming the org would fail with 'Invalid request data' because the
   slug field (None) was treated as a slug change attempt
Some DNS providers (Namecheap, GoDaddy, Cloudflare) automatically append
the domain to the Host field, causing users to create records like
_agenta-verification.example.com.example.com instead of the intended
_agenta-verification.example.com. Add a note clarifying that users on
these providers should enter only '_agenta-verification' in the Host field.
Add AGENTA_ORG_CREATION_ALLOWLIST env var to control who can create
organizations in self-hosted EE deployments. When set, only listed
emails can create orgs; everyone else must be invited.

Backend:
- Parse AGENTA_ORG_CREATION_ALLOWLIST in env.agenta.org_creation_allowlist
- Add OrganizationCreationNotAllowedError exception
- Add can_create_organization() guard in commoners.py
- Enforce on signup (silent skip) and POST /organizations/ (403)

Docs:
- Add self-host guide for restricting org creation
- Update RFC-1 with correct env var name and known limitations
- Update status.md and doc-1.md
feat(api,docs): restrict organization creation via allowlist
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Mar 23, 2026
@vercel
Copy link

vercel bot commented Mar 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agenta-documentation Ready Ready Preview, Comment Mar 23, 2026 6:43pm

Request Review

fix(frontend): add DNS provider hint to domain verification instructions
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Mar 23, 2026
…s-name

fix(api): prevent org update from overwriting unset fields
feat(api,frontend): enable self-hosted enterprise edition
@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Mar 23, 2026
@github-actions
Copy link
Contributor Author

github-actions bot commented Mar 23, 2026

Railway Preview Environment

Status Destroyed (PR closed)

Updated at 2026-03-24T09:05:16.390Z

mmabrouk and others added 2 commits March 23, 2026 17:24
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
devin-ai-integration[bot]

This comment was marked as resolved.

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Mar 24, 2026
@mmabrouk mmabrouk merged commit 100203e into main Mar 24, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant