From 53ffa97b6b402d3f24eba3cf9bf6f2bad15e84ed Mon Sep 17 00:00:00 2001 From: Udo Borkowski Date: Sun, 19 Mar 2023 21:40:21 +0100 Subject: [PATCH] build: prepare next release --- .gitignore | 2 ++ .idea/misc.xml | 3 ++ .idea/vcs.xml | 2 ++ CHANGELOG.md | 78 ++++++++++++++++++++++++++++++++++++++++++ misc/releasenewversion | 4 +-- pom.xml | 8 ++--- 6 files changed, 91 insertions(+), 6 deletions(-) mode change 100755 => 100644 .idea/misc.xml mode change 100755 => 100644 .idea/vcs.xml diff --git a/.gitignore b/.gitignore index 2055d8e..17d0f3b 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,8 @@ .idea/sonarlint/issuestore .idea/csv-plugin.xml .idea/vcs.xml +.idea/git_toolbox_prj.xml +.idea/jpa-buddy.xml sonarlint-state.xml target tmp diff --git a/.idea/misc.xml b/.idea/misc.xml old mode 100755 new mode 100644 index af7cf3e..dd12fc2 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -66,4 +66,7 @@ + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml old mode 100755 new mode 100644 index 029a1a8..2e1637c --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -3,6 +3,8 @@ + + diff --git a/CHANGELOG.md b/CHANGELOG.md index c1ecd0b..b8164ba 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,83 @@ # CHANGELOG +## 0.15.0 + +### New + +- "Copy Description to Clipboard" feature +- add "close()" to Widget API/"Widget related" category +- add GT.type(KeyStroke)/typeKey(String) +- add GuiTesting.startSnapshotReview +- add get...Prop methods +- add pre-build SnapshotReviewApp.jar to "tools" directory +- move binding code to new Bindings API +- add ImageDifferenceIgnored[Border|Corner]Size +- add resetMouse and resetScreenCaptureSupport + +### Changes (Possibly incompatible) + +- "inline" PropFactory in PropService +- add 'visible' to BoxStyle +- add VStackWidget (and use it) +- avoid using Var/Nullable Udo Borkowski +- change parameter order for bindSwingCode +- hide eventAPIForProp +- in Prop use "isReadOnly" instead of "isEditable" +- make bindSwingCode support multiple props +- moved runDependingSwingCode to Bindings +- new method getSnapshotNameDefault() replaces SNAPSHOT_NAME_DEFAULT +- remove PropField... and PropComputed... from API +- rename some factory methods to newComputedProp... +- replace "bind" with "bind[...]To" methods +- replace AssertRetryingSupport by AssertRetryingService +- replace PollingSupport by PollingService +- replace TimeoutSupport by TimeoutService +- runDependingSwingCode -> bindSwingCode +- use BoxStyle instead of AWT Border in client code +- use testResourcesDirectory, not ...Path + +### Bug Fixes + +- GTHeadlessImpl must not call code requiring "head" (mouse, display) +- JCheckBoxBindable selected state not initialized with Prop value +- PropComputedNullable not updated automatically +- PseudoProp triggers no events until first call to `get` +- bindSwingCode observer is not removed +- disposeAllWindows must run in EDT +- endless recursion when using BorderedPanel#east +- make sure to run JFrame.show in the EDT +- tooltips empty for VList's "next/previous" buttons + +### Improvements + +- BoxStylingSwing sets JComponent#opaque attribute +- SnapshotReview: various improvements +- add GT.makeScreenshotMatchingTolerant() and use it +- add bindSwingCode(...,Consumer) to Bindings +- add bindSwingCodeTo[Nullable](Consumer, Supplier) +- add factory PropServices.newPropService() +- add getEventService() to PropService API +- basic "multi-variant" snapshot support +- better grouping of issues in SnapshotReviewWidget +- don't shrink images below a minimum size +- emit "selected" PropertyChanged event for JCheckBoxBindable +- emit "shrinkToFit" PropertyChanged event for SnapshotReviewWidget +- impleement bindSwingCode; add Bindings.isUpdating() +- improved waitUntilAllMenuRelatedScreenshotsMatchSnapshot +- improved waitUntilAllMenuRelatedScreenshotsMatchSnapshot +- in issue list, display test name first +- move code from SnapshotReviewApp to ScreenCaptureSupport +- nicer styling of the titlebar +- release modifier keys (e.g "shift") before running GUI tests +- remove dependency to GT from SnapshotReview(Impl) +- resetMouse when createing a GTImpl +- showIssues support optional initializer code +- some more distance between Copy-button and issue description +- support PseudoProp +- support binding a Consumer to a Prop +- support otherSource/PropertyName in Prop/Binding +- use BoxStyle to style snapshotIssuesVList borders + ## 0.14.0 ### Improvements diff --git a/misc/releasenewversion b/misc/releasenewversion index 72c8861..3a991c8 100755 --- a/misc/releasenewversion +++ b/misc/releasenewversion @@ -102,7 +102,7 @@ misc/setartifactversion "abego-guitesting" "$version" "abego-guitesting-swing/po # --- Do the Git stuff --------------------------------------------------- echo "Pushing changes to Git server..." git add . -git commit -m "Release ${version}" +git commit -m "build: release ${version}" git tag "v${version}" # tag the commit as `vx.y.z` (e.g. "`v0.10.0`") git push origin "v${version}" #o push the changes to the Git server, incl. tag. @@ -111,7 +111,7 @@ echo "Prepare for next development iteration..." misc/setartifactversion "abego-guitesting" "${nextVersion}-SNAPSHOT" "pom.xml" misc/setartifactversion "abego-guitesting" "${nextVersion}-SNAPSHOT" "abego-guitesting-swing/pom.xml" git add . -git commit -m "Prepare for next development iteration" +git commit -m "build: prepare for next development iteration" git push origin # --- Deploying to Maven Central ------------------------------------------ diff --git a/pom.xml b/pom.xml index 83b5f25..6dcf78d 100644 --- a/pom.xml +++ b/pom.xml @@ -94,10 +94,10 @@ git - 0.12.0-SNAPSHOT - 0.12.0-SNAPSHOT - 0.12.0-SNAPSHOT - 0.1.1-SNAPSHOT + 0.12.0 + 0.12.0 + 0.12.0 + 0.2.0 0.8.3 5.5.2 1.1.0