Skip to content

dateTime type + timestamp remodel

Auto-generated from the source archive. Do not edit by hand — rerun catalyst-changelog-sync instead.

  • Breaking: type: timestamp is re-modeled as a numeric epoch — TypeScript number, Sequelize BIGINT (was string / DATE). Any field left on timestamp changes its type.
  • New type: dateTime for ISO datetime strings, with internally consistent mappings (TS string, GraphQL GraphQLISODateTime, Sequelize DATE), timezone awareness, and a date-and-time form widget.
  • type: date (date-only) is unchanged.

timestamp used to mean “ISO datetime string”, but its TypeScript and GraphQL halves disagreed (string vs a scalar the frontend mapped to number), which broke compilation. Now the types are split cleanly: declare dateTime for any date+time field — it is the recommended type for audit fields — and reserve timestamp for genuine numeric epochs. To migrate, retype your type: timestamp fields to dateTime; the on-the-wire GraphQL value is unchanged, so external consumers see nothing different. This change ships the generator capability; the YAML sweep and regeneration happen in your app repo.


View original proposal