Commit e232488
Bump Slang Version (#1394)
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and publish to npm
yourself or [setup this action to publish
automatically](https://github.com/changesets/action#with-publishing). If
you're not ready to do a release yet, that's fine, whenever you add more
changesets to main, this PR will be updated.
# Releases
## @nomicfoundation/slang@1.3.0
### Minor Changes
- [#1396](#1396)
[`d568dec`](d568dec)
Thanks [@beta-ziliani](https://github.com/beta-ziliani)! - Add a
rewriter API, allowing the transformation of CSTs by extending the
`BaseRewriter` type, overriding the appropriate methods ([User
Guide](https://nomicfoundation.github.io/slang/1.3.0/user-guide/08-examples/06-inject-logging/)).
- [#1440](#1440)
[`4438fc8`](4438fc8)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add
`TextIndexExtensions.zero()` utility to create an index at offset zero,
which is useful for creating cursors from child nodes where parent
offset is not needed.
- [#1390](#1390)
[`6a0f598`](6a0f598)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Add new
TypeScript APIs for creating nodes and edges:
- `NonterminalNode.create(kind: NonterminalKind, children: Edge[]):
NonterminalNode`
- `TerminalNode.create(kind: TerminalKind, text: string): TerminalNode`
- `createEdge(label: EdgeLabel, node: Node): Edge`
- `Edge.createWithNonterminal(label: EdgeLabel, node: NonterminalNode):
Edge`
- `Edge.createWithTerminal(label: EdgeLabel, node: TerminalNode): Edge`
### Patch Changes
- [#1424](#1424)
[`d54a35c`](d54a35c)
Thanks [@ggiraldez](https://github.com/ggiraldez)! - Resolve identifiers
in assembly blocks to locally imported symbols
- [#1388](#1388)
[`4607e6a`](4607e6a)
Thanks [@beta-ziliani](https://github.com/beta-ziliani)! - Fixed the
pragma grammar and CST nodes:
- `pragma abicoder <version>`:
- Only enabled starting Solidity `0.7.5`.
- `<version>` is restricted to new keywords (`v1` and `v2`).
- `pragma experimental <flag>`:
- Only enabled starting Solidity `0.4.16`.
- `<flag>` is restricted to be a string, or new keywords representing
`ABIEncoderV2` and `SMTChecker`.
- [#1431](#1431)
[`a62c857`](a62c857)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - fix CST query
matches to return an empty array for unmatched named captures, instead
of `undefined`.
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Omar Tawfik <15987992+OmarTawfik@users.noreply.github.com>1 parent b382cc6 commit e232488
File tree
14 files changed
+168
-118
lines changed- .changeset
- crates/solidity/outputs
- cargo/crate
- npm/package
- documentation/public/user-guide/08-examples/06-inject-logging
14 files changed
+168
-118
lines changedThis file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
3 | 34 | | |
4 | 35 | | |
5 | 36 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments