diff --git a/CHANGELOG.md b/CHANGELOG.md index 1668049b..395219f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # PrivateBin version history -## 2.0.0 (not yet released) +## 2.0.0 (2025-07-28) * ADDED: Error logging in database and filesystem backend (#1554) * ADDED: Statistics on v1 pastes in administration script and option to delete them * CHANGED: Removed page template (#265) diff --git a/Makefile b/Makefile index 792e09d1..ebd00769 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ .PHONY: all coverage coverage-js coverage-php doc doc-js doc-php increment sign test test-js test-php help -CURRENT_VERSION = 1.7.8 +CURRENT_VERSION = 2.0.0 VERSION ?= 2.0.0 VERSION_FILES = README.md SECURITY.md doc/Installation.md js/package*.json lib/Controller.php Makefile REGEX_CURRENT_VERSION := $(shell echo $(CURRENT_VERSION) | sed "s/\./\\\./g") diff --git a/README.md b/README.md index c01a9206..e599c930 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # [![PrivateBin](https://cdn.rawgit.com/PrivateBin/assets/master/images/preview/logoSmall.png)](https://privatebin.info/) -*Current version: 1.7.8* +*Current version: 2.0.0* **PrivateBin** is a minimalist, open source online [pastebin](https://en.wikipedia.org/wiki/Pastebin) diff --git a/SECURITY.md b/SECURITY.md index 276fce2a..4cc9a465 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -4,8 +4,8 @@ | Version | Supported | | ------- | ------------------ | -| 1.7.8 | :heavy_check_mark: | -| < 1.7.8 | :x: | +| 2.0.0 | :heavy_check_mark: | +| < 2.0.0 | :x: | ## Reporting a Vulnerability diff --git a/doc/Installation.md b/doc/Installation.md index 18dddaad..6b8e86cf 100644 --- a/doc/Installation.md +++ b/doc/Installation.md @@ -22,12 +22,20 @@ for more information. ### Minimal Requirements - PHP version 7.4 or above -- GD extension (when using identicon or vizhash icons, jdenticon works without it) -- zlib extension -- some disk space or a database supported by [PDO](https://php.net/manual/book.pdo.php) -- ability to create files and folders in the installation directory and the PATH - defined in index.php -- A web browser with JavaScript and (optional) WebAssembly support +- PHP with zlib extension +- some disk space and the capability to create files and folders in the + installation directory and the `PATH` defined in index.php +- A web browser with JavaScript support enabled + +### Optional Requirements + +- PHP with GD extension (when using identicon or vizhash icons, jdenticon works + without it) +- a database supported by [PHP PDO](https://php.net/manual/book.pdo.php) and the + PHP PDO extension (when using database storage) +- a Ceph cluster with Rados gateway or AWS S3 storage (when using S3 storage) +- Google Cloud Storage (when using GCP storage) +- A web browser with WebAssembly support ## Hardening and Security @@ -195,7 +203,7 @@ CREATE INDEX parent ON prefix_comment(pasteid); CREATE TABLE prefix_config ( id CHAR(16) NOT NULL, value TEXT, PRIMARY KEY (id) ); -INSERT INTO prefix_config VALUES('VERSION', '1.7.8'); +INSERT INTO prefix_config VALUES('VERSION', '2.0.0'); ``` In **PostgreSQL**, the `data`, `attachment`, `nickname` and `vizhash` columns diff --git a/js/package-lock.json b/js/package-lock.json index 336f7e05..41a4c92f 100644 --- a/js/package-lock.json +++ b/js/package-lock.json @@ -1,12 +1,12 @@ { "name": "privatebin", - "version": "1.7.8", + "version": "2.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "privatebin", - "version": "1.7.8", + "version": "2.0.0", "license": "zlib-acknowledgement", "devDependencies": { "@peculiar/webcrypto": "^1.5.0", diff --git a/js/package.json b/js/package.json index c0d06e08..eaa7b8b4 100644 --- a/js/package.json +++ b/js/package.json @@ -1,6 +1,6 @@ { "name": "privatebin", - "version": "1.7.8", + "version": "2.0.0", "description": "PrivateBin is a minimalist, open source online pastebin where the server has zero knowledge of stored data. Data is encrypted/decrypted in the browser using 256 bit AES in Galois Counter mode (GCM).", "main": "privatebin.js", "directories": { diff --git a/lib/Controller.php b/lib/Controller.php index 4309b934..2a70156e 100644 --- a/lib/Controller.php +++ b/lib/Controller.php @@ -27,7 +27,7 @@ class Controller * * @const string */ - const VERSION = '1.7.8'; + const VERSION = '2.0.0'; /** * minimal required PHP version