Kaynağa Gözat

incrementing version

El RIDO 1 yıl önce
ebeveyn
işleme
60e1928fa1
8 değiştirilmiş dosya ile 24 ekleme ve 16 silme
  1. 1 1
      CHANGELOG.md
  2. 1 1
      Makefile
  3. 1 1
      README.md
  4. 2 2
      SECURITY.md
  5. 15 7
      doc/Installation.md
  6. 2 2
      js/package-lock.json
  7. 1 1
      js/package.json
  8. 1 1
      lib/Controller.php

+ 1 - 1
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)

+ 1 - 1
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")

+ 1 - 1
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)

+ 2 - 2
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
 

+ 15 - 7
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

+ 2 - 2
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",

+ 1 - 1
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": {

+ 1 - 1
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