Releases: NetherlandsForensicInstitute/puma
5.0.1 - Add popuphandlers and fix Google Maps
What's Changed
- 192 google maps cannot start navigation by @btimbermont in #193
- 194 Add popup handlers (whatsapp and generic system popup) by @btimbermont in #195
Full Changelog: 5.0.0...5.0.1
5.0.0 WhatsApp stability improvements
This new major release contains improvements for the stability of our WhatsApp support. This is a major release, because some of the signatures of methods have changed. Update your code accordingly.
What's Changed
- 183 Fix bugs found during testdata creation in Toucan by @Carly-1 in #186
- 177: Fix logging of the generic exception handler inside action decorator by @gochujang-c in #178
- 184-update-dependencies-to-newest-version: Update dependencies by @Angelina-C in #185
- 189 fix whatsapp by @btimbermont in #191
Full Changelog: 4.0.1...5.0.0
4.0.1: Support python 3.10 and 3.11
What's Changed
- 173: Fix string literals for Python 3.10 and 3.11. by @Carly-1 in #174
- 175: Move post verification tests to test directory by @gochujang-c in #176
Full Changelog: 4.0.0...4.0.1
4.0.0 WhatsApp verification
This release introduces verification of the actions performed. Before, the framework logged when an action was initiated, but did not check whether it was finished or had succeeded, unless you implemented this in your action. With this release, you can add verifications to the actions you implement. Examples of such verifications is checking whether a message has actually been sent, delivered or read. The WhatsApp class now contains some verification methods you can use, but you can also implement your own, depending on your needs. Also see the WhatsApp README for examples.
Breaking changes
Apart from the verification, the SnapchatActions has been rewritten to Snapchat to implement the Puma State Graph. API-breaking changes include the changing of some method names. For the changes, please refer to the Snapchat README.
3.0.0 Puma State Graphs
In this major release we are introducing Puma State Graphs, a new architecture for apps in Puma that allows Puma to act as a framework that offers more robust navigation and cleaner code. For regular users that use Puma code but not develop for it, this change massively improves how you use Puma and write code: Puma can now navigate between different states of the application all by itself.
This means you no longer need to think about which part of the app Puma is in before calling your next method, be it in the same app or another: Puma will always be able to navigate from whichever state to whichever other state. Even more: Puma now has some capabilities to handle unexpected situations, like app crashes or popups.
If you want a technical deep dive as a Puma developer into how this new architecture works (or if you're not a developer but are interested in how the new StateGraph framework works), please refer to the CONTRIBUTING.md.
Breaking changes
However, this new architecture requires a complete rewrite of all app-specific code, which required many changes to method names and parameters, so this release has breaking changes. If you have a script that uses any of the following classes, you must update your script to use the newest version:
- GoogleCameraActions
- GoogleChromeActions
- OpenCameraActions
- TelegramActions
- TeleguardActions
- WhatsAppActions
All these classes have been replaced with a new class without the Actions suffix (so the class WhatsAppActions becomes WhatsApp).
The methods in these classes have also changed in many cases, so please refer to the readme.md of each specific app to learn about the new (and often improved) methods:
- Readme for Google Camera
- Readme for Google Chrome
- Readme for Telegram
- Readme for Teleguard
- Readme for WhatsApp
New application
Deprecated classes
We plan on rewriting all app code to use the StateGraph framework, but not all of them have been rewritten right now This means that for now, some classes still use the old AndroidActions class:
- GoogleMapsActions
- SnapchatActions
- WhatsappBusinessActions
These classes have therefore been marked as deprecated and will no longer be maintained. As soon as we can they will be rewritten to use the robust Puma StateGraph framework.
Also note that the tutorials have not been updated yet to using the StateGraph.
2.10.0 - Add support for WhatsApp Business
Today's release add support for WhatsApp Business. Supported features are largely the same as for WhatsApp Messenger.
What's Changed
- 120 cleanup pr mistakes by @btimbermont in #121
- 114 whatsapp business by @luukvancampen in #122
Full Changelog: 2.9.2...2.10.0
2.9.2 Fix Chrome tab switching
What's Changed
- Bump pypa/gh-action-pypi-publish from 1.12.4 to 1.13.0 in /.github/workflows by @dependabot[bot] in #118
- 117 Fix Chrome tab switching by @Chr4n6 and @btimbermont in #119
New Contributors
- @dependabot[bot] made their first contribution in #118
- @Chr4n6 made their first contribution in #119
Full Changelog: 2.9.1...2.9.2
2.9.1: Google Chrome: Fix bookmarks and new tab
What's Changed
- Fix for bookmarking pages and creating and switching to new tabs by @luukvancampen in #115
Full Changelog: 2.9.0...2.9.1
2.9.0: Add ground truth logging
What's Changed
- 110 add ground truth logging functionality by @Angelina-C in #111
Full Changelog: 2.8.0...2.9.0
2.8.0: Update setuptools version
What's Changed
-
- Add tutorial by @Angelina-C in #101
- Update Setuptools dependency by @eoudsen in #109
Full Changelog: 2.7.1...2.8.0