版本发布 8
## What's Changed * design: make the signup page look slightly less atrocious * feat: add keyword and URL filtering for posts by @Kehet and @Xyphyn in https://github.com/Xyphyn/photon/pull/711 * only for posts for now, by default it will minimize the post in your feed to let you know it was hidden while still being unobtrusive. if you want to completely hide them, that's still an option * feat: automatically retrieve cross-server content * previously this would require an extra button press. this is much more transparent * also this makes photon links a lot better for sharing with frens * feat: completely rewrite the api adapters to not be absymal trash * if an employer saw that i wrote the old api adapter i would be fired on the spot * fix: Missing escaped text by @sevonj in https://github.com/Xyphyn/photon/pull/706 * upgrade: svelte -> 5.49.1, sveltekit -> 2.50.1, vite -> 6.4.1, tailwindcss -> 4.1.18 * misc: improve settings reachability by making a categorized page on mobile * design: make button presses react more frequently to just make things feel nicer * refactor: authentication logic * fix: remove useless sveltekit __data.json blocking calls, speed up navigation within layouts ## New Contributors * @Kehet made their first contribution in https://github.com/Xyphyn/photon/pull/711 **Full Changelog**: https://github.com/Xyphyn/photon/compare/v2.2.2...v2.3.0
- design: use common components for administration pages - design: use common styles for vote buttons - impr: add proper pageination to messages page, fix diffing desync - feat: add autosubmit to URL autofill - design: use Materials for highlights in comments - fix: piefed poll vote api schema changes - fix: markdown tables re-enable - feat: add custom thumbnail option to PostForm - feat: add piefed metadata generation - design: redesign the profile block pages to not look awful - fix: post polls causing a scroll to top - feat: make comment guide borders clickable to collapse (like reddit) - misc: skip client validation for linked instances **Full Changelog**: https://github.com/Xyphyn/photon/compare/v2.2.1...v2.2.2
**Full Changelog**: https://github.com/Xyphyn/photon/compare/v2.1.1...v2.2.0-rc.1
## What's Changed * design: improve media embeds design * fix: media autoplaying when opening a post * design: make error containers not look awful * design: make big community cards not look awful (and make them fully clickable) * fix: unnavigatable search options in command palette * fix: strange crash with site information update, causing post list to not update * fix: strip leading https:// from logging in, to prevent weird problems * fix: incorrect shadows for commentitems * fix: infinitely loading edit modal **Full Changelog**: https://github.com/Xyphyn/photon/compare/v2.1.0...main
- fix: intermediate env value undefined error
## What's Changed * feat: add a static site option by @Xyphyn in https://github.com/Xyphyn/photon/pull/622 * design: improve comment experience by @Xyphyn in https://github.com/Xyphyn/photon/pull/623 * better spacing, and separation, as well as easier and more readable font size * perf: optimize bundle size by @Xyphyn in https://github.com/Xyphyn/photon/pull/627 * stuff is now more dynamically loaded which should improve load speed * other misc performance improvements * security: add a content security policy * misc: add a User-Agent for API requests * design: use a unified common list component * misc: use gradients for placeholder avatars * I use placeholder avatars a lot since it's easier to distinguish users based on color/shape rather than username, and this makes it even easier to distinguish * feat: add a vote ratio bar option * when enabled, if a post is more controversial, a bar will be overlayed behind it to visualize it * feat: browse communities of specific instances * the available instances are only that you have accounts/guests on as i consider them "trusted" * feat: add an SSG adapter * admins can build the app with `ADAPTER=static` and then a `build` folder will be generated with just the shell. There will be no server side rendering available with this. * i18n: sync translations with weblate * Bulgarian: salif * Polish: gapetto **Full Changelog**: https://github.com/Xyphyn/photon/compare/v2.0.0...v2.0.1
## What's Changed * feat: add a static site option by @Xyphyn in https://github.com/Xyphyn/photon/pull/622 * design: improve comment experience by @Xyphyn in https://github.com/Xyphyn/photon/pull/623 * better spacing, and separation, as well as easier and more readable font size * perf: optimize bundle size by @Xyphyn in https://github.com/Xyphyn/photon/pull/627 * stuff is now more dynamically loaded which should improve load speed * other misc performance improvements * security: add a content security policy * misc: add a User-Agent for API requests * design: use a unified common list component * misc: use gradients for placeholder avatars * I use placeholder avatars a lot since it's easier to distinguish users based on color/shape rather than username, and this makes it even easier to distinguish * feat: add a vote ratio bar option * when enabled, if a post is more controversial, a bar will be overlayed behind it to visualize it * feat: browse communities of specific instances * the available instances are only that you have accounts/guests on as i consider them "trusted" * feat: add an SSG adapter * admins can build the app with `ADAPTER=static` and then a `build` folder will be generated with just the shell. There will be no server side rendering available with this. * i18n: sync translations with weblate * Bulgarian: salif * Polish: gapetto **Full Changelog**: https://github.com/Xyphyn/photon/compare/v2.0.0...v2.0.1
This is a very big release since v1.31.4. If you've used phtn.app, you won't notice a difference, since that runs on the latest commit. ### TL;DR - Photon has been completely rewritten to use Svelte 5 - This brings significant performance improvements - The UX has been changed to fit Photon's philosophy more closely - Many issues have been resolved and bugs fixed - 60% of changes are under the hood, but there's many visible ones too # What you'll notice ## Snappier performance - **Svelte 5 optimizes a lot of the reactive parts of the app** - I've also spent a lot of time on a new virtualizer, which runs a lot faster ## Design changes - While the overall layout is relatively the same, I've reworked a lot of pages to fall more in line with my design philosophy. - The design across (most) pages is much more consistent - There's a new default theme - Compact mode is now the default (if you've used photon before, this will not affect your setting) - Comment layout is slightly different and more intuitive - Modals now create a backstack so you can press the back button on your browser ## New features and options - More moderation features - Quickly view users'/submissions' moderation logs - View the users' votes n a post - **Grouped reports for many reports on the same post** - you can resolve many at once - Options for more granular control over how links work in posts - Option to reverse the action row - Option to use absolute timestamps - lemmy language tagging support - Command palette now has contextual navigation options - Contextual warnings for certain actions (like missing languages in posts) - Messages page has been overhauled with markdown, contextual actions, etc - Better view and options for modlog page - Donation dialog as Lemmy requested ## Optimizations - Uses CSS animations more often which are faster - Uses svelte context API to reduce prop drilling - Navbar uses CSS rather than JS for positioning - Uses optimized svelte $state rather than stores ## Languages Thanks to the community making translations on the [Weblate](https://weblate.xylight.dev), Photon has support for **18 languages!** - **English** (100%) - **Hebrew** (58%) - **Arabic** (33%) (fxomt) - **Bulgarian** (72%) (salif) - **Chinese (Simplified)** (91%) (qiancsf, CDN, binary3141) - **Chinese (Traditional)** (21%) (binary3141) - **Dutch** (81%) (qaz) - **Estonian** (24%) (pewgar) - **Finnish** (94%) (sevon) - **French** (87%) (Blisterexe) - **German** (64%) (poVoq) - **Hungarian** (55%) (myedition8) - **Japanese** (84%) (Rentlar) - **Polish** (83%) (gapetto) - **Portuguese** (78%) (tmpod) - **Russian** (83%) (WerySkok, mudkip) - **Spanish** (81%) (acidrums4) - **Turkish** (91%) (ikanat) ## In the future - Piefed support is targeting v2.2.0 - With the way it is being written, Mastodon support may as well come sometime around v3.0.0 There's a lot more in this release, as well as more to come. I'm trying to make Photon closer to its design philosophy, which can be summarized as: > It should not take more than 3 seconds to identify an action you wish to perform within a given container or page. This covers a lot of reasons why I design stuff the way I do, for example, you'll never find more than 5 buttons (minus links) in a single container. Additionally, specific types of actions will usually look different, like primary actions on a page versus sub actions. I hope you enjoy this release! **Full Changelog**: https://github.com/Xyphyn/photon/compare/v1.31.4...v2.0.0