Publii Changelog

What's new in Publii 0.45.2 Build 16609

Mar 12, 2024
  • fix: solve issue with non-existing main tags
  • chore: bump version to v.0.45.2

New in Publii 0.45.1 Build 16608 (Mar 6, 2024)

  • Hot-fix for the symlinks issue - feature removed due incompatibility in many cases and OS.

New in Publii 0.45.0 Build 16606 (Mar 5, 2024)

  • chore(config): upgrade node version in .nvmrc
  • chore(deps): upgrade sharp to 0.33.* and WASM edition
  • feat: replace request dependency with fetch
  • feat: use custom Jimp build instead of the default one

New in Publii 0.44.4 Build 16557 (Jan 2, 2024)

  • chore: bump version to 0.44.4

New in Publii 0.44.3 Build 16556 (Dec 31, 2023)

  • chore: update build version in README.md

New in Publii 0.44.1 Build 16519 (Nov 16, 2023)

  • Chore: update build

New in Publii 0.44.0 Build 16485 (Nov 11, 2023)

  • Chore: bump language versions

New in Publii 0.43.1 Build 16393 (Oct 18, 2023)

  • Chore: bump version to v.0.43.1 and update electron to v.26.4.0

New in Publii 0.41.1 Build 15919 (Nov 8, 2022)

  • chore(version): bump version to 0.41.1

New in Publii 0.39.1 Build 15483 (Mar 22, 2022)

  • Merge branch 'v.0.39.1'

New in Publii 0.38.0 Build 14167 Beta (Mar 19, 2021)

  • Feat: use meta description in JSON-LD

New in Publii 0.37.3 Build 13870 Beta (Nov 11, 2020)

  • Features:
  • Added support for S3-compatible storage in deployments
  • Added a DateTime in deployment logs to make debugging easier
  • Default robots.txt file - Publii will create this file automatically, but only if it has not already been created by the user
  • Improvements:
  • Disable sitemap generation when the "Noindex website" option in the Site Settings is enabled.
  • Updated Github notes - the master branch is now main for the new repositories
  • Bugfixes:
  • Fixed a problem with a password "escaping" in the server settings view
  • Fixed SFTP deployment issue when some directories to upload exists on the server

New in Publii 0.34 Beta (May 10, 2019)

  • The latest maintenance release for Publii, version 33.5, is released and ready for download. As with all maintenance-oriented releases, the focus here has been on bugfixes and more minor or backend improvements, but there's a few new features that are worth mentioning. Before we get to that though, remember that you can get the update via the Publii Download Page whenever you're ready; just grab and run the latest install package and it will take care of the update process for you.
  • All updated? Cool. Let's take a look at what changes are included in this update:
  • Batch Post Operations:
  • In this release you'll be able to modify the status of multiple posts at once, instead of making changes individually. This'll be useful if you want to feature a group of posts, or hide/unhide them. These options are available automatically at the top of the post list whenever you mark posts in the post list.
  • Post as Frontpage:
  • With the updated themes included in this release, a new group of settings have been added that allows you to use a specific post as your homepage. Posts set-up in this manner look and function the same as a regular post page, and include the same options. For example, you can choose whether to display the author name, or publication date on the post, and these changes will be reflected on the frontpage version of the post too. If the theme has multiple post templates, then you may also specify which of the included templates you wish to use for your frontpage post. Note that in the frontpage version of the post both the 'Related Posts' section and the controls for jumping to the previous or next post are removed.
  • The options for setting-up a post as a homepage are included in the 'Theme Settings' section of Publii; you'll need to update your theme to take advantage of this new feature.
  • Note: We strongly recommend that you make a complete backup of your site prior to updating your theme; this will protect you in the event of any bugs or other issues arising due to the update.
  • Theme Update: Simple 2.0:
  • Simple is a great option for users looking for a fast, no-nonsense blog theme, and this latest update makes it even better than ever before. The theme now boasts:
  • A minor redesign, with rewritten code to make it more efficient.
  • An option for displaying a featured image on post listing pages.
  • No more jQuery; now Simple uses Vanilla scripts.
  • Overhauled menu system! New scripts, two mobile menu styles (Sidebar and overlay), and a reactive submenu that shifts position when it gets too close to the edge of the browser window.
  • Expanded hero section controls.
  • Responsive iframes (for things like videos, maps etc...)
  • New font selection options.
  • New 'Back to Top' option.
  • A new gallery style and optimized image lazyload for the smoothest, fastest experience possible.
  • Other Improvements:
  • That's not all; there's a nice mix of more minor improvements to help improve the Publii experience, including:
  • Rebuilt sitemap generation - now includes images, last modification date and pretty output thanks to XSL styling.
  • Rebuilt Netlify API integration.
  • Added support for relative URLs
  • Added support for 'dat://', 'ipfs://' and '//' protocols in the domain settings.
  • Added option to randomise related post list.
  • Added option to set the default post template under 'Post Options'.
  • Added @renderer.theme global variable containing additional theme info.
  • Regenerate thumbnails popup now only appears if there are any thumbnails that actually need to be regenerated.
  • Added support for '-1' as an option in GetPosts* functions.
  • Added query string as an option for get* functions.
  • 'Save & Preview' button is now disabled when it isn't possible to generate a preview due to settings.
  • Added use of post excerpt instead of default website settings as the meta description when the post meta description is left empty.
  • General UX/UI improvements.
  • Unified document.body click events handling in the application UI.
  • Updated syntax for Vue.Draggable.
  • Updated Electron to 3.1.8.
  • Changed Disqus URL to an absolute URL.
  • Bugfixes:
  • The fight against bugs may be neverending and unwinnable, but that doesn't mean we should fight it. In this release, we've fixed up the following:
  • Fixed issues with renaming websites and restoring backups in Windows 10.
  • Fixed issue with deployment method selection when choosing 'Manual deployment'.
  • Fixed issues with missing slashes on some URLs in website metadata.
  • Hidden posts are now available via the @website.contentStructure global variable.
  • Fixued issue with WP import when the tags are used as taxonomy and there are no tags in WXR.
  • Fixed issue with blinking while dragging a file while installing a theme.
  • Fixed issues with images when the OS username contains an ampersand character (&).
  • Fixed issues with window position on start in Windows 10.
  • Fixed random JS errors in the Global Settings.
  • Fixed dependency issues.
  • That's all for this release, but stay tuned; we've got more updates in the pipeline! If you want to stay on top of the latest developments, you can follow us on our Twitter page, or for up-to-the-minute info on what's being added, check out our GitHub project page.

New in Publii 0.18.2 Build 8822 Beta (Sep 13, 2017)

  • Rebuilt rendering engine:
  • The biggest update for this release isn't something that you're not going to see when preparing your site, but you certainly will notice it when it comes to deployment! When Publii was first created speed was a important consideration, but more important was that the code that powered the app was stable and functional. With the core features implemented and improved, we could dedicate more time to optimizing Publii's code to make it even faster.
  • Faster rendering process:
  • The key area that we think needed addressing was in the renderer (that is, the bit of code that generates your website files before they are synced with your server). Pretty much all the creation aspects of Publii are already ultra-fast, but once a website has progressed to 50-100 articles in its content then the time for the site to be generated could be rather long, taking more than a minute to complete, with the time to render increasing as more and more articles were added.
  • The rebuilt engine is much better optimized for such large-scale tasks, making rendering run up to 6 times faster than before, with even larger increases for larger websites with a lot of articles. To put this upgrade into perspective; one of our users reported that their giant 1800-article website went from taking nearly 30 minutes to render to just 5 minutes once the optimizations were added! With these changes you'll be able to create whatever size of website you wish without worrying about delays when it's time to deploy or sync.
  • Rewritten regenerate thumbnails engine:
  • We told you that this release was all about what's under the hood, and we're continuing on that theme with an update to the regenerate thumbnails engine. Thumbnails are pretty much essential for your website, since they'll be used in article previews aimed at encouraging visitors to click around and stay on your site, but in earlier versions of Publii they could be slow to generate, or subject to errors. This was also true when regenerating thumbnails after switching to a new theme with different thumbnail settings.
  • Rewritten regenerate thumbnails engine:
  • The rewritten thumbnail generation engine has both a much smaller memory footprint, using much less memory when generation is being run, and also offers increased stability, meaning less errors and faster completion.
  • Additional theme custom HTML options:
  • The sites that Publii can create with its built-in themes can look great, but even so many users will want to expand their functionality or layout with their own custom HTML content, such as ads. In the new beta release the included Publii themes have an expanded set of custom HTML locations; as well as inserting custom HTML in the head, body or footer of the theme, you will now be able to insert it before or after every post.
  • Theme Custom HTML options:
  • Though the feature has been implemented in all our current themes, not all themes will have both the After every post and Before every post option; some of them will only have one or the other. This is due to the theme having a layout that would not work with one of the options; for example, the Simple theme uses a large photo for its posts and having custom HTML above this would not look good at all, so it is restricted to adding custom HTML after the post only. To use this new feature, head to the Tools ? Custom HTML section of the Publii interface.
  • Restrict content to AMP/Non-AMP version of your site:
  • The problem with AMP versions of sites is that they are well and truly static; they're like a screenshot of your site. This isn't a huge problem for many users, but if you have some additional functionalities such as forms implemented on your site then the AMP version won't be able to use them.
  • To help such users get around this issue, we've added the ability to limit content exclusively to the AMP or non-AMP version of the site; this way you could have a form that appears on the main version of your website, but replace the form with a button linking to the full version of the site in the AMP version so mobile users visiting the AMP site will still have access to the expanded options.
  • Limiting content is easy; you just need to wrap the content that you want to limit in the appropriate tags in the source code editor of the post edit screen (click on the icon that looks like an empty HTML tag to open the source code editor). You'll find a simple breakdown of how to limit the content in the Publii Developer Documentation.
  • Expanded rendering error message display and logs:
  • The increased stability afforded by the renderer optimizations means you won't encounter errors often, but when you do, it's useful to have as much information as possible to let you know where things went wrong. The latest beta release includes a new error display window that appears if there are any rendering errors when using the preview link in the Publii sidebar, as well as error logs for when rendering or deployment threads crash, making it easier to narrow down the cause of any deployment issues.
  • Rendering progress information and logs
  • We've speeded up the renderer, but you'll still need to wait a little while when deploying or syncing your site; we're a long way from having the power to instantly render websites! Still, with the progress bar added to the sync window, preview link and "Save & Preview" buttons, you can at least see how things are coming along rather than twiddling your thumbs and hoping that your computer hasn't frozen on the sly.
  • Rendering process logs:
  • Render timing information is now also logged in the rendering-process.log file which, combined with the other error messages and optimizations, will help you well-informed on every aspect of your site rendering/deployment.
  • Output file location selection
  • A nice and simple addition that's nevertheless something that our users have requested; now when deploying to an output file when syncing, rather than uploading files to a server or third-party source, you can choose where the file will be output to. When manual output was added it automatically deployed to the Publii folder, so this kind of addition simply makes Publii more intuitive.
  • Render empty tag pages option
  • Its a good idea to keep your content in order, and if you've got a long-term plan for your site articles you may have already created several empty tags for use later. Usually, Publii will simply ignore these tags during deployment or rendering and no tag page will be created, given that there isn't any content to add to the page. However, in keeping with Publii's commitment to flexibility, we've added the option to have Publii create these empty tag pages anyway during sync; you'll find the options for enabling this in the SEO Settings section of the site.
  • Preview window enhancements:
  • It's pretty easy to get neurotic about how your site looks, and to keep opening up the preview window to get a look every time a few changes are made. Of course, this made the little delays when generating previews rather irritating. To combat this, we've enhanced the preview window rendering engine too, so you can indulge your neurotic side as needed to make sure you get your site exactly right.
  • But that's not all. We've also made some extra enhancements to make using the preview more comfortable; the preview window now opens faster, and if you've enabled DevTools in the preview window you'll find the tools now reflect the "live-website" context with regards to the information provided, rather than the slightly-different review window context.
  • External links in previews will now function correctly; clicking on external links will now open them in your default browser. Lastly, custom error messages for non-existing files have been added to the preview, for easier tracking of issues.
  • Create submenu option:
  • Another small addition that improves general use of Publii, this time in menus. In prior versions of Publii to create a submenu item you first had to create your menu items, then drag and drop them into the layout you want. That's still possible in this release, but an extra Add submenu option has been added to each menu item so that items can be immediately placed correctly.
  • Additions for developers
  • On the developer side of things there's some minor but useful extras in this release. The ability to define the custom HTML areas of a created theme has been added, and themes can now override post editor settings in much the same way as you could previously via the app configuration directory. With these additions, developers can get that little bit more creative in their themes!
  • Improvements:
  • Updated Electron to version 1.7.5.
  • Improved excerpt generation so that spaces are added between phrases taken from different paragraphs to make them more understandable.
  • Improved multi-screen support for users going more in-depth with Publii usage.
  • Made some light improvements to the overall app UI.
  • Implemented additional tests when uploading a new theme via application settings.
  • Bugs fixed:
  • Removed duplicate entries from sitemap.
  • Fixed issue with Google Analytics script in AMP version of the site.
  • Fixed rendering error seen after switching themes or alternative post/tag/author templates.
  • Fixed incorrect item links when the tag slug is different to the 'sluggified' tag name.
  • Fixed wrong dates in the JSON Feed.
  • Fixed bugs in the {{menuItemClasses}} helper.
  • Fixed issue where the Remote Path setting from FTP configuration affected other methods of deployment when it was not in use.