Povijest verzija dodatka codefmt — format automation code – 4 verzije
codefmt — format automation code Autor: Josh Ozuna
Povijest verzija dodatka codefmt — format automation code – 4 verzije
Oprez sa starim verzijama! Ove se verzije prikazuju u svrhu testiranja i referenci.Uvijek koristiti najnoviju verziju dodatka.
Najnovija verzija
Verzija 1.3.2
Objavljeno 15. tra. 2026 – 25,79 KBRadi s firefox 140.0 i novije verzije, android 142.0 i novije verzijev1.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.Izvorni kod je objavljen pod licencom MIT licenca
Starije verzije
Verzija 1.2.0
Objavljeno 6. tra. 2026 – 26,64 KBRadi s firefox 142.0 i novije verzijev1.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
Izvorni kod je objavljen pod licencom MIT licenca
Verzija 1.1.0
Objavljeno 4. tra. 2026 – 24,19 KBRadi s firefox 142.0 i novije verzijev1.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.
Izvorni kod je objavljen pod licencom MIT licenca
Verzija 1.0.0
Objavljeno 31. ožu. 2026 – 18,81 KBRadi s firefox 142.0 i novije verzije, android 142.0 i novije verzijeIzvorni kod je objavljen pod licencom MIT licenca