SPIP
Article validated
The article « SPIP 4.3 (SPIP 4.3 - SPIP) » was
validated by George.
SPIP 4.3
Saturday 27 July 2024 , by jack
Table of contents
- Compatibility PHP 7.4 to 8.3
- Changes introduced by SPIP 4.3
- The banner in the private area takes up less height
- Rapid content creation via a drop-down menu
- The change of status form has been revised
- A message alerting you to the availability of a new version
- Added
- Changes
- Corrections
- Depreciation
- Remove
- Plugins-dist
- Images
Compatibility PHP 7.4 to 8.3 [|Back to the table of
contents](#s-Compatibility-PHP-7-4-to-8-3)
SPIP 4.3 requires PHP 7.4 or higher, and runs up to PHP 8.3.
It requires the following PHP extensions: sodium, Zlib, Zip and Phar.
Changes introduced by SPIP 4.3[|Back to the table of
contents](#s-Changes-introduced-by-SPIP-4-3)
The most important changes concern
- the more condensed private area banner,
- the revised form for changing the status of editorial objects,
- faster image filters,
- a more inclusive style for certain formulations,
- an email notification when a SPIP update is available, as well as a
larger visual indication in the private area, -
The banner in the private area takes up less height[|Back to the
table of contents](#s-The-banner-in-the-private-area-takes-up-less-height)
(https://www.spip.net/IMG/png/screenshot_2024-07-27_at_08-23-26_spip_home.png)Rapid content creation via a drop-down menu[|Back to the table of
contents](#s-Rapid-content-creation-via-a-drop-down-menu)
The change of status form has been revised [|Back to the table of
contents](#s-The-change-of-status-form-has-been-revised)
**Initial submission of the change of status form ** **Unfolded change of status form **A message alerting you to the availability of a new version [|Back to
the table of
contents](#s-A-message-alerting-you-to-the-availability-of-a-new-version)
This version also brings other improvements and bug fixes.
Added|Back to the table of contents
- Display an insert for new versions on all pages in the private area for
webmasters, and a button pointing tospip_loader
if it is present. - Notify site webmasters by email when SPIP has been updated.
- Improve the ergonomics of the “instituer” form (change of status of
an editorial object, see above) - The site’s identity form can be used to configure the timezone used
- New
|balise_img_svg
filter for inserting an image or SVG inline
without knowing the format in advance - Add an option to
find_all_in_path()
to return all files matching a
pattern -
|propre
filter which appliespropre()
&safehtml()
(this allows
de-escaping trusted code to be from the models templates) - Debugger: Display the number of occurrences and total time of template
inclusions - The
_DEBUG_MINIPRES
constant, set to true, activates the display of a
visible debug when a Minipage error occurs. - Pipeline
get_spip_doc
to manipulate the native result of the
get_spip_doc()
function.
Changes |Back to the table of contents
- The navigation banner for the private area has been reduced in height
(2 lines instead of 3, see above). - The quick creation menu is now a drop-down menu with explicit labels
(see above) - More inclusive writing of certain formulations
- Optimisation of loops with pagination, by forcing an automatic limit
clause on them - In a plug-in, if the logo attribute of a
paquet.xml
is missing, and
there is a{prefix}.svg
file in the plug-in, it is used as the logo. - The
extraire_balise()
andextraire_balises()
functions can handle
nested tags.
Corrections |Back to the table of contents
- Improve HTML5 compliance
- Background tasks icon that doesn’t mention databases
- Refactoring of
ecrire_fichier()
. - Combining
{pagination}
and{limit}
criteria - Not keeping a duplicate of unchanged calculation files
(#PRODUIRE_FOND
) - Update
mediaelement
library to version 7.0.3 - Correction of
inserer_attribut()
in a special case:<img>
tags
(even if not self-closing)
Depreciation|Back to the table of contents
- Depreciate the obsolete
ecrire/inc/presentation
functions. - The global
auteur_session
(deprecated since SPIP 2.0!) will be
removed in SPIP 5.0. Usevisiteur_session
. - Depreciate the
.label
class in favour of.edit-label
in forms.
Remove |Back to the table of contents
- Remove icon display options in preferences
Plugins-dist|Back to the table of contents
Images|Back to the table of contents
The performance of the Image Filters plug-in has been significantly
optimised, with some image filters now up to 10 times faster thanks to the
use of PHP GD’s native functions.
- A new filter,
|image_oriente_selon_exif
, to automatically
re-orientate an image according to its exif. - Image filters such as
|image_recadre
re-orient the image according to
the orientation exif - Optimisation of filters
|image_aplatir
,|image_renforcement
,
|image_flou
,|image_sepia
,|image_flip_vertical
,
|image_flip_horizontal
,|image_nb
,|image_gamma
,|image_rotation
. - Correction of crop parameter for
|image_rotation
.
Compatible plug-ins}
As soon as it is released, SPIP 4.3 will have around 700 compatible
plug-ins, which will make it easier to update.
— Sent by SPIP (https://www.spip.net/)