Skip to content
Compare
Choose a tag to compare
@lrlna lrlna released this 18 Jan 15:27
· 539 commits to main since this release
3af152c

0.6.0 - 2023-01-18

This release has a few breaking changes as we try to standardise APIs across the
compiler. We appreciate your patience with these changes. If you run into trouble, please open an issue.

BREAKING

  • Rename compiler.create_* methods to compiler.add_*, SimonSapin in 412
  • Rename schema to type_system for compiler.add_ and compiler.update_
    methods, SimonSapin in 413
  • Unify ty, type_def and kind namings in HIR, lrlna in 415
    • in Type struct impl: ty() --> type_def()
    • in TypeDefinition struct impl: ty() --> kind()
    • in FragmentDefinition struct impl: ty() --> type_def()
    • in RootOperationTypeDefinition struct: operation_type field -->
      operation_ty

Features

  • FileIds are unique per process, SimonSapin in 405
  • Type alias compiler.snapshot() return type to Snapshot, SimonSapin in
    410
  • Introduce a type system high-level intermediate representation (HIR) as input
    to the compiler, SimonSapin in 407

Fixes

  • Use #[salsa::transparent] for find_* queries, i.e. not caching query results, lrlna in 403

Maintenance

Documentation