Skip to content

Releases: nalexn/ViewInspector

0.10.1

08 Dec 16:59
788e787
Compare
Choose a tag to compare

Released on 2024-12-08

What's new:

  • Adds support for callRefreshable() (PR #350, issue #348)
  • Fix async inspect() deadlock bug (PR #351, issue #352)

P.S. The community has figured out the story behind the appearance of the implicit AnyViews, as well as a work around allowing to disable them.

0.10.0

17 Sep 10:22
Compare
Choose a tag to compare

Released on 2024-09-17

What's new:

  • Adds structured concurrency support (#148, PR #291, PR #302)
  • Adds support for inspecting task(id: ...) modifier (PR #313)
  • Adds callOnChange(oldValue:newValue:) (#330, PR #315)
  • Adds support for ContentUnavailableView (PR #325)
  • Adds support for accessibilityActions() (#305)
  • Adds support for currency formatting in Text (#316)

Fixes and improvements:

  • Fixes several Xcode 16 compilation issues (#307, #323, PR #308)
  • Button tap not working in iOS 18 (#318)
  • A crash when hosting multiple views in one test (#312)

Beware implicitly inserted AnyViews after you migrate to Xcode 16! Check out the guide for more info.

0.9.11

25 Apr 18:04
Compare
Choose a tag to compare

Released on 2024-04-25.

What's new:

  • Added ability to inspect task modifier (PR #292)

Fixes and improvements:

  • Toggle's tap() and isOn() are currently unavailable for inspection on iOS 16 (#230, PR #293)
  • Fixed an unused variable warning (PR #289)

0.9.10

21 Jan 17:31
Compare
Choose a tag to compare

Released on 2024-01-21.

What's new:

  • Added support for visionOS (#260)
  • Added CustomInspectable protocol for ease of inspection (PR #288)
  • Added support for value inspection on NavigationLink (PR #286)

Fixes and improvements:

  • Fixed tint() inspection on iOS 16 (#287)
  • Fixed a bug in find for views with recursive type reference (#285)
  • Improved find performance (PR #284)

0.9.9

03 Dec 11:08
Compare
Choose a tag to compare

Released on 2023-12-03.

What's new:

  • Adds support for foregroundStyle() (PR #264)
  • Adds support for ignoresSafeArea() (PR #267)
  • Adds support for navigationDestination(isPresented:destination:) (PR #270)
  • Adds support for SpatialTapGesture (PR #279)
  • Adds support for help() (PR #281, issue #280)
  • Adds support for prompt inspection on a TextField (issue #259)

Fixes and improvements:

  • Greatly improved find performance on large view hierarchies (PR #263 and #273)
  • Fixed a bug when CustomButtonStyle had a custom style property (PR #278, issue #277)

0.9.8

02 Sep 09:31
Compare
Choose a tag to compare

Released on 2023-09-02.

What's new:

  • Added inspection support for ShareLink, MultiDatePicker, LabeledContent, ViewThatFits (PR #255), Grid, GridRow (issue #253)
  • Refreshed guide and sample WatchKit app (PR #251, issue #198)
  • Compatibility with Xcode 15.0 Beta 8

Fixes and PRs:

  • Fix Objective-C class EnviromentObject injection (PR #250)
  • .accessibilityLabel can not be accessed within iOS 17 (attributeNotFound) (issue #254)
  • Thread 1: EXC_BAD_ACCESS (code=1, address=0x0) (issue #243)

0.9.7

17 Jun 14:01
Compare
Choose a tag to compare

Released on 2023-06-17.

What's new:

  • Support for Xcode 15.0 Beta and iOS 17 (issues #246, #249)

Fixes and PRs:

  • Fix inspecting when there is a closure environment value (PR #248)

0.9.6

02 May 18:31
Compare
Choose a tag to compare

Released on 2023-05-03.

What's new:

  • Added support for alignment inspection on ZStack (#234)
  • Added an optional delay parameter for the inspect(onReceive publisher:) call (PR #236)
  • Added support for strings interpolation using FormatStyle (PR #238)
  • Added support for selectedValue inspection on the Picker view (PR #242)

Fixes and PRs:

  • Inspection issues with the views containing accessibility modifiers when running tests in Xcode 14.3 (PR #237, issue #235)
  • Issues inspecting contextMenu(menuItems:) (PR #228, issue #229)

0.9.5

15 Jan 16:31
4effbd9
Compare
Choose a tag to compare

Released on 2023-01-15.

A hotfix for v0.9.4, where find was failing to correctly traverse certain view hierarchies

0.9.4

14 Jan 18:11
724c7e3
Compare
Choose a tag to compare

Released on 2023-01-14.

What's new:

  • Added support for NavigationStack and NavigationSplitView (#207)

  • Fixes and PRs:

    • Crash when unwrapping EnvironmentalModifier
    • Crash in TimelineView (#217)
    • TabView with explicit Binding parameter is correctly hiding inactive tab views from inspection (#164)
    • NavigationLinks with explicit Binding parameter is correctly hiding destination view from inspection for an inactive link (#165)
    • find working incorrectly for views defined in the context of a test function and Optional views (#219)
    • find now detects recursion in the view hierarchy and prevents an infinite traverse (#165)