Skip to content

Releases: the6fallenangel/gnome-baha

Baha v1.2.1

Choose a tag to compare

@the6fallenangel the6fallenangel released this 05 Sep 00:44

v1.2.1 — BYO Key, Custom Worker & Refresh

Shared quota is dead — bring your own nerkh.io key. Fixes 460 QuotaExceeded for everyone.

✨ What's New

🔌 Data Source — Bring Your Own Key

  • Baha Cloud (shared, default) — zero-config, same as before
  • Personal nerkh.io key (direct) — https://api.nerkh.io/v1/prices/json/all with Authorization: Bearer from Preferences → Data Source
  • Custom Worker URL — point to your own https://baha-worker.<you>.workers.dev/latest — deploy guide

New Preferences → Data Source group:

  • Source selector (Cloud / Direct / Custom Worker)
  • Password EntryRow for API key + EntryRow for Worker URL
  • Quota warning 6/h · 150/d · 465/m and cp.nerkh.io link
  • Test Connection with spinner, 460 detection and bilingual toasts

🔄 Manual Refresh

  • New view-refresh-symbolic button in popup footer, beside gear/browser — triggers fetchAndUpdate() without closing the menu

⚙️ Changes

Refresh Interval — 10m minimum

  • 10 · 15 · 30 · 60 remain, default 10
  • Extension clamps <10m → 600s and migrates legacy values on enable / in prefs

Indicator Robustness

  • _resolveDataSource() with fallback to Cloud when key/url empty
  • fetchAndUpdate() handles 460 + 4xx/5xx with bilingual Quota 460 exceeded — change source in Preferences / Fetch failed messages in panel + last-update row

🔧 Worker (baha-worker v1.0.0)

Pair with this release:

  • */2 → */30 cron (930/m with 2 keys), ctx.waitUntil, Cache-Control: public, max-age=120 + X-Baha-Cache/Quota headers
  • Multi-key fallback API_KEY + API_KEY_2 / API_KEYS=key1,key2 — rotates on 460, only caches quota_error when all keys exhausted

⬆️ Upgrade Notes

  • If you saw 460, add your free key at cp.nerkh.io → Preferences → Data Source → Test Connection, or deploy your own worker.

Full Changelog: v1.1.0...v1.2.1

Baha v1.1.0

Choose a tag to compare

@the6fallenangel the6fallenangel released this 03 Aug 19:30
1fa18f1

Added

  • Added currency display preference.
  • Users can now choose between USD and Toman display.

Improved

  • Updated preferences UI.
  • Improved currency formatting handling.

What's Changed

New Contributors

Full Changelog: v1.0.3...v1.1.0

Baha v1.0.3

Choose a tag to compare

@the6fallenangel the6fallenangel released this 27 Jul 06:34

This release addresses feedback from the extensions.gnome.org review team. No visible or behavioral changes for users — this is purely a code quality and compliance update.

Changes

  • 🧹 Removed version pinning from gi:// imports (per GJS guidelines)
  • 🛡️ Removed unnecessary try-catch wrappers around data fetching and lifecycle logic
  • ⏱️ Fixed a potential timer leak by properly clearing the marquee animation timeout before starting a new one
  • 🏗️ Moved data-fetching logic out of extension.js and into the BahaIndicator class, so each class has a single, clear responsibility
  • 🌐 Moved hardcoded UI strings (language menu label, "last updated" text) into constants.js, keeping all translations in one place
  • 🖼️ Removed raster PNG icons — the extension now ships with a single scalable SVG icon

Full Changelog: v1.0.2...v1.0.3

Baha v1.0.2

Choose a tag to compare

@the6fallenangel the6fallenangel released this 26 Jul 09:32

What's Changed

  • Added GNOME Shell 50 support
  • Updated extension compatibility metadata

Compatibility

  • GNOME Shell 45
  • GNOME Shell 46
  • GNOME Shell 47
  • GNOME Shell 48
  • GNOME Shell 49
  • GNOME Shell 50

Full Changelog: v1.0.1...v1.0.2

Baha v1.0.1

Choose a tag to compare

@the6fallenangel the6fallenangel released this 25 Jul 00:03

The first stable release of Baha — a GNOME Shell extension that brings live gold, currency, and cryptocurrency rates directly to your GNOME top bar.

✨ Features

  • 📊 Live prices for gold, coins, currencies, and cryptocurrencies
  • 🎯 Choose exactly which symbols you want to display
  • 🔄 Price trend indicators (▲/▼) in the menu and optionally in the top bar
  • 🌐 Full bilingual support: English and Persian
  • ⚙️ Customizable settings:
    • Refresh interval
    • Marquee scrolling speed
    • Gap style
    • Symbol separator
    • Trend indicators
    • Last update visibility
  • 🪶 Lightweight marquee system that only scrolls when needed
  • 🔒 No accounts, no tracking, and no personal data collection

🖥️ Compatibility

  • GNOME Shell 45-48

📦 Installation

Install from the GNOME Extensions website or manually from the source code (guide in readme)

🙏 Thanks

Enjoy having the prices you care about right where you need them. 💰

Full Changelog: https://github.com/the6fallenangel/gnome-baha/commits/v1.0.0