Skip to content

Latest commit

 

History

History
376 lines (214 loc) · 9.43 KB

CHANGELOG.md

File metadata and controls

376 lines (214 loc) · 9.43 KB

← Browse repository

Changelog

v2.3.6 (2024-03-28)

Fixed:

  • core: Set Intuition->dashboardHome to full HTTPS url to avoid CORS errors during local development with an HTTP server, e.g. when testing RTRC.

Removed:

  • core: Remove unused Intuition->version property. (Timo Tijhof)

v2.3.5 (2024-03-28)

Changed:

v2.3.4 (2022-10-07)

Fixed:

  • Intuition: Cast variables in msg() to string. (Sam Wilson)
  • language: Fix PHP 8 warning for optional parameter in Language:getFileName(). (Sam Wilson)

Changed:

v2.3.3 (2022-04-13)

Fixed:

  • core: Fix Intuition::msgExists()s to not throw when message contains PLURAL. (Sam Wilson)

Changed:

v2.3.2 (2022-01-06)

Fixed:

  • core: Fix fatal TypeError in calling Intuition::getPromoBox() with a domain string.
  • core: Fix fatal TypeError in calling trim() from Util::tag().

v2.3.1 (2022-01-06)

Changed:

Fixed:

  • core: Fix fatal TypeError in Intuition::getFooterLine() method. 01735b5

v2.3.0 (2021-04-09)

Added:

  • This is the first release to officially support PHP 8.0.

Changed:

  • messages: Localisation updates from https://translatewiki.net.
  • Util: The parseExternalLinks() no longer tolerates null, it requires a string.

Fixed:

  • core: Add missing use statement to MessagesFunctions class. (Sam Wilson) c261473

Removed:

  • messages: Remove mwsnapshots domain, the tool was retired.

v2.2.0 (2020-07-13)

Changed:

  • messages: Localisation updates from https://translatewiki.net.
  • core: Intuition::setLang() does stricter normalization now to avoid invalid strings. This means setLang('en_AU') will now cause en-au to be selected.
  • core: Public Intuition class methods now have strict PHP argument type declarations.

v2.1.0 (2019-11-24)

Changed:

Removed:

  • End support for PHP 7.0, and PHP 7.1. Intuition now requires PHP 7.2+.

v2.0.0 (2019-05-13)

Added:

  • core: The Intuition::getAvailableLangs method now supports a $domain parameter (optional).

Changed:

  • messages: Localisation updates from https://translatewiki.net.
  • core: The Intuition::getAvailableLangs method is now based on the current domain. Previously, it only considered legacy domains that shipped with the library.
  • core: The globalfunctions option for Krinkle\Intuition::__construct is now disabled by default.

Removed:

  • core: The ToolStart.php entry point has been removed.
  • core: Remove the un-namespaced Intuition and TsIntuition class aliases. Deprecated since v0.5.0, use Krinkle\Intuition instead.

Fixed:

  • core: The Intuition::setUseRequestParam method now always sets the given value. Previously, it would silently ignored non-boolean values.

v1.2.0 (2018-11-06)

Changed:

Fixed:

  • core: Fix "Accept-Language" parsing bug in initLangSelect().
  • docs: Correct data type of $dir in registerDomain().

v1.1.0 (2018-08-21)

Added:

  • core: New method Intuition::addAvailableLanguage.

v1.0.0 (2018-08-15)

Changed

Intuition is now available under the MIT License.

  • messages: Localisation updates from https://translatewiki.net.
  • language: Update 'fallbacks' and 'Names' data from latest MediaWiki.

Removed:

  • End support for PHP 5.5, PHP 5.6, and HHVM. Intuition now requires PHP 7.0+.

v0.7.0 (2018-04-09)

Changed:

  • messages: Localisation updates from https://translatewiki.net.
  • language: Update 'rtl' and 'fallbacks' data from latest MediaWiki.
  • language: Update 'Names' data from latest MediaWiki.

Removed:

  • messages: Remove xtools domain.

Fixed:

  • language: Exclude entries from langlist without language name.

v0.6.1 (2017-06-20)

Fixed:

  • core: Fix PHP warning when preference is set to a language without translations in the current domain.

Changed:

v0.6.0 (2017-04-20)

Added:

  • core: Add use of native trigger_error() for notices and errors.

Changed:

Removed:

  • messages: Remove recentanonymousactivity domain (decommissioned).

v0.5.4 (2017-03-16)

Added:

  • messages: Add new messages to rtrc domain.

Changed:

v0.5.3 (2017-03-13)

Changed:

  • Update rtl and fallback language data from 2015-03-17 to 2017-03-13.

v0.5.2 (2017-03-10)

Added:

  • core: Allow setting userlang via POST.

v0.5.1 (2017-03-10)

Added:

  • core: New dummy language 'qqx' for showing raw message keys.

Changed:

v0.5.0 (2017-03-01)

The web service (Toolforge dashboard) has been moved to a new repository. See https://gerrit.wikimedia.org/g/labs/tools/intuition-web.

The Intuition classes are now namespaced under Krinkle\Intuition. The old names have been aliased for backwards-compatibility.

The Intuition library is now dependency-free!

Changed:

  • build: Remove toollabs-base dependency. Intuition is now dependency-free!
  • Move Intuition classes to Krinkle\Intuition namespace (PSR-4).
  • messages: Localisation updates from https://translatewiki.net.

Fixed:

  • core: Add support for dashboardHome values that do not have a trailing slash.

v0.4.0 (2016-12-22)

Changed:

  • js-env: Sort domain list to increase cache opportunities.
  • messages: Localisation updates from https://translatewiki.net.
  • Upgrade toollabs-base dependency to v0.8.0.

Fixed:

  • core: Make getLangNames() public (again).

v0.3.0 (2016-07-04)

Removed:

Changed:

v0.2.3 (2016-03-16)

Added:

  • core: Precompile language list for improved performance.

Fixed:

  • core: Add English to fallback chains.

v0.2.2 (2015-11-12)

Removed:

v0.2.0 (2015-11-07)

Core framework now available as Composer package. See https://packagist.org/packages/krinkle/intuition. Details at Migrate.

New domains:

Added:

  • api: Implement HTTP 304 caching for load.php and api.php.
  • core: Implement registerDomain() method for custom domains.
  • js-env: Implement batching for API requests (100ms debounce).

Changed:

  • core: Rewrite using new BaseTool and Bootstrap skin.
  • language: Localisation data is now stored in JSON files instead of PHP.
  • language: Update Names, Rtl, and Fallbacks from latest upstream MediaWiki.

Fixed:

  • core: Generate valid html in Intuition::getPromoBox().
  • dashboard: Use "1 month" indication instead of "4 weeks".
  • demo: Fix undefined message "apple-stats" in demo8.

v0.1.3 (2014-05-22)

Changed:

  • Rename TsIntuitionUtil::return_dump to TsIntuitionUtil::returnDump.
  • Rename hook TsIntuition_inithook to intuitionHookInit. Old one still works, though only one will run (if both are defined, the new one is used).
  • Rename TsIntuition to Intuition.

Deprecated:

  • Deprecate global function _().

v0.1.2 (2013-04-01)

Dashboard moved to https://toolserver.org/~intuition/.

New domains:

Added:

  • dashboard: Add an "About" area on the index page of the tool which shows all textdomains and (where possible) linked to the tool's url.
  • dashboard: Add demonstration sandboxes in /public_html/demo/.
  • core: Textdomains may now define a $url in the definition file.
  • core: Implement TsIntuition::msgExists() and TsIntuition:getDomainInfo().
  • core: Introduce new 'suppressfatal' option.
  • core: Introduce new 'suppressbrackets' option.

Changed:

  • dashboard: Sections converted to tabs with jQuery UI styling.

v0.1.1 (2011-04-01)

New domains:

Added:

  • core: Add a clear-cookies and renew-cookies action.
  • dashboard: Add confirmation messages after clearing or renewing cookies.
  • PremadeToolserverTextdomains class has been written for transatewiki.net.

Changed:

  • dashboard: SVN revision id is now visible in the header.
  • core: Requesting an undefined message now triggers a TsIntution error on E_NOTICE level.

v0.1.0 (2011-03-28)

First version in Wikimedia SVN.

v0.0.1 (2011-03-23)

Initial version on Toolserver.