Releases: DarrenOfficial/dpaste
Releases · DarrenOfficial/dpaste
v3.8
v3.7
v3.6
- Added support for Python 3.9.
- Added support for Python 3.10.
- Removed cache headers for all views except 404. Due to that snippets can be
deleted, it's not trivial to have them removed from upstream caches. - Bump pygments version to 2.11.
- update dependency psycopg2-binary to v2.9.3
- Addresses bug in cleanup_snippets script #191
- Removed docs, since it's moved to docs.dpaste.org, darrenofficial/dpaste-docs and will be updated there.
- Removed changelog from main branch to docs
v3.5
v3.4
- Dropped support for Python 3.4.
- Dropped support for Python 3.5.
- Dropped support for Django 1.11.
⚠️ - Dropped support for Django 2.0.
⚠️ - Dropped support for Django 2.1.
⚠️ - Added support for Python 3.8.
- Added support for Django 3.0.
- Snippets which are expired are now deleted as soon as they are requested
by a client. It's not necessary to purge them minutely with the
cleanup_snipppet
managemenent command. It's still encouraged to have the
management command setup, just run it daily, so snippets which expired but
never got fetched by a client are deleted properly. - All pages have sane Expire or Max-Age header.
- Onetime snippets which were never viewed a second time are now deleted if
they reach the default expire date. - New AppConfig setting
APPLICATION_NAME
that can be used to replace the
term "dpaste" throughout the UI. - New AppConfig setting
EXTRA_HEAD_HTML
and similars that can be used to
add custom HTML to each template, to easily override the stock UI of dpaste. - New "Slim" view that displays the highlighted snippet without header,
options etc, and can be iframed. - Forced line-break for superlongwordsthatwouldexceedthecanvas.
- Local development is no longer centered around
pipenv
, instead it's using
docker-compose or the classic virtualenv based setups. - Error pages are now correctly translated.
- Testsuite and Tox uses pytest instead of a homebrewed testrunner.
v3.3
v3.2
- "Edit Snippet" panel is now hidden by default to remove visual noise.
- Linux/Unix browsers now use Ctrl+Enter as a shortcut to submit the form.
- Added a dedicated "Copy Snippet" button to copy the content to the clipboard.
- Added "View Raw" option to optionally render the 'raw' snippet content with a
template rather served as plain text. This was added to hinder abuse. - Added "Json" to the list of lexers.
- Added 'JSX/React" to the list of lexers.
v3.1
- Django 2.1 support and tests.
- Django 2.2 support and tests.
- General code cleanup by running the entire codebase through black.
- Right-to-left support for text snippets.
- dart-sass is now used for SASS compilation.
- Updated lexer list.
- "View Raw" feature can be disabled in app config to hinder abuse.
v3.0
Huge release. Full cleanup and update of the entire codebase. Details:
- Requires Python 3.4 and up.
- Dropped support for Django 1.8 to 1.10 due to it's general end of support.
The project will likely work well but it's no longer specifically tested. - All views are now class based and use the latest generic based views sugar.
- Django 1.11 based templates, forms, views, models, etc.
- Added pipenv support for local development.
- Added AppConfig support to set and maintain settings.
- Added "Rendered Text" lexer with support for rST and Markdown.
- Added Content Security Policy features, with django-csp (this is mainly
required for the "rendered" text feature). - Removed jQuery dependency, all Javascript is native.
- Removed Bootstrap dependency.
- Removed 'Maximum History' limit setting.
- Removed translations.
- Removed "Suspicious" middleware which was never been used, documented,
and also not functional for a while. - Fixed issues around leading whitespace in lines.
- Fixed CMD+Enter form submission shortcut in Firefox.
v2.10 Release
2.10 (2016-03-23)
- Dropped Django 1.4 and 1.7 support!
- Full Django 1.8 support
- Full Django 1.9 support
- C++ Lexer is enabled by default
- (Backwards incompatible) All API calls must pass the data within a POST
request. It can't mix POST and GET arguments anymore. This was weird behavior
anyway and is likely no issue for any paste plugin out there.