Skip to content

Releases: cybozu/WebUI

3.1.1

29 May 01:07
519369b
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.1.0...3.1.1

3.1.0

07 May 15:23
efc8e2a
Compare
Choose a tag to compare

What's New

  • Added allowsOpaqueDrawing modifier to WebView.
  • Added contentSize and contentOffset properties to WebViewProxy.
  • Added contentReader which allows you to create PDF from current WebView's snapshot.
    WebViewReader { proxy in 
        VStack {
            Text("contentSize: \(proxy.contentSize)")
            Text("contentOffset: \(proxy.contentOffset)")
    
            Button {
                Task {
                    _ = try! await proxy.contentReader.pdf()
                }
            } label: {
                Image(systemImage: "printer")
            }
    
            WebView(request: URLRequest(url: URL(string: "https://example.com")!))
                .allowsOpaqueDrawing(false)
        }
    }

What's Changed

  • Migrated to Swift Testing by @Kyome22 in #45
  • Create CODEOWNERS by @Kyome22 in #46
  • Add allowsOpaqueDrawing(_:) modifier by @uhooi in #49
  • Put canImport(UIKit) to WebViewReaderTests by @Kyome22 in #53
  • Make allowsOpaqueDrawing work on macOS. by @Kyome22 in #52
  • Make it possible to refer to contentSize via WebViewProxy. by @Kyome22 in #54
  • minor fix about logo by @Kyome22 in #60
  • Added tests for WebViewProxy property binding. by @Kyome22 in #59
  • Support generating PDF from web view's content by @elmetal in #58

New Contributors

  • @uhooi made their first contribution in #49

Full Changelog: 3.0.3...3.1.0

3.0.3

22 Jan 05:57
0112c53
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.0.2...3.0.3

【Deprecated】 3.0.2

16 Jan 09:21
92018cb
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.0.1...3.0.2

3.0.1

04 Jan 14:39
38d93f5
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.0.0...3.0.1

3.0.0

27 Dec 08:32
f1b1ac9
Compare
Choose a tag to compare

Breaking Change

  • Migrated to Xcode 16 & Swift 6.

What's Changed

New Contributors

Full Changelog: 2.3.0...3.0.0

2.3.0

22 Oct 01:45
9579095
Compare
Choose a tag to compare

What's Changed

  • Add loadHTMLString() method to WebViewProxy. by @Kyome22 in #25
  • Add document root by @elmetal in #26
  • Added a modifier allowsScrollViewBounces() by @Kyome22 in #24
  • Replaced url with request in the WebViewReader documentation. by @Kyome22 in #29
  • Improve USAGE to make it more useful by @elmetal in #27

New Contributors

Full Changelog: 2.2.0...2.3.0

2.2.0

25 Sep 05:49
0b60108
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.1.1...2.2.0

2.1.1

30 Jul 00:26
3a61507
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.1.0...2.1.1

2.1.0

05 Jul 06:13
4708709
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.0.0...2.1.0