Skip to content

Releases: eponymejs/cli

v0.2.3

Choose a tag to compare

@D3ller D3ller released this 12 Sep 11:17

🩹 Fixes

  • Ignore braces inside strings and comments when replacing the managed model (#1)

❤️ Contributors

  • C.Nelhomme (@D3ller)

v0.2.2

Choose a tag to compare

@D3ller D3ller released this 27 Aug 15:50

🩹 Fixes

  • Restore the published wording of the comment in 20260731140000_split_eponyme_content_columns, which 0.2.0 had rewritten. Editing an already published migration made eponyme init refuse to run in every application that had installed it (1a263f0)

❤️ Contributors

  • C.Nelhomme (@D3ller)

v0.2.1

Choose a tag to compare

@D3ller D3ller released this 27 Aug 15:45

🩹 Fixes

  • Add the EponymeAuditEvent and EponymeMaintenanceState models to the installed schema template, without which eponyme init left the two tables of schema version 3 unmodelled and eponyme check failed on their missing Prisma delegates (0cc2d18)

❤️ Contributors

  • C.Nelhomme (@D3ller)

v0.2.0

Choose a tag to compare

@D3ller D3ller released this 27 Aug 15:25

🚀 Enhancements

  • Add the audit and maintenance tables to the generated schema, and raise the schema version to 3 (329570e)

📚 Documentation

  • Replace an em dash with an en dash in the content column migration comment (381de18)

❤️ Contributors

  • C.Nelhomme (@D3ller)

v0.1.1

Choose a tag to compare

@D3ller D3ller released this 09 Aug 17:15

🩹 Fixes

  • Drop eponyme_entries_name_pattern_idx only if it exists, so deploying to a baselined database no longer aborts (0475b9d)

📦 Build

  • Declare the bin path without a leading ./, so npm no longer rewrites it on publish (83b2ac9)

❤️ Contributors

  • Corentin (@d3ller)

v0.1.0

Choose a tag to compare

@D3ller D3ller released this 08 Aug 11:28

🚀 Enhancements

  • Add eponyme init, which installs the managed Prisma models and copies the published migration history into a host application
  • Make eponyme init idempotent, so it never overwrites a migration whose contents differ
  • Add --force to eponyme init, replacing known Eponyme model blocks without touching a conflicting migration
  • Add eponyme check, which verifies the Prisma delegates, the PostgreSQL tables and columns, and the schema version recorded in _eponyme_schema
  • Read .env by default, with --cwd, --schema, --migrations, --client and --env for an application that uses other paths
  • Ship the versioned migration history as immutable package exports, so an upgrade adds migrations instead of rewriting them

📦 Build

  • Add test:postgres, which runs the migrations against a real PostgreSQL
  • Add test:tarball, which installs the packed tarball and exercises both commands end to end

📚 Documentation

  • Document the install, upgrade and baselining procedures, including how to adopt a database whose Eponyme tables predate this migration history

❤️ Contributors

  • Corentin (@d3ller)