Releases: FujoWebDev/fujocoded-plugins
Release list
@fujocoded/astro-smooth-actions@0.0.1
Patch Changes
-
9fa3df4Thanks @essential-randomness!Initial release of
@fujocoded/astro-smooth-actions, an Astro integration that makes native form Actions use a POST/Redirect/GET flow without client-side JavaScript.This release includes production middleware for storing serialized action results in Astro session storage, restoring them on the redirected page load, clearing short-lived session cookies after use, and falling back to Astro's normal behavior when sessions or action helpers are unavailable.
It also adds
getActionInput()for reading back submitted form fields after a redirect, configurable input storage exclusions, hidden form controls for omitting sensitive fields or whole forms, type injection forAstro.locals.lastAction, runnable Astro 5/6/7 examples, unit tests, and Playwright coverage for the native form flow.
@fujocoded/msw-atproto@0.0.1
What's Changed
- Create msw-atproto package in #45
@fujocoded/astro-atproto-loader@0.2.1
Patch Changes
-
8bd3453: Fixes
0.2.0, which was broken:defineAtProtoCollectionanddefineAtProtoLiveCollectiondidn't return the shape Astro expected, so callers had to wrap them indefineCollection/defineLiveCollectionthemselves. They now return the real Astro collection shape and work as documented.Breaking:
fetchRecord({ atUri })now resolves to{ value, repo }instead of just the record value. Existing callers need to read.value. The newrepofield carries the fetched record's{ did, pds }so it can be passed directly totoHostedBlobwithout re-resolving identity. This is shipped as a patch (and not a minor bump) because0.2.0was only on npm for ~8 hours and is being deprecated alongside this release, so realistically nobody is depending on the oldfetchRecordshape.Also in this release:
- New
toHostedBlob({ repo, blob })for buildingcom.atproto.sync.getBlobURLs, plus theisAtBlobguard and theAtBlobtype. AtProtoRecordReponow includespdsalongsidedid, soargs.repoworks directly withtoHostedBlob.getPds(repo)is exported and shares the identity cache withgetClient.BlobRefandCIDinstances are flattened to{ $link }before being stored, so records with blobs don't break Astro's devalue store.- Added the
04-single-entryexample.
- New
@fujocoded/remark-capitalize-titles@0.1.0
Minor Changes
-
9439b7a: Lowercase the second-and-later segments of a hyphenated compound during title
casing, so output follows AP-style ("Three-way Merges", "Pre-commit Hooks",
"Up-to-date") instead of capitalizing every segment ("Three-Way", "Pre-Commit",
"Up-To-Date"). A segment is kept capitalized when either the full compound or
the individual segment is listed inspecial.This is a breaking change for callers that expected every segment of a
hyphenated word to be capitalized.
Patch Changes
- 9439b7a: Capitalize words correctly when a heading contains curly quotes (as produced by
remark-smartypants). Previously, the upstreamtitlelibrary only recognized
straight quotes as punctuation, so a word following a curly“or’would
stay lowercase. The plugin now converts curly quotes to straight quotes before
title-casing, then restores the original curly characters in the output.
@fujocoded/authproto@0.3.1
Patch Changes
-
7e3f1e7: Fix custom-redirect / referer parsing in the OAuth callback so encoded
redirectandreferervalues are no longer silently dropped on login. -
7e3f1e7: Improve
astro-authprotoREADME and02-read-bsky-profileexample:- Document
sessiondriver setup and full integration config in install steps. - Clarify
applicationDomainshould be the full URL with scheme (e.g.https://example.com, orhttp://127.0.0.1:4321locally). - Add a "Shipping it" production section.
- Update the read-profile example to use
getBlueskyAgentfrom@fujocoded/authproto/helpersinstead of constructingAtpBaseClientdirectly, and fix the avataralt.
- Document
-
7e3f1e7: Use Astro's actual dev server port for the OAuth callback URL in development instead of always assuming
4321. If you runastro dev --port 4322(or setserver.portin your Astro config), Authproto now points OAuth at the right local URL.
@fujocoded/atproto-badges@0.2.0
Minor Changes
- 7e3f1e7: Initial release of
@fujocoded/atproto-badges— ATProto badge attestation utilities for creating, signing, and verifying badges per the badge.blue specification.
@fujocoded/astro-atproto-loader@0.2.0
Minor Changes
-
54edfb5: Rework the loaders for better ergonomics and typing. Featuring breaking changes!atProtoLiveLoader→defineAtProtoLiveCollectionatProtoStaticLoader→defineAtProtoCollection
New capabilities:
- Multi-source pipeline: load from several
repo+collectionpairs in one collection, withvaluediscriminated oncollectioninsidefilter/transform. - Per-source
parseRecordfor$parse-style lexicon validation; failures drop the single record without failing the source. groupBy+ groupedtransformfor merging records across sources under a shared key (e.g. post + reposts).- Shared
fetchRecordhydrator passed to every callback, with per-cycle request deduping. onSourceErrorpolicy ('throw' | 'skip' | fn)limit: number | 'all'andmaxPagesfor explicit pagination control.
@fujocoded/astro-atproto-loader@0.1.1
@fujocoded/astro-atproto-loader
0.1.0
Minor Changes
- 4396993: Introduce
@fujocoded/astro-atproto-loader, a package for loading AtProto PDS
records into Astro collections. It includes bothatProtoLiveLoader()for live
collections andatProtoStaticLoader()for build-time content collections.
0.0.1
Patch Changes
- Initial release of Astro loaders for public AtProto repo records.