Skip to content

Commit

Permalink
build: prepare next release
Browse files Browse the repository at this point in the history
  • Loading branch information
abego committed Mar 19, 2023
1 parent c137394 commit 53ffa97
Show file tree
Hide file tree
Showing 6 changed files with 91 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions .idea/misc.xml
100755 → 100644

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .idea/vcs.xml
100755 → 100644

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

78 changes: 78 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions misc/releasenewversion
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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 ------------------------------------------
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@
<sonar.scm.provider>git</sonar.scm.provider>

<!-- version infos -->
<abego-commons-base.version>0.12.0-SNAPSHOT</abego-commons-base.version>
<abego-commons-test.version>0.12.0-SNAPSHOT</abego-commons-test.version>
<abego-commons-swing.version>0.12.0-SNAPSHOT</abego-commons-swing.version>
<abego-event-swing.version>0.1.1-SNAPSHOT</abego-event-swing.version>
<abego-commons-base.version>0.12.0</abego-commons-base.version>
<abego-commons-test.version>0.12.0</abego-commons-test.version>
<abego-commons-swing.version>0.12.0</abego-commons-swing.version>
<abego-event-swing.version>0.2.0</abego-event-swing.version>
<jacoco-maven-plugin.version>0.8.3</jacoco-maven-plugin.version>
<junit-jupiter.version>5.5.2</junit-jupiter.version>
<junit-platform-surefire-provider.version>1.1.0</junit-platform-surefire-provider.version>
Expand Down

0 comments on commit 53ffa97

Please sign in to comment.