Skip to content

Commit

Permalink
chore(fmc): release v1.4.3 (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
josxha authored Feb 6, 2024
1 parent b54ff8f commit 5c4c9d4
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 12 deletions.
41 changes: 30 additions & 11 deletions flutter_map_cache/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## [1.4.3] 2024-02-06

- Fix: `CachedTileProvider.dio` had its `BaseOptions`
overridden ([#12](https://github.com/josxha/flutter_map_plugins/issues/12),
Thanks to
@Thelm76)
- Add tests

## [1.4.2] 2024-02-01

- Migrate GitHub repository to a multi-package repo.
Expand All @@ -9,19 +17,25 @@

## [1.4.0] 2024-01-24

- Add `dio` as a parameter to `CachedTileProvider`. You're now able to provide and reuse your own Dio instance (Thanks to @PatrickWulfe).
- Deprecate the `dioOptions` parameter. Prefer creating your own Dio instance and provide it to the `dio` parameter.
- Update the README file (for example add isar to the list of supported storage backends).
- Add `dio` as a parameter to `CachedTileProvider`. You're now able to provide
and reuse your own Dio instance (Thanks to @PatrickWulfe).
- Deprecate the `dioOptions` parameter. Prefer creating your own Dio instance
and provide it to the `dio` parameter.
- Update the README file (for example add isar to the list of supported storage
backends).

## [1.3.1] 2023-10-20

- Remove exception from the console when tile requests get cancelled
(see https://github.com/josxha/flutter_map_plugins/issues/3).
(see https://github.com/josxha/flutter_map_plugins/issues/3).

## [1.3.0] 2023-10-09

- Support for flutter_map version [^6.0.0](https://pub.dev/packages/flutter_map/changelog#600---20231009)
- Support to [cancel map tiles](https://github.com/fleaflet/flutter_map/pull/1622) if tiles are still loading but no
- Support for flutter_map
version [^6.0.0](https://pub.dev/packages/flutter_map/changelog#600---20231009)
- Support
to [cancel map tiles](https://github.com/fleaflet/flutter_map/pull/1622) if
tiles are still loading but no
longer needed (
like [flutter_map_cancellable_tile_provider](https://pub.dev/packages/flutter_map_cancellable_tile_provider))
- Update documentation
Expand All @@ -30,17 +44,21 @@

#### CachedTileProvider

- Add the `List<Interceptor>? interceptors` as a Parameter and remove the `verbose` parameter. The interceptors will
- Add the `List<Interceptor>? interceptors` as a Parameter and remove
the `verbose` parameter. The interceptors will
get applied before the cache interceptor.
- The `store` parameter is now required.
- Add the option to override the `hitCacheOnErrorExcept` parameter. By default, a cached request will not get used if
- Add the option to override the `hitCacheOnErrorExcept` parameter. By default,
a cached request will not get used if
the server returns with status code 401 or 403.
- Remove the `dio` parameter but set dio as a public field variable so that it can get modified after creation.
- Remove the `dio` parameter but set dio as a public field variable so that it
can get modified after creation.
- Add `BaseOptions? dioOptions` as a parameter.

#### Fixes

- Use cache when device has no internet connection and a SocketException gets thrown.
- Use cache when device has no internet connection and a SocketException gets
thrown.

## [1.1.1] 2023-06-22

Expand All @@ -49,7 +67,8 @@

## [1.1.0] 2023-06-09

- Add `maxStale` and `keyBuilder` as optional parameters to `CachedTileProvider`:
- Add `maxStale` and `keyBuilder` as optional parameters
to `CachedTileProvider`:

## [1.0.0] 2023-06-09

Expand Down
2 changes: 1 addition & 1 deletion flutter_map_cache/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_map_cache
description: A slim yet powerful caching plugin for flutter_map tile layers.
version: 1.4.2
version: 1.4.3
repository: https://github.com/josxha/flutter_map_plugins
issue_tracker: https://github.com/josxha/flutter_map_plugins/issues

Expand Down

0 comments on commit 5c4c9d4

Please sign in to comment.