> Canonical URL: https://codingcat.dev/post/firebase-hosting-version-settings

# Firebase Hosting Version Settings

✏️ Blog PostAugust 22, 2019[![](/logos/firebase/firebase-symbol.png)![](/logos/firebase/firebase-symbol.png)Firebase](/topic/firebase)[AI & MCP Agents](/topic/ai)

# Firebase Hosting Version Settings

![CodingCat.dev tutorial cover image](https://cdn.sanity.io/media-libraries/mlttp0BZbCpV/images/82ca2d5baaf3e0a4898b9697f661ffbe771d7003-1920x1080.png?w=1920&q=82&fit=max&auto=format)[![Alex Patterson](https://cdn.sanity.io/media-libraries/mlttp0BZbCpV/images/a606dfaa381aab08ddbe16a33fe1d3e1fb37c927-400x400.jpg?w=96&h=96&q=82&fit=max&auto=format)Alex Patterson](/author/alex-patterson)▶ Watch on @CodingCatDev YouTube

## Watch the Related Video Deep Dive: 3,000 AI Images for $1: Dockerless Serverless GPUs in TypeScript

Watch the full architecture walkthrough and TypeScript implementation on the @CodingCatDev YouTube channel.

![](https://i.ytimg.com/vi/7d6iJHEPMZI/maxresdefault.jpg)[@CodingCatDev62.5K / 100K Subscribers Goal](https://www.youtube.com/@codingcatdev?sub_confirmation=1)[Subscribe on YouTube→](https://www.youtube.com/@codingcatdev?sub_confirmation=1)[Watch on YouTube App ↗](https://www.youtube.com/watch?v=7d6iJHEPMZI&list=UUnKZ8gEb78zXKMi1ns-IQ2g)✏️ Visual Architecture Diagram

## how this post connects together.

Follow AJ from first principles to production-ready architecture.

Let’s build it!✏️ Visual Diagram: Firebase Hosting Version Settings✓ Good PatternVISUAL DIAGRAM[Diagram Walkthrough]Step-by-step diagram breakdown for Firebase Hosting Version Settings: start with Firebase Hosting Versi, implement Hands-On Implementation, and ship to production.AAA Contrast Verified

If you start to get that feeling like "Why am I getting billed for this tiny app" from Firebase, then this blog is for you!

## Dashboard

If you project is currently using hosting, you should see your dashboard as soon as you enter your project. You can either click on your last deployment history or go to Hosting in the menu.

![](https://cdn.sanity.io/media-libraries/mlttp0BZbCpV/images/391ee6f0a652e70f237c91317f88201e3fec0046-2646x1714.png?w=1600&q=82&fit=max&auto=format)

## Hosting Usage

You may see multiple sites that you are currently hosting in this screen. For now lets switch over to the Usage tab. You should see a chart listed year of you trending stored bytes. In my graphy this shows a recent trendline upward (as I have been deploying a lot).

![](https://cdn.sanity.io/media-libraries/mlttp0BZbCpV/images/3ca927230e695d72b356ccf6225ad10aeefcee05-2102x1298.png?w=1600&q=82&fit=max&auto=format)

If this type of storage trend where to continue I would eventually break into the 1GB limit for storage on this site, now granted for my 5MB it would take a great deal of time.

![](https://cdn.sanity.io/media-libraries/mlttp0BZbCpV/images/f49958cdff0f5d551fba442a8f546481441bed35-2056x564.png?w=1600&q=82&fit=max&auto=format)

## Updating Version

If you have multiple domains select View on the one that you want to change. Once you are in the Manage site area, you will see all of your domains at the top then the release history at the bottom.

![](https://cdn.sanity.io/media-libraries/mlttp0BZbCpV/images/fa7608abcdd370e32eafbf7bd84fedcad8f01159-2040x1632.png?w=1600&q=82&fit=max&auto=format)

It is in the Release History section that you will be able to select Version history settings, from the hamburger menu.

![](https://cdn.sanity.io/media-libraries/mlttp0BZbCpV/images/55a2101b7e16246adbbc92d39a2bf2d2b22df497-1264x438.jpg?w=1264&q=82&fit=max&auto=format)

When you get the modal screen to change the versions, you will see based on your selection the estimated storage. If you have several (in my case 100's) of versions stored you will notice that a background job is kicked off that will mark your old versions for deletion.

![](https://cdn.sanity.io/media-libraries/mlttp0BZbCpV/images/ecf5ddbce7cb72b33d363ede4bd64db9fbca0eb8-1052x626.jpg?w=1052&q=82&fit=max&auto=format)

Once the delete action has finished you will notice that your older deployments will have an `Auto deleted` indicator.

![](https://cdn.sanity.io/media-libraries/mlttp0BZbCpV/images/f0d3ce8c2d05cdb839d24f29f4e03b93595a097d-1906x1578.png?w=1600&q=82&fit=max&auto=format)

## REST Service

You can also automate this process if you are not into the Admin GUI through the [Firebase Hosting API](https://firebase.google.com/docs/hosting/reference/rest/v1beta1/sites.versions/delete).

### Shell script

Copied! 🐾

```
#!/bin/bash set -eo pipefail echo "Deleting existing hosting releases" SITE=$1 echo "Site: $SITE" HEADER_AUTH="Authorization: Bearer "$(gcloud auth application-default print-access-token)""; PAGE_TOKEN= FIRST=true while : do echo "Fetching releases for $PAGE_TOKEN" RELEASES=$( \ curl \ -sS \ -H "$HEADER_AUTH" \ "https://firebasehosting.googleapis.com/v1beta1/sites/$SITE/releases?pageToken=$PAGE_TOKEN&pageSize=25" \ ) for RELEASE_ID in $(echo $RELEASES | jq '.releases | keys[]') do VERSION_NAME=$(echo $RELEASES | jq --raw-output ".releases[$RELEASE_ID].version.name") MESSAGE=$(echo $RELEASES | jq --raw-output ".releases[$RELEASE_ID].message") VERSION_STATUS=$(echo $RELEASES | jq --raw-output ".releases[$RELEASE_ID].version.status") if [ "$VERSION_STATUS" == "FINALIZED" ] && [ "$FIRST" == false ] then echo "Deleting release $MESSAGE ($VERSION_NAME)"; curl \ -sS \ -X DELETE \ -H "$HEADER_AUTH" \ "https://firebasehosting.googleapis.com/v1beta1/$VERSION_NAME" fi FIRST=false done if [ $(echo $RELEASES | jq --raw-output '.nextPageToken') == "null" ] then exit 0 fi PAGE_TOKEN=$(echo $RELEASES | jq --raw-output '.nextPageToken') sleep 1s done
```

## Resources, Links & Official Documentation

- [**Firebase Documentation:**](https://firebase.google.com/docs) Firestore, Data Connect, Authentication, App Check, and Cloud Functions

## Related CodingCat.dev Tutorials & Podcast Episodes

- [**App Hosting has in-console environment variables and faster builds in Firebase: Web Architecture & Implementation Guide**](/post/firebase-2026-03-apphosting-march-update): Hands-on web engineering breakdown of "App Hosting has in-console environment variables and faster builds" (2026-03-12). Learn how to integrate Firebase, Google...
- [**App Hosting adds support for Turborepo in Firebase: Web Architecture & Implementation Guide**](/post/firebase-2026-01-apphosting-turborepo): Hands-on web engineering breakdown of "App Hosting adds support for Turborepo" (2026-01-08). Learn how to integrate Firebase, Google Cloud, Web Dev, Next.js in ...
- [**3 pro tips to elevate your Firebase skills in the Firebase console: Web Architecture & Implementation Guide**](/post/firebase-2025-09-console-pro-tips): Hands-on web engineering breakdown of "3 pro tips to elevate your Firebase skills in the Firebase console" (2025-09-12). Learn how to integrate Firebase, Google...

## Frequently Asked Questions (FAQ)

### What are the main takeaways from Firebase Hosting Version Settings?

Set your version history for firebase hosting, to avoid storage costs. Firebase Hosting Version Settings explores practical patterns for Firebase in modern software engineering. Throughout this post, Alex Patterson breaks down real-world implementation details for Firebase so developers can apply these patterns directly in production.

### How do you implement Firebase best practices in production?

When adopting Firebase in a production stack, start by validating your configuration against the [**Firebase Documentation**](https://firebase.google.com/docs) (Firestore, Data Connect, Authentication, App Check, and Cloud Functions). Focus on incremental adoption, automated testing, and observability so your team can measure performance and developer velocity improvements at each stage.

### Where can I watch the full Firebase Hosting Version Settings walkthrough and find related code resources?

You can explore the complete write-up and code examples right here on CodingCat.dev, and subscribe to the [**CodingCat.dev YouTube channel**](https://www.youtube.com/@CodingCatDev?sub_confirmation=1) for weekly video tutorials. For a deeper dive into Firebase, check out our related guide: [**App Hosting has in-console environment variables and faster builds in Firebase: Web Architecture & Implementation Guide**](/post/firebase-2026-03-apphosting-march-update).

## recent blog posts.

[All Blog Posts&rarr;](/blog)[![The Heads of AI wearing black company logo t-shirts and shaking hands in a circular web of cloud and GPU investments](https://cdn.sanity.io/media-libraries/mlttp0BZbCpV/images/d1d83d596ce5899d797cd3aaf1bd0142038f282a-1376x768.jpg?w=1376&q=82&fit=max&auto=format)](/post/anthropic-s1-ipo-circular-ai-economy-etf-risk)October 26, 2026[![](/logos/amplify/amplify.svg)![](/logos/amplify/amplify.svg)AWS Amplify](/topic/amplify)[AI & MCP Agents](/topic/ai)

### [Anthropic's S-1, $518B in cloud commitments, and circular AI capex](/post/anthropic-s1-ipo-circular-ai-economy-etf-risk)

Anthropic just filed its Form S-1 for a Nasdaq IPO under ticker ANT, revealing $518B in take-or-pay cloud commitments to Google, AWS, and Microsoft. Here is how Mark Zuckerberg, Elon Musk, Jensen Huang, Sundar Pichai, Satya Nadella, Tim Cook, and Dario Amodei built a circular revenue machine, and what happens to your S&P 500 ETF if it stalls.

[![Alex Patterson](https://cdn.sanity.io/media-libraries/mlttp0BZbCpV/images/a606dfaa381aab08ddbe16a33fe1d3e1fb37c927-400x400.jpg?w=96&h=96&q=82&fit=max&auto=format)Alex Patterson](/author/alex-patterson)[![PHP2Shell (CVE-2026-109618): How AI Found a Decade-Old Bug in 70% of the Web](https://cdn.sanity.io/media-libraries/mlttp0BZbCpV/images/e83065d0a4e2f841ce64d3f4aea8ddbbf07e5cb9-1376x768.jpg?w=1376&q=82&fit=max&auto=format)](/post/php2shell-cve-2026-109618-ai-php-security-scramble)October 22, 2026[![](/logos/amplify/amplify.svg)![](/logos/amplify/amplify.svg)AWS Amplify](/topic/amplify)[AI & MCP Agents](/topic/ai)

### [PHP2Shell (CVE-2026-109618): How AI Found a Decade-Old Bug in 70% of the Web](/post/php2shell-cve-2026-109618-ai-php-security-scramble)

Two critical pre-authentication RCE flaws in PHP (CVE-2026-109618 and CVE-2026-109619), uncovered by AI models from OpenAI and Google Gemini, sparked a global patching scramble across 70% of the web. Here is how PHP2Shell works and how to patch your servers.

[![Alex Patterson](https://cdn.sanity.io/media-libraries/mlttp0BZbCpV/images/a606dfaa381aab08ddbe16a33fe1d3e1fb37c927-400x400.jpg?w=96&h=96&q=82&fit=max&auto=format)Alex Patterson](/author/alex-patterson)