Skip to content

Releases: approvals/ApprovalTests.Java

FirstWorkingReporter & DateScrubber improvements

15 Dec 18:43

Choose a tag to compare

FirstWorkingReporter now has toString implementation (#140 )
DateScrubber now accepts SimpleDateFormat (closes #165 )

Improvements to JsonJacksonApprovals (v2 and v3)

08 Dec 18:17

Choose a tag to compare

We've made the following changes so that Jackson 2 and 3 behave better out of the box and more consistently.

Auto-load modules

This is on already on in jackson v3, it is now invoked for v2 aswell.

Sort map keys alphabetically

We've enabled this for both jackson v2 and v3 to prevent non-deterministic approval files.

Note

v2 of jackson does not sort fields by default, v3 does. We did not change this.

Closes #743

Add `ReportByOpeningFiles`

07 Dec 17:52

Choose a tag to compare

Also deprecate FileLauncherReporter. Eventually all reporters will begin with Report... for discoverability.

Jackson 3 support

01 Dec 17:53

Choose a tag to compare

  • add support of Jackson 3 by @lbar in #736
  • bug fix for IntellijReporter, #737

New Contributors

  • @lbar made their first contribution in #736

XmlUtils.prettyPrint with ordering

24 Nov 19:05
146f976

Choose a tag to compare

Also, better support for jetbrains on linux

Add Java Module support

16 Oct 21:26

Choose a tag to compare

no-op release

13 Oct 17:09

Choose a tag to compare

this is a no-op release, nothing should change because of it, we're releasing to confirm this.

IntelliJ reporter uses running Jetbrains products

12 Oct 17:55

Choose a tag to compare

What

IntelliJ Reporter now will detect a running instance of IntelliJ or any other JetBrains product and launch that.
It will only find it if something is currently running.

Why

IntelliJ has always been a tricky thing to detect and run because the installed location keeps changing over and over again by versions. We have decided not to use that at all, but instead look for the running instance and select from there. This simplifies the process greatly and should give us better results given that the tool is in use.

InlineApprovals works with Kotlin

06 Oct 18:00
7a919dc

Choose a tag to compare

Minor updates to message and displays

15 Sep 19:19

Choose a tag to compare

Added the ability to turn off some console messages and messages give more information about where they're coming from.