plunk 2.1.0
plunk: ^2.1.0 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.1.0 Jun 24, 2025 #
- Added
PlunkConflictException
to exceptions.dart. - Updated
createContact()
method client.dart to add 409 response. - Updated plunk_test.dart.
- Updates README.md.
2.0.2 May 01, 2025 #
- Updated client.dart formatting to meet static analysis requirements.
- Removed melos artifacts.
- Added
ignore_for_file
directive to ignore overridden fields. - Added
annotate_overrides
directive to ignore annotate_overrides warning.
2.0.1 Apr 29, 2025 #
- Updated README.me
2.0.0 Jan 25, 2025 #
- Transferred ownership to DartFoundry at pub.dev and github.com.
- Removed
rest_client
dependency 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
TrackRequest
to latest API. - Refactored
track()
→trackEvent()
and updated to parameterized inputs. - Updated
SendRequest
andSendResponse
to 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
const
constructors, documenting classes and methods and making fieldsfinal
. - Renamed
track.dart
→events.dart
to 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.