plunk 2.0.1
plunk: ^2.0.1 copied to clipboard
Dart and Flutter REST API client library for the Plunk email platform for SaaS. Visit useplunk.com to create an account.
2.0.1 Apr 29, 2025 #
- Updated README.me
2.0.0 Jan 25, 2025 #
- Transferred ownership to DartFoundry at pub.flutter-io.cn and github.com.
- Removed
rest_clientdependency and replaced with internal client. - Updated to Dart SDK
>=3.0.0 <4.0.0. - Added the following API methods:
updateContact()to update a contact.createCampaign()to create a campaign.updateCampaign()to update an existing campaign.deleteCampaign()to delete a campaign.sendCampaign()to send a campaign.
- Breaking changes include:
- Updated
TrackRequestto latest API. - Refactored
track()→trackEvent()and updated to parameterized inputs. - Updated
SendRequestandSendResponseto latest API. - Refactored
send()→sendEmail()and updated to parameterized inputs. - Refactored
contact()→getContact()and updated to parameterized input. - Refactored
contacts()→getAllContacts(). - Refactored
count()→getContactCount(). - Refactored
create()→createContact()and updated to parameterized input. - Refactored
subscribe()→subscribeContact()and updated to parameterized input. - Refactored
unsubscribe()→unsubscribeContact()and updated to parameterized input. - Refactored
delete()→deleteContact()and updated to parameterized input.
- Updated
- Updated and grouped existing tests.
- Added updateContact tests.
- Added campaign management tests.
- Added tests for rest client and token authorizer.
- Removed TODO.md.
1.0.2 Dec 26, 2023 #
- Cleaned up code, adding
constconstructors, documenting classes and methods and making fieldsfinal. - Renamed
track.dart→events.dartto more accurately describe its role. Internal only will not affect usage.
1.0.1 Dec 26, 2023 #
- Updated pubspec description and version.
1.0.0 Dec 21, 2023 #
- Initial version.