From d5e850041ee751b236a20ad0ffb66ce2f6ea3be7 Mon Sep 17 00:00:00 2001 From: Ben Allfree Date: Tue, 22 Jul 2025 08:47:09 -0700 Subject: [PATCH] v2.3.0 --- .changeset/blog-feature.md | 5 - .changeset/breezy-pans-move.md | 5 - .changeset/bug-fixes-collection.md | 5 - .changeset/console-logger-improvements.md | 5 - .changeset/custom-domains-automation.md | 5 - .changeset/dashboard-ui-enhancements.md | 5 - .changeset/happy-poets-wait.md | 5 - .changeset/health-check-fixes.md | 5 - .changeset/instance-handling-improvements.md | 5 - .changeset/logging-and-debugging.md | 5 - .changeset/mothership-mirror-service.md | 5 - .changeset/paywall-implementation.md | 5 - .changeset/subscription-management.md | 5 - .changeset/tooling-and-dependencies.md | 5 - .changeset/version-and-deployment.md | 5 - .changeset/webhooks-feature.md | 5 - .../src/routes/(static)/blog/+layout.svelte | 131 +++++++++++++++- .../src/routes/(static)/blog/+page.md | 9 -- .../src/routes/(static)/blog/+page.svelte | 141 ++++++++++++++++++ .../blog/custom-domains-automation/+page.md | 5 + .../blog/mothership-mirror-service/+page.md | 9 ++ .../blog/pockethost-2-3-0-release/+page.md | 24 +++ .../dashboard/src/routes/(static)/blog/toc.ts | 16 ++ .../(static)/blog/webhooks-launch/+page.md | 11 ++ packages/pockethost/CHANGELOG.md | 27 ++++ packages/pockethost/package.json | 2 +- 26 files changed, 362 insertions(+), 93 deletions(-) delete mode 100644 .changeset/blog-feature.md delete mode 100644 .changeset/breezy-pans-move.md delete mode 100644 .changeset/bug-fixes-collection.md delete mode 100644 .changeset/console-logger-improvements.md delete mode 100644 .changeset/custom-domains-automation.md delete mode 100644 .changeset/dashboard-ui-enhancements.md delete mode 100644 .changeset/happy-poets-wait.md delete mode 100644 .changeset/health-check-fixes.md delete mode 100644 .changeset/instance-handling-improvements.md delete mode 100644 .changeset/logging-and-debugging.md delete mode 100644 .changeset/mothership-mirror-service.md delete mode 100644 .changeset/paywall-implementation.md delete mode 100644 .changeset/subscription-management.md delete mode 100644 .changeset/tooling-and-dependencies.md delete mode 100644 .changeset/version-and-deployment.md delete mode 100644 .changeset/webhooks-feature.md delete mode 100644 packages/dashboard/src/routes/(static)/blog/+page.md create mode 100644 packages/dashboard/src/routes/(static)/blog/+page.svelte create mode 100644 packages/dashboard/src/routes/(static)/blog/custom-domains-automation/+page.md create mode 100644 packages/dashboard/src/routes/(static)/blog/mothership-mirror-service/+page.md create mode 100644 packages/dashboard/src/routes/(static)/blog/pockethost-2-3-0-release/+page.md create mode 100644 packages/dashboard/src/routes/(static)/blog/webhooks-launch/+page.md diff --git a/.changeset/blog-feature.md b/.changeset/blog-feature.md deleted file mode 100644 index 50f27c32..00000000 --- a/.changeset/blog-feature.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'pockethost': minor ---- - -Add blog functionality with dynamic promo banner integration and content management features diff --git a/.changeset/breezy-pans-move.md b/.changeset/breezy-pans-move.md deleted file mode 100644 index 53cf2e32..00000000 --- a/.changeset/breezy-pans-move.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'pockethost': patch ---- - -Add db migration support for multiple custom domains per instance diff --git a/.changeset/bug-fixes-collection.md b/.changeset/bug-fixes-collection.md deleted file mode 100644 index 51a039be..00000000 --- a/.changeset/bug-fixes-collection.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'pockethost': patch ---- - -Fix various issues including empty instance name validation, blog link typos, avatar digest errors, promo banner links, and delete button functionality diff --git a/.changeset/console-logger-improvements.md b/.changeset/console-logger-improvements.md deleted file mode 100644 index b6fdbc1b..00000000 --- a/.changeset/console-logger-improvements.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'pockethost': patch ---- - -Improve console logger browser compatibility and optimize breadcrumb handling for better debugging diff --git a/.changeset/custom-domains-automation.md b/.changeset/custom-domains-automation.md deleted file mode 100644 index 4243071d..00000000 --- a/.changeset/custom-domains-automation.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'pockethost': minor ---- - -Implement automated custom domains with Cloudflare integration and multiple domain support per instance diff --git a/.changeset/dashboard-ui-enhancements.md b/.changeset/dashboard-ui-enhancements.md deleted file mode 100644 index c6b07448..00000000 --- a/.changeset/dashboard-ui-enhancements.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'pockethost': minor ---- - -Enhance dashboard UI with improved layout constraints, instance title cosmetics, user subscription logging, and subdomain text truncation diff --git a/.changeset/happy-poets-wait.md b/.changeset/happy-poets-wait.md deleted file mode 100644 index 120216c0..00000000 --- a/.changeset/happy-poets-wait.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'pockethost': patch ---- - -update MOTHERSHIP_URL formatting to include subdomain and trim path segments diff --git a/.changeset/health-check-fixes.md b/.changeset/health-check-fixes.md deleted file mode 100644 index 61624ff6..00000000 --- a/.changeset/health-check-fixes.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'pockethost': patch ---- - -Fix firewall health check endpoints and improve HTTP status code responses for better monitoring diff --git a/.changeset/instance-handling-improvements.md b/.changeset/instance-handling-improvements.md deleted file mode 100644 index 2268696e..00000000 --- a/.changeset/instance-handling-improvements.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'pockethost': patch ---- - -Improve instance shutdown handling, add HandleInstanceResolve API, and enhance Docker container startup timing diff --git a/.changeset/logging-and-debugging.md b/.changeset/logging-and-debugging.md deleted file mode 100644 index 95d47df2..00000000 --- a/.changeset/logging-and-debugging.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'pockethost': patch ---- - -Improve logging consistency across services, enhance error messaging, and add container launch timing for better debugging diff --git a/.changeset/mothership-mirror-service.md b/.changeset/mothership-mirror-service.md deleted file mode 100644 index b0744078..00000000 --- a/.changeset/mothership-mirror-service.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'pockethost': minor ---- - -Add MothershipMirrorService with event handlers for improved data synchronization diff --git a/.changeset/paywall-implementation.md b/.changeset/paywall-implementation.md deleted file mode 100644 index f38e37d2..00000000 --- a/.changeset/paywall-implementation.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'pockethost': major ---- - -Implement hard paywall system with subscription management, billing integration, and user access controls diff --git a/.changeset/subscription-management.md b/.changeset/subscription-management.md deleted file mode 100644 index 7602109e..00000000 --- a/.changeset/subscription-management.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'pockethost': minor ---- - -Add subscription quantity management, billing integration improvements, and enhanced user account controls with suspension support diff --git a/.changeset/tooling-and-dependencies.md b/.changeset/tooling-and-dependencies.md deleted file mode 100644 index 176d3c7d..00000000 --- a/.changeset/tooling-and-dependencies.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'pockethost': patch ---- - -Migrate to tsx for CLI execution, remove winston logging, update to SvelteKit 3 and Vite 6, and improve build tooling diff --git a/.changeset/version-and-deployment.md b/.changeset/version-and-deployment.md deleted file mode 100644 index 5a84fdf7..00000000 --- a/.changeset/version-and-deployment.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'pockethost': patch ---- - -Update supported PocketBase versions, improve package hashes, and enhance deployment workflow with Wrangler integration diff --git a/.changeset/webhooks-feature.md b/.changeset/webhooks-feature.md deleted file mode 100644 index e8343505..00000000 --- a/.changeset/webhooks-feature.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'pockethost': minor ---- - -Add webhooks support to PocketHost for scheduled and event-driven operations diff --git a/packages/dashboard/src/routes/(static)/blog/+layout.svelte b/packages/dashboard/src/routes/(static)/blog/+layout.svelte index 6be704c4..8fb427e0 100644 --- a/packages/dashboard/src/routes/(static)/blog/+layout.svelte +++ b/packages/dashboard/src/routes/(static)/blog/+layout.svelte @@ -1,4 +1,129 @@ -
-

Bloggin Since 2025

- + + +
+ {#if !isIndexPage} + +
+
+
+ + + Back to Blog + + +
+ + + + / + Blog + / + Current Post +
+
+ + +
+
+ + + +
+
+

PocketHost Blog

+

Latest updates and insights

+
+
+
+
+ + +
+
+ +
+ + +
+
+ + +
+

+ Have questions? Join our Discord +

+
+
+
+
+ {:else} + + + {/if}
+ + diff --git a/packages/dashboard/src/routes/(static)/blog/+page.md b/packages/dashboard/src/routes/(static)/blog/+page.md deleted file mode 100644 index ea253cb3..00000000 --- a/packages/dashboard/src/routes/(static)/blog/+page.md +++ /dev/null @@ -1,9 +0,0 @@ - - -{#each toc as item} - -## [{item.title}]({item.path}) - -{/each} diff --git a/packages/dashboard/src/routes/(static)/blog/+page.svelte b/packages/dashboard/src/routes/(static)/blog/+page.svelte new file mode 100644 index 00000000..237e2e49 --- /dev/null +++ b/packages/dashboard/src/routes/(static)/blog/+page.svelte @@ -0,0 +1,141 @@ + + + + Blog - PocketHost + + + +
+
+

+ Latest from PocketHost +

+

+ Stay updated with new features, platform improvements, and insights from the PocketHost team. +

+
+ + + + +
+

Stay in the Loop

+

+ Join our Discord community to get the latest updates and connect with other PocketHost users. +

+ + Join Discord Community + + + + +
+
+ + diff --git a/packages/dashboard/src/routes/(static)/blog/custom-domains-automation/+page.md b/packages/dashboard/src/routes/(static)/blog/custom-domains-automation/+page.md new file mode 100644 index 00000000..6b6587c0 --- /dev/null +++ b/packages/dashboard/src/routes/(static)/blog/custom-domains-automation/+page.md @@ -0,0 +1,5 @@ +## Automated Custom Domains with Cloudflare + +_[@cap'n](https://discord.gg/nVTxCMEcGT) Jul 19, 2025_ + +Custom domains are out of beta and now fully automated. No more having to check with me to get custom domains approved. We're using Cloudflare's `HTTP validation` which typically takes seconds to provision and verify a custom domain. All you have to do is add a CNAME entry on your side. diff --git a/packages/dashboard/src/routes/(static)/blog/mothership-mirror-service/+page.md b/packages/dashboard/src/routes/(static)/blog/mothership-mirror-service/+page.md new file mode 100644 index 00000000..0d9408e1 --- /dev/null +++ b/packages/dashboard/src/routes/(static)/blog/mothership-mirror-service/+page.md @@ -0,0 +1,9 @@ +## Enhanced Data Synchronization with MothershipMirrorService + +_[@cap'n](https://discord.gg/nVTxCMEcGT) Jul 21, 2025_ + +PocketHost now has a `Mothership Mirror Service` that runs on the edge. It grabs all the instance and user records and caches them in memory. Then, it uses PocketBase's realtime SSE feature (live link to Mothership) to receive updates. + +The result is that PocketHost edges now stay completely up to date with the Mothership without having to make any queries to it. This improves performance significantly because lookups happen locally in memory. + +This improvement also positions us to begin adding more edge nodes, allowing PocketHost to expand beyond a single VPS. diff --git a/packages/dashboard/src/routes/(static)/blog/pockethost-2-3-0-release/+page.md b/packages/dashboard/src/routes/(static)/blog/pockethost-2-3-0-release/+page.md new file mode 100644 index 00000000..799513fc --- /dev/null +++ b/packages/dashboard/src/routes/(static)/blog/pockethost-2-3-0-release/+page.md @@ -0,0 +1,24 @@ +## PocketHost 2.3.0 + +_[@cap'n](https://discord.gg/nVTxCMEcGT) Jul 22, 2025_ + +### Minor Changes + +- b03fa83: Add blog functionality with dynamic promo banner integration and content management features +- b03fa83: Implement automated custom domains with Cloudflare integration and multiple domain support per instance +- b03fa83: Enhance dashboard UI with improved layout constraints, instance title cosmetics, user subscription logging, and subdomain text truncation +- b03fa83: Add MothershipMirrorService with event handlers for improved data synchronization +- b03fa83: Add subscription quantity management, billing integration improvements, and enhanced user account controls with suspension support +- b03fa83: Add webhooks support to PocketHost for scheduled and event-driven operations + +### Patch Changes + +- 60307e6: Add db migration support for multiple custom domains per instance +- b03fa83: Fix various issues including empty instance name validation, blog link typos, avatar digest errors, promo banner links, and delete button functionality +- b03fa83: Improve console logger browser compatibility and optimize breadcrumb handling for better debugging +- 1e02cb4: update MOTHERSHIP_URL formatting to include subdomain and trim path segments +- b03fa83: Fix firewall health check endpoints and improve HTTP status code responses for better monitoring +- b03fa83: Improve instance shutdown handling, add HandleInstanceResolve API, and enhance Docker container startup timing +- b03fa83: Improve logging consistency across services, enhance error messaging, and add container launch timing for better debugging +- b03fa83: Migrate to tsx for CLI execution, remove winston logging, and improve build tooling +- b03fa83: Update supported PocketBase versions, improve package hashes, and enhance deployment workflow with Wrangler integration diff --git a/packages/dashboard/src/routes/(static)/blog/toc.ts b/packages/dashboard/src/routes/(static)/blog/toc.ts index a84e8e17..a366b613 100644 --- a/packages/dashboard/src/routes/(static)/blog/toc.ts +++ b/packages/dashboard/src/routes/(static)/blog/toc.ts @@ -1,4 +1,20 @@ export const toc = [ + { + title: 'PocketHost 2.3.0', + path: '/blog/pockethost-2-3-0-release', + }, + { + title: 'Webhooks Support is Here', + path: '/blog/webhooks-launch', + }, + { + title: 'Enhanced Data Synchronization with MothershipMirrorService', + path: '/blog/mothership-mirror-service', + }, + { + title: 'Automated Custom Domains with Cloudflare', + path: '/blog/custom-domains-automation', + }, { title: 'Building a Realtime Game: Kingdom', path: '/blog/kingdom', diff --git a/packages/dashboard/src/routes/(static)/blog/webhooks-launch/+page.md b/packages/dashboard/src/routes/(static)/blog/webhooks-launch/+page.md new file mode 100644 index 00000000..ba498025 --- /dev/null +++ b/packages/dashboard/src/routes/(static)/blog/webhooks-launch/+page.md @@ -0,0 +1,11 @@ +## Webhooks Support is Here + +_[@cap'n](https://discord.gg/nVTxCMEcGT) Jul 22, 2025_ + +We've just launched webhooks support for PocketHost! This is a game-changer for anyone who needs scheduled operations or event-driven workflows with their PocketBase instances. + +Previously, PocketBase's [job scheduling](https://pocketbase.io/docs/js-jobs-scheduling/) wouldn't work reliably on PocketHost because we hibernate inactive instances. + +While the inbuilt job scheduling is still affected by hibernation, now you can add custom API endpoints and call them via our cron-based webhooks. Whatever you could do with the inbuilt PocketBase job scheduling can now be handled with webhooks instead. + +Check it out in the dashboard today! diff --git a/packages/pockethost/CHANGELOG.md b/packages/pockethost/CHANGELOG.md index 0b22ba46..7e7f14c1 100644 --- a/packages/pockethost/CHANGELOG.md +++ b/packages/pockethost/CHANGELOG.md @@ -1,5 +1,32 @@ # pockethost +## 3.0.0 + +### Major Changes + +- b03fa83: Implement hard paywall system with subscription management, billing integration, and user access controls + +### Minor Changes + +- b03fa83: Add blog functionality with dynamic promo banner integration and content management features +- b03fa83: Implement automated custom domains with Cloudflare integration and multiple domain support per instance +- b03fa83: Enhance dashboard UI with improved layout constraints, instance title cosmetics, user subscription logging, and subdomain text truncation +- b03fa83: Add MothershipMirrorService with event handlers for improved data synchronization +- b03fa83: Add subscription quantity management, billing integration improvements, and enhanced user account controls with suspension support +- b03fa83: Add webhooks support to PocketHost for scheduled and event-driven operations + +### Patch Changes + +- 60307e6: Add db migration support for multiple custom domains per instance +- b03fa83: Fix various issues including empty instance name validation, blog link typos, avatar digest errors, promo banner links, and delete button functionality +- b03fa83: Improve console logger browser compatibility and optimize breadcrumb handling for better debugging +- 1e02cb4: update MOTHERSHIP_URL formatting to include subdomain and trim path segments +- b03fa83: Fix firewall health check endpoints and improve HTTP status code responses for better monitoring +- b03fa83: Improve instance shutdown handling, add HandleInstanceResolve API, and enhance Docker container startup timing +- b03fa83: Improve logging consistency across services, enhance error messaging, and add container launch timing for better debugging +- b03fa83: Migrate to tsx for CLI execution, remove winston logging, and improve build tooling +- b03fa83: Update supported PocketBase versions, improve package hashes, and enhance deployment workflow with Wrangler integration + ## 2.2.0 ### Minor Changes diff --git a/packages/pockethost/package.json b/packages/pockethost/package.json index 563593ce..2f0200a9 100644 --- a/packages/pockethost/package.json +++ b/packages/pockethost/package.json @@ -1,6 +1,6 @@ { "name": "pockethost", - "version": "2.2.0", + "version": "2.3.0", "author": { "name": "Ben Allfree", "url": "https://github.com/benallfree"