Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"clean": "rm -rf node_modules && rm -rf .svelte_kit && bun install",
"dev": "vite dev",
"format": "prettier --write .",
"format": "prettier --write --cache .",
"format:check": "prettier --check .",
"generate:icons": "bun ./src/icons/optimize.js",
"icons:build": "bun ./src/icons/build.js",
Expand Down
4 changes: 3 additions & 1 deletion src/lib/utils/references.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,12 @@ export const serviceMap: Record<ServiceValue, string> = {
};

export const preferredVersion = writable<Version | null>(
globalThis?.localStorage?.getItem('preferredVersion') as Version
browser ? (globalThis?.localStorage?.getItem('preferredVersion') as Version) : null
);

function getInitialPlatform(): Platform {
if (!browser) return Platform.ClientWeb;

const stored = globalThis?.localStorage?.getItem('preferredPlatform') ?? Platform.ClientWeb;
// return if this platform is valid
if (VALID_PLATFORMS.has(stored as Platform)) {
Expand Down
2 changes: 1 addition & 1 deletion src/routes/(marketing)/(components)/pricing.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
<div
class="border-smooth divide-smooth grid min-h-75 w-full grid-cols-1 divide-y divide-dashed rounded-3xl border bg-white/2 backdrop-blur-lg md:grid-cols-2 md:gap-y-12 md:divide-y-0 md:px-4 md:py-8 {gridCols} lg:divide-x"
>
{#each visiblePlans as { name, price, tag: label, subtitle, description, event }}
{#each visiblePlans as { name, price, tag: label, subtitle, description, event }, index (`${name},${label},${index}`)}
{@const isEnterprise = name === 'Enterprise'}
<div class="flex h-full w-full grow flex-col gap-1 px-5 py-5 md:py-0">
<div class="flex items-center gap-2.5">
Expand Down
21 changes: 21 additions & 0 deletions src/routes/changelog/(entries)/2026-01-19.markdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
layout: changelog
title: "Execution logs retention limits per plan"
date: 2026-01-19
---

We've introduced execution logs retention limits to maintain platform sustainability and performance.

Starting today, execution logs for functions and sites will be retained based on your plan:

- **Free plan**: 100 execution logs per function/site
- **Pro plan**: 1,000 execution logs per function/site
- **Enterprise plan**: Custom

These limits apply on a rolling basis - as new logs are created, older logs beyond the limit will be automatically removed.

If you have any questions, please contact us at billing@appwrite.io.

{% arrow_link href="/docs/products/functions" %}
Learn more about Appwrite Functions
{% /arrow_link %}
8 changes: 8 additions & 0 deletions src/routes/pricing/compare-plans.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@
pro: '3.5M / month',
scale: '3.5M / month',
enterprise: 'Custom'
},
{
title: 'Execution logs',
free: '100',
pro: '1000',
scale: 'Unlimited',
enterprise: 'Custom',
info: 'Number of execution logs retained per function/site'
}
]
},
Expand Down