0.13.0
See the release announcement for more information.
What's Changed
- Bump dependencies in #461
- Introduce
#[rune::function]
to capture meta from native fns in #462 - Support for showing context documentation in #464
- Start work on documentation generator in #466
- Generate and publish documentation in #467
- Move meta hash in #470
- More associated documentation in #474
- Indicate if a function is async and add docs for http::Client in #475
- Render more documentation in #476
- Capture return type for improved documentation and diagnostics in #477
- Completely rework result handling in #478
- Pull back some VmResult weirdness in #479
- Update dependencies in #480
- Bump toml and rebuild Glob implementation to support more uses in manifest in #481
- Language server changes in #482
- Remove most direct uses of VmErrorKind in #483
- Cleanup errors in #484
- Move CLI to rune package so it can be re-used in other projects in #485
- Respond with an error on unsupported method (relates #487) in #488
- Add completion support to the language server by @tgolsson in #490
- Add
rune fmt
subcommand by @tgolsson in #492 - Adjust documentation for items in #489
- Editor option to run the language server from cargo project in #493
- Implement no-std support for Rune in #494
- Unified errors in #495
- Make less use of thiserror and more unified error handling in #496
- Generate documentation for associated types defined in Rune in #497
- More docs in #498
- Build macro documentation in #499
- Introdcue #[rune::macro_] and capture documentation for macros in #500
- Module rework in #501
- Support linking to other items in #502
- Implement search for docs in #503
- Avoid doc conflicts in #504
- Changing colors for formatting and print diff in #505
- Hash docs in #507
- All associated methods now show up in #508
- Module structure in #509
- Rework how generic functions are accesed in #510
- Capture more metadata in #511
- Rework how associated function meta is structured in #512
- Generics support in #513
- Support generic parameters when registering functions in #514
- Clean up metadata more in #515
- Clean up naming in #516
- Break up query module in #517
- Byte code in #518
- Clean up collections access and no-std features in #519
- Fix languageserver for neovim by not borrowing method in IncomingMessage by @ModProg in #520
- Ensure that ItemMeta is registered for root items (fix #521) in #522
- Display instructions through derive in #524
- More macros in #526
- Support generics in more derive macros by @ModProg in #532
- fix and add tests for macrocall whitespace by @tgolsson in #539
- Attribute Macros on Items by @ModProg in #528
- Allocate literals during hir lowering in #542
- Clean up local variable accesses in #543
- More HIR lowering in #545
- Clean up testing and diagnostics in #546
- add
Protocol::TRY
by @ModProg in #544 - More HIR lowering in #548
- Simplify assemble in #552
- Allow seperate Serialization of a unit's instructions and debug info by @therealbnut in #549
- Don't attempt variable allocation during HIR lowering in #553
- HIR variables in #554
- Don't clone attributes when parsing them in #555
- Only initialize item state once in #556
- Lazily insert item identifiers in #557
- More work in path lowering and field accesses in #558
- Various fixed and variable lowering in #561
- Tuple and VecTuple incorrectly takes their values by @DarkRTA in #562
- Fix errors in #563
- Access ast elements in a qualified way in #564
- Validate loop continue and break during HIR lowering in #565
- Sparser HIR in #567
- Implement more core operations and documentation tests in #570
- Make ::std tests optional in #571
- Implement should_panic and improved test diagnostics in #573
- make Located pub by @ModProg in #574
- Bump semver from 7.3.7 to 7.5.3 in /editors/code by @dependabot in #572
- implement Parse for TokenStream by @ModProg in #575
- Support formatting in lsp by @ModProg in #576
- Coalesce external tests in #578
- Bump word-wrap from 1.2.3 to 1.2.4 in /editors/code by @dependabot in #585
- Update license field following SPDX 2.1 license expression standard by @frisoft in #586
- Support implementing protocols through
#[rune::function]
by @ModProg in #584 - Add new protocol and native support for Ordering in #591
- Less unsafe from value in #592
- Construct external Rust types with named fields by @jbdutton in #589
- Reduce generics in #593
- Improve virtual machine fallback handling in #594
- Allow underscores at the start of a variable by @jbdutton in #599
- Use HRTBs for function traits in #601
- Fix doctests and add some for strings in #602
- More string tests in #603
- Finish result documentation in #604
- Fix build in #605
- More numerical in #606
- Document std::collections::VecDeque in #607
- Add more vec documentation in #608
- Introduce detailed set of range types in #609
- Range and more docs in #610
- Implement and use partial comparison in #611
- Introduce some APIs requiring total ordering in #612
- Remove unit type in #613
- Document protocol functions of HashMap in #615
- Make sure more protocols are implemented and documented in #616
- Use a single virtual machine for complex executions in #617
- Customize hashing for hot maps in #618
- Avoid calculating spans eagerly in Spanned derives in #619
- Rework Spanned implementation in #620
- More implementation and documentation in #621
- Deprecate StaticString as a value in #622
- Improve diagnostics in #623
- Introduce rune::runtime::Formatter and more docs in #624
- A lot more documentation in #625
- Implement ControlFlow in #626
- Start working on a HashMap implementation using hashbrown::raw in #627
- Allow impl item from anywhere in #630
- Import third party collections and use internal Allocator API in #631
- Support memory sandboxing in #632
- Remove last possible std::collections and alloc uses in #635
- Document budgeting and limiting in #637
- Less permutations when running tests in #638
- Add ModuleFunctionBuilder in #639
- Internal Context restructuring in #641
New Contributors
- @ModProg made their first contribution in #520
- @therealbnut made their first contribution in #549
- @DarkRTA made their first contribution in #562
- @frisoft made their first contribution in #586
- @jbdutton made their first contribution in #589
Full Changelog: 0.12.3...0.13.0