From dcc863e71beb1e5cb1346356071f22596675198c Mon Sep 17 00:00:00 2001
From: Jerome Jutteau <jerome@jutteau.fr>
Date: Mon, 4 Nov 2019 23:17:45 +0100
Subject: [PATCH 1/1] Jirafeau version 4.0.0

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
---
 README.md        | 9 +++++++++
 lib/settings.php | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index dc3522a..db4bbca 100644
--- a/README.md
+++ b/README.md
@@ -432,3 +432,12 @@ The very first version of Jirafeau after the fork of Jyraphe.
 - Docker fix
 - Advertise javascript license for LibreJS compatibility
 - other minor fixes
+
+## Version 4.0.0
+
+- Removed plain-text password support for admin auth (breaking change). Update `admin_password` option using `echo -n MyNewPassw0rd | sha256sum` command.
+- Default folder sub-division to 8 characters (breaking change).
+- New option `upload_ip_nopassword` to allow a list of IP to access Jirafeau without password
+- Bugfix with LibreJS
+- Other minor bug fixes
+- More languages supported
diff --git a/lib/settings.php b/lib/settings.php
index 48fbd40..b068813 100644
--- a/lib/settings.php
+++ b/lib/settings.php
@@ -33,7 +33,7 @@ if (file_exists(JIRAFEAU_ROOT . 'lib/config.local.php')) {
 
 /* Jirafeau package */
 define('JIRAFEAU_PACKAGE', 'Jirafeau');
-define('JIRAFEAU_VERSION', '3.4.1');
+define('JIRAFEAU_VERSION', '4.0.0');
 
 /* Directories. */
 define('VAR_FILES', $cfg['var_root'] . 'files/');
-- 
2.43.0