Skip to content

Releases: geocoder-php/GeocoderLaravel

🛡️ 13.2.0 — Laravel 13 cache compatibility

19 May 17:06
119bf84

Choose a tag to compare

Added

  • ✨ Auto-register Geocoder model classes for Laravel 13 cache serialization. by @mikebronner in #209

Laravel 13 introduced cache.serializable_classes as a security hardening measure, defaulting to false to block deserialization of arbitrary PHP objects from the cache. This silently broke caching for any Laravel 13 user — geocoder results round-trip as Collections of Address objects, which the hardened default refuses to deserialize.

This release makes Laravel 13 caching work seamlessly without requiring you to maintain an allow-list.

⚠️ Behavior change worth noting

If you're on Laravel 13 and have deliberately set cache.serializable_classes to a strict allow-list (or []) for security reasons, this release will merge the Geocoder model classes into your list at boot. The merge preserves your existing entries — but it does expand the allow-list beyond what you set.

If you want to keep your allow-list strictly under your own control:

// config/geocoder.php
'cache' => [
    // ...
    'auto_register_serializable_classes' => false,
],

When opted out, you have two coherent paths — see the README's Laravel 13 cache.serializable_classes section for the trade-offs.

🔧 Upgrade

Pure composer update. No required config changes, no API breakage, no migrations.

Laravel 11 / 12 users: this release is functionally inert for you — the new config key is a no-op on framework versions that don't use cache.serializable_classes.
`

Full Changelog: 13.1.1...13.2.0

13.1.1

18 May 21:57
68a3831

Choose a tag to compare

Fixed

  • fix: 🐛 Self-heal cache when corrupted non-Collection value is detected. by @mikebronner in #207

Full Changelog: 13.1.0...13.1.1

13.1.0

22 Apr 23:06
ba101bd

Choose a tag to compare

Added

  • 🌍 Add fluent locale() method for localization with caching.
  • 🔧 Resolve container-bound providers instead of via reflection.
  • 🔧 Allow adapter configuration via config file.

Full Changelog: 13.0.0...13.1.0

13.0.0

18 Apr 23:55
ffade71

Choose a tag to compare

Added

New Contributors

Full Changelog: 5.0.0...13.0.0

5.0.0: Merge pull request #200 from laravel-shift/l12-compatibility

06 Mar 01:20
6c562f9

Choose a tag to compare

Added

  • Laravel 12 compatibility. Thanks @laravel-shift!
  • GeoCoder 5 compatibility.

Note: I haven't been able to run tests on this package as of late. Please report back if you notice issues. I thought it was important to get the update out so people aren't blocked, and will work on updating the tests over time.

4.7.0: Merge pull request #198 from laravel-shift/l11-compatibility

14 Mar 22:57
f354165

Choose a tag to compare

4.6.0: Merge pull request #194 from laravel-shift/l10-compatibility

16 Feb 17:34
bdbb274

Choose a tag to compare

4.5.1

10 Feb 12:49
f79c7af

Choose a tag to compare

Removed

  • dummy Google Maps API key that was used for testing.

4.5.0

10 Feb 12:32

Choose a tag to compare

Added

4.4.6

06 Dec 19:09
e35c7d4

Choose a tag to compare

Changed

  • dependencies to accommodate up-to-date versions.