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:
- ๐ https://shaarli.github.io/api-documentation/
- ๐ง https://shaarli.readthedocs.io/en/master/Server-configuration/
โ 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 usingdev.debug=true
setting. - ๐
composer.lock
is now included in git file to allow propercomposer install
- ๐ History mechanism which logs link addition/modification/deletion
๐ Changed
- ๐ณ Docker: enable nginx URL rewriting for the REST API
- Theming:
- Move
user.css
to thedata
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
- ๐ 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