Release v2.0.0 - Changes configuration defaults & template #1611
elrido
announced in
Announcements
Replies: 1 comment
-
|
Congratulations on 2.0. Great work :-) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This release changes configuration defaults including switching the template and removing legacy features.
The most notable change is the switch of the default template to
bootstrap5. We switched to use the Jdenticons library by default for the comment creator icons, as it doesn't require the GD library. And we changed the user interface to display SI-prefixes instead of binary bytes for data sizes, to be more consistent with sizes displayed in current operating systems, i.e. 1024 bytes now will be displayed as 1.02 kB instead of 1.00 kiB and refer to "documents" instead of "pastes".The
pagetemplate and compatibility to pre-v1.3 pastes, including ZeroBin ones, got removed. Thev2paste format which is still currently used, got introduced in release 1.3 in July 2019. This allows dropping further unused database columns, as those were artifacts of thev1pastes and not used anymore with thev2ones.Update procedure
The minimum required PHP version was increased from 7.3 to 7.4.
If you have created your own
cfg/conf.phpfile, please check the following entries and update them accordingly:[main], keytemplate: If set topagereplace this withbootstrap5or one of thebootstrapvariants (seecfg/conf.sample.php.[main], keyicon: If commented and you prefer the look of the blockyidenticonover triangularjdenticon, uncomment the value and set it back toidenticon.[model], keyclass: If set toprivatebin_datareplace this withFilesystemand if set toprivatebin_dborzerobin_dbreplace this withDatabase.If you are using the
Databasemodel class and your database user is not privileged to perform schema changes, you have to manually drop thepostdate,opendiscussion,burnafterreading,attachmentandattachmentnamecolumns of thepastetable and thenicknamecolumn from thecommenttable. If you are using SQLite before 3.35.0, which doesn't support dropping columns, you must initialize a new empty database file and either manually migrate the data or start from scratch.As usual, you can download the archive for a manual upgrade and can find more details in the installation instructions.
We also offer a container images using the nginx web server with php-fpm and one using the nginx unit application server, that include the recommended secure setup with the non-essential files and data outside of the web servers document root.
Optionally, you can use the
bin/administrationscripts' two new features to check if anyv1pastes still exist on your instance using the--statisticsflag and then delete them using the--delete-v1flag:Changes since version 1.7.8
privatebin_data,privatebin_db&zerobin_dbmodel class configurations, must be replaced withFilesystemorDatabaseincfg/conf.php, if still presentpaste&commentHelp wanted & greatly appreciated
Apart from the large tasks that require deeper insight and time, there are also smaller issues were help is wanted, topics open to debate and of course many languages that still remain to be translated. We are also still looking for additional long term maintainers among our frequent issue helpers.
What can we offer you in return for your help?
If you are interested in helping with any of these points, we have prepared a development guide including design goals, code structure and tools to get you started. For any questions, you can chat with the maintainers in the discussion area or reach us via email.
This discussion was created from the release Release v2.0.0 - Changes configuration defaults & template.
Beta Was this translation helpful? Give feedback.
All reactions