Skip to content

feat(upgrade): The project has been fully upgraded and previous errors have been fixed.#16

Merged
RlxChap2 merged 2 commits into
mainfrom
feat/upgrade
May 13, 2026
Merged

feat(upgrade): The project has been fully upgraded and previous errors have been fixed.#16
RlxChap2 merged 2 commits into
mainfrom
feat/upgrade

Conversation

@RlxChap2
Copy link
Copy Markdown
Member

@RlxChap2 RlxChap2 commented May 13, 2026

Summary

Hardened Bonyan-API for production and open-source readiness after the Etha3a rename.

Motivation

This PR completes the project rename, fixes reliability issues found during review, improves deployment/monitoring behavior, and adds the missing OSS governance files needed for contributors, maintainers, and potential sponsors.

Changes

  • Completed Bonyan-API naming across metadata, headers, and root API response.
  • Fixed line-ending consistency with .gitattributes and project-wide formatting.
  • Added /ready and /metrics endpoints.
  • Added cache stats, max cache entries, and optional stale-while-revalidate support.
  • Added upstream request metrics recording.
  • Improved error responses with stable error.code and requestId.
  • Prevented leaking raw upstream errors to API clients.
  • Fixed prayer fallback so pray.zone is used only for same-day coordinate requests.
  • Corrected apiName values for jsDelivr and local Qibla fallback sources.
  • Added configurable CORS_ORIGIN, TRUST_PROXY, LOG_LEVEL, and CACHE_MAX_ENTRIES.
  • Moved tooling-only packages out of production dependencies.
  • Improved Dockerfile for production installs and non-root runtime.
  • Consolidated CI into one workflow using pnpm@10.33.4.
  • Switched CI linting from auto-fix mode to pnpm lint:check.
  • Added OpenAPI spec.
  • Added OSS project files:
    • CONTRIBUTING.md
    • SECURITY.md
    • CODE_OF_CONDUCT.md
    • SUPPORT.md
    • ROADMAP.md
    • CHANGELOG.md
    • SOURCES.md
    • .github/FUNDING.yml
    • GitHub issue templates
  • Updated README with monitoring endpoints, environment variables, OpenAPI link, and contribution references.

Testing

  • Ran pnpm exec prettier --check ..
  • Ran pnpm lint:check.
  • Ran pnpm build.
  • Ran pnpm test.
  • Manually verified local /health, /ready, and /metrics.

Notes

  • Docker build was not run locally because Docker is not installed on the machine.
  • Many files changed only because line endings were normalized from CRLF to LF and headers were updated to Bonyan-API.
  • MIT License applies.

@RlxChap2 RlxChap2 assigned RlxChap2 and unassigned RlxChap2 May 13, 2026
@RlxChap2 RlxChap2 added documentation Improvements or additions to documentation enhancement New feature or request Upgrade 2.x labels May 13, 2026
@RlxChap2 RlxChap2 requested review from kremdev May 13, 2026 18:23
@RlxChap2 RlxChap2 merged commit 68c38a6 into main May 13, 2026
2 checks passed
@RlxChap2 RlxChap2 deleted the feat/upgrade branch May 13, 2026 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request Upgrade 2.x

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant