Repository navigation
PocketOne v0.0.1-alpha.15 #13
benallfree
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Read the announcement on the blog
Install or upgrade
New install on macOS or Linux:
That's Homebrew; the formula comes from pocketonehq/homebrew-tap.
New install on Windows:
That's Scoop; the manifest comes from pocketonehq/scoop-bucket. To install without Scoop, see Windows without Scoop.
Without Homebrew, on macOS or Linux:
curl -fsSL https://pocketone.dev/install.sh | shOn Linux it installs the
.deb,.rpmor.apkpackage below for your system, which adds a systemd service (Run PocketOne on a Linux server covers setting it up); on macOS it putspocketonein/usr/local/bin.Upgrade:
brew update && brew upgrade pocketonebrew updaterefreshes the tap first: Homebrew does that on its own only once a day, so a plainbrew upgradecan miss a release that's hours old.On Windows with Scoop,
scoop update pocketone. If you used the install script (or a Linux package), run the script again. Otherwise, runpocketone upgrade(it keeps the old executable aspocketone-<version>,pocketone-<version>.exeon Windows) or download the zip below. Check the Upgrading section below, if this release has one, before you upgrade.What's in this release
Highlights
$billingin page code. Billing and its processors are community extensions, added in a custom build (Add Billing to your app).app.WithContext(ctx), and an OAuth2 sign-in that finishes from a different IP gets a confirmation page instead of an error. Custom Go builds have a few renames (Upgrading, below).new TimeoutContext(seconds)andnew CancelContext()stop work early in$app.withContext(ctx),fn.async(ctx, ...),$llm.withContext(ctx)and$wasm.withContext(ctx). They replaceAbortController,AbortSignalandasyncWith, which are gone (JSVM, LLM).Upgrading
app.WithContext(ctx). Rewriteapp.SaveWithContext(ctx, m)asapp.WithContext(ctx).Save(m)(likewiseDelete,Validate, theAux*and*NoValidatevariants),app.CreateBackup(ctx, name)/app.RestoreBackup(ctx, name)asapp.WithContext(ctx).CreateBackup(name)/.RestoreBackup(name), and reade.App.Context()where a model, record, collection or backup hook usede.Context. Field, validator and interceptor methods lose theirctxargument. The full list is in CHANGELOG.pocketbase.md.Fixed
pocketone --versionand-vprint the version without readingpocketone.yamlor its.env, so a config that doesn't load (a$VARthat isn't set, an unknown section) no longer stops them. This also fixes builds onbinary.Main, such aspockethost --version.Extensions
PocketBase
app.Context()andapp.WithContext(ctx), a confirmation page instead of an error when an all-in-one OAuth2 sign-in finishes from a different IP, and a JOIN alias delimiter that can't collide with collection or field names.This discussion was created from the release PocketOne v0.0.1-alpha.15.
All reactions