diff --git a/crates/apollo-compiler/CHANGELOG.md b/crates/apollo-compiler/CHANGELOG.md index e6c6ad540..2bb7318c1 100644 --- a/crates/apollo-compiler/CHANGELOG.md +++ b/crates/apollo-compiler/CHANGELOG.md @@ -17,6 +17,52 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## Maintenance ## Documentation --> +# [0.6.0](https://crates.io/crates/apollo-compiler/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 +- `FileId`s 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 +- Add compiler benchmarks, [lrlna] in [404] + +## Documentation +- Document `apollo-rs` runs on stable, [SimonSapin] in [402] + +[open an issue]: https://github.com/apollographql/apollo-rs/issues/new/choose +[lrlna]: https://github.com/lrlna +[SimonSapin]: https://github.com/SimonSapin +[pull/402]: https://github.com/apollographql/apollo-rs/pull/402 +[pull/403]: https://github.com/apollographql/apollo-rs/pull/403 +[pull/404]: https://github.com/apollographql/apollo-rs/pull/404 +[pull/405]: https://github.com/apollographql/apollo-rs/pull/405 +[pull/407]: https://github.com/apollographql/apollo-rs/pull/407 +[pull/410]: https://github.com/apollographql/apollo-rs/pull/410 +[pull/412]: https://github.com/apollographql/apollo-rs/pull/412 +[pull/413]: https://github.com/apollographql/apollo-rs/pull/413 +[pull/415]: https://github.com/apollographql/apollo-rs/pull/415 + + # [0.5.0](https://crates.io/crates/apollo-compiler/0.5.0) - 2023-01-04 ## Highlights diff --git a/crates/apollo-compiler/Cargo.toml b/crates/apollo-compiler/Cargo.toml index 2abd7575b..da1463192 100644 --- a/crates/apollo-compiler/Cargo.toml +++ b/crates/apollo-compiler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "apollo-compiler" -version = "0.5.0" +version = "0.6.0" authors = ["Irina Shestak "] license = "MIT OR Apache-2.0" repository = "https://github.com/apollographql/apollo-rs" diff --git a/crates/apollo-compiler/README.md b/crates/apollo-compiler/README.md index 8dbf8a29c..2337ff239 100644 --- a/crates/apollo-compiler/README.md +++ b/crates/apollo-compiler/README.md @@ -27,7 +27,7 @@ Add this to your `Cargo.toml` to start using `apollo-compiler`: ```toml # Just an example, change to the necessary package version. [dependencies] -apollo-compiler = "0.5.0" +apollo-compiler = "0.6.0" ``` Or using [cargo-edit]: