Skip to content

docs: add CHANGELOG.md to track project releases and version history #13

Closed

Description

@TrivCodez

Summary

The repository currently has no CHANGELOG.md file. As the project grows and more releases are published, having a changelog helps contributors and users quickly see what changed between versions — new features, bug fixes, breaking changes, and deprecations.

The existing publish.yml workflow uses softprops/action-gh-release with generate_release_notes: true, which auto-generates release notes from commit messages. However, a curated changelog in the repository itself provides a more human-readable, organized view of the project's history and is visible directly on GitHub (not just in releases).

What needs to be done

Create a CHANGELOG.md file at the repository root following the Keep a Changelog format.

Structure

# Changelog

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

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Added
- Git-like database branching CLI (`db branch create`, `db branch list`, `db branch delete`)
- Schema diff between branches (`db branch diff`)
- Connection string generation (`db connect`)
- CI/CD integration with preview branches (`db ci preview`, `db ci cleanup`, `db ci setup`)
- Authentication management (`db auth login`, `db auth logout`, `db auth status`, `db auth set-project`)
- Auto-generated GitHub Actions workflow via `db ci setup`

## [0.1.1] - 2026-07-07

### Added
- Initial public release of `@in3pire/db`
- Branch management commands (list, create, delete, rename, inspect)
- Schema diff command (placeholder — shows connection hint)
- Connection string generation with pooled option
- CI preview branch automation
- Persistent config via `conf` + Zod schema validation

What to include

  1. Unreleased section — list the features already implemented but not yet in a published release. Look at the current state of the code (all the commands in src/commands/) and the package.json version (0.1.1).
  2. Past releases — the initial release was v0.1.1 (based on the GitHub release in the README). Summarize what's in it.
  3. Categories — use the standard Keep a Changelog sections: Added, Changed, Deprecated, Removed, Fixed, Security.
  4. Links at the bottom — add version diff links for each release.

Suggested Approach

  1. Create CHANGELOG.md at the repository root
  2. Read through the existing source files to understand what features are implemented
  3. Check the GitHub releases page for existing release history: look at the tags in the repository (git tag or the Releases page on GitHub)
  4. Format according to Keep a Changelog conventions
  5. Add a reference to CHANGELOG.md from the README (e.g., a "Changelog" link under the title)
  6. Commit and open a PR

Important considerations

  • The version number in package.json is 0.1.1 — this should be reflected in the changelog
  • There's already a GitHub release for v0.1.1 (mentioned in the README installation instructions)
  • The cli.ts currently shows version 0.1.0 — this may need updating too (but that's a separate issue — see the version mismatch)
  • The Unreleased section should describe the current state of the main branch, which includes everything in 0.1.1 plus any new features

Relevant Files

  • CHANGELOG.md — needs to be created (new file at repository root)
  • package.json — version 0.1.1 is the current published version
  • README.md — should get a "Changelog" link added under the title/header
  • src/cli.ts — CLI entry point; note the 0.1.0 version string here vs 0.1.1 in package.json

Why this matters

  • Transparency — Contributors and users can see exactly what changed between versions
  • Release readiness — A changelog is a standard file in professional open-source projects
  • CI alignment — The existing publish workflow auto-generates release notes, but a curated changelog provides better organization and clarity
  • Beginner-friendly — Writing a changelog is a documentation-first task that requires no coding, just careful reading of the codebase

Acceptance Criteria

  • CHANGELOG.md exists at the repository root
  • Follows the Keep a Changelog format with sections for each version
  • Documents the v0.1.1 release accurately
  • Includes an [Unreleased] section listing current features
  • README is updated with a link to CHANGELOG.md
  • The file renders correctly on GitHub (markdown syntax is valid)

Activity

  1. added
    documentation
    good first issue
    on Jul 8, 2026
  2. SankeerthNara commented on Jul 8, 2026

    @SankeerthNara
    Contributor

    Please assign it to me

  3. TrivCodez commented on Jul 8, 2026

    @TrivCodez
    ContributorAuthor

    Hey @SankeerthNara — you've been assigned!

    Thanks for picking this up. A few pointers to get you started:

    • Fork the repo, then create CHANGELOG.md at the root following Keep a Changelog format.
    • The issue body includes a solid draft — feel free to build on it after reviewing what's currently on main.
    • Don't forget to add a Changelog link to README.md as well.
    • Once done, open a PR targeting main and we'll review it from there.

    Also, note there's a minor version mismatch between package.json (0.1.1) and cli.ts (0.1.0). You don't need to fix that here — just be aware of it when writing the changelog entries.

    Looking forward to the PR! 🚀

  4. added 2 commits that reference this issue on Jul 8, 2026
    c5fcd3b
    d50f310
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationgood first issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions