Istoricul versiunilor pentru codefmt — format automation code - 4 versiuni
codefmt — format automation code de Josh Ozuna
Istoricul versiunilor pentru codefmt — format automation code - 4 versiuni
Atenție la versiunile vechi! Aceste versiuni sunt afișate pentru testare și ca referință.Trebuie să folosești întotdeauna cea mai recentă versiune a unui supliment.
Ultima versiune
Versiunea 1.3.2
Lansată în 15 apr. 2026 - 25,79 KBFuncționează cu firefox 140.0 și versiunile ulterioare, android 142.0 și versiunile ulterioarev1.3.2 — full feature parity with Chrome + reliability + compliance
This version brings Firefox to parity with Chrome and adds a year's worth of reliability improvements. Most users will
notice the extension is faster, more resilient, and finally has a proper keyboard shortcut.
New keyboard shortcut
- Press ⇧⌘F (macOS) / Ctrl+Shift+F (Windows/Linux) on any supported editor page to format the active code block. The
shortcut is now registered through Firefox's native commands system, so it's user-customizable at about:addons → ⚙ →
Manage Extension Shortcuts and it no longer conflicts with Monaco / CodeMirror's built-in shortcuts.
Onboarding
- First-time installs now open the codefmt extension page so you can see which platforms are supported and how to use it.
Visible "live" indicator
- The toolbar icon now shows a small "fmt" badge whenever you're on a supported automation-platform editor, so you know
the extension is ready to format without guessing.
Reliability improvements
- Offline detection: if your network is down, codefmt tells you immediately instead of hanging on a failed request.
- Automatic one-shot retry on transient network errors (with a 400 ms backoff), so a flaky connection doesn't make you
re-click the format button. 4xx / auth / payload errors never retry — only genuinely transient failures.
- Request timeout + abort so a stuck server never leaves your editor locked up.
- Response shape validation: the extension now rejects malformed API responses instead of inserting garbage into your
editor.
Security hardening
- Tight extension-page CSP locks the popup to self-only scripts, objects, and base URIs, with no framing allowed.
- Sender validation on every cross-context message.
- Pre-flight payload size check (50 KB limit) before network traffic.
Popup polish
- Format button now autofocuses when the popup opens. Respects system color-scheme. Explicit button types to prevent
accidental form submission.
Platform variants cleanup
- Retires legacy pipedreamType: "codeStep" (now "action") and drops makeModuleType entirely. An automatic one-time
migration on upgrade rewrites any stored legacy values — you won't notice anything unless you were a very early adopter on
Pipedream, in which case your existing preference is preserved as "action".
Privacy compliance
- Declares the new Firefox data collection category (websiteContent) so users installing from AMO see an accurate consent
prompt about what the extension handles.
- Minimum Firefox version raised to 140 (desktop) / 142 (Android) to match the Firefox release where the data-consent
system became available. Users on older Firefox can continue using codefmt v1.2.0 until they update.Codul sursă lansat sub Licență MIT
Versiuni mai vechi
Versiunea 1.2.0
Lansată în 6 apr. 2026 - 26,64 KBFuncționează cu firefox 142.0 și versiunile ulterioarev1.2.0 adds platform-aware formatting for HubSpot Design Manager, security improvements, and a refreshed popup UI.
New features:- the extension now detects which platform you're on and shows it in the popup menu with a direct link to configure settings on codefmt.dev
- HubSpot Design Manager support: format module.html (HubL), module.css, and module.js files directly in the Design Manager editor
- CodeMirror 5 editor support (used by HubSpot Design Manager)
- content type auto-detection: the extension identifies whether your code is HubL, HTML, CSS, or JavaScript and routes it to the correct formatter
Security improvements:- bridge authentication prevents page scripts from accessing the editor bridge
- sender validation ensures only supported platform domains can trigger formatting
-payload validation with size limits enforced before sending to the API - request timeout (30 seconds) prevents hanging requests
Other changes:- updated extension name and description for better discoverability
- popup now shows the detected platform name and links to the corresponding codefmt.dev settings page
Codul sursă lansat sub Licență MIT
Versiunea 1.1.0
Lansată în 4 apr. 2026 - 24,19 KBFuncționează cu firefox 142.0 și versiunile ulterioarev1.1.0 — Firefox support, multi-editor engine, language detection- Added Firefox support via wrappedJSObject page access
- Added CodeMirror 6 support (Pipedream, n8n)
- Monaco editor write-back now works on Zapier (MAIN world bridge)
- Auto-detects JavaScript vs Python from editor language attributes
- Platform-aware defaults: Zapier JS (80w, single quotes), Python (88w, Ruff defaults)
- Settings sync from codefmt.dev
- Format via keyboard shortcut (Cmd/Ctrl+Shift+F) or popup button. Context menu available on platforms that don't override right-click.
Codul sursă lansat sub Licență MIT
Versiunea 1.0.0
Lansată în 31 mart. 2026 - 18,81 KBFuncționează cu firefox 142.0 și versiunile ulterioare, android 142.0 și versiunile ulterioareCodul sursă lansat sub Licență MIT