Repository navigation
Releases
0.26.2
What's Changed
- Suppress .DataProtection-Keys by @jpdillingham in #1884
- Disable static asset mapping by @jpdillingham in #1885
- Fix bug causing an error when a user requests their place in queue and more than one record for that user+file exists by @jpdillingham in #1892
- Create app Mutex as explicitly session-only by @jpdillingham in #1893
- Require explicit opt-in for run-time application memory dumps, adjust access level of several core API endpoints by @jpdillingham in #1905
- fix: missing space in version update message by @char1es31 in #1896
- Fix missing space in version update message by @jpdillingham in #1906
- Bump follow-redirects from 1.16.0 to 1.16.1 in /src/web by @dependabot[bot] in #1898
- Bump launch-editor from 2.14.1 to 2.14.2 in /src/web by @dependabot[bot] in #1904
- Bump source-map-js from 1.0.2 to 1.2.2 in /src/web by @dependabot[bot] in #1882
- Bump proxy-addr from 2.0.7 to 2.0.8 in /src/web by @dependabot[bot] in #1881
- Bump shell-quote from 1.10.0 to 1.12.0 in /src/web by @dependabot[bot] in #1880
- Bump brace-expansion from 1.1.18 to 1.1.21 in /src/web by @dependabot[bot] in #1879
- Bump compression from 1.8.1 to 1.8.2 in /src/web by @dependabot[bot] in #1878
New Contributors
- @char1es31 made their first contribution in #1896
Full Changelog: 0.26.1...0.26.2
0.26.1
Notable change: Add an option to configure MTU for the server connection allows users using jumbo frames (MTU 9000) on their network to connect to the server following the recent maintenance. Affected users should set this new MTU option to 1500. See issue #1870 for more information.
Also, #1829 enables disk logging by default; if this causes any issues this can be disabled as described here, which is by setting logger.no_disk: true in the yaml or by setting SLSKD_NO_DISK_LOGGER. This change was made along with the new UI elements that allow users to view and download log files, which will ultimately help users help me help them.
What's Changed
- Update pushbullet envs by @b0bcarlson in #1808
- Bump fast-uri from 3.1.0 to 3.1.5 in /src/web by @dependabot[bot] in #1811
- Bump shell-quote from 1.8.4 to 1.10.0 in /src/web by @dependabot[bot] in #1802
- Bump js-yaml from 3.15.0 to 3.15.1 in /src/web by @dependabot[bot] in #1813
- Cancel downloads when their enqueue attempt times out by @jpdillingham in #1827
- Add a debug API controller and a /transfers endpoint to return SoulseekClient's transfer lists by @jpdillingham in #1828
- Bump brace-expansion from 1.1.11 to 1.1.18 in /src/web by @dependabot[bot] in #1826
- Bump browserslist from 4.28.1 to 4.28.8 in /src/web by @dependabot[bot] in #1835
- Bump nanoid from 3.3.6 to 3.3.18 in /src/web by @dependabot[bot] in #1834
- Bump fast-uri from 3.1.5 to 3.1.7 in /src/web by @dependabot[bot] in #1833
- Enable logging to disk by default, reduce default retention from 180 to 30 days by @jpdillingham in #1829
- fix favicon.ico relative path in footer by @deepsweet in #1838
- Add scaffolding for benchmarking tests by @jpdillingham in #1840
- Use atomic insert/update when activating conversations by @jpdillingham in #1842
- Tweak favicon URL handling (again) by @jpdillingham in #1843
- Checkpoint share database after scan, vacuum and checkpoint backup after backup by @jpdillingham in #1848
- Reduce memory pressure when scanning files and directories by using .NET functions returning IEnumerable instead of collections by @jpdillingham in #1850
- Bump js-yaml from 3.15.1 to 3.15.2 in /src/web by @dependabot[bot] in #1844
- Remove version arg from web layer by @jpdillingham in #1862
- Fix failing Docker build by @jpdillingham in #1863
- Move final stage ARGs in Dockerfile to improve cache hits by @jpdillingham in #1864
- Add a 'History' tab to Logs view to access and download log files by @jpdillingham in #1865
- Synchronize queue position forecasting and estimation by @jpdillingham in #1867
- Use HashSet to track upload slots instead of an int by @jpdillingham in #1868
- Remove GetGroupInfo, return slot info in ForecastPosition instead by @jpdillingham in #1869
- Organize upload queue by transfer Id instead of username/password by @jpdillingham in #1871
- Fix retry action for failed uploads by @JappeHallunken in #1857
- Add an option to configure MTU for the server connection by @jpdillingham in #1875
- Reduce default log retention to 14 days, fix log docs by @jpdillingham in #1876
New Contributors
- @b0bcarlson made their first contribution in #1808
- @JappeHallunken made their first contribution in #1857
Full Changelog: 0.26.0...0.26.1
0.26.0
🎉 Another Big Release!
This release contains improvements to the user interface, failed download retries, and gives users the ability to control where completed downloads go on disk.
There's also one breaking change in the configuration for file permissions.
Dashboard Screen and Footer
The default landing page is now a dashboard that displays various statistics:
Users can select the time range and can click the legend under the chart to show or hide common data series. The Users tab shows users with the highest transfer count, size or speed, depending on how sorting is applied, and the Content tab shows the most commonly downloaded directories. The Errors tab displays detailed error information.
Also shown in the screenshot above is a new footer that appears on every screen and that displays real-time upload and download speeds, number of active transfers, and the size of each queue.
Browse Screen Improvements
The Browse screen has been redesigned to improve the functionality and performance:
The directory tree now uses virtualization to improve the performance, enabling larger shares to be displayed and interacted with than before. Directories can now be expanded and collapsed by clicking the folder icon to the left of directory names, and the number of files and subdirectories contained in each directory are now shown. The directory tree can now also be resized vertically by clicking and dragging the three-dot button at the bottom.
The filter above the directory tree can be used to show matching directories (regardless of how deeply nested). The buttons to the right can be used to expand or contract all directories, and the rightmost button expands the tree to reveal the currently selected directory and scrolls it into view.
The file selector now shows subdirectories in addition to files, and subdirectories can be expanded one level to show the files within. Subdirectories can be selected to include all of the files (regardless of subdirectory depth) in the file selection, effectively allowing recursive downloading of directories. Clicking the arrow icon to the far right of the directory name navigates the directory tree to that directory, allowing further review of the contents.
As the screenshot shows, this has been tested and is working well with 1,000,000 files and 100,000 directories. I'm not sure what the practical limit is, but the issues described in issue #317 are still mostly accurate; there are still users which can't be browsed, but limitations exist for all Soulseek clients at various levels.
Failed Download Retries
Failed downloads can be retried automatically up to the configured number of attempts. If an attempt fails initially, the application delays the second attempt by the configured delay, and an exponential backoff is used to compute the delay for all subsequent events, up to the configured maximum delay.
By default, partial downloads are resumed based on the size of the incomplete file. Users can choose to always overwrite files if they wish.
YAML
transfers:
download:
retry:
incomplete: resume # 'overwrite' or 'resume'
attempts: 3
delay: 5000 # initial time between retries, in milliseconds
max_delay: 60000 # maximum time between retries, in millisecondsCompleted Download Location
Users can now specify an expression that slskd will evaluate to determine the destination directory:
transfers:
download:
destination:
subdirectory: ${SOURCE_DIRECTORY} # options: SOURCE_USERNAME, SOURCE_PATH, SOURCE_DIRECTORY, BATCH_ID, BATCH_EXTERNAL_ID, SEARCH_ID, SEARCH_TEXT
exists: rename # 'overwrite' or 'rename'The new subdirectory option allows users to specify an expression containing special, fixed values that are replaced at run-time when slskd determines where to place a newly downloaded file.
The syntax is simply:
<any string, or nothing>${<token>}<any other string, or nothing>
For example:
music/${SOURCE_USERNAME}/directories/${SOURCE_PATH}
Will expand to the following for a download of @@abcde/foo/bar/baz/qux.ext from user Bob:
music/Bob/directories/@@abcde/foo/bar/baz
The value for token is some value related to the transfer, including:
SOURCE_USERNAME: The username of the user the file was downloaded fromSOURCE_PATH: The complete path to the directory on the source user's systemSOURCE_DIRECTORY: The directory on the source user's system that contains the file; the immediate parent directoryBATCH_ID: The ID pf the associated batch, if the file is part of a batchBATCH_EXTERNAL_ID: The external ID included in the associated batches options when createdSEARCH_ID: The ID of the search associated with the batch, if one was supplied when the batch was createdSEARCH_TEXT: The text/query of the search
This option defaults to ${SOURCE_DIRECTORY}, which matches the current behavior. Users that choose not to set this option shouldn't notice any change.
The new exists option allows users to choose what slskd does when it downloads a file that already exists on disk, either overwrite which overwrites the old file with the new one, or rename, which appends a number to the end of the new file. The current behavior is rename.
Breaking Change
Users who have previously set the permissions.file.mode configuration property, were using the --file-permission-mode command line argument, or had set the SLSKD_FILE_PERMISSION_MODE environment variable will find that this option has been moved, and slskd should refuse to start informing them of this.
To fix this, update the YAML configuration file to set the new transfers.download.destination.permissions.mode key as shown below.
Old:
permissions:
file:
mode: 644 # not for Windows, chmod syntax, e.g. 644, 777. can't escalate beyond umaskNew:
transfers:
download:
destination:
permissions:
mode: 644 # chmod syntax, e.g. 644, 777. has no effect on WindowsWhat's Changed
- Add a Dashboard view, make it the default landing page by @jpdillingham in #1778
- Allow selection (and downloading) of subdirectories recursively on the Browse screen by @jpdillingham in #1788
- Redesign the browse screen by @jpdillingham in #1789
- Collect and broadcast real-time transfer metrics, add a footer to the UI to display them by @jpdillingham in #1769
- Add transfer retries and batches by @jpdillingham in #1664
- Add Transfer Batches by @jpdillingham in #1720
- Add options providing granular control over download location by @jpdillingham in #1746
- feat: add username reg pattern matching to blacklist group by @ofernander in #1699
- Allow blacklisting of username patterns by @jpdillingham in #1713
- Map IPv6-mapped IPv4 addresses to IPv4 before checking against Relay CIDR by @jpdillingham in #1714
- Add some tools for dealing with file paths by @jpdillingham in #1727
- Guard untrusted file paths against traversal attempts (paranoia, not mitigating) by @jpdillingham in #1729
- Add or adjust several new validation classes by @jpdillingham in #1733
- Fix bug digesting share aliases when path contains closing square bracket (]) by @jpdillingham in #1734
- Fix bug handling incomplete filenames by @jpdillingham in #1737
- Fix for Issue #1726: strip trailing slashes from relay controller address by @maskedmaxx in #1735
- Change path manipulation logic (again) by @jpdillingham in #1740
- Rename retry 'incomplete' setting to 'partial', and default the value to 'resume' (to match docs) by @jpdillingham in #1743
- Add comprehensive cross-platform path and filename handling functions by @jpdillingham in #1749
- Fix bug in default destination subdirectory expression (add missing '$') by @jpdillingham in #1757
- Update x509 generation/validation to resolve warnings, deprecate old permissions objects by @jpdillingham in #1760
- Fix a chat/room input issue blocking some users from being able to send messages by @jpdillingham in #1719
- Adjust room and chat CSS to account for +40px of bottom padding by @jpdillingham in #1771
- Fix bug preventing a user from initiating a chat by @jpdillingham in #1780
- fix: Set Cache-Control: no-cache on index.html responses by @apkatsikas in #1786
- Remove mouseover color on table rows by @jpdillingham in #1792
- Remove Docker volume, create app directory in entrypoint script by @jpdillingham in #1709
- Change all the scripts in bin/ to be more OS agnostic. by @breakone9r in #1758
- [BREAKING] Move 'permissions' options unde...
0.25.1
What's Changed
- Add case for legacy docker behavior (running as root) by @jpdillingham in #1708
- Fix bug preventing configuration changes from being applied by @jpdillingham in #1711
Full Changelog: 0.25.0...0.25.1
0.25.0
🎉 Big Release!
This release contains a number of mostly unrelated changes.
Licensing
I have added 'Additional Terms' to the AGPLv3 that clarify the conditions under which folks can distribute and modify slskd, which Section 7 of the AGPLv3 allows. These terms include preservation of notices and licenses (already required by the AGPLv3, the terms spell the requirements out explicitly), mandatory identification of modifications (again, already required), mandatory rebranding (renaming forks to something that won't be confused with slskd), and the mandatory modification of the client version supplied to the server at login.
The full text of these Additional Terms can be found at the bottom of the LICENSE in the root of the repository. I've also added a NOTICE in the hopes that folks will be drawn to it and see that the LICENSE includes Additional Terms, and I've added a FORKING.md that explains the new terms in plain English.
To explain why I've done this, I'll share an excerpt from FORKING.md:
The requirements exist for two reasons, and both are about the people who use the software.
The first is to make sure users always know they are using software licensed under the AGPL. That matters because the AGPL gives users meaningful rights: the right to know that the source code exists, the right to access it, and the right to understand what they are running. Those rights only mean something if users are actually informed of them. Requiring that the full LICENSE be included with every distribution, and that license notices be preserved everywhere they appear, ensures that no user ever ends up with a copy of this software that hides or obscures the terms under which it was released.
The second is to make sure users understand who made the software they are using. They should be able to tell where it came from, who maintains it, what has been changed and by whom, and whether it is the original project or a fork. A user who installs a fork deserves to know it is a fork. The requirements around naming, branding, source file headers, and identification notices all serve this goal. They are not intended to discourage forking, they are intended to make sure that anyone who uses a fork has an accurate picture of what they have.
With AI becoming mainstream it is now incredibly easy to fork a project and manipulate it in ways that are harmful to users and/or the server(s) the software connects to. This behavior, unfortunately, is permissible under the AGPLv3. All I can do is ensure that users aren't deceived into using these untrusted and potentially harmful forks.
Docker User/Permissions
The slskd Docker container now supports both Docker's built in --user/user: and the Linuxserver/*arr style PUID/PGID methods for running the container as a specific user. The built-in method is objectively superior, but I noticed that people frequently got hung up on permissions because they were using PUID/PGID without understanding that it wasn't supported.
These methods are mutually exclusive; users must choose one or the other. Users should also be aware that when using the PUID/PGID method, the container will chown the mounted /app directory on startup. This may be unexpected, but it is the intended behavior. The chown isn't recursive; users will need to do that themselves if needed.
Examples in the README and Docker docs have been updated to reflect these changes. I welcome any feedback about the approach in the Dockerfile or contents of the docs.
Configuration May Be Broken
Users who have configured things under the global, groups, or integration keys in the configuration file will find that the app will log an error and exit early until they apply the necessary changes. This is unfortunate, but the alternative was to not do that and allow people to continue using the app without their configuration being respected.
Pull request #1704 outlines the changes and provides an example of what needs to be done by correcting the configuration docs. tl;dr:
- Rename the
globalkey totransfers - Move all limits keys so that they appear nested under the upload key of the associated group
- Rename the
integrationkey tointegrations
These changes were made to make room for upcoming features (stay tuned!). The rename of the integration key was admittedly not necessary for that, but I figured I would sneak it in.
What's Changed
- BREAKING: Move all transfer options under a 'transfers' key by @jpdillingham in #1672
- Add errors for deprecated keys by @jpdillingham in #1698
- Update docs to reflect config changes by @jpdillingham in #1704
- Append Additional Terms to the AGPLv3 license by @jpdillingham in #1675
- Adjust NOTICE indent, add license info to startup banner by @jpdillingham in #1690
- Fix "Search Again" by @rfletcher in #1666
- Fix bug causing an error when updating the config file while the app is running by @jpdillingham in #1682
- fix favicon.ico relative path by @deepsweet in #1696
- Add BatchId and Attempts to Transfers database, change migration naming scheme by @jpdillingham in #1670
- Add the ability to specify base delay for exponential backoff, add onRetry delegate for Retry.Do by @jpdillingham in #1671
- Interlock updates of shared scanner vars by @jpdillingham in #1687
- Add support for PUID/PGID to Docker by @jpdillingham in #1695
- Bump Soulseek.NET to 9.0.0, set minor version to 760 by @jpdillingham in #1674
- Bump 8000 picomatch from 2.3.1 to 2.3.2 in /src/web by @dependabot[bot] in #1684
- Bump flatted from 3.2.7 to 3.4.2 in /src/web by @dependabot[bot] in #1676
- Bump yaml in /src/web by @dependabot[bot] in #1680
- Bump Soulseek.NET to 10.0.0 by @jpdillingham in #1691
- Bump lodash from 4.17.23 to 4.18.1 in /src/web by @dependabot[bot] in #1692
- Bump lodash-es from 4.17.23 to 4.18.1 in /src/web by @dependabot[bot] in #1689
- Upgrade to .NET 10 by @jpdillingham in #1693
- Bump axios from 1.13.5 to 1.15.0 in /src/web by @dependabot[bot] in #1694
New Contributors
- @rfletcher made their first contribution in #1666
- @deepsweet made their first contribution in #1696
Full Changelog: 0.24.5...0.25.0
0.24.5
What's Changed
- Add KnownUnsupportedTypeConverter to prevent crashes when serializing some types by @jpdillingham in #1645
- Use shared JsonSerializerOptions when cloning State by @jpdillingham in #1648
- Ensure execute bits are set on directory mode by @jpdillingham in #1656
- Bump minimatch and eslint-config-canonical in /src/web by @dependabot[bot] in #1655
- Bump rollup from 2.79.2 to 2.80.0 in /src/web by @dependabot[bot] in #1654
Full Changelog: 0.24.4...0.24.5
0.24.4
Notable change: #1632 Add VPN integration and gluetun client adds the ability to configure slskd to poll your VPN client for status and automatically update your listening port. See the docs for more details.
What's Changed
- Un-map IPv4 IPv6 addresses (remove '::ffff' prefix), disallow such addresses to be specif 10000 ied in CIDR configuration by @jpdillingham in #1606
- Add throttling for incoming search requests, add additional prometheus metrics covering search responses by @jpdillingham in #1608
- Include agentName when completing agent GetFileStreamAsync by @jpdillingham in #1610
- Bump lodash-es from 4.17.21 to 4.17.23 in /src/web by @dependabot[bot] in #1613
- Bump lodash from 4.17.21 to 4.17.23 in /src/web by @dependabot[bot] in #1614
- Add the ability to apply an options 'overlay' at run-time; enabling update of listen IP and port by @jpdillingham in #1623
- Bump webpack from 5.94.0 to 5.105.0 in /src/web by @dependabot[bot] in #1630
- Bump axios from 0.30.2 to 1.13.5 in /src/web by @dependabot[bot] in #1635
- Add VPN integration and gluetun client by @jpdillingham in #1632
- Add gluetun config example by @jpdillingham in #1637
- Apply unix file mode to directories too by @jpdillingham in #1638
- Adjust some VPN service logic to make it more resilient by @jpdillingham in #1639
- Add explicit request validation for POST /searches by @jpdillingham in #1640
- Enqueue endpoint hardening by @jpdillingham in #1641
- Fix download error when no file mode is configured by @jpdillingham in #1642
Full Changelog: 0.24.3...0.24.4
0.24.3
What's Changed
- Fix UrlEncodingModelBinder regression with PathBase by @andykelk in #1600
- Fix Regression in 0.24.2: API endpoints return 404 when running with base path by @jpdillingham in #1601
New Contributors
Full Changelog: 0.24.2...0.24.3
0.24.2
What's Changed
- Change "Get Full Directory Contents" button caption and icon for clarity by @Copilot in #1552
- Make chat rooms search filter case-insensitive by @Copilot in #1556
- Update Browse empty state message for clarity by @Copilot in #1576
- Add validation to prevent crash when blacklist is enabled without file by @Copilot in #1579
- Add statistics by @jpdillingham in #1547
- Add reverse proxy instructions to README by @WinnerWind in #1503
- Add transfer details popup with datetime information to upload/download rows by @Copilot in #1582
- feature: configurable ip address by @x0vi in #1555
- Add the ability to bind HTTP and HTTPS to specific IP addresses by @jpdillingham in #1585
- Remove single character cli args for envars and cert/secret gen by @jpdillingham in #1586
- Add the ability to configure an API key via environment variables and command line by @jpdillingham in #1587
- Add client-side sorting to System Files view by @Copilot in #1581
- Handle Mutex creation failures in restricted environments by @Copilot in #1580
- Add Prometheus metrics for enqueue operations by @jpdillingham in #1588
- Add several indexes to share database, avoid using HasFlag() in other queries by @jpdillingham in #1589
- Optimize handling of file requests by @jpdillingham in #1591
- Add Failed retention setting, add more states to errored cleanup by @jpdillingham in #1594
- Bump qs and express in /src/web by @dependabot[bot] in #1590
- Fix issues with some API endpoints when values containing, among other characters, forward slashes are present by @jpdillingham in #1596
- Fix typo in docs (http-listen-ip-address -> http-ip-address) by @jpdillingham in #1597
New Contributors
- @Copilot made their first contribution in #1552
- @WinnerWind made their first contribution in #1503
- @x0vi made their first contribution in #1555
Full Changelog: 0.24.1...0.24.2
0.24.1
Notable change: #1544 Remove cache sharing directive from SQLite connection strings removes an ill-advised SQLite setting that has been causing contention and deadlocks for some (most?) users. This release should be noticeably more performant and stable.
What's Changed
- fix: system menu scrolls when overflowing on narrow screens by @tommytz in #1517
- Add flags to disable SQLite cache sharing and pooling by @jpdillingham in #1524
- Ensure SQLite PRAGMAs journal_mode=wal and synchronous=1 (NORMAL) are set during initialization by @jpdillingham in #1529
- Remove file validation for unix sockets by @jpdillingham in #1530
- Add flag to enable logging of unobserved exceptions by @jpdillingham in #1538
- Fix build warnings by @jpdillingham in #1539
- Bump js-yaml from 3.14.1 to 3.14.2 in /src/web by @dependabot[bot] in #1531
- Bump axios from 0.30.0 to 0.30.2 in /src/web by @dependabot[bot] in #1460
- Bump node-forge from 1.3.1 to 1.3.2 in /src/web by @dependabot[bot] in #1542
- Remove cache sharing directive from SQLite connection strings, remove deprecated toggle flag for it by @jpdillingham in #1544
- Simplify transfer-failing logic by @jpdillingham in #1546
New Contributors
Full Changelog: 0.24.0...0.24.1