Skip to content

Commit d2b96aa

Browse files
chore: release packages 📦
1 parent 4c266d6 commit d2b96aa

3 files changed

Lines changed: 20 additions & 18 deletions

File tree

.changeset/tired-lemons-authorize.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

astro-authproto/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# @fujocoded/authproto
22

3+
## 0.4.0
4+
5+
### Minor Changes
6+
7+
- [#46](https://github.com/FujoWebDev/fujocoded-plugins/pull/46) [`4c266d6`](https://github.com/FujoWebDev/fujocoded-plugins/commit/4c266d66fbe990c6ccbec9a0aeaec67fe92ed375) Thanks [@essential-randomness](https://github.com/essential-randomness)!
8+
9+
Add scoped login controls, an Authorize component for requesting extra
10+
permissions after login, and helpers for building ATProto permission scopes.
11+
12+
## Breaking changes
13+
- Login and logout now default to returning users to the referring page instead
14+
of `/`. Set `redirects.afterLogin` and `redirects.afterLogout` to `/` to keep
15+
the old behavior.
16+
- `<Login />` no longer defaults the input placeholder to `handle.bsky.social`;
17+
pass `placeholder="handle.bsky.social"` if you want that exact prompt.
18+
- `Astro.locals.loggedInUser` now includes a required `scopes` array. Update
19+
tests, mocks, and custom local assignments to include `scopes: []` when no
20+
grants are needed.
21+
322
## 0.3.1
423

524
### Patch Changes

astro-authproto/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fujocoded/authproto",
3-
"version": "0.3.1",
3+
"version": "0.4.0",
44
"description": "Astro integration to easily authenticate your site visitors using ATproto. For Bluesky and beyond.",
55
"keywords": [
66
"astro",

0 commit comments

Comments
 (0)