瀏覽代碼

post-release cleanup

- prep changelog for future changes
- composer changes from re-running composer on the repo, testing deps
- change to phpunit coverage make target, required with newer releases
El RIDO 2 年之前
父節點
當前提交
5c29619fee
共有 3 個文件被更改,包括 10 次插入8 次删除
  1. 5 3
      CHANGELOG.md
  2. 1 1
      Makefile
  3. 4 4
      composer.json

+ 5 - 3
CHANGELOG.md

@@ -1,14 +1,16 @@
 # PrivateBin version history
 # PrivateBin version history
 
 
+## 1.7.1 (not yet released)
+
 ## 1.7.0 (2024-02-11)
 ## 1.7.0 (2024-02-11)
 * ADDED: Translations for Romanian
 * ADDED: Translations for Romanian
 * ADDED: Detect and report on damaged pastes (#1218)
 * ADDED: Detect and report on damaged pastes (#1218)
-* CHANGED: Ask for confirmation, before loading burn after reading pastes #1237
+* CHANGED: Ask for confirmation, before loading burn after reading pastes (#1237)
 * CHANGED: Focus on password input in modal dialog
 * CHANGED: Focus on password input in modal dialog
 * CHANGED: Upgrading libraries to: DOMpurify 3.0.8 & zlib 1.3.1
 * CHANGED: Upgrading libraries to: DOMpurify 3.0.8 & zlib 1.3.1
 * FIXED: Support more types of valid URLs for shorteners, incl. IDN ones (#1224)
 * FIXED: Support more types of valid URLs for shorteners, incl. IDN ones (#1224)
-* FIXED: Email timezone buttons overlapping in some languages #1039
-* FIXED: Changing language mangles URL #1191
+* FIXED: Email timezone buttons overlapping in some languages (#1039)
+* FIXED: Changing language mangles URL (#1191)
 * FIXED: Needless reload when visiting default URL
 * FIXED: Needless reload when visiting default URL
 
 
 ## 1.6.2 (2023-12-15)
 ## 1.6.2 (2023-12-15)

+ 1 - 1
Makefile

@@ -17,7 +17,7 @@ coverage-js: ## Run JS unit tests and generate code coverage reports.
 	cd js && nyc mocha
 	cd js && nyc mocha
 
 
 coverage-php: ## Run PHP unit tests and generate code coverage reports.
 coverage-php: ## Run PHP unit tests and generate code coverage reports.
-	cd tst && phpunit 2> /dev/null
+	cd tst && XDEBUG_MODE=coverage phpunit 2> /dev/null
 	cd tst/log/php-coverage-report && sed -i "s#$(CURDIR)/##g" *.html */*.html
 	cd tst/log/php-coverage-report && sed -i "s#$(CURDIR)/##g" *.html */*.html
 
 
 doc: doc-js doc-php ## Generate all code documentation.
 doc: doc-js doc-php ## Generate all code documentation.

+ 4 - 4
composer.json

@@ -24,10 +24,10 @@
 		"docs" : "https://privatebin.info/codedoc/"
 		"docs" : "https://privatebin.info/codedoc/"
 	},
 	},
 	"require" : {
 	"require" : {
-		"php" : "^7.3 || ^8.0",
-		"yzalis/identicon" : "2.0.0",
-		"mlocati/ip-lib" : "1.18.0",
-		"jdenticon/jdenticon": "1.0.2"
+		"php": "^7.3 || ^8.0",
+		"jdenticon/jdenticon": "1.0.2",
+		"mlocati/ip-lib": "1.18.0",
+		"yzalis/identicon": "2.0.0"
 	},
 	},
 	"suggest" : {
 	"suggest" : {
 		"google/cloud-storage" : "1.32.0",
 		"google/cloud-storage" : "1.32.0",