Releases: netarz/netarz-fx-wordpress
Releases · netarz/netarz-fx-wordpress
Release list
NetArz FX Rates 1.1.0: blocks, converter, WooCommerce Toman line
Added
- Three dynamic blocks:
netarz-fx/rate(one rate),netarz-fx/rates(rates table) and
netarz-fx/convert(converter). Built without a build step:block.json+ a plain script on the
wp.*globals with aServerSideRenderpreview, drawn in PHP by the same renderer as the shortcodes. [netarz_convert currencies="usd,eur,aed,try" field="sell" amount="1"]: Toman and currency, both
ways, as the visitor types. Vanilla JavaScript, no jQuery, no request while typing.change="1"on[netarz_rates]: a "Since yesterday" column from the API'schange_24h_percent.updated="1"on[netarz_rates]and[netarz_convert]: "Updated 14:20", with the delay from
meta.delayed_minuteson the free plan.digits="persian|latin"on every shortcode, and a Digits control on every block.- A note for administrators (never visitors) when a currency is Pro-only on the FX API (
pro_only
inGET /currencies); the catalogue is fetched at most once a day, only when a code is missing. - Optional WooCommerce line: "about ... Toman" after prices in a foreign-currency store, from the
cached rates. Off by default, server mode only. - The widget can show the change column and the updated line.
NETARZ_FX_APIcan be defined inwp-config.phpto point a staging or test site at another URL.- CI on GitHub Actions:
php -lon PHP 7.4 and 8.0 to 8.4,node --check,block.jsonand
translation checks, the plugin ZIP as an artifact, and WordPress Coding Standards (advisory). build.sh: a reproduciblenetarz-fx-<version>.zipwith its.sha256; it refuses to build when
the version numbers disagree..phpcs.xml.distwith the WordPress Coding Standards ruleset used by CI.
Changed
- The "Rates by NetArz" credit link is off by default (WordPress.org guideline 10).
- In tables, "(per 100 units)" is printed once beside the currency name instead of in every cell.
- Links to netarz.ir from inside the plugin carry
utm_source=wp-pluginparameters. - Translations: the
.potnow includes block titles, descriptions and keywords; Persian updated.
Fixed
- Browser mode printed Persian digits and Persian currency names on every site:
wp_localize_script()turned0into"0", which JavaScript treats as true.
Install: download netarz-fx-1.1.0.zip below, then Plugins → Add New → Upload Plugin.
sha256: 9720baa1d62a98b691ab238af926fd4be4fc6260a4678389adce531048a3b291
NetArz FX Rates 1.0.0
Added
- First release:
[netarz_rate],[netarz_rates], a classic widget, the settings page, server and
browser modes, "Test connection" with the IP NetArz saw, cache with a last-good fallback, and the
Persian translation.
Install: download netarz-fx-1.0.0.zip below, then Plugins → Add New → Upload Plugin.
sha256: 82020d0710c1aae618e3252bfc848f427bdb5c707ed8a03b4dae4227b2f33587