Skosmos 2.15
This is a minor version release (2.15) of Skosmos that brings several updates to the frontend with a significant upgrade to Bootstrap 5 and minor updates to third-party JS libraries. The Bootstrap 5 update causes many changes to the HTML and CSS structure and necessitated many subsequent fixes that are also included in this release. Users with heavily customized Skosmos installations will need to review their CSS styles and adapt them for this release. The old Bootstrap 3 version included Glyphicons, which are no longer available with an open license; this release instead includes the similar Font Awesome Free icon set.
The test environment has been updated to PHPUnit 9 for better compatibility with latest PHP versions. Support for PHP version 7.2 has been dropped, since PHPUnit tests are no longer working on that version. The code in this release should still work on PHP 7.2 but we cannot offer any guarantees going forward. The support for SKOS-XL labels has been improved and a brand new Latvian translation of the UI has been added.
Enhancements
- #1045/#1182 Update to Bootstrap 5 (credit: @kinow)
- #1309/#1319 Use Font Awesome Free as a Web Font for copy to clipboard icon
- #1202/#1308 Store current Skosmos version in composer.json (credit: @kinow)
- #1291/#1312 Upgrade to PHPUnit 9, drop PHP 7.2 support
- #1292/#1318 Create a SECURITY.md file
Bug fixes
- #1301/#1303 Autocomplete problems after Bootstrap 5 upgrade (credit: @kinow)
- #1311/#1314 Fix sidebar search after Bootstrap 5 upgrade (credit: @kinow)
- #1304/#1310 Fix font size issues after Bootstrap 5 upgrade
- #1321 minor CSS tweaks after Bootstrap 5 upgrade
- #1326 Fix typeahead templates in the search auto-complete (credit: @kinow)
- #1328 Fix highlighting of the New tab after Bootstrap 5 upgrade
- #1315 fix 'Any language' choice in language selection menu
- #1289/#1307 Sanitize language switching URLs
- #1270/#1316 JavaScript error on hierarchy sort
- #1167/#1187 provide translations for skosmos:marcSourceCode
- #1263/#1317 Popup fo SKOS-XL labels not always populated
- #1330 Avoid introducing extra whitespace around literal values on the concept page
Code quality and tests
- #1288/#1290 GitHub Actions CI tests failing on PHP 7.x
- #1293 Drop useless SKOSMOS_VERSION build arg from Dockerfile
- #1297/#1300 Drop unused URI.js dependency
- #1269/#1305 Upgraded Handlebars to v4.7.7
- #1255 Document default values for vocabulary-specific configuration settings in the wiki
- #1322 Modify checklist in PR template
Translation updates
- #1313 add Latvian translation (credit: @CaptSolo)
- #1331 update Portuguese translation (credit: @bsalmeida)
See the upgrade instructions in the wiki for information about upgrading from earlier versions.