Releases: tycrek/ass
0.12.0 - Easier indexes, rate limits
Custom indexes are now easier to plug into ass. No more config modifications, now you can simply have a file in the share/
directory named either index.html
or index.js
(for custom Express middleware) and ass will automatically serve your content.
Additionally in this release:
- New theme system (more to come in a later version with bigger announcement)
- Added basic rate limiting system. I'll improve this in the future.
- Updated Docker files: use
node
user rather thanroot
; removed redundant directives; simplified command order
Full Changelog: releases/0.11.0-rc.1...releases/0.12.0
0.11.0 - Theming Beta 1
The main focus of this update will be a new easy theming system. In addition, a new version of TLog is used (the TypeScript-ified TLog) and fixed a deletion bug (#132).
For more info on theming, please view the section in the README: https://github.com/tycrek/ass#customizing-the-viewer
Full Changelog: releases/0.10.0...releases/0.11.0-rc.1
0.10.0 - Lots of fixes
All changes
- TypeScript: target ES2021
- Significantly improved data/config loading on startup
- Converted
require()
toimport
/from
- Fixed incorrect extending of Express interfaces
- Fixed type importing
- Fixed startup sequence
- Fixed some JPEG's failing to upload
0.9.1 - Fix broken file saving
Long story short, this bug was pain. It's fixed.
All changes
- pain
- a lot
Update command (Docker)
npm run docker-update
# Previously updated to automatically pull changes
Update command (local)
git pull && npm run build
# Restart your process
If you haven't updated to 0.9.0 yet, use those update commands instead
0.9.0 - TypeScript!!
ass is now TypeScript! That's... really all there is to say about this release.
How to update
If you made ANY local changes to ass, read the Pull Request (specifically the section on "Potential migration problems"): #62
Update Command
Docker hosts
git pull && npm run docker-upfull
Manual install
git pull
# Install TypeScript if you need to
npm i -g typescript
# Install local dependencies including types
# (this will be improved in the future as I learn more about TypeScript)
npm i --save-dev
# Compile the TypeScript to JavaScript
npm run build
# Run the setup script to ensure config is on latest version
# (defaults are set by your existing config)
npm run setup
# Restart your process
0.9.0 - TypeScript Beta 3
This is a pre-release for ass hosters who want to test EXPERIMENTAL TypeScript builds.
Full Changelog: releases/0.9.0-rc.2...releases/0.9.0-rc.3
0.9.0 - TypeScript Beta 2
This is a pre-release for ass hosters who want to test EXPERIMENTAL TypeScript builds.
0.8.7 - More QoL changes
This update brings in a few major changes, such as using Papito instead of ass-storage-engines now (same codebase but modified for more general purpose use).
If you use webhooks, you'll need to fix your headers (check the README for info).
- Added options to replace or remove spaces in filenames
- Added dynamic data engines with new config entry
- Added
X-Ass-Webhook-Url
header and removed webhook token/client headers - Added check for duplicate ID's
- Improved Docker assets (
compose.yml
&Dockerfile
) thanks to @d1snin - Switched to
discord-webhook-node
, droppingdiscord.js
for webhooks - Switched to using Papito data engines (previously known as ass StorageEngines)
Hosts will need to run npm run setup
after pulling to set new config options.
Update command (local):
git pull
npm i
npm run setup
# restart your process
Update command (Docker):
docker-compose up --force-recreate --build -d && \
docker image prune -f && \
docker-compose exec ass npm run setup && \
docker-compose restart
0.9.0 - TypeScript Beta 1
0.8.6 - View direct resources in browser
This update adds a new setting to make the default browser view the direct resource. To accomplish this, I used the meta
refresh element so that Discord can still embed properly.
All changes
- Added setting to directly view resource in browser
- Fixed some
docker-compose exec
missing the container name - Fixed setup not using existing S3 configs (merged #58)
- Improved frontend plugging (merged #56)
- Rewrote
Custom frontends
section of README - Removed trailing slash that broke the index
Update command (local)
git pull
npm i && npm run setup
# restart your process
Update command (Docker)
git pull
docker-compose up --force-recreate --build -d && docker image prune -f
docker-compose exec ass npm run setup && docker-compose restart