Releases: Tetrakern/fictioneer
Fictioneer 5.19.0
Welcome to another episode of "Things I did not want to add but did so anyway!" Improved compatibility with layout blocks, additional params to hide stuff in shortcodes, and against my better judgement new customizer options to globally modify the font sizes on cards. There is no way that is going to end well, but have fun.
No, there is not going to be a version 6, we are going to count to infinity if necessary!
Please consider supporting me on Ko-fi, Patreon, or via coins and stuff if you like the theme.
Release Notes
- Fixed: The "New" label on card chapter list items now honors your site timezone
- Fixed: The "only-editors" CSS class is now cleaned up correctly on AJAX authentication
- Fixed: The login link in the comment section now opens the login modal
- Fixed: Resolved wrapping issues with the wide header style on mobile
- Fixed: The Quote/Suggestion paragraph tools are now always hidden if you cannot comment
- Improved: The card age rating is now right-aligned for the combined card footer style
- Improved: Early cleanup of view when a user deletes their account (no more confusion)
- Improved: Toggling certain settings now automatically triggers a theme cache purge
- Improved: Better compatibility with Gutenberg layout blocks (no more errant spacing)
- Improved: Split card customizer options off into own section
- New: Added "none" page style option to Customizer for hiding the page background
- New: Added "words" and "date" params to Latest Update shortcode to hide either or both
- New: Added customizer option for card font size minimum offset
- New: Added customizer option for card font size grow offset
- New: Added customizer option for card font size maximum offset
- Dev: Added fictioneer_filter_comment_actions filter
- Dev: Renamed fictioneer_sanitize_float() to fictioneer_sanitize_positive_float_def1()
- Dev: Added fictioneer_sanitize_float() for both negative and positive values
- Dev: Added fictioneer_toggled_follow action hook
- Dev: Added fictioneer_toggled_reminder action hook
Fictioneer 5.18.3
This was supposed to be the next minor version, but a bug in the AJAX authentication demands urgency. Most of you should not be affected by this. Anyway, there are a few nice things for everyone. Mostly filters. But also some tiny features that are just not worth a minor version, I decided.
Please consider supporting me on Ko-fi, Patreon, or via crypto donation if you like the theme.
Highlight: Partial Chapter Caching
This is only for people who do not use cache plugin for whatever reason, because they do the same just better. Partial caching has been introduced in one of the last releases and did not achieve much. Now this does! Caching the content of chapters can save quite some server resources. For example, in a test with a 8,000 word chapter, it reduced render time by 13 milliseconds (yes, that is a lot) and consumed 4 MB less RAM. For anyone on a weak shared server cluster, that is tremendous. But really, use cache plugins if you can.
Partial caching has less compatibility issues than full-site caching, which is it's one advantage. Of course, that is under the assumption you do not render dynamic chapter content on the server side. However, chapter contents are typically static and should be save to cache. You can also disable the caching on a case-by-case basis if necessary, and unpublished or protected chapters are never cached anyway. Worst case, the cache will just time out after four hours by default.
Highlight: Randomized OAuth Usernames
This is the fault of Google. Well, many things are the fault of Google. In this case, it is the use of real names for accounts. Reportedly, users do not like having their real name as username -- even if you can change the displayed name and never have it exposed. Still, not great. Therefore, all new OAuth accounts created from Google will get a randomized username. All existing users may contact the site admin, because changing the username afterwards is a tiny weeny bit dangerous. There are plugins for that, though.
You can also enable this for all OAuth providers, although that could annoy some users just as much as it helps others. Your decision. Who does not want to be named HypersonicBob7777 or ScreamingBioplague1234? Why yes, I ate a clown for breakfast when I coded this.
Release Notes
- Fixed: AJAX authentication should now load user data again
- Fixed: Links to unpublished chapters are now disabled instead of leading to a 404 error
- Fixed: The HUE of light mode colors is now uniform again (never trust Tailwind colors)
- Improved: Added help modals to several settings to explain them better
- Improved: Partial caching now also caches chapter contents (unless protected or excluded)
- Improved: Added preselect params for taxonomies to [fictioneer_search] shortcode
- Removed: The performance setting to disabled global SVG filters has become obsolete
- New: Added setting to randomize all OAuth usernames (default for Google due to real names used)
- Dev: Renamed fictioneer_get_static_template_part() to fictioneer_get_cached_partial()
- Dev: Added no-index, obfuscation, and file protection measures to cached partials
- Dev: Added fictioneer_encrypt() and fictioneer_decrypt() utility functions
- Dev: Added fictioneer_get_username_adjectives() utility function
- Dev: Added fictioneer_get_username_nouns() utility function
- Dev: Added fictioneer_get_random_username() utility function
- Dev: Added fictioneer_random_username_adjectives filter
- Dev: Added fictioneer_random_username_nouns filter
- Dev: Added fictioneer_filter_chapter_icon filter
- Dev: Added fictioneer_filter_patreon_gate_message filter
- Dev: Added fictioneer_filter_static_content filter
- Dev: Added FICTIONEER_DEFAULT_CHAPTER_ICON constant
- Dev: Added FICTIONEER_PARTIAL_CACHE_EXPIRATION_TIME constant
- Dev: Refactored OAuth 2.0 authentication (now with encrypted cookie instead of Transient)
- Dev: Prepared for SubscribeStar OAuth (disabled until they improve their beta API)
Fictioneer 5.18.2 (Hotfix)
Hotfix: The majority of cache plugins should now really be compatible with the Post Unlock feature
For those who are interested as to why this did not work: Cache plugins worth their bytes do not cache posts that are password protected, for obvious reasons. Some try to be smart about having multiple versions of the page, though.
Anyway, due to the password bypass, the plugins did no longer know that the post was protected. Because instead of checking for the presence of a password, they only check whether the post is protected for that request -- which it might not. So if someone had the post unlocked, the plugin would cache the page like any non-protected page and serve it to everyone. Great. Wonderful. Amazing.
Fictioneer 5.18.1
Small update to fix some issues with the multi-site registration form and login modal not showing up. Also added the option to enable a new caching system for partials, which will save you... about 1 millisecond render time! Only if you do not already use a cache plugin, as you should. Might be extended in the future, but does not seem worth the effort, really.
Please consider supporting me on Ko-fi, Patreon, or via crypto donation if you like the theme.
Release Notes
- Fixed: Registration and activation for multi-sites are now rendered correctly
- Fixed: Enabling the WP login link now also enabled the login button and modal
- New: Added option to cache static partials if no cache plugin is running
- Dev: fictioneer_output_head_meta() is no longer pluggable and hooked into wp_head
- Dev: fictioneer_output_head_critical_scripts() is no longer pluggable and hooked into wp_head
- Dev: Added FICTIONEER_MU_REGISTRATION to detect wp-signup.php and wp-activate.php
- Dev: Replaced fictioneer_add_noindex_to_robots() with wp_robots_no_robots()
- Dev: Removed unused fictioneer_sanitize_args()
Fictioneer 5.18.0
This is planned to be the last larger update in a while, aside from bug fixes. New are the seamless horizontal cards and option to show the WordPress login/registration link in the authentication modal (sponsored).
Please consider supporting me on Ko-fi, Patreon, or via crypto donation if you like the theme.
Highlight: Seamless Horizontal Cards
You can now finally make horizontal cards seamless, either with a global Customizer setting or as shortcode param. Due to size issues, this looks better on some cards than others. Looks rather terrible on large story cards unless you disable the chapter preview list. The stretched mobile look is the reason why this was originally left out, but here you go. Have fun figuring it out yourself.
Release Notes
- Fixed: Card menus now always open down to avoid being cut off
- Improved: The popup menu now considers horizontal screen collision for positioning
- Improved: Horizontal small cards are now accept the seamless param
- Improved: Bookmark shortcodes now accept the seamless and thumbnail params
- Changed: Renamed the Customizer option Card Style to Card Footer Style
- New: Added the Customizer option Card Image Style (embedded, seamless, none)
- New: Added setting option to show link to default WP login/registration form
- Dev: Replaced fictioneer_rescue_array_zero() with Elvis operator (?:)
- Dev: Added and use fictioneer_modal_login_option action hook
Fictioneer Hotfix 5.17.2
Fictioneer Hotfix 5.17.1
Fictioneer 5.17.0
This update brings a compatibility fix for cache plugins and adds yet another bunch of options and features, once again sponsored by an anonymous user who wants to stay anonymous because of anonymity. I'm tired.
Please consider supporting me on Ko-fi, Patreon, or via crypto donation if you like the theme.
Highlight: Expire Post Passwords
With all the new custom unlocks and Patreon options, you can now choose to put a timer on passwords to reduce administrative overhead. Makes use of the default browser date input interface, so it may look different for you.
Release Notes
- Fixed: Undefined array key warning in fictioneer_see_some_evil()
- Fixed: The password bypass should no longer conflict with (good) cache plugins
- Improved: Added option to render a specific story header in Story Page templates
- Improved: Increased size of card link list items on mobile for better accessibility
- Improved: Added additional note below Patreon button for expired membership data
- New: Added Story Mirror page template that mirrors a specific story post
- New: Added option to expire post passwords on a specific date and time
- New: Added list table columns for Patreon tiers and thresholds
- New: Added list table bulk edit for Patreon tiers and thresholds
- New: Added Patreon membership section to the wp-admin user profile page
- Dev: Renamed fictioneer_get_patreon_data() to fictioneer_get_post_patreon_data()
- Dev: Merged _avatars.php into _user_data.php
- Dev: Changed fictioneer_filter_user_patreon_validation filter to work with the user ID
- Dev: Added fictioneer_get_user_patreon_data() helper
- Dev: Turned story meta in the _story-footer.php partial into a filterable array
- Dev: Added fictioneer_filter_story_footer_meta filter
- Dev: Added fictioneer_filter_discord_chapter_message filter
- Dev: Added fictioneer_filter_discord_comment_message filter
- Dev: Added fictioneer_filter_discord_story_message filter
Fictioneer 5.16.0
Not the largest update, but a significant one. Sponsored by a generous anonymous user, you can now unlock protected posts per user, allowing them to ignore the password. Chapters inherit the unlock of the story. If you want to modify the chapter titles in the chapter index popup and mobile menu, you can do that now with a new filter.
If you are using the optional Fictioneer Fast Requests mu-plugin, please update it by overwriting it in the mu-plugins directory. The old one still works, but the new one is better.
Please consider supporting me on Ko-fi, Patreon, or via crypto donation if you like the theme.
Highlight: Unlock Posts
You can now unlock password-protected posts per user, similar to the Ignore Password role capability and Patreon gate. Just open the admin profile page of the user, search for the posts you want to unlock, add them and save. Chapters inherit the unlock of the story. You can gate this feature behind a global Patreon pledge threshold in order to limit it to paying patrons.
Release Notes
- Fixed: Translations should now always be applied in the admin
- Fixed: Using the style bundling option does work with the Customizer again
- Fixed: Hover effect of the navigation icon menu is now correct
- Improved: The OAuth 2.0 endpoint is now always loaded to avoid permalink issues
- Improved: Slowed down the Fast AJAX pipeline for better compatibility (still faster)
- Improved: Updated the Fictioneer Fast Requests mu-plugin to be more generic
- New: Unlock protected posts per user (chapters inherit the unlock from the story)
- New: Added Patreon gate for regular post unlocks
- Dev: Added
fictioneer_filter_chapter_list_item
filter and example
Fictioneer 5.15.2 (Hotfix)
Now this one is hilarious, because it went unseen for four years. Or rather, nobody cared to report it until now.
Hotfix
- Fixed: Terms added by the theme now have the correct text domain and can be translated