14411 Commits

Author SHA1 Message Date
Damodar Lohani c12d968d49 Merge pull request #3028 from appwrite/feat/live-payment-create-upgrade
Confirm create-org and upgrade-plan payments on-session
8.2.0
2026-05-11 09:04:28 +05:45
Damodar Lohani 848595faed Merge remote-tracking branch 'origin/main' into feat/live-payment-create-upgrade 8.2.0-rc1 2026-05-10 11:00:43 +00:00
ArnabChatterjee20k 264e2de9e6 Merge pull request #2950 from appwrite/big-int
feat: add bigint column type support and update dependencies
8.1.12
2026-05-08 20:13:28 +05:30
ArnabChatterjee20k 91d3463e36 updated 2026-05-08 20:08:51 +05:30
ArnabChatterjee20k 30c1ca97fe updated 2026-05-08 20:07:34 +05:30
ArnabChatterjee20k e608d82ddc updated 2026-05-08 20:04:25 +05:30
ArnabChatterjee20k 03ba899c56 Merge remote-tracking branch 'origin' into big-int 2026-05-08 19:59:43 +05:30
Harsh Mahajan 5ebd8c816f Merge pull request #3035 from appwrite/fix-deprecated-scopes-selection
fix: treat deprecated scopes as selectable and fix badge count
2026-05-08 17:10:27 +05:30
harsh mahajan b4798736aa fix: treat deprecated scopes as selectable and fix badge count 2026-05-08 16:56:03 +05:30
Jake Barnby e1d3606a9a chore: pin github actions to sha and bump to latest (#3034)
Pin every third-party action in .github/workflows/ to a full commit SHA
with a trailing version comment, and bump to the latest stable release.
Defends against tag-rewrite supply-chain attacks while keeping versions
legible.
2026-05-08 13:41:32 +12:00
Damodar Lohani eeb28a4ce8 fix(billing): surface real confirmPayment error and clean up draft on failure
Two issues surfaced during user testing of the live-payment flow on
create-organization and change-plan.

1. confirmPayment() in src/lib/stores/stripe.ts always called
   resolve('/(console)/organization-[organization]/billing', {organization: orgId})
   eagerly at the top of the try block. The create-organization callsite
   passes only `route` (no orgId, since the team doesn't yet exist), so
   resolve() threw on the missing required `organization` param, the
   outer catch fired, and the user saw the generic
   "There was an error processing your payment..." message instead of
   the actual Stripe error. The URL is now built lazily — resolve() is
   only invoked when no `route` is supplied. The outer catch now
   surfaces the underlying error message (Stripe / SDK error) and falls
   back to the generic copy only when no message is available.

2. When the frontend Stripe confirmation failed, the backend was never
   notified, leaving draft teams (status='draft') and partial upgrades
   stranded. handleTeamCreateUpgradeFailure already deletes drafts and
   rolls back upgrades — but only when the backend recognises failure.
   The create-organization and change-plan error branches now make a
   best-effort call to organizations.validatePayment after a failed
   confirmation. validatePayment inspects the actual Stripe intent and
   routes to handleTeamCreateUpgradeFailure when it isn't
   succeeded/processing. validatePayment is expected to throw
   BILLING_PAYMENT_FAILED in this path; the throw is swallowed because
   the user has already seen the underlying Stripe error and the
   backend cleanup is the desired side-effect.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-07 10:32:59 +00:00
ArnabChatterjee20k 6a0681762c updated proxy status 2026-05-07 13:50:54 +05:30
premtsd-code 384d3e2998 Merge pull request #3027 from appwrite/feat-add-backup-policy-migration
feat: add backup policy migration support
2026-05-07 13:26:53 +05:30
Jake Barnby 2456ac7b6c Merge pull request #3030 from appwrite/diagnostic-fixes
fix: update proxy rule status handling and improve variable ID genera…
2026-05-07 19:51:06 +12:00
ArnabChatterjee20k 6dac6d0a2d updated 2026-05-07 13:07:54 +05:30
ArnabChatterjee20k fb0138e690 fix: update proxy rule status handling and improve variable ID generation in function and site creation 2026-05-07 13:02:36 +05:30
ArnabChatterjee20k 33a77b4c08 linting 2026-05-07 12:57:28 +05:30
ArnabChatterjee20k ec7e8f26eb linting 2026-05-07 12:54:31 +05:30
ArnabChatterjee20k 46858fbff3 fix: update @appwrite.io/console dependency version and optimize bigint.svelte component 2026-05-07 12:33:24 +05:30
Harsh Mahajan 5f5a20fc62 Merge pull request #3029 from appwrite/fix-free-form-input-bindings
fix: restore free-form key/value input bindings
8.1.11
2026-05-07 12:26:52 +05:30
harsh mahajan e9eecc8130 fix: format 2026-05-07 12:22:10 +05:30
harsh mahajan 443153fd1a fix: restore free-form key/value input bindings 2026-05-07 12:19:13 +05:30
ArnabChatterjee20k f2e92d1504 Merge remote-tracking branch 'origin/main' into big-int 2026-05-07 12:07:49 +05:30
Damodar Lohani 9e9c737a1d fix(billing): on-session live payment for BAA addon enable
Switch the BAA addon enable flow (both the re-enable button on the
settings card and the BAAEnableModal submit) to confirm the addon
PaymentIntent on-session via stripe.confirmPayment with redirect:
'if_required'. After a succeeded or processing outcome, finalize the
addon by calling organizations.confirmAddonPayment directly and
invalidate ADDONS + ORGANIZATION dependencies inline — no more URL
round-trip via ?type=confirm-addon&addonId=.

A processing outcome surfaces an info notification ("BAA addon payment
is processing — we'll activate it shortly.") since the addon stays
pending while Stripe settles, and the existing "Payment pending" badge
on the BAA card already covers the visual state.

The onMount redirect-handler in BAA.svelte that consumes the
?type=confirm-addon query string is preserved as a fallback for the
rare case where Stripe still elects to redirect (e.g. some 3DS
challenges that can't be inlined) — the route is still passed to
confirmPayment so Stripe has a return URL when needed.
2026-05-07 04:03:15 +00:00
Damodar Lohani 5bfc3716e2 feat(billing): on-session live payment for create-organization and upgrade-plan
Switch the create-organization and change-plan submit flows to confirm
PaymentIntents on-session via stripe.confirmPayment with redirect:
'if_required'. The frontend now treats PaymentAuthentication responses
as the expected default path for paid plans (not just the 3DS edge
case) and surfaces succeeded / processing / requires_action outcomes
to callers via a new ConfirmPaymentOutcome return type. Other call
sites (account/payments, billing, BAA, retry-invoice) remain on the
previous redirect-based flow.

Add a "Payment is processing" header alert that renders when the
team status is 'upgrading' (Stripe still settling). The alert sits
below readonly / budget / mark-for-deletion alerts (importance 5),
so it only shows when nothing more critical is happening, and lets
the user keep using the org while the charge clears.

Update the Indian RBI card-holder warning copy to reflect that the
first charge is now authenticated on-session and the $150 mandate
applies to future renewals — this avoids the 24h "processing"
limbo seen with off-session first charges under the RBI mandate.
2026-05-07 03:43:40 +00:00
Prem Palanisamy 50b0386f4b fix: use API field name 'backup-policy' for report count 2026-05-06 18:50:39 +01:00
Prem Palanisamy f5a113a501 feat: add backup policy migration support 2026-05-06 17:05:30 +01:00
Harsh Mahajan 8d62e6c989 Merge pull request #3025 from appwrite/fix-manual-deployment-bug
Fix: manual deployment bug
8.1.10
2026-05-05 23:22:17 +05:30
harsh mahajan 1636a7f577 fix: prevent false file size error when plan deploymentSize is zero 2026-05-05 23:12:55 +05:30
harsh mahajan 9efbe81d43 fix: restore project layout 2026-05-05 22:40:38 +05:30
Harsh Mahajan bc9a1d68b2 Merge pull request #3023 from appwrite/fix-rule-status-created-ui
fix: normalize created proxy rule status in console
2026-05-05 19:10:17 +05:30
Harsh Mahajan 53d3c55364 Merge pull request #3024 from appwrite/fix-paused-project-modal-mobile-upgrade-link
Fix: paused project modal mobile upgrade action
8.1.9
2026-05-05 18:59:19 +05:30
harsh mahajan d6ab5a065d Fix paused project modal upgrade href reactivity 2026-05-05 18:56:36 +05:30
harsh mahajan b9f74b67d1 Fix paused project modal mobile upgrade action 2026-05-05 18:52:15 +05:30
harsh mahajan 076935395a fix: normalize created proxy rule status in console 2026-05-05 16:00:08 +05:30
Harsh Mahajan 524d89d1e7 Merge pull request #3022 from appwrite/codex/fix-function-usage-period-totals
fix: correct function usage period totals
8.1.8
2026-05-05 12:34:40 +05:30
harsh mahajan dada7e16f6 refactor: improve periodic usage charts 2026-05-05 12:24:15 +05:30
harsh mahajan 9193921bd5 fix: guard empty function usage chart 2026-05-05 12:23:59 +05:30
harsh mahajan a10be20695 fix: correct function usage period totals 2026-05-05 12:16:39 +05:30
Harsh Mahajan 076c98cd37 Merge pull request #3021 from appwrite/fix-deployment-upload-queue-state
Fix deployment upload archive validation and queue state
8.1.7
2026-05-05 11:36:57 +05:30
harsh mahajan e424e6e1bb fix: restore deployment upload progress 2026-05-05 10:54:34 +05:30
Harsh Mahajan 58c51fe967 Merge pull request #3013 from appwrite/fix-remove-misleading-usage-stats
fix: remove all-time usage stats from functions, sites, and storage
8.1.6
2026-05-05 00:49:39 +05:30
harsh mahajan ee6d36f516 Revert "fix: remove databases reads/writes usage tab and clear loaders"
This reverts commit 1f2aab9916.
2026-05-05 00:23:39 +05:30
harsh mahajan 394711b83f fix: correct deployment upload queue state 2026-05-04 20:27:20 +05:30
Harsh Mahajan 777ccd3b71 Merge pull request #2990 from appwrite/fix-ssr-start-command-sites
feat:add SSR start command support for sites
8.1.5
2026-05-04 16:44:09 +05:30
harsh mahajan 33e615d868 fix sites repository create command normalization 2026-05-04 16:37:09 +05:30
harsh mahajan bcfff0e1d4 fix sites deploy start command visibility 2026-05-04 16:30:34 +05:30
harsh mahajan 282efa68f5 format 2026-05-04 16:25:27 +05:30
harsh mahajan a116fd7e03 fix sites settings adapter switching 2026-05-04 16:22:05 +05:30
harsh mahajan 870bf69928 fix sites settings start command sync 2026-05-04 15:45:49 +05:30