MMRL Version 2.19.18: New Repo Format and Enhanced XML Support

by Der_Googler
2 minutes

We are thrilled to announce the release of MMRL version 2.19.18! This update brings significant improvements and new features that enhance user experience and provide greater flexibility in managing repositories. Let’s dive into the key highlights of this version.

New Repo Format

One of the most notable features in this update is the support for a new repository format. This format is designed to be more user-friendly, allowing users to easily edit and add various elements such as screenshots, categories, icons, and covers.

How to Use the New Repo Format

To take advantage of the new repo format, users need to create a repo.json file inside the common directory of their module. Here’s a sample structure for the repo.json file:

{
  "support": "str",
  "donate": "str",
  "cover": "str",
  "icon": "str",
  "license": "str",
  "homepage": "str",
  "screenshots": ["array"],
  "category": "str",
  "categories": ["array"],
  "antifeatures": ["array"],
  "require": ["array"]
}

Placement of the repo.json File

It is crucial to place the repo.json file inside the root directory of the module. If you prefer, you can also place non-array properties inside your module.prop file. This flexibility ensures that users can organize their files in a manner that best suits their workflow.

Enhanced Customization Options

With the new repo format, users can now add:

  • Support and Donate Links: Provide users with quick access to support and donation options.
  • Cover and Icon Images: Enhance the visual appeal of your modules by adding custom cover and icon images.
  • Screenshots: Include screenshots to give users a preview of your module’s functionality.
  • Categories and Tags: Organize your modules into categories and add tags for better discoverability.
  • Antifeatures and Requirements: Clearly list any antifeatures and module requirements to set proper user expectations.

DOMParser and XMLSerializer Accessibility

Another exciting addition in version 2.19.18 is the accessibility of DOMParser and XMLSerializer. These tools are essential for handling XML data, and their availability enhances the capability of users to work with XML documents within MMRL.

  • DOMParser: This parser allows users to parse XML strings into DOM (Document Object Model) documents. It is particularly useful for manipulating and traversing XML documents.
  • XMLSerializer: This serializer enables users to convert DOM documents back into XML strings, facilitating the storage and transmission of XML data.

Conclusion

The release of MMRL version 2.19.18 marks a significant milestone with the introduction of a new repo format and the accessibility of DOMParser and XMLSerializer. These enhancements are designed to provide users with greater flexibility and control over their repositories, making MMRL more powerful and user-friendly than ever before.

We encourage all users to update to the latest version and explore these new features. Your feedback is invaluable to us, so please do not hesitate to share your thoughts and experiences with the new update. Happy customizing!

Download

Your Reaction to this Post?

Currently there are no comments, so be the first!