Releases: simla-tech/Fastis
Releases · simla-tech/Fastis
3.2.0 — Party on the SwiftUI street
What's Changed
- Fix #50 Change ui dayCell by @UriyDevyataev in #51
- fix #45 Remove current calendar by @UriyDevyataev in #52
- Change logic for Shortcut lastWeek for selected 7 days by @UriyDevyataev in #53
- SwiftUI Support by @UriyDevyataev in #54
Full Changelog: 3.1.0...3.2.0
3.1.0 — Longinquis Regionibus
BREAKING CHANGE:
FastisConfig.MonthHeader.monthLocale
is deprecated. UseFastisConfig.calendar.locale
instead.FastisConfig.CurrentValueView.locale
is deprecated. UseFastisConfig.calendar.locale
instead.FastisShortcut.init
now allow use calendar. It to be passed as an argument in the closure.
Improvements
- New you can use custom calendar. Just set
FastisConfig.calendar = Calendar(identifier: XXX)
. Also you can set locale for whole calendar view by settingFastisConfig.calendar.locale = Locale(XXX)
. For more detail check this out. - Example project now includes example with custom calendar usage.
3.0.0 — Peterbald Orange Camel
What's Changed
- fix #29 Create one dismissHandler with two param instead dismissHa… by @UriyDevyataev in #32
- fix #31 Add option to hide currentValueView by @UriyDevyataev in #34
- fix #28 Add indication current date by @UriyDevyataev in #36
[Breaking change] Instead of doneHandler you should use dismissHandler
with action
parameter:
was:
fastisController.doneHandler = { [weak self] result in
...
}
become:
fastisController.dismissHandler = { [weak self] action in
switch action {
case .done(let newValue):
...
case .cancel:
...
}
}
Full Changelog: 2.3.0...3.0.0
2.3.0 — Pest Control
2.2.0 — Fix week days layout issue
Fix layout for calendars where the first weekday is different from Monday. Related issue #18
Breaking changes:
- Property
FastisConfig.weekView.calendar
was moved toFastisConfig.calendar
to use one instance of the calendar in all components
2.1.0 — Casting off shackles
Remove SnapKit dependency. All UI components were rewritten into the native UILayoutConstraints
2.0.1 — Small fixes
A small UI layout fixes & improvements
2.0 — Ready Hook
Breaking changes:
FastisConfig.MonthHeader.size
property renamed to.height
FastisConfig.DayCell.rangedBackgroundViewInset
property renamed to.rangedBackgroundViewVerticalInset
FastisConfig.CurrentValueView.placeholderedTextColor
property renamed to.placeholderTextColor
- Property
FastisConfig.Controller.titleTextAttributes
removed
Improvements
- Documentation improvements
- Fix a lot of typos
- Dark mode support with the default configuration (Issue #12)
Fixes
1.0.13
Day cell custom selection view corner radius and ranged background view inset (thanks @wojteklembryk);
Fix bug with month selection
Custom cancel and done button
Custom cancel and done button. Thanks @wojteklembryk for this feature