Skip to content

3.0.0 #101

Description

@haltcase

I've started thinking about any breaking changes I'd like to make for the v3 release. So far they're pretty much all type related and serve to either improve inference or make something stricter, which is an evolution of v2's rewrite to TypeScript.

  • eliminate (or drastically reduce the size of) the Trilogy class
    • basically all it does is duplicate methods on Model instances, but with worse capability for type inference and is therefore less safe
  • remove dot-delimited strings in favor of explicitly passing the model & column names separately
  • improve type inference, particularly for models by using the provided schemas
  • make types stricter where possible

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussion[RFC] Fixes, APIs, or changes need feedback.

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions