@flowfuse/mqtt-schema-agent

中文文档
1.1.3发布于 2026/07/02Apache-2.0CommonJS近 30 天下载 7791

Agent to collect MQTT topic Schema

原始使用文档
文档目录4 节
  1. Release process
  2. Components
  3. Pull Request Title Format
  4. Handling Breaking Changes

Utility to gather active topics from any MQTT Broker

Not intended to be run manually, should be started by the FlowFuse k8s driver

Release process

In this project, the Release Please is used to automatically determine the next release version based on the commit messages in the codebase.

By using the Conventional Commits, the project adheres to a standardized format for commit messages, which Release Please uses to determine whether the next release should be a major, minor, or patch release.

Components

  1. The Prepare release GitHub Action workflow:

    • A Release Please action that analyzes commit messages to determine the type of release required (major, minor, patch) based on the Conventional Commits specification
    • Creates a pre-release pull request with the proposed version bump and changelog
    • Once merged, automatically updates the version number in package.json and creates a new release on GitHub with the appropriate changelog
  2. The Lint Pull Request Title GitHub Action workflow:

    • A workflow that runs on pull request creation and uses the amannn/action-semantic-pull-request action to validate that pull request titles follow the Conventional Commits format
    • Together with adjusted default merge commit message, this ensures that all commits merged into the main branch adhere to the expected format, allowing Release Please to function correctly

Pull Request Title Format

The Conventional Commits preset expects pull request titles to be in the following format:

<type>(<scope>): <subject>
  • Type: Describes the category of the commit. Examples include:
    • feat: A new feature (triggers a minor version bump).
    • fix: A bug fix (triggers a patch version bump).
    • perf: A code change that improves performance (triggers a patch version bump).
    • refactor: A code change that neither fixes a bug nor adds a feature (does not trigger a release unless it's accompanied by a BREAKING CHANGE).
    • docs: Documentation-only changes (does not trigger a release).
    • chore: Changes to the build process or auxiliary tools and libraries (does not trigger a release).
  • Scope: An optional part that provides additional context about what was changed (e.g., module, component).
  • Subject: A brief description of the changes.

Handling Breaking Changes

To indicate a breaking change, the exclamation mark ! should be used immediately after the type/scope:

  • feat!:,
  • fix!:
  • refactor!:

版本与发布记录

@flowfuse/mqtt-schema-agent 共发布 10 个版本,首次发布于 2025/02/05;过去 12 个月发布了 3 个版本。

版本发布日期距今
1.1.3latest2026/07/024 个月前
1.1.22026/05/215 个月前
1.1.12026/01/309 个月前
1.1.02025/09/221.1 年前
1.0.52025/04/011.6 年前
1.0.42025/03/241.6 年前

关于 @flowfuse/mqtt-schema-agent 的常见问题

@flowfuse/mqtt-schema-agent 是什么?

Agent to collect MQTT topic Schema

如何安装 @flowfuse/mqtt-schema-agent?

在项目目录运行 npm install @flowfuse/mqtt-schema-agent,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 mqtt-schema-agent,可以用 npx mqtt-schema-agent 直接运行。

@flowfuse/mqtt-schema-agent 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/flowfuse__mqtt-schema-agent 是否存在。

@flowfuse/mqtt-schema-agent 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@flowfuse/mqtt-schema-agent 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=18.x。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@flowfuse/mqtt-schema-agent 可以商用吗?

@flowfuse/mqtt-schema-agent 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@flowfuse/mqtt-schema-agent 的下载量有多少?

根据 npm 官方下载统计,@flowfuse/mqtt-schema-agent 在 2026/10/15 – 2026/11/13 这 30 天内被下载 7,791 次,日均约 260 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@flowfuse/mqtt-schema-agent 还在维护吗?

最新版本 1.1.3 发布于 2026/07/02(4 个月前);至今共发布 10 个版本,其中过去 12 个月发布了 3 个;首次发布于 2025/02/05。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。