v2.8.0
New Features
- Added finding unused imports. #6139 #6152
- Using default implementations for
PartialOrd::{gt,le,ge}
. #6195 - Improved diagnostics mappings. #6226 #6227 #6290
- Added
WideSquare
trait. #6194 - Made unreachable code diagnostics from errors into warnings. #6259
- Don't report diagnostics for missing types. #6269
- Added range operator support:
for x in 0..6_u8 { ... }
- Added support for
crate::
for path resolution. #6284use crate::path::in::the_crate;
Bug Fixes
- fixed loop capture of snapshoted variables. #5934
- Dedupping parser diagnostics on file ids. #6212
- Prevented panic on unexpected generic args for methods. #6217
- Removed faulty diagnostic on inlining over generated functions. #6257
- Updated sierra ap-change finding to be based on final lowering. #6258
- Refactored
Vec
IndexView
so it would be properly implemented. #6282 - Removed entry-code running steps from resource calculations (on
cairo-test
's--print_resources
). #6281
Language Server Updates
- Faster reaction time to changes.
- Allows getting the macro generated code pointed to by diagnostics. #6276
- Add a command to inspect analyzed crates. #5987
- Add support for getting struct members doc. #6145
- Add notification on corelib mismatch. #6213
- Look for unmanaged
core
in Scarb. #6248 - Cancellation support. #6263
- Fix hover on definition. #6255
New Contributors
- @riyueguang made their first contribution in #6078
Full Changelog: v2.7.1...v2.8.0