Tags: pubnub/dart
Tags
refactor: removed invalid switch cases for message type being null (#146 ) * removed invalid/unncessary switch cases for message type being null * PubNub SDK v7.0.1 release. --------- Co-authored-by: Mohit Tejani <mohit.tejani@Mohits-MacBook-Pro.local> Co-authored-by: PubNub Release Bot <120067856+pubnub-release-bot@users.noreply.github.com>
hereNow update with limit and offset, subscribe issue fix, error hand… …ling for file upload, push gateway cleanup (#140) * subscribe: support for re subscribe/restore to recover from inactive subscription * files: fix error handling cases to provide clear details about failure, Xml error deatils parsing for aws s3 provided error for files upload and download operations. * PAM: tests * push notification service update GCM -> FCM * default limit and offset value handling in presence hereNow() API * * fix old integration tests for strict checks * fix: channel_groups with subscription flakiness * fix: channel_groups tests with channel name randomisation to make test independent to any interference * updated nextOffset calculation for `hereNow` to consider currently fetched users count * revrted nextOffset calculation of hereNow * chore(logging): reduce verbosity of API call and encryption logs * chor: dart format for presence.dart * chore(log-test): update tests implementation for logs to not rely on specific log level value just to test captured logs * formatting. * PubNub SDK v7.0.0 release. --------- Co-authored-by: Mohit Tejani <mohit.tejani@Mohits-MacBook-Pro.local> Co-authored-by: PubNub Release Bot <120067856+pubnub-release-bot@users.noreply.github.com>
fix: package compatibility with web build (#138) * upgrade dependencies added web compatibility test * allowing customerLogger to ILogger interface instead only StreamLogger * refactor: define parameter toJson() for logging information about input parameters * update codeowner list * refactor(log): allowing custom non stream logger, keeping default logger enabled when custom logger provided. * PubNub SDK v6.0.1 release. --------- Co-authored-by: Mohit Tejani <mohit.tejani@Mohits-MacBook-Pro.local> Co-authored-by: PubNub Release Bot <120067856+pubnub-release-bot@users.noreply.github.com>
refactor(log): improved logging with instance level logging enable fe… …ature. (#136) * Added support for instance level log configuration,new logging approach * dart analyse fix * formatting! * refactor(logging): implementation of toString() methods to log the module and types information in readable fomat and cleanup the logging implementation to use toString() methods on those modules. * support for disable retry policy `RetryPolicy.none()` to explicitly disable retry for subscribe test(retry_policy): added tests for retry policy refactor: retry policy applicable to subscribe only * refactor(imports) make required types available for retry and networking * format! * refactor(LoggingConfiguration): LoggingConfiguration to provide configuration for logging at instance level. Removed static methods from default file to have a clean approach. * PubNub SDK v6.0.0 release. * amend change log --------- Co-authored-by: Mohit Tejani <mohit.tejani@Mohits-MacBook-Pro.local> Co-authored-by: PubNub Release Bot <120067856+pubnub-release-bot@users.noreply.github.com>
fix: app_context apis `custom` field data type to not accept non scal… …ar value (#134) * app_context: data type update for `custom` fields. To restrict non scaler value for value part of key-value pairs * files: Potential risky channel or files names validation added to prevent path traversal attack via user channel and file name input * format files * fix: unused exception tyeps * PubNub SDK v5.2.1 release. --------- Co-authored-by: Mohit Tejani <mohit.tejani@Mohits-MacBook-Pro.local> Co-authored-by: PubNub Release Bot <120067856+pubnub-release-bot@users.noreply.github.com>
eTag for set UUID and Channel metadata (#133) * Code to support `eTag` for set UUID and Channel metadata * github workflow update upload-artifact v4 * PubNub SDK v5.2.0 release. --------- Co-authored-by: Mohit Tejani <mohit.tejani@Mohits-MacBook-Pro.local> Co-authored-by: PubNub Release Bot <120067856+pubnub-release-bot@users.noreply.github.com>
fix: omit optional parameters for AppContext APIs (#132) * fix: omit optional parameter while serializing appContext entities fields * PubNub SDK v5.1.1 release. --------- Co-authored-by: Mohit Tejani <mohit.tejani@Mohits-MacBook-Pro.local> Co-authored-by: PubNub Release Bot <120067856+pubnub-release-bot@users.noreply.github.com>
feat: Support for `status` and `type` fields in AppContext APIs (#130) * feat: appContext apis: added support for `status` and `type` fields * added prameter descriptions * fix: dart analyze, removed dead code. * PubNub SDK v5.1.0 release. --------- Co-authored-by: Mohit Tejani <mohit.tejani@Mohits-MacBook-Pro.local> Co-authored-by: PubNub Release Bot <120067856+pubnub-release-bot@users.noreply.github.com>
feat: customMessageType (#128) * * `custom_message_type` support for subscription, publish, signal and files features. * `custom_message_type` field parsing support in history apis. * acceptance tests steps implementation for custom_message_type * set default retry policy to `Exponential` with default configuration. Fixed issue pointed out by PR #127 for limiting retry delay within maximum delay for linear policy * fix: linting and warnings * fix channel test for customMessageType * PubNub SDK v5.0.0 release. * update changelog --------- Co-authored-by: PubNub Release Bot <120067856+pubnub-release-bot@users.noreply.github.com>
PreviousNext