The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Adds PrivacyInfo.xcprivacy
7 weeks ago
- Undeprecates the double dash "--" operator to address compile time issues as explained in https://github.com/freshOS/Stevia/pull/165
Thanks @cowgp for this release.
-Adds `Int` and `CGFloat` variants for SteviaLayoutAnchor operators. (Fixes https://github.com/freshOS/Stevia/issues/153)
Congrats @edulpn for this release 👏
5.1.0 swift-tools-version:5.3
3 years ago
Updates to swift-tools-version:5.3
5.0.1 Fixes CGFloats in Layout blocks
4 years ago
Thanks @moliya for noticing `CGFloat` values were broken in `layout` blocks, this is now fixed 🎉
5.0.0 - Function builders, % api, CGFloat, api clean, UIStackViews !
4 years ago
⚠️ A serious bug has been found in this release, please use 5.0.1 instead ⚠️
Bug found that can break your layouts -> https://github.com/freshOS/Stevia/pull/141
- Adds support for `CGFloat` for all apis
- `%` constraints can now be used in `layout` blocks for margins, height & spaces
- `sv()` is renamed to `subviews()` for clarity
- `subviews()` has now its function builder counterpart: `subviews{}` (no more commas!)
- `layout()` has now its [function builder](https://github.com/apple/swift-evolution/blob/9992cf3c11c2d5e0ea20bee98657d93902d5b174/proposals/XXXX-function-builders.md) counterpart: `layout {}`
- `fillVertically(m:)` is renamed to `fillVertically(padding:)`
- `fillHorizontally(m:)` is renamed to `fillHorizontally(padding:)`
- `fillContainer(x)` is renamed to `fillContainer(padding: x)`
- `centerHorizontally(x)` is renamed to `centerHorizontally(offset: x)`
- Double dash `--` operator is renamed in hyphen bullet for better compile times. (auto replace)
- Adds UIStackView `arrangedSubviews {}` function builder
4.8.0 Swift Package Manager
4 years ago
Swift Package Manager is now the official way to install Stevia 🎉.
In order to use other package managers, see previous versions.
Onwards ! ✨
4.7.3 Xcode 11.2.1 & Swift 5.1.2
4 years ago
- Builds the pre-built framework with Xcode 11.2.1 & Swift 5.2.1
- Fixes the issue described in #123 where equation api had bugs when using `>=` & `<=` with single values. Props @jsonfellin for noticing, thanks @excursus for chiming in 🙏
Before
```swift
view.Width >= 30 ≠ view.width(>=30)
view.Width >= 30 was equivalent to view.Width >= Width + 30 (Wrong)
view.Botton >= 100 was equivalent to view.Bottom >= Bottom + 100 (Wrong)
view.Right >= 100 was equivalent to view.Right >= Right + 100 (Wrong)
```
Now
```swift
view.Width >= 30 == view.width(>=30)
view.Height <= 100 == view.height(<=100)
view.Botton >= 100 == view.Bottom >= Bottom - 100
view.Right >= 100 == view.Right >= Right - 100
```
- Big thanks @lukysnupy for his first contribution on improving our SPM integration 👏