Skip to content

Commit c5a4d37

Browse files
authored
Merge pull request #156 from geocoder-php/patch-changelog
Updated changelog for 5.0
2 parents bdd2175 + 07cd6bb commit c5a4d37

File tree

1 file changed

+28
-3
lines changed

1 file changed

+28
-3
lines changed

Changelog.md

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,38 @@ Version 5 does only support Symfony 3.3+ and PHP7. We dropped some complexity an
1414

1515
### Changed
1616

17-
- We moved cache support to `geocoder-php/cache-provider`
17+
- Namespace changed from `Bazinga\Bundle\GeocoderBundle` to `Bazinga\GeocoderBundle`
18+
- The "fake IP" feature does not change any environment or Symfony variables.
19+
- Configuration for providers has been changed. We now use factories.
20+
21+
Before:
22+
23+
```yaml
24+
bazinga_geocoder:
25+
providers:
26+
bing_maps:
27+
api_key: "Foo"
28+
locale: 'sv'
29+
```
30+
After:
31+
32+
```yaml
33+
bazinga_geocoder:
34+
providers:
35+
acme:
36+
factory: "Bazinga\GeocoderBundle\ProviderFactory\BingMapsFactory"
37+
locale: 'sv'
38+
options:
39+
api_key: "foo"
40+
```
1841
1942
### Removed
2043
2144
- `DumperManager`
22-
- `LoggableGeocoder`
23-
- Configuration for default provider
45+
- `LoggableGeocoder`, use `LoggerPlugin` instead.
46+
- Configuration for default provider (`default_provider`)
47+
- `Bazinga\Bundle\GeocoderBundle\Provider\Cache` was removed, use `CachePlugin` instead.
48+
- All services IDs was removed except `bazinga_geocoder.geocoder` and `geocoder`.
2449

2550
## Version 4.1.0
2651

0 commit comments

Comments
 (0)