Skip to content

1.12.0 (25123)#24

Merged
MStankiewiczOfficial merged 6 commits intomainfrom
development
Dec 20, 2025
Merged

1.12.0 (25123)#24
MStankiewiczOfficial merged 6 commits intomainfrom
development

Conversation

@MStankiewiczOfficial
Copy link
Copy Markdown
Owner

This pull request introduces a major overhaul of the build and release workflow for the browser extension, automating the packaging and publishing process for both Firefox (AMO) and Chrome (CWS). It adds a new unified build script, splits the release workflow into multiple jobs, and updates documentation to reflect the new process. The changes improve maintainability, automate signing and publishing, and clarify installation and build instructions for users and contributors.

Build and Release Automation

  • Introduced a new scripts/build.js Node.js script to automate building browser-specific bundles, flatten and generate locale files, and package unsigned artifacts for both Chromium and Gecko browsers. The script supports CLI flags for browser selection and skipping archive creation.
  • Refactored the main release workflow in .github/workflows/release.yml to only build and upload unsigned artifacts and release metadata, delegating signing and publishing to follow-up workflows.

Publishing Workflows

  • Added .github/workflows/publish-amo.yml to automate signing and uploading the Firefox (Gecko) extension to Mozilla Add-ons, including downloading release metadata, building, signing with web-ext, and updating the GitHub release with the signed XPI.
  • Added .github/workflows/publish-cws.yml to automate publishing to the Chrome Web Store, including uploading the unsigned bundle, triggering publishing, fetching the signed CRX, and updating the GitHub release.

Documentation Updates

  • Updated README.md to explain the new build process, clarify installation methods for both browsers (including direct store links), and document the use of scripts/build.js for local builds. Added instructions for enabling auto-redirect and clarified manual installation steps. [1] [2] [3]
  • Updated release-notes.md to reflect the new version and changes in artifact distribution, including notes about signed/unsigned artifacts and store availability.
  • Added a translation maintenance policy to TRANSLATION-STANDARDS.md, specifying removal criteria for incomplete translations and the process for reintroduction.

Other

  • Minor formatting cleanup in TRANSLATION-STANDARDS.md.

The release workflow now only triggers on changes within the src directory. The README has been updated to clarify Chromium installation methods, add a Chrome Web Store installation option, and provide information about the auto-redirect feature.
Replaced the Chrome Web Store badge image URL with the latest official branding in the installation instructions.
Refactored the release workflow to build unsigned artifacts and persist release metadata for follow-up workflows. Added separate workflows to automate publishing signed extensions to Mozilla Add-ons (AMO) and Chrome Web Store (CWS), including uploading signed artifacts to GitHub Releases. This modular approach improves maintainability and separates build from publish steps.
Migrates all browser-specific source files from src/Gecko and src/Chromium into a unified src/browser directory. Adds scripts/build.js to automate building and packaging for Chromium and Gecko targets. Updates GitHub workflows and documentation to use the new build process and directory structure. Cleans up .gitignore for new output paths.
- Added support for localization with `default_locale` set to `en`.
- Introduced new `iframeBehavior` option for managing iframe behavior.
- Added iframe placeholder.
- Updated manifests to include new resources and support localization.
- Refactored `translate.js` for improved language handling.
- Enhanced error handling and translation in `popup.js`.
- Removed the deprecated iframe button functionality.
@MStankiewiczOfficial MStankiewiczOfficial merged commit 3f2541e into main Dec 20, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant