Changelog

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[!NOTE] This file is updated by the repository maintainers. Contributors are requested to not update the CHANGELOG.md in their Pull Requests.

[Unreleased]

Added

  • Funding policy (#498): FUNDING.md sets out the directory’s stance on money. Support goes straight to portals and Maintainers, never through the directory; they may take funding, but never from Excluded Funders (candidates, parties, and campaigns at any level, and sitting elected officials of the covered LGU and their immediate family), and a portal with Funders discloses them on the portal. A live Entry (🟢 Active, or a deployed 🟡 Work in Progress) can opt in to the 🌱 Seeking Funding tag, a second line in its Domain cell linking to a funding page on the portal’s own host. The README sync splits the tag off (domain and host still carry only the portal link) into a new funding_url, and rejects the tag without a link, without a Domain, on another status, on a ⚠️ Stale Entry, or pointing at another host; the Budget sync rejects it on any Budget Portal. The crawl warns about dead funding pages, triage labels funding-tag PRs funding and posts the funding page checklist, Maintainer Profiles gain an optional support link for Personal Support (emitted in _data/maintainer_profiles.yml), and a Report Funding Concern issue template starts the 14-day enforcement process. CONTRIBUTING.md, GUIDE.md, the README legend, the profile template, and the privacy notice point to the policy. The website badge, filter, footer disclaimer, and profile support link land separately on main-pages.
  • Maintainer Profiles (#426): Maintainers can opt in to being contacted by adding maintainers/<github-handle>.md, a short profile with their preferred channels, what they’re open to, and what they’re not a fit for. The folder has a template and a GitHub index. The README and BUDGET syncs now emit a structured maintainers: list with each handle’s resolved link (profile page or GitHub), and scripts/sync-profiles-to-data.js writes _data/maintainer_profiles.yml for the upcoming /maintainers/ page. Pull request triage flags profile problems (opened by someone other than the owner, unknown keys, nested values, phone numbers, handle not listed, index out of step), and check-stale.js reports orphaned profiles. The website rendering lands separately on main-pages.
  • Privacy notice: PRIVACY.md covers what the directory publishes, consent and removal (git history and forks may keep copies), and the third parties the site loads. The Code of Conduct gains a “Contacting Maintainers” section.
  • Budget Portal Directory: a second directory at lgu.bettergov.ph/budget for LGU budget transparency portals built on the BetterGov.ph Budget API. Its source is the table in BUDGET.md, synced to the website the same way README.md is. Each portal is 🧩 Integrated (part of a Better LGU portal, linked to that LGU’s directory entry) or 🏛️ Standalone. There is no status column: portals are listed once they are live, with no advance registration. Seeded with Los Baños, Ilocos Norte, Bukidnon, Las Piñas City, Catanduanes, Silang, Batangas, Pampanga, and Taal. Integrated portals list the maintainers from their LGU’s directory entry.
  • Budget portal guide and templates: BUDGET_GUIDE.md walks through the fork, npm run setup, and deploy steps of the official bettergovph/transparency-portal template, and BUDGET_TEMPLATES.md lists budget portal templates.
  • Multi-platform Socials: the directory’s Facebook column is now a Socials column that supports multiple social links per LGU — Facebook, X, Instagram, LinkedIn, YouTube, TikTok, and Bluesky — rendered as platform icons on the website, with a generic fallback for any other link.
  • Automated README → website sync: a GitHub Actions workflow keeps the published website data in sync with the directory table in README.md.
  • Discord reporting integration guide: GUIDE.md now documents how maintainers can funnel citizen reports, feedback, or logs into the BetterGov.ph Discord via webhook — including the bot-protection prerequisite (reCAPTCHA, Turnstile, or rate-limiting) required before the mods issue a webhook URL.
  • 37 new LGU entries: Indang, General Santos City, Dasmariñas City, General Trias, San Pedro, Cabuyao City, Tuguegarao, Davao City, Allen, Aparri, San Pablo, Binangonan, Taytay, Tanza, Olongapo City, Biñan, Tanay, Puerto Princesa City, Iligan City, Hilongos, Limay, Antique, Libmanan, Teresa, Atimonan, San Pascual, Dinalupihan, Calamba, Angeles City, Cabanatuan City, Piat, Cebu City, Alaminos City, Koronadal City, Santo Tomas, Legazpi, and Santa Barbara.
  • Automated pull request triage: incoming pull requests are now labelled automatically. Changed paths set entry:template, site, ci, and docs; a diff of the directory table against the merge base sets entry:new, entry:update, entry:collision, and needs-verification, and posts a comment listing any already-registered LGU and the reachability of every new link. Links are reported as clickable links grouped by the column they came from — domain, repository, socials, or maintainer — each with a note on what verifying that particular kind of link means. Pull requests left on needs-changes for 14 days go stale and close after a further 7.
  • Repository activity, data enabling step (#162): scripts/sync-to-data.js now parses each Entry’s Repository cell into structured repo_owner/repo_name (and repo_ref for the one pinned /tree/<ref> link) in _data/lgus.yml, so the upcoming client-side “last updated” feature can identify a repo without regexing presentation markup. Offline, no network calls — check-stale.js and triage-pr.js are unaffected. The website-side rendering lands separately on main-pages.
  • Tests run on every pull request (#450): a new Test Scripts workflow runs every scripts/test-*.js on Node 24 for each pull request to main, fork PRs included. It needs no dependency install, picks up new test files without editing the workflow, and fails the check with the name of each failing script. It runs on pull_request with a read-only token, so contributor code never gets write access or secrets. Whether the check is required to merge is left to branch protection.

Changed

  • One LGU naming format (#307): every LGU cell in README.md and BUDGET.md now follows one grammar, checked against the PSA’s PSGC: <Place>, <Province> for a municipality, <Place> City, <Province> for any city, <Province> Province, or a region’s PSGC short name. NCR uses Metro Manila as its province. Both tables are re-sorted A–Z by place, with a region or province row placed before a city or municipality of the same name. Existing names were corrected: cities missing “City” (Biñan, Calamba, Malolos, San Pedro, Carmona and others), City of X → X City, regions used as provinces (Cagayan Valley → Cagayan), North Cotabato → Cotabato, Davao Del Sur → Davao del Sur, and Lapu Lapu → Lapu-Lapu. A new parser (scripts/lgu-name.js) and region module (scripts/psgc-regions.js) back the README and Budget syncs, which now refuse a malformed name. Each synced Entry gains place, kind, province, region, region_rank and host, and the sync writes _data/regions.yml. Triage warns about name format, unknown provinces and out-of-order rows. The crawler refreshes a reused Featured or Logo row’s name from the current Entry. CONTRIBUTING.md documents the format and its departures from PSGC, and CONTEXT.md defines Place, Kind, Province, Region, Level and Sort Order. The website keeps rendering name; using the new fields is follow-up #448.
  • Lowercase website URLs (#429): website pages are served at lowercase, hyphenated URLs (/budget, /guide, /templates, /contributing, /code-of-conduct, /changelog, /budget-guide, /budget-templates, /privacy), and the old uppercase URLs (/BUDGET, /GUIDE, …) redirect to them. Filenames in the repository are unchanged. Docs that link to the website now use the lowercase URLs.
  • Renamed the Facebook column to Socials, and updated CONTRIBUTING.md, the pull request template, and the update-entry issue template to match (socials are comma-separated).
  • Reframed the directory introduction toward a builder audience.
  • Expanded the Getting Started steps and added a directory deduplication gate to the guide; refreshed the tech stack and examples.
  • Community templates must now be public and marked as a GitHub template repository to be listed in TEMPLATES.md.
  • Numerous LGU status transitions as portals progressed (Planned → Work in Progress → Active), including Aparri, Allen, San Pablo, Libmanan, Iligan City, Cabanatuan City, Atimonan, San Pascual, and Calamba.

Fixed

  • Normalized empty directory cells to a uniform dash, and aligned contributor guidance to use a single -.
  • Hardened the README → data sync: YAML escaping, detection of malformed Socials cells, and URL parsing for links containing parentheses.
  • Fixed social icons not rendering inside Markdown table cells, and restored their hover colors.
  • Fixed the sync workflow to push merge commits even when there are no data changes.
  • Fixed a broken Better Solano Starter link and a repository link in the registration instructions.
  • Fixed Las Piñas City’s Repository link to point at betterlaspinas/betterlaspinas instead of the maintainer’s personal fork, so the repository-activity feature reads from the org repo.
  • Fixed scripts/check-stale.js reading a case-only relabelling as a real update, which reset an entry’s idle clock and hid it from the report. A Github → GitHub fix in a table-formatting commit had masked Bacoor City as 11 days idle when it had been 37.

[1.0.0] - 2026-04-06

Added

  • Official Directory Launch: Initial rollout of the BetterGov.ph LGU Directory.
  • 7 Initial Active LGUs: Solano, Bacolod City, Calauan, Ormoc City, Los Baños, Las Piñas City, and Cainta.
  • 3 Community Templates: Better Solano Starter, Better Los Baños Starter, and Better Local Gov.
  • Core Repository Infrastructure:
    • Community documents: LICENSE (CC BY 4.0), CODE_OF_CONDUCT.md, CONTRIBUTING.md, GUIDE.md, and TEMPLATES.md.
    • GitHub integration: .gitignore, .github/CODEOWNERS, and ISSUE_TEMPLATE/config.yml.
    • Automated workflow templates: PULL_REQUEST_TEMPLATE.md and specialized Issue Templates (update-entry.md, report-inactive.md).