v1.0.0 Beta 2
·
1277 commits
to main
since this release
This release contains a number of bug fixes for the syndication endpoint, and a number of smaller fixes to the frontend code. Here are the highlights:
- Use a shared secret for your Netlify webhook: Wheres before you would include your server’s access token in the URL to notify (and update it after it had expired), you can now use a shared secret instead. Set a
WEBHOOK_SECRETenvironment variable for your Indiekit server, and use the same value for ‘JWS secret token’ on Netlify. - Customise character length for posts syndicated to Mastodon: This was previously hard coded to 500, but this value can now be altered using the
characterLimitoption. See the plug-in documentation. - Use asynchronous post template: Some content store plug-ins would error if you tried to return an asynchronous post template function. These are now officially supported.
- Debugging: Using the
-d/--debugflag onindiekit servewas not working. This has now been fixed. - Edit post slug: A regression in the last release meant it was not possible to add a custom slug when creating a new post from the web interface. This has now been fixed.
💟 Indiekit is supported by its community. This release was sponsored by @roobottom, @localazy and @sentience.
Features
- endpoint-micropub: allow async postTemplate method. fixes #562 (8e19a05)
- endpoint-syndicate: support multiple methods of supplying a token (f0aab70)
- frontend: container utility (47a979b)
- frontend:
itemIdglobal (7bf85bc) - frontend:
linkTofilter (b7c3f18) - frontend: option to disable auto focus on notification banner (797fb8b)
- frontend: token input component macro (68e7de6)
- syndicator-mastodon: character limit option. fixes #572 (8c026cd)
Bug Fixes
- endpoint-files: absolute hrefs for action links (19e32a1)
- endpoint-micropub: don’t linkify incoming context text (7128915)
- endpoint-micropub: only convert content when necessary (d2db706)
- endpoint-posts: absolute hrefs for action links (8274ed4)
- endpoint-syndicate: don’t syndicate posts that have already been syndicated (711f61a)
- endpoint-syndicate: prevent repeated syndication (0e185d4)
- frontend: don’t return attributes with falsy values (37e15d5)
- frontend: flow relative values not widely supported (9b7c7dc)
- frontend: prevent img overflowing container (71f2856)
- indiekit: enable debugging when debug flag set (ab00b34)
- indiekit: use string not boolean to indicate current navigation item (8777bd0)
- update syndication endpoint params. fixes #567 (f7fc748)