Shaarli v0.12.1 Release Notes

Release Date: 2020-11-12 // over 3 years ago
  • 🔧 > nginx (#1628) and Apache (#1630) configurations have been reviewed. It is recommended that you 📚 > update yours using the documentation. ⚡️ > Users using official Docker image will receive updated configuration automatically.

    ➕ Added

    • Bulk creation of bookmarks
    • Server administration tool page (and install page requirements)
    • 👌 Support any tag separator, not just whitespaces
    • Share a private bookmark using a URL with a token
    • ➕ Add a setting to retrieve bookmark metadata asynchronously (enabled by default)
    • Highlight fulltext search results
    • Weekly and monthly view/RSS feed for daily page
    • MarkdownExtra formatter
    • 0️⃣ Default formatter: add a setting to disable auto-linkification
    • ➕ Add mutex on datastore I/O operations to prevent data loss
    • 👍 PHP 8.0 support
    • ⚡️ REST API: allow override of creation and update dates
    • ➕ Add strict types for bookmarks management

    🔄 Changed

    • 👌 Improve regex and performances to extract HTML metadata (title, description, etc.)
    • 👌 Support using Shaarli without URL rewriting (prefix URL with /index.php/)
    • 👌 Improve the "Manage tags" tools page
    • 👉 Use PSR-3 logger for login attempts
    • 🚚 Move utils classes to Shaarli\Helper namespace and folder
    • 🐳 Include php-simplexml in Docker image
    • Raise 404 error instead of 500 if permalink access is denied
    • Display error details even with dev.debug set to false
    • 🔧 Reviewed nginx configuration
    • 🔧 Reviewed Apache configuration
    • Replace vimeo link in demo bookmarks due to IP ban on the demo instance
    • 👷 Apply PSR-12 on code base, and add CI check using PHPCS

    🛠 Fixed

    • Compatiliby issue on login with PHP 7.1
    • ⚡️ Japanese translations update
    • Redirect to referrer after bookmark deletion
    • 🔌 Inject ROOT_PATH in plugin instead of regenerating it everywhere
    • 🔌 Wallabag plugin: minor improvements
    • REST API postLink: change relative path to absolute path
    • Webpack: fix vintage theme images include
    • 🐳 Docker-compose: fix SSL certificate + add parameter for Docker tag

    ✂ Removed

    • 🏁 config.json.php new lines in prefix/suffix to prevent issues with Windows PHP

Previous changes from v0.12.0

  • 💾 Save you data/ folder before updating!

    ⚡️ This is a beta version containing major changes, including new URLs for Shaarli and datastore format update. 🔌 Be aware that by using a beta version you might encounter bugs, and that 3rd party themes or plugins might not be compatible.

    ➕ Added

    • Thumbnailer: add soundcloud.com to list of common media domains
    • Markdown rendering is now integrated into Shaarli core
    • ➕ Add autofocus on tag cloud filter input
    • 🌐 Japanese translations
    • 🌐 Japanese translation: add language to admin configuration page
    • 👌 Support for PHP 8.0
    • 👌 Support for local anchor URL (startting with #)
    • LDAP authentication
    • Encapsulated PageCacheManager
    • 📄 Docs:
      • add screenshots of all pages
      • section about mkdocs
      • Ulauncher extension
    • CI: run against PHP 7.4
    • Added $links_per_page variable to template and display on default
    • 🔌 Inject BookmarkServiceInterface in plugins data
    • ➕ Add manual configuration for root URL
    • ➕ Added PATCH to the allowed Apache request methods.

    🔄 Changed

    • Introduce Bookmark object and Service layer
      • Save bookmark as objects in the datastore
      • Handle bookmark as objects across the whole codebase (except templates and plugins)
    • 👀 Process all Shaarli page through Slim controller, with proper URL rewriting (see #1516)
    • 📄 Docs: the entire documentation has been reviewed, updated and improved, thanks to @nodiscc!
    • ATOM feed: use instance name as author name instead of URL
    • ⚡️ Updated French translation
    • 0️⃣ Default colors plugin: generate CSS file during initialization
    • 👌 Improve default bookmarks after install
    • ⬆️ Upgrade all front end dependencies and webpack build

    🛠 Fixed

    • Undefined index: thumbnail in daily page
    • Undefined index: thumbnail on OpenGraph headers
    • ⚡️ Undefined index: updated on linklist
    • 👉 Make sure that bookmark sort is consistent, even with equal timestamps
    • Code PHP version check as requirement bumped to PHP 7.1
    • Thumbnail images lazy loading
    • 🔌 Markdown plugin: fix RSS feed direct link reverse
    • 🛠 Fix RSS permalink included in Markdown bloc
    • ✏️ Demo plugin: multiple typos
    • 🚀 Makefile target for releases
    • 📚 Makefile target for html documentation
    • Session cookie setting being set while session is active
    • 🗄 Deprecated use of implode
    • Division by zero in tag cloud
    • 🐧 CI: deprecated linux distribution and sudo directive
    • 🏗 Docker build: gcc is no longer included in python alpine image
    • 📌 Default template: display pin button in mobile view
    • 📌 Pinned bookmarks are not longer displayed first in ATOM/RSS feeds
    • 📄 Docs:
      • Outdated Docker documentation for stable branch
      • Outdated links
      • Plugin description in meta files

    ✂ Removed

    • 🔌 Markdown plugin
    • 📄 Docs:
      • emojione & twemoji removed
    • Makefile: remove static_analysis_summary from all: target
    • ⚡️ doc/Makefile: remove references to composer update