mirror of
https://github.com/amigan/rustypaste-pretty.git
synced 2024-11-22 04:19:47 -05:00
58 lines
1.9 KiB
Markdown
58 lines
1.9 KiB
Markdown
# Changelog
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
|
## [0.5.0] - 2021-10-12
|
|
### Added
|
|
- Added an entry in the configuration file to disable "duplicate uploads":
|
|
|
|
```toml
|
|
[paste]
|
|
# default: true
|
|
duplicate_files = false
|
|
```
|
|
|
|
Under the hood, it checks the SHA256 digest of the uploaded files.
|
|
|
|
## [0.4.1] - 2021-09-19
|
|
### Changed
|
|
- Update README.md:
|
|
- Mention the new standalone tool: [rustypaste-cli](https://github.com/orhun/rustypaste-cli)
|
|
- Add [installation](https://github.com/orhun/rustypaste#installation) section.
|
|
|
|
## [0.4.0] - 2021-08-27
|
|
### Added
|
|
- Support [expiring links](README.md#expiration) (via `expire:` header)
|
|
- Timestamps are used as extension for expiring files
|
|
- Expired files can be cleaned up with [this command](README.md#cleaning-up-expired-files)
|
|
- Support [one shot links](README.md#one-shot) (via `oneshot=` form field)
|
|
- `{server.upload_path}/oneshot` is used for storage
|
|
|
|
## [0.3.1] - 2021-08-10
|
|
### Fixed
|
|
- Switch to [upload-release-action](https://github.com/svenstaro/upload-release-action) for uploading releases
|
|
|
|
## [0.3.0] - 2021-08-09
|
|
### Added
|
|
- Support overriding MIME types (config: `mime_override`)
|
|
- Support blacklisting MIME types (config: `mime_blacklist`)
|
|
|
|
## [0.2.0] - 2021-08-04
|
|
### Added
|
|
- Support shortening URLs (via `url=` form field)
|
|
- `{server.upload_path}/url` is used for storage
|
|
|
|
## [0.1.3] - 2021-07-28
|
|
### Fixed
|
|
- Prevent sending empty file name and zero bytes
|
|
- Prevent path traversal on upload directory ([#2](https://github.com/orhun/rustypaste/issues/2))
|
|
- Check the content length while reading bytes for preventing OOM ([#1](https://github.com/orhun/rustypaste/issues/1))
|
|
|
|
## [0.1.2] - 2021-07-27
|
|
### Changed
|
|
- Update Continuous Deployment workflow to publish Docker images
|
|
|
|
## [0.1.1] - 2021-07-27
|
|
Initial release.
|