Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Releases: tycrek/ass

0.12.0 - Easier indexes, rate limits

18 Aug 23:03
Compare
Choose a tag to compare

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 than root; removed redundant directives; simplified command order

Full Changelog: releases/0.11.0-rc.1...releases/0.12.0

0.11.0 - Theming Beta 1

18 Apr 18:21
Compare
Choose a tag to compare
Pre-release

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

15 Apr 17:36
89956a2
Compare
Choose a tag to compare

All changes

  • TypeScript: target ES2021
  • Significantly improved data/config loading on startup
  • Converted require() to import/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

14 Oct 22:36
e6282a8
Compare
Choose a tag to compare

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!!

14 Oct 03:22
Compare
Choose a tag to compare

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

12 Oct 23:19
Compare
Choose a tag to compare
Pre-release

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

04 Oct 02:48
Compare
Choose a tag to compare
Pre-release

This is a pre-release for ass hosters who want to test EXPERIMENTAL TypeScript builds.

0.8.7 - More QoL changes

01 Oct 17:44
469e8cd
Compare
Choose a tag to compare

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, dropping discord.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

09 Sep 01:20
Compare
Choose a tag to compare
Pre-release

This is a pre-release for ass hosters who want to test EXPERIMENTAL TypeScript builds.

Files migrated so far include:

Files migrated so far in the TypeScript test branch. Alt text users, I gotchu

Scripts

Two new npm scripts have been introduced in this release.

npm run build

This script simply calls ts.

npm run dev

This script calls npm run build && npm run start.

0.8.6 - View direct resources in browser

28 Aug 16:59
b6d6ba5
Compare
Choose a tag to compare

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