Skip to content

Latest commit

 

History

History
220 lines (141 loc) · 7.1 KB

File metadata and controls

220 lines (141 loc) · 7.1 KB

CHANGELOG

All notable changes to the ArrayFunctions project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Changed

  • Replace the #af_set parser function with #af_put that has a more sane parameter order. The #af_set parser function remains available for backwards compatibility.

v1.12.0 - 2025-02-04

Added

  • Add the #af_range parser function.

Changed

  • Rename the #af_wildcard parser function to #af_group, and add an alias for #af_wildcard.
  • The #af_difference parser function now compares items normally instead of as strings.
  • The #af_exists parser function now accepts multiple keys to check if a nested key exists.
  • The #af_instersect parser function now compares items normally instead of as strings.
  • Localisation updates courtesy of translatewiki.net.

v1.11.0 - 2024-12-10

Added

  • Add the #af_flatten parser function.
  • Add the #af_wildcard parser function.
  • Add the #af_reverse parser function.
  • Overload #af_get with special indices to perform certain operations on the array instead of retrieving a key.

Changed

  • The #af_unique parser function now compares items normally instead of as strings.

v1.10.0 - 2024-11-26

Added

  • Add ZLIB compression using gzdeflate and gzinflate.

Changed

v1.9.0 - 2024-05-02

Added

  • Add delimiter option to the #af_foreach parser function.

Changed

  • All string parameters now support escape sequences.

v1.8.0 - 2024-04-04

Changed

  • Whitespace is now trimmed from the beginning and the end of array values to be consistent with the behaviour of other parameters in MediaWiki.
  • Localisation updates courtesy of translatewiki.net.

v1.7.0 - 2023-10-24

Added

  • Add the #af_ksort parser function.
  • Add caseinsensitive option to the #af_keysort parser function.
  • Add caseinsensitive option to the #af_sort parser function.

Changed

v1.6.0 - 2023-09-12

Added

  • Add the #af_stringmap parser function.
  • Add the mw.af.import Lua function to import ArrayFunctions arrays into Lua.

Changed

v1.5.0 - 2023-09-07

Added

  • Add the #af_difference parser function.

Changed

v1.4.4 - 2023-06-30

Changed

Fixed

  • Fix #af_template parser function to no longer check a user their read permissions explicitly, as regular template transclusion also does not do this. Previously, an error would be outputted.

v1.4.3 - 2023-05-26

Changed

  • Exporting a NULL value (e.g. through the mw.af.export Lua function) will now result in the empty string. Previously, the NULL would be returned unaltered.

v1.4.2 - 2023-05-26

Changed

  • The #af_template parser function now shows non-existent templates as a broken link. Previously, an error would be outputted.
  • Localisation updates courtesy of translatewiki.net.

v1.4.1 - 2023-05-05

Changed

  • The #af_split parser function now allows the empty string as its first parameter. Previously, an error would be outputted.
  • Localisation updates courtesy of translatewiki.net.

v1.4.0 - 2023-04-26

Added

  • Add the #af_show parser function.

v1.3.0 - 2023-03-27

Added

  • Add the #af_search parser function.

v1.2.0 - 2023-03-03

Added

  • Add the #af_intersect parser function.
  • Add the #af_merge parser function.
  • Add the #af_reduce parser function.

v1.1.0 - 2023-02-03

Added

  • Add the #af_split parser function.

v1.0.1 - 2023-01-09

Changed

  • The mw.af.export Lua function now supports parameters of all types. Previously, it only supported arrays.

Fixed

  • Fix issue where an exception was thrown when a parameter with an incorrect type was passed to mw.af.export.

v1.0.0 - 2023-01-07

Added

  • Add the #af_bool parser function.
  • Add the #af_count parser function.
  • Add the #af_exists parser function.
  • Add the #af_float parser function.
  • Add the #af_foreach parser function.
  • Add the #af_get parser function.
  • Add the #af_if parser function.
  • Add the #af_int parser function.
  • Add the #af_isarray parser function.
  • Add the #af_join parser function.
  • Add the #af_keysort parser function.
  • Add the #af_list parser function.
  • Add the #af_map parser function.
  • Add the #af_object parser function.
  • Add the #af_print parser function.
  • Add the #af_push parser function.
  • Add the #af_set parser function.
  • Add the #af_slice parser function.
  • Add the #af_sort parser function.
  • Add the #af_template parser function.
  • Add the #af_unique parser function.
  • Add the #af_unset parser function.