Skip to content

Commit 6e99733

Browse files
committed
Add the CHANGELOG.md
1 parent ca22dc4 commit 6e99733

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
7+
## [Unreleased]
8+
9+
## [1.0.0] - 2020-03-03
10+
### Added
11+
- `WebImage` now supports animation, use `isAnimating` binding value on init methods.
12+
- `WebImage` now supports the detailed animation control options, like `customLoopCount`, `pausable`, `purgeable`, `playbackRate`.
13+
- `AnimatedImage` now supports the indicator with `ViewModifier` as `WebImage`.
14+
- `IndicatorViewModifier` now public.
15+
- `IndicatorReportable` now public.
16+
17+
### Changed
18+
- Indicator's `progress` type now changed from `CGFloat` to `Double`.
19+
- `WebImage.aniamted(_:)` now becomes the `WebImage.init(url:options:context:isAnimating:)` Binding arg, you can use the Binding to control animations as well.
20+
- `AnimatedImage.playBackRate` now becomes `AnimatedImage.playbackRate`
21+
- `AnimatedImage.customLoopCount` now is `UInt` instead of `Int`.
22+
- `AnimatedImage.resizable` modifier now matches the SwiftUI behavior, you must call it or the size will be fixed to image pixel size.
23+
24+
### Removed
25+
- Removed all the description about 0.x version behavior in README.md.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ The v1.0.0 version is now **released**, which provide all the function above, wi
4040

4141
This framework follows [Semantic Versioning](https://semver.org/). Each source-break API changes will bump to a major version.
4242

43+
## Changelog
44+
45+
This project use [keep a changelog](https://keepachangelog.com/en/1.0.0/) format to record the changes. Check the [CHANGELOG.md](https://github.com/SDWebImage/SDWebImageSwiftUI/blob/master/CHANGELOG.md) about the changes between versions. The changes will also be updated in Release page.
46+
4347
## Contribution
4448

4549
All issue reports, feature requests, contributions, and GitHub stars are welcomed. Hope for active feedback and promotion if you find this framework useful.

0 commit comments

Comments
 (0)