EG Repo Card - full changelog
=============================

The readme.txt shipped with the plugin keeps the changelog of the current 2.x
line only. The entries below are from EG Ranking Repo 1.x, the previous name
of the plugin.

Releases of the 1.x line: https://git.emanuelegori.uno/emanuelegori/eg-ranking-repo/releases

= 1.5.1 =
* Fixed: author name typo in plugin header ("Emanuele Egori" → "Emanuele Gori")

= 1.5.0 =
* Added: dedicated "Codeberg" label and blue badge for Codeberg repositories (instead of the generic "Forgejo")
* Added: egr_platform_label filter to register custom labels for additional hosts

= 1.4.5 =
* Fixed: cache invalidation via generation counter — works correctly with Redis selective flush

= 1.4.4 =
* Fixed: flush cache now also calls wp_cache_flush() to clear Redis/Memcached object cache

= 1.4.3 =
* Added: screenshot with absolute Forgejo URL in readme.txt and README files

= 1.4.2 =
* Fixed: plugin header Description translated to English

= 1.4.1 =
* Added: version badges in README.md and README.it-IT.md, unified structure

= 1.4.0 =
* Changed: full i18n refactor — English msgids, it_IT.po/mo with Italian translations

= 1.2.7 =
* Changed: card now fills the full post column width — removed fixed `max-width: 420px`, switched to block-level `flex`

= 1.2.6 =
* Added: `.distignore` — `README.it-IT.md` and `.gitignore` excluded from the WordPress installation package

= 1.2.5 =
* Added: `README.it-IT.md` — Italian documentation (served automatically by Forgejo for Italian-language browsers)
* Added: `README.md` translated to English — fallback for all other languages

= 1.2.4 =
* Fixed: `phpcs:ignore` on `echo $notice` — false positive, variable already built with `esc_html__()` and `esc_html()`

= 1.2.3 =
* Fixed: `translators:` comment moved to the line immediately above `esc_html__()` (PHPCS compliance)
* Fixed: translated readme.txt to English (Plugin Check compliance)

= 1.2.2 =
* Fixed: `$val` in cache duration field now uses `esc_attr()` (Plugin Check compliance)
* Fixed: added `translators:` comment to "Token %s removed" string
* Fixed: `phpcs:ignore` on transient DELETE query in `flush_all_cache()` and `uninstall.php` (legitimate bulk delete, not cacheable)
* Fixed: `$style` in card output now uses `esc_attr()` explicitly
* Fixed: `phpcs:ignore` on the five hardcoded inline SVG icon calls
* Fixed: translated readme.txt to English (Plugin Check compliance)
* Removed: `load_plugin_textdomain()` — no longer needed since WP 4.6+ with a compiled `.mo` file
* Added: `languages/eg-ranking-repo-it_IT.mo` compiled from `.po`
* Updated: "Tested up to" to 7.0

= 1.2.1 =
* Fixed: added `rel="noopener noreferrer"` to the Documentation action link
* Fixed: star tooltip now uses `_n()` and is properly translatable

= 1.2.0 =
* Security: enforced HTTPS for Forgejo/Gitea API calls
* Security: `flush_all_cache()` uses `$wpdb->prepare()` with `$wpdb->esc_like()`
* Added: Documentation link in the plugin action links
* Added: Remove API Token section in the admin page
* Added: `uninstall.php` to clean up options and transients on uninstall
* Fixed: API errors are now cached for 5 minutes
* Fixed: `tabindex="-1"` on the disabled Website button

= 1.1.0 =
* Added: `Forgejo Plugin URI` header for auto-updates via EG Forgejo Updater
* Added: Settings link in the plugin action links
* Added: card text colour option
* Added: repository description in the card
* Fixed: hardcoded text colours replaced with CSS custom properties
* Fixed: token field no longer exposes the stored value in the HTML DOM
* Fixed: anti-SSRF protection via `wp_safe_remote_get()`
* Improved: `add_shortcode()` moved to the `init` hook
* Improved: `format_date()` now respects the WordPress timezone

= 1.0.0 =
* Initial release
