Shaarli v0.9.0 Release Notes

Release Date: 2017-05-07 // almost 7 years ago
  • ๐Ÿš€ This release introduces the REST API, and requires updating HTTP server ๐Ÿ‘€ configuration to enable URL rewriting, see:

    โš  WARNING: Shaarli now requires PHP 5.5+.

    โž• Added

    • REST API v1
      • Slim framework
      • JSON Web Token (JWT) authentication
      • versioned API endpoints:
        • /api/v1/info: get general information on the Shaarli instance
        • /api/v1/links: get a list of shaared links
        • /api/v1/history: get a list of latest actions Theming:
      • Introduce a new theme
      • Allow selecting themes/templates from the configuration page
      • New/Edit link form can be submitted using CTRL+Enter in the textarea
      • Shaarli version is displayed in the footer when logged in
    • โž• Add plugin placeholders to Atom/RSS feed templates
    • โž• Add OpenSearch to feed templates
    • โž• Add campaign_ to the URL cleanup pattern list
    • โž• Add an AUTHORS file and Makefile target to list authors from Git commit data
    • ๐Ÿ”— Link imports are now logged in data/ folder, and can be debug using dev.debug=true setting.
    • ๐Ÿ”’ composer.lock is now included in git file to allow proper composer install
    • ๐Ÿ”Š History mechanism which logs link addition/modification/deletion

    ๐Ÿ”„ Changed

    • ๐Ÿณ Docker: enable nginx URL rewriting for the REST API
    • Theming:
      • Move user.css to the data folder
      • Move default template files to a subfolder (default)
      • Rename the legacy theme to vintage
      • Private only filter is now displayed as a search parameter
      • Autocomplete: pre-select the first element
      • Display daily date in the page title (browser title)
      • Timezone lists are now passed as an array instead of raw HTML
    • ๐Ÿšš Move PubSubHub to a dedicated plugin
    • ๐Ÿ’… Coding style:
      • explicit method visibility
      • safe boolean comparisons
      • remove unused variables
    • โšก๏ธ The updater now keeps custom theme preferences
    • Simplify the COPYING information
    • ๐Ÿ‘Œ Improved client locale detection
    • ๐Ÿ‘Œ Improved date time display depending on the locale
    • ๐Ÿ‘ Partial namespace support for Shaarli classes
    • Shaarli version is now only present in shaarli_version.php
    • Human readable maximum file size upload

    โœ‚ Removed

    • PHP < 5.5 compatibility
    • ๐Ÿ”Œ ReadItYourself plugin

    ๐Ÿ›  Fixed

    • ๐Ÿš€ Ignore generated release tarballs
    • 0๏ธโƒฃ Hide default port when behind a reverse proxy
    • ๐Ÿ›  Fix a typo in the Markdown plugin description
    • ๐Ÿ›  Fix the presence of empty tags for private tags and in search results
    • ๐Ÿ›  Fix a fatal error during the install
    • ๐Ÿ›  Fix permalink image alignment in daily page
    • ๐Ÿ›  Fix the delete button in editlink
    • ๐Ÿ›  Fix redirection after link deletion
    • โšก๏ธ Do not access LinkDB links by ID before the Updater applies migrations
    • โœ‚ Remove extra spaces in the bookmarklet's name
    • ๐Ÿ”Œ Piwik plugin: Piwik URL protocol can now be set (http or https)
    • ๐Ÿšš All inline JS has been moved to dedicated JS files
    • Keep tags after login redirection

    ๐Ÿ”’ Security

    • 0๏ธโƒฃ Markdown plugin: escape HTML entities by default