SPIP 4.3

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

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

Rapid content creation via a drop-down menu

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

This version also brings other improvements and bug fixes.

Added

  • Display an insert for new versions on all pages in the private area for webmasters, and a button pointing to spip_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 applies propre() & 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

  • 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() and extraire_balises() functions can handle nested tags.

Corrections

  • 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

  • Depreciate the obsolete ecrire/inc/presentation functions.
  • The global auteur_session (deprecated since SPIP 2.0!) will be removed in SPIP 5.0. Use visiteur_session.
  • Depreciate the .label class in favour of .edit-label in forms.

Remove

  • Remove icon display options in preferences

Plugins-dist

Images

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.

Author jack Published :

Translations : English, français, Português