Gravatar

Solene Sossah

Software Engineer


November 2024 Newsletter

SDK News Corner

Rich Push Notification Support

Send Rich Push Android

Our SDK now supports rich (enhanced) push notifications! We have introduced the PushNotification object, allowing for sending dynamic notifications to end users via the Firebase Cloud Messaging (FCM) Service. You can customize notifications with images, color adjustments, transparency, sound settings, and deep linking. For more details, visit our Push Notification Documentation.

Support For Masking Secrets

A log filter, StringSecretsFilter, has been introduced in recent SDK releases to simplify secret masking. This feature abstracts the complexities of determining regex patterns, providing an easy way to mask key values, and ensuring sensitive information remains confidential. Here's how it works:

Sample Code

from q2_sdk.core.q2_logging.filters import StringSecretsFilter

class TestHandler(Q2TectonServerRequestHandler):
    LOGGING_FILTERS = [StringSecretFilter(key="ApiKey")]

JSON Example

{"ApiKey": "asdf"} -> <ApiKey>*****</ApiKey>

XML Example

"<ApiKey>asdf</ApiKey>" -> <ApiKey>*****</ApiKey>

DBObject Improvements

Two new DBObjects have been added:

  • Notification: Offers get and add methods to fetch and register a notification row
  • NotificationStatus: Provides a get method that returns a complete list of notification statuses and retrieves a specific status using notification_status_id

Additional Enhancements:

External MFA Sandbox Support

We now support the External MFA adapter in sandbox environments. You can easily enable it as a multi-factor authentication type using the q2 sandbox external_mfa enable command. For a step-by-step setup, check out the External MFA Sandbox Tutorial.

Portal News

Log Request Improvements

When requesting a log, the data that has been inputed by the user will stay on the page. This helps to be able to quickly request logs multiple times in succession.

Email Notification System Issue

We recently experienced some issues with our email notifications system. As a result, some notifications may not have been delivered as expected. We apologize for any inconvenience this may have caused.

To ensure you continue to receive the notifications that are important to you, we kindly ask that you review your notification preferences within the platform. You can find your notification preferences here q2developer.com/settings/notifications.

Thank you for your understanding and cooperation. If you have any questions or need further assistance, please do not hesitate to contact our support team.

Tecton News

Components and Capabilities

The Tecton team has been hard at work improving the component library's accessibility and usability, with a strategic focus on bridging connections between Tecton and the Mobile SDK. In our latest update, we've introduced several key enhancements that empower developers and ensure a more inclusive user experience.

The q2-chart-donut component now features a q2-legend that enables accessible keyboard navigation, while multiple components have been refined to provide better screen-reader compatibility.

We've also expanded the q2-input component with robust pattern and email address validation.

The Mobile SDK platform now exposes Tecton capabilities dynamically, allowing developers to seamlessly call new actions and sources, thereby extending the SDK's flexibility and power.

Check out these updates and more in our Tecton documentation!

Caliper API News

Send Rich Push Notification Endpoint

Send Rich Push

In support of the recent updates to Push Notifications in our SDK, we've also released a new API endpoint: Send Rich Push Notification. This endpoint allows external systems, which may not have direct access to the SDK, to leverage the same rich push notification features.

Get Notification Status Endpoint

Notification Status Response

After sending a rich push notification, the returned NotificationID can be utilized to check its status through the Get Notification Status endpoint. This will show if the notification is delivered, failed, scheduled, or in process.

Additional Highlights

Latest Releases

Caliper SDK (Python) v2.247.2 - CHANGELOG

Tecton SDK (Javascript) v1.47.0 - CHANGELOG

Marketplace (Python) v0.8.9 - CHANGELOG

Caliper API (Python) v1.38.0-rc.1 – CHANGELOG