Skip to content

Commit

Permalink
release(v0.4.0): Drop support for verboseLog (#160)
Browse files Browse the repository at this point in the history
`DynamicCachedFonts.toggleVerboseLogging` should be used instead
  • Loading branch information
sidrao2006 authored Oct 6, 2021
1 parent 0fcb4c8 commit 0457188
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
14 changes: 10 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# 0.4.0

**BREAKING CHANGE: `verboseLog`, which was deprecated in v0.2.0, has been removed. `DynamicCachedFonts.toggleVerboseLogging` should be used instead**

> The online demo (i.e, the hosted example app) is now available. Check it out [here][online-demo]!!
[online-demo]: https://sidrao2006.github.io/dynamic_cached_fonts

# 0.3.1

**Dependency Updates**
Expand All @@ -16,9 +24,7 @@ Stable Null safety release

**Features/Updates**

- **`verboseLog` is not deprecated in all APIs. `DynamicCachedFonts.toggleVerboseLogging` should be used instead to toggle verbose logging**

> It's likely that support for `verboseLog` will end in v1.0.0.
- **`verboseLog` is now deprecated in all APIs. `DynamicCachedFonts.toggleVerboseLogging` should be used instead to toggle verbose logging**

- **`loadCachedFont` and `loadCachedFamily` now throws a `StateError` if the font has not been cached**
- **`UnsupportedError` is thrown if the downloaded file is not a .ttf or .otf font file**
Expand All @@ -45,4 +51,4 @@ Stable Null safety release

# 0.0.1

Initial Release (Non null-safe)
Initial Release
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.3.1"
version: "0.4.0"
fake_async:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: dynamic_cached_fonts
description: A font loader to download, cache and load web fonts in flutter with support for Firebase Cloud Storage.
version: 0.3.1
version: 0.4.0
repository: https://github.com/sidrao2006/dynamic_cached_fonts

environment:
Expand Down

0 comments on commit 0457188

Please sign in to comment.