Skip to content

feat: ETag caching, Prisma pool config, CHANGELOG, husky lint-staged#625

Merged
Mystery-CLI merged 1 commit into
Ethereal-Future:mainfrom
Hahfyeex:feat/issues-346-350-354-356
Jun 1, 2026
Merged

feat: ETag caching, Prisma pool config, CHANGELOG, husky lint-staged#625
Mystery-CLI merged 1 commit into
Ethereal-Future:mainfrom
Hahfyeex:feat/issues-346-350-354-356

Conversation

@Hahfyeex
Copy link
Copy Markdown
Contributor

@Hahfyeex Hahfyeex commented Jun 1, 2026

Summary

Closes #346
Closes #350
Closes #354
Closes #356

Changes

#356 — ETag support on balance endpoint
Added ETag header (SHA-256 hash of the response, truncated to 16 hex chars) to
GET /api/stellar/account/:publicKey. Clients sending If-None-Match receive a
304 Not Modified when the balance hasn't changed, saving bandwidth on frequent polling.

#354 — Prisma connection pool configuration
Added connection_limit and pool_timeout query parameters to the DATABASE_URL
example in .env.example, with comments explaining recommended values for dev and
production. Also fixed a pre-existing duplicate-content bug in the file.

#350 — CHANGELOG.md
Added CHANGELOG.md at the repo root following the Keep a Changelog format.
Documents the full v1.0.0 feature set as the initial release.

#346 — Pre-commit lint and format hook

  • Added husky and lint-staged to root package.json with a prepare script
  • Added eslint.config.js (flat config, ESM) at the repo root
  • Added eslint devDependency to both root and backend/package.json
  • Added lint script to backend/package.json
  • Created .husky/pre-commit to run lint-staged before each commit
  • lint-staged runs ESLint + Prettier on staged JS/TS files and Prettier on JSON/MD/YAML

- Ethereal-Future#356: Add ETag headers to GET /api/stellar/account/:publicKey with
  If-None-Match / 304 Not Modified support
- Ethereal-Future#354: Document connection_limit and pool_timeout params in .env.example,
  fix duplicate content in the file
- Ethereal-Future#350: Add CHANGELOG.md following Keep a Changelog format (v1.0.0)
- Ethereal-Future#346: Add husky pre-commit hook with lint-staged, ESLint config,
  and eslint devDependency to root and backend package.json
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Jun 1, 2026

@Hahfyeex Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Mystery-CLI Mystery-CLI merged commit 77b67d1 into Ethereal-Future:main Jun 1, 2026
6 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support to balance endpoint Add connection pool configuration for Prisma Add Add pre-commit hook for lint and format

2 participants