|
1 | 1 | == Old Changelog ==
|
2 | 2 |
|
3 |
| -= 4.2.3 = |
4 |
| -* FIX: Further improve the Maxmind admin notice UI |
5 |
| -* Update some smaller libraries |
6 |
| - |
7 |
| -= 4.2.2 = |
8 |
| -* FIX: Show Maxmind admin notice only on GeoIP pages to make it less intrusive |
9 |
| - |
10 |
| -= 4.2.1 = |
11 |
| -* FIX: Do not disable lookup automatically when potentially incompatible Maxmind libraries are found. |
12 |
| - |
13 |
| -= 4.2.0 = |
14 |
| -* NEW: Show a warning on the options page when there are incompatibilities with other plugins that also use the Maxmind libraries. |
15 |
| -* FIX: Remove an incompatibility of the libraries with Toolset or other Laravel-based plugins |
16 |
| -* NEW: In CF7, you can now add any property to the mail body with a special syntax, e.g. `[geoip_detect2_property_country__iso_code]` |
17 |
| -* FIX (JS): Replace the internally used library 'lodash' with 'just' to reduce the JS file size |
18 |
| -* FIX (JS): Improve error handling in AJAX mode |
19 |
| -* FIX: Port numbers in reverse proxies are ignored now (removes incompatibility with Azure reverse proxies) |
20 |
| -* FIX: Prevent Cloudflare APO from caching when using AJAX mode or page caching is disabled in the plugin options |
21 |
| - |
22 |
| -= 4.1.0 = |
23 |
| -* NEW: An `else` shortcode for `geoip_detect2_show_if` and `geoip_detect2_hide_if`: `[geoip_detect2_show_if city="Berlin"]You are in Berlin[else]You are not in Berlin[/geoip_detect2_show_if]` |
24 |
| -* FIX: The JS for AJAX wasn't working for Safari browsers |
25 |
| -* FIX: Improving some edge cases of `Record.get_with_locales()` and other methods of `Record` to be consistent with non-AJAX mode |
26 |
| -* FIX: Revert more Maxmind libraries to fix incompatibility with WooCommerce |
27 |
| - |
28 |
| -= 4.0.1 = |
29 |
| -* FIX: Revert Maxmind library to 2.10.0 for now as the most current version seems to be incompatible with Wordfence and other plugins using the older version of the Maxmind library |
30 |
| - |
31 |
| -= 4.0.0 = |
32 |
| -This version has many changes regarding the Shortcodes API. It is a major version because it increases some system requirements (see below). |
33 |
| - |
34 |
| -* NEW: Shortcodes can now also be resolved in AJAX mode (without coding JS). |
35 |
| -If you are using a page cache, AJAX mode is the best solution for you. And thanks to shortcodes, this doesn't need custom coding anymore. |
36 |
| -You can keep using the same shortcodes as before - just tick the options "Enable AJAX endpoint" and "Resolve shortcodes (via AJAX)". |
37 |
| -Instead of doing the geo-lookup while generating the HTML, it will generate boilerplate HTML (for the cache) that will be filled by the plugin's JS automatically (in the client's browser). |
38 |
| -* NEW: JS has a new function called `set_override(record, duration_in_days)` (see [AJAX documentation](https://github.com/yellowtree/geoip-detect/wiki/API:-AJAX)) so that the record information can be overridden manually (e.g. when the user selects a certain country manually). A PHP equivalent will follow. |
39 |
| -* NEW: The JS syntax of the shortcodes now supports both underscore_case and camelCase (e.g. both country.is_in_european_union and country.isInEuropeanUnion are valid) |
40 |
| -* NEW: [geoip_detect2_show_if] and [geoip_detect2_hide_if] now have a new attribute `operator="OR"` - this can be used to create conditions such as "continent = EU OR country = US" |
41 |
| - |
42 |
| -Other Improvements: |
43 |
| -* NEW (UI): Add a "Empty Cache"-Button on the Lookup page if the data source is caching the results |
44 |
| -* FIX: In some cases, the Privacy Exclusions Update wasn't rescheduled properly before |
45 |
| -* FIX: Ipstack: The property country.isInEuropeanUnion is now filled properly. |
46 |
| -* Updated vendor code |
47 |
| - |
48 |
| -Also note: |
49 |
| -* The minimum PHP version is now 7.2.5 |
50 |
| -* Minimum Wordpress version is now 5.0 |
51 |
| -* The plugin is now using PHP Type-Hinting for API functions - if you used the PHP API, please check if you see PHP errors |
52 |
| -* If you are using WooCommerce, you need at least version 3.9.0 (released Jan 2020) - otherwise this plugin lookup disables itself |
53 |
| - |
54 |
| -As always, if you are happy about the plugin, please consider [donating](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BSYUZHS8FH3CL), [becoming a Beta-Tester](https://github.com/yellowtree/geoip-detect/wiki/Beta_Testing) or otherwise [contributing](https://github.com/yellowtree/geoip-detect/blob/master/CONTRIBUTING.md) to it. |
55 |
| - |
56 |
| - |
57 |
| -= 3.3.0 = |
58 |
| -* NEW shortcode `[geoip_detect2_enqueue_javascript]` if you are using AJAX mode, but only on certain wordpress pages. |
59 |
| -* NEW option "Add a country-specific CSS class to the <body>-Tag (via AJAX)." It is enabled automatically when upgrading the plugin, if the options "AJAX" and the "body tag" was enabled before. |
60 |
| -* Some UI fixes |
61 |
| - |
62 |
| -= 3.2.1 = |
63 |
| -* FIX: Fix a fatal error that can occur in 3.2.0 if WP_DEBUG is enabled on your installation. |
64 |
| - |
65 |
| -= 3.2.0 = |
66 |
| -* NEW: The plugin now integrates the Maxmind Privacy Exclusion API. If you are using a Maxmind datasource, the plugin will return an empty result when looking up an IP that is on the privacy blacklist. You need to enter your Account ID for this. |
67 |
| -* FIX: If timeZone is unknown, leave empty value instead of NULL |
68 |
| -* FIX: Improve compatibility with PHP 8.0 |
69 |
| -* UI: Improving some strings for clearer documentation |
70 |
| -* AJAX mode is now declared stable (no code change) |
71 |
| - |
72 |
| -= 3.1.2 = |
73 |
| -* NEW: The shortcode `[geoip_detect2_text_input]` now has a parameter `type` for hidden or other HTML5 input types (see [Postal code example](https://github.com/yellowtree/geoip-detect/wiki/API:-Shortcodes-for-Contact-Form-7#create-a-text-input-that-is-prefilled-with-a-geodetected-property)) |
74 |
| -* FIX: The Backend UI "Lookup" does not show an empty timezone anymore if there is no data attached to this IP. |
75 |
| -* NEW: In all datasources, the new record property `$record->extra->currencyCode` for the currency code of the detected country has been added |
76 |
| -* FIX: Compatibility with PHP 8.0 |
77 |
| - |
78 |
| -= 3.1.1 = |
79 |
| -* NEW: Add the possibility to access the ISO-3166 alpha3 version of `$record->country`: `$record->extra->countryIsoCode3` or `[geoip_detect2 property="extra.countryIsoCode3"]` |
80 |
| -* FIX: The (CF7) shortcode `[geoip_detect2_countries]` now selects the selected country on page reload (the HTML tag autocomplete is set to `off` now) |
81 |
| -* FIX: Subnets can now be entered in the preferences of the reverse proxy again (this was a regression of the Admin UI changes in 3.0.3) |
82 |
| -* FIX: Do not log "It has not changed since the last update." as a cron-related error that should be shown to the user. |
83 |
| - |
84 |
| -= 3.1.0 = |
85 |
| -* FIX: The property access for shortcodes has been rewritten so that property names such as "extra.original.zip" (Datasource: ipstack) are possible now. |
86 |
| -* FIX: The lookup page now also shows subdivisions (e.g. for IPs from Uk that have 2 levels of subdivisions) |
87 |
| -* NEW: The (CF7) shortcode `[geoip_detect2_countries mycountry include_blank flag tel]` now adds the flag emoji (or ISO code in Windows) and the telephone international code to the country name |
88 |
| -* FIX: AJAX mode: Using localStorage instead of Cookies for caching (as we hit the Cookie size limitation sometimes) |
89 |
| -* FIX: AJAX mode: Remove jQuery dependency |
90 |
| -* FIX: AJAX mode: `geoip_detect2_enqueue_javascript()` can be used now in function.php or templates (see [PHP Example](https://github.com/yellowtree/geoip-detect/wiki/API-Usage-Examples#ajax-enqueue-the-js-file-manually)) |
91 |
| - |
92 |
| -= 3.0.4 = |
93 |
| -* When an error occurs during the Cron update of the Maxmind database, it is now shown in the backend. |
94 |
| -* FIX: All times shown in the Admin backend now use the timezone set by Wordpress |
95 |
| -* FIX: In the Admin Options, it was not possible to revert an hardcoded "External IP of this server" back to "automatic detection" |
96 |
| -* FIX: `[geoip_detect2_show_if property="country.isInEuropeanUnion" property_value="true"]Products list for EU[/geoip_detect2_show_if]` now works properly (boolean values can be "true"/"yes" or "false"/"no") |
97 |
| -* FIX: `[geoip_detect2_current_flag]` now compatible with the [SVG Flags](https://wordpress.org/plugins/svg-flags-lite/) version 0.9.0. See [Documentation](https://github.com/yellowtree/geoip-detect/wiki/API:-Shortcodes#add-a-flag-of-the-visitors-country) for more infos. |
98 |
| -* Minor admin improvement: If the value "IPs of trusted proxies" is set, but "The server is behind a reverse proxy" is not ticked, issue an warning |
99 |
| - |
100 |
| -= 3.0.3.1 = |
101 |
| -* Hotfix: The filename specified in the manual datasource can be changed properly again. |
102 |
| - |
103 |
| -= 3.0.3 = |
104 |
| -* The Plugin has been renamed to "Geolocation IP Detection" in order to prevent trademark issues |
105 |
| -* FIX: Minor improvements in the backend UI |
106 |
| -* FIX: Security hardening against XSS |
107 |
| - |
108 |
| -= 3.0.2 = |
109 |
| -(Was not released) |
110 |
| - |
111 |
| -= 3.0.1 = |
112 |
| -* FIX: Button "Update now" now works also on the lookup page. |
113 |
| -* FIX: Reverted the vendor code to the one used in 2.13 because it broke installations with the WooCommerce-plugin. I will update the vendor code again once we found a long-term solution for this interdepency. |
114 |
| - |
115 |
| -= 3.0 = |
116 |
| -* MAJOR CHANGE: Due to legal reasons, Maxmind now requires registration and some use cases are no longer allowed with the free data. If you use the Maxmind data source with automatic update, the update will fail for versions < 3.0 or if you have not entered a license key yet. |
117 |
| -* Updated the Maxmind update mechanism |
118 |
| -* Updated Maxmind vendor code |
119 |
| - |
120 | 3 | = 2.8.2 =
|
121 | 4 | * Maxmind vendor code was updated to the current version (2.7.0).
|
122 | 5 | * FIX: There was a fatal error when using PHP 7.2 (thx jj-dev)
|
|
0 commit comments