Used to check for browser translation.
用于检测浏览器翻译。
ブラウザの翻訳を検出する

Blocklet Server v1.16.28: Improved Blocklet Studio and Run-time Support

wangshijun
Jun 22, 2024 · edited
B
Blogs
cover

We are excited to announce the release of Blocklet Server v1.16.28, marking the culmination of two weeks of dedicated improvements and rigorous testing with 27 significant commits. This release introduces an array of new features and enhancements, designed to empower developers and enhance the functionality of decentralized applications on our platform.

Features and Improvements#

Blocklet Launch Workflow#

  • Dynamic Blocklet Engine Support: this enables more flexible and efficient blocklet composition and reuse when running blocklets on the Blocklet Server, which is the secret sauce of how Blocklet Server can run blocklets built with AIGNE. More details on this feature will be shared in a subsequent post.

Screenshot 2024-06-23 at 07.36.17.png

User Login Experience#

Improvements in the user login experience include:

  • Locale Persistence: Users can now change and persist locale settings from the user center, ensuring that locale preferences are maintained across sessions.

Screenshot 2024-06-23 at 06.56.55.png

  • Push Notification Management: Added the ability to toggle push notifications on or off directly from the user center, giving users greater control over their notification preferences.

Screenshot 2024-06-23 at 06.57.21.png

App Management Experience#

We've made several enhancements to the app management interface:

  • Enhanced Navigation: Improved navigation and the component list within the Blocklet service for easier management.


  • Blocklet Information Dialog: Updated the blocklet info dialog on the component list page for better clarity.
  • Notification Actions: Polished notification actions for Blocklets to enhance user interaction.

Builder Experience#

Blocklet CLI#

  • Bundle Directory Fix: Ensured that the bundle directory exists when retrying bundle operations without cleaning, preventing errors during the bundling process.

Blocklet SDK#

  • Notification Channel Selection: Added support for selecting channels when sending notifications, enhancing the flexibility of communication.
  • App Verification Support: Introduced appPk in blocklet.js for verification purposes, bolstering security.
  • Cache Debugging: Added updatedAt in blocklet.js to aid in debugging cache-related issues.

Blocklet Service#

  • PushKit Integration: Introduced support for sending notifications with PushKit, which is set to launch soon. This integration will enhance interactions between DApps on the ArcBlock Blocklet platform and their users.

Screenshot 2024-06-23 at 07.08.23.png

Blocklet Studio#

  • Static Resource Publishing: Now supports publishing Blocklets by uploading static resources, enabling users without coding skills to create Blocklets. A detailed tutorial on this will be provided later.


  • Mobile Screen Optimization: Polished Blocklet Studio for better usability on mobile devices.
  • Resource Management: Implemented fixes to only keep the latest resources when new releases occur and resolved issues related to exporting resources due to permission errors.
  • Stability Improvements: Addressed crashes related to missing DIDs and broken logos during resource creation.

Dependency Management#

  • Punycode Warning Elimination: Removed an annoying punycode warning that occurred when using @blocklet/cli.
  • Axios Update: We bumped axios dependency from 0.27 to v1.7.x, which is the latest version
  • i18n CLI Update: Updated the auto i18n CLI with custom model support for better translation management across products.

Security and Reliability#

  • Mount Point Verification: Ensured that mount points exist when upgrading Blocklets to prevent installation errors.
  • Socket Channel Correction: Corrected the socket channel for DID connect events to fix the unresponsive issue during DID Connect.
  • Startup Reliability: Addressed issues that caused the server to get stuck in the starting state during Blocklet additions.
  • Isolation Support: Improved isolation support for Blocklets running in Blocklet Server, enhancing security and stability.

How to upgrade?#

As part of our commitment to excellence, every official release of Blocklet Server undergoes a week of battle testing in our production environment. This ensures that we deliver the most stable and reliable platform possible.

Developers can leverage the new features and improvements by upgrading their Blocklet Server or using our Official Launcher. As a cutting-edge platform for decentralized applications, Blocklet Server continues to provide the essential tools and infrastructure for developers to innovate and excel in this dynamic field.

To upgrade your own Blocklet Server to v1.16.28, please take the following steps (upgrading from dashboard will not work for this release):

  • Installation: Install the latest version using npm install -g @blocklet/cli.
  • Restart: Stop the server with blocklet server stop -f and restart it using blocklet server start. If errors occur, attempting to start again may resolve the issue.

Community Spotlight: Your Feedback in Action#

We believe that the heart of our product lies within the vibrant community of our users. Your insights and suggestions are invaluable to us, and we're dedicated to incorporating your feedback to make Blocklet Server even better. In this section, we highlight the latest updates and bug fixes that were inspired by you, our users. From minor tweaks to major changes, every update is a step towards enhancing your experience and meeting your needs.

Help us to Improve#

If you have any needs, suggestions, or issues during your usage, you can visit the ArcBlock Community to provide feedback. We will do our utmost to assist you. Additionally, if your feedback is selected for our Bug Bounty Program, you will receive an ABT reward.


2.0.175