|
| 1 | +# 0.8.0 (17 August 2021) |
| 2 | + |
| 3 | +This release adds support for more SwiftUI types and modifiers, and fixes bugs. Including, but not |
| 4 | +limited to: |
| 5 | + |
| 6 | +- `Toolbar` type and `toolbar` modifier |
| 7 | +- `ProgressView` type |
| 8 | +- `Animation` and related types and modifiers |
| 9 | +- `opacity`, `scaleEffect`, `aspectRatio`, and `controlSize` modifiers |
| 10 | +- `Material` and `Gradient` types |
| 11 | +- `HierarchicalShapeStyle` (`.primary`/`.secondary`/`.tertiary`/`.quaternary`) type |
| 12 | +- `ContainerRelativeShape` type |
| 13 | +- `spacing` argument support for initializers of `HStack` and `VStack` |
| 14 | +- support for standard Foundation types, such as `CGRect`, `CGSize` (we previously used our own |
| 15 | + implementation of those, which weren't fully compatible with Foundation) |
| 16 | +- ability to sort HTML attributes when generating static HTML, which is essential for end-to-end |
| 17 | + tests that cover generated output. |
| 18 | + |
| 19 | +Many thanks to [@carson-katri](https://github.com/carson-katri), |
| 20 | +[@ezraberch](https://github.com/ezraberch), and [@yonihemi](https://github.com/yonihemi) for |
| 21 | +their contributions to this release! |
| 22 | + |
| 23 | +**Closed issues:** |
| 24 | + |
| 25 | +- Is there anyway to compile this from Xcode? ([#406](https://github.com/TokamakUI/Tokamak/issues/406)) |
| 26 | +- Xcode doesn't compile — gtk/gtk.h not found ([#405](https://github.com/TokamakUI/Tokamak/issues/405)) |
| 27 | +- Use `NSGeometry` types from Foundation ([#404](https://github.com/TokamakUI/Tokamak/issues/404)) |
| 28 | +- Adding padding to a view contained in a Button causes the Button to disappear ([#403](https://github.com/TokamakUI/Tokamak/issues/403)) |
| 29 | +- .background modifier with contained shape causes view to expand to full vertical size of the screen ([#402](https://github.com/TokamakUI/Tokamak/issues/402)) |
| 30 | +- Multi-line string handling in Text views ([#400](https://github.com/TokamakUI/Tokamak/issues/400)) |
| 31 | +- Content with spacer jumps when blurring and focusing the page ([#395](https://github.com/TokamakUI/Tokamak/issues/395)) |
| 32 | +- Frame sizes do not match expected behavior. ([#387](https://github.com/TokamakUI/Tokamak/issues/387)) |
| 33 | +- URL hash change demo crashes ([#369](https://github.com/TokamakUI/Tokamak/issues/369)) |
| 34 | +- Infinite loops w/ 100% CPU usage caused by stack overflows ([#367](https://github.com/TokamakUI/Tokamak/issues/367)) |
| 35 | +- TokamakDemo breaks after use of `_domRef` ([#326](https://github.com/TokamakUI/Tokamak/issues/326)) |
| 36 | +- Add support for `toolbar` modifier and related types ([#316](https://github.com/TokamakUI/Tokamak/issues/316)) |
| 37 | + |
| 38 | +**Merged pull requests:** |
| 39 | + |
| 40 | +- Revise `ShapeStyle` and add `Gradient`s ([#435](https://github.com/TokamakUI/Tokamak/pull/435)) via [@carson-katri](https://github.com/carson-katri) |
| 41 | +- Add `Toolbar` implementation for HTML renderer ([#169](https://github.com/TokamakUI/Tokamak/pull/169)) via [@carson-katri](https://github.com/carson-katri) |
| 42 | +- Fix SwiftLint action ([#434](https://github.com/TokamakUI/Tokamak/pull/434)) via [@ezraberch](https://github.com/ezraberch) |
| 43 | +- Add View Traits and transitions ([#426](https://github.com/TokamakUI/Tokamak/pull/426)) via [@carson-katri](https://github.com/carson-katri) |
| 44 | +- Add `ToolbarItem` and its builder functions ([#430](https://github.com/TokamakUI/Tokamak/pull/430)) via [@MaxDesiatov](https://github.com/MaxDesiatov) |
| 45 | +- Add `controlSize`/`controlProminence` modifiers ([#431](https://github.com/TokamakUI/Tokamak/pull/431)) via [@carson-katri](https://github.com/carson-katri) |
| 46 | +- Fix background/overlay layout in DOM/HTML renderers ([#429](https://github.com/TokamakUI/Tokamak/pull/429)) via [@carson-katri](https://github.com/carson-katri) |
| 47 | +- Add `ProgressView` ([#425](https://github.com/TokamakUI/Tokamak/pull/425)) via [@carson-katri](https://github.com/carson-katri) |
| 48 | +- Add support for custom fonts ([#421](https://github.com/TokamakUI/Tokamak/pull/421)) via [@carson-katri](https://github.com/carson-katri) |
| 49 | +- Animation implementation using the Web Animations API ([#427](https://github.com/TokamakUI/Tokamak/pull/427)) via [@carson-katri](https://github.com/carson-katri) |
| 50 | +- Add `scaleEffect` modifier ([#424](https://github.com/TokamakUI/Tokamak/pull/424)) via [@carson-katri](https://github.com/carson-katri) |
| 51 | +- Add `aspectRatio` modifier ([#422](https://github.com/TokamakUI/Tokamak/pull/422)) via [@carson-katri](https://github.com/carson-katri) |
| 52 | +- Check minWidth/Height == nil ([#420](https://github.com/TokamakUI/Tokamak/pull/420)) via [@carson-katri](https://github.com/carson-katri) |
| 53 | +- Add Primary/Secondary/Tertiary/QuaternaryContentStyle ([#419](https://github.com/TokamakUI/Tokamak/pull/419)) via [@carson-katri](https://github.com/carson-katri) |
| 54 | +- Add `Material` to the HTML renderer ([#418](https://github.com/TokamakUI/Tokamak/pull/418)) via [@carson-katri](https://github.com/carson-katri) |
| 55 | +- Improve ShapeStyles to match iOS 15+ ([#417](https://github.com/TokamakUI/Tokamak/pull/417)) via [@carson-katri](https://github.com/carson-katri) |
| 56 | +- Add ContainerRelativeShape ([#416](https://github.com/TokamakUI/Tokamak/pull/416)) via [@carson-katri](https://github.com/carson-katri) |
| 57 | +- Add HTML implementation for `opacity` modifier ([#415](https://github.com/TokamakUI/Tokamak/pull/415)) via [@MaxDesiatov](https://github.com/MaxDesiatov) |
| 58 | +- Support `spacing` property on `HStack`/`VStack` ([#273](https://github.com/TokamakUI/Tokamak/pull/273)) via [@MaxDesiatov](https://github.com/MaxDesiatov) |
| 59 | +- Explicitly import CoreFoundation ([#413](https://github.com/TokamakUI/Tokamak/pull/413)) via [@yonihemi](https://github.com/yonihemi) |
| 60 | +- Fix handling of stroked shapes ([#414](https://github.com/TokamakUI/Tokamak/pull/414)) via [@ezraberch](https://github.com/ezraberch) |
| 61 | +- Add a snapshot test for `Path` SVG layout ([#412](https://github.com/TokamakUI/Tokamak/pull/412)) via [@MaxDesiatov](https://github.com/MaxDesiatov) |
| 62 | +- Attempt `padding` modifier fusion to avoid nested `div`s ([#253](https://github.com/TokamakUI/Tokamak/pull/253)) via [@MaxDesiatov](https://github.com/MaxDesiatov) |
| 63 | +- Use `CGFloat`, `CGPoint`, `CGRect` from Foundation ([#411](https://github.com/TokamakUI/Tokamak/pull/411)) via [@MaxDesiatov](https://github.com/MaxDesiatov) |
| 64 | +- Add reconciler stress tests for elaborate testing ([#381](https://github.com/TokamakUI/Tokamak/pull/381)) via [@MaxDesiatov](https://github.com/MaxDesiatov) |
| 65 | +- Fix spacers after `DOMRenderer.update` ([#410](https://github.com/TokamakUI/Tokamak/pull/410)) via [@ezraberch](https://github.com/ezraberch) |
| 66 | +- Replace `ViewDeferredToRenderer`, fix renderer tests ([#408](https://github.com/TokamakUI/Tokamak/pull/408)) via [@MaxDesiatov](https://github.com/MaxDesiatov) |
| 67 | +- Allow DOMRenderer to render buttons with non-Text labels (#403) ([#409](https://github.com/TokamakUI/Tokamak/pull/409)) via [@ezraberch](https://github.com/ezraberch) |
| 68 | +- Sort attributes in HTML nodes when rendering ([#346](https://github.com/TokamakUI/Tokamak/pull/346)) via [@MaxDesiatov](https://github.com/MaxDesiatov) |
| 69 | + |
1 | 70 | # 0.7.0 (3 May 2021)
|
2 | 71 |
|
3 | 72 | This release introduces new view types such as `DatePicker`, new modifiers such as `shadow`,
|
|
0 commit comments