Skip to content

Latest commit

 

History

History
130 lines (94 loc) · 3.32 KB

CHANGELOG.md

File metadata and controls

130 lines (94 loc) · 3.32 KB

v3.1.1

05/10/2023

    • Fixed a PHP 8.2+ deprecation issue

v3.1.0

12/12/2022

    • Using blocks in partials/langswitcher.html.twig to make it easier to extend without having to copy the logic

v3.0.2

10/05/2022

    • Require Grav 1.7.37 to make use of the new Pages::getSimplePagesHash() method
    • Added caching to translated_routes so translation work is only performed on the first load, resulting in faster subsequent page loads

v3.0.1

08/19/2022

    • Fixed another issue with incorrect hreflang URLs

v3.0.0

08/19/2022

    • Completely rewrote the logic for translated URLs to be more robust.
    • Added configuration option to use Translated URLs or use previous Raw-Route approach
    • Updated hreflang Twig template to use new translated URLs logic
    • Added an x-default entry for hreflang template when default language has include_default_lang set to false
    • Support params and query string parameters in URLs
    • Full domain URLs for hreflang entries

v2.0.1

08/04/2022

    • Fixed exception thrown instead of 404 Page not found #66

v2.0.0

07/25/2022

    • Support for translated slugs!!!! #50
    • Require Grav 1.7
    • Improved support for home URL #59

v1.5.0

07/01/2021

    • Made langswitcher display more customizable. See README.md for full details.

v1.4.3

06/25/2021

    • Made langswitcher data available in Grav object
    • Fix multilang alternatives #58

v1.4.2

03/17/2021

    • Pass phpstan level 1 tests
    • Require Grav v1.6
    • Fix hreflang URLs #57

v1.4.1

05/09/2019

    • Added some translations #45

v1.4.0

06/29/2017

    • Added the untranslated_pages_behavior option to determine what to do with a language link when the current page doesn't exist in that language or it exists but it's not published
    • Fixed generated URLs when append_url_extension is set, via PR #22

v1.3.0

02/17/2017

    • Added support for hreflang annotations via PR #19

v1.2.1

05/28/2016

    • Display all language names, even those with non supported locales

v1.2.0

05/03/2016

    • Take URI parameters into account when switching languages
    • Add external class to avoid problems on modular pages when jquery.singlePageNav is loaded

v1.1.0

10/15/2015

    • Added active class to language links

v1.0.2

07/13/2015

    • Improved homepage routing

v1.0.1

07/08/2015

    • Updated blueprints with some typo fixes

v1.0.0

07/08/2015

    • ChangeLog started...