Dodatki do przeglądarki Firefox
  • Rozszerzenia
  • Motywy
    • do Firefoksa
    • Słowniki i pakiety językowe
    • Inne strony
    • Dodatki na Androida
Zaloguj się
Ikona dodatku

Historia wersji dodatku codefmt — format automation code — 4 wersje

codefmt — format automation code Autor: Josh Ozuna

Nie ma jeszcze ocen
0 gwiazdek/5
5
0
4
0
3
0
2
0
1
0
Historia wersji dodatku codefmt — format automation code — 4 wersje
  • Zachowaj ostrożność podczas używania starych wersji! Są one wyświetlane w celach testowych i historycznych.Zawsze powinno używać się najnowszej wersji dodatku.

  • Najnowsza wersja

    Wersja 1.3.2

    Data wydania: 15 kwi 2026 — 25,79 KB
    Działa z: firefox 140.0 i nowsze, android 142.0 i nowsze
    v1.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.

    Licencja kodu źródłowego: Licencja MIT

    Pobierz Firefoksa i to rozszerzenie
    Pobierz plik
  • Poprzednie wersje

    Wersja 1.2.0

    Data wydania: 6 kwi 2026 — 26,64 KB
    Działa z: firefox 142.0 i nowsze
    v1.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

    Licencja kodu źródłowego: Licencja MIT

    Pobierz plik
  • Wersja 1.1.0

    Data wydania: 4 kwi 2026 — 24,19 KB
    Działa z: firefox 142.0 i nowsze
    v1.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.

    Licencja kodu źródłowego: Licencja MIT

    Pobierz plik
  • Wersja 1.0.0

    Data wydania: 31 mar 2026 — 18,81 KB
    Działa z: firefox 142.0 i nowsze, android 142.0 i nowsze

    Licencja kodu źródłowego: Licencja MIT

    Pobierz plik
Strona domowa Mozilli

Dodatki

  • O serwisie
  • Blog dodatków do Firefoksa
  • Warsztat rozszerzeń
  • Strefa autora
  • Zasady programistów
  • Blog społeczności
  • Forum
  • Zgłoś błąd
  • Wytyczne recenzji

Przeglądarki

  • Desktop
  • Mobile
  • Enterprise

Produkty

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Prywatność
  • Ciasteczka
  • Kwestie prawne

O ile nie wskazano inaczej, treść tej strony jest dostępna na warunkach licencji Creative Commons Attribution Share-Alike w wersji 3.0 lub nowszej.