Tycrek Ass Versions Save

The simple self-hosted ShareX server

releases/0.12.0

1 year ago

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: https://github.com/tycrek/ass/compare/releases/0.11.0-rc.1...releases/0.12.0

releases/0.11.0-rc.1

2 years ago

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: https://github.com/tycrek/ass/compare/releases/0.10.0...releases/0.11.0-rc.1

releases/0.10.0

2 years ago

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

releases/0.9.1

2 years ago

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

releases/0.9.0

2 years ago

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"): https://github.com/tycrek/ass/pull/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

releases/0.9.0-rc.3

2 years ago

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

Full Changelog: https://github.com/tycrek/ass/compare/releases/0.9.0-rc.2...releases/0.9.0-rc.3

releases/0.9.0-rc.2

2 years ago

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

releases/0.8.7

2 years ago

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

releases/0.9.0-rc.1

2 years ago

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.

releases/0.8.6

2 years ago

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