Repository navigation
·
9 commits
to master-n3
since this release
What's Changed
What's Changed
- fix: return total length for multidimensional arrays by @Jim8y in #2253
- Less opcodes and GAS for ConvertUserDefinedBinaryOperator by @Wi1l-B0t in #2252
- Less opcodes and GAS for UInt160.Prase/UInt250.Parse/ECPoint.Parse by @Wi1l-B0t in #2248
- Optimize char.IsSurrogate using a single WITHIN by @ajara87 in #2255
- Fix captured locals across loop iterations by @shargon in #2251
- Optimize Math.Clamp with constant valid bounds by @ajara87 in #2254
- Less GAS for
ByteString.StartsWithby @Wi1l-B0t in #2256 - Clear semantic diagnostics cache when CompilationEngine is reused for direct compilation by @Jim8y in #2257
- Normalize narrow integer results of compound division by @shargon in #2249
- Less GAS for
ByteString.StartsWith&ByteString.EndsWithby @Wi1l-B0t in #2261 - Fix:
StorageMap.GetInteger/LocalStorage.GetIntegerreturn nullable BigInteger by @Wi1l-B0t in #2262 - Fix string.Remove range validation by @Jim8y in #2263
- Preserve null matching in integer switch statements by @shargon in #2250
- Fix:
string.EndsWithshould be failed if string is null by @Wi1l-B0t in #2265 - Less GAS for
LocalStorageMapby @Wi1l-B0t in #2266 - Preserve modifier hooks when compiling aggressive inline methods by @shargon in #2259
- Less GAS for
string.StartsWithby @Wi1l-B0t in #2264 - Less opcodes and GAS for
UInt160.ToAddressby @Wi1l-B0t in #2267 - Fix direct delegate invocation evaluation order by @shargon in #2270
- Add role-based PausableAccessControl by @ajara87 in #2271
- Remove some comments by @Wi1l-B0t in #2279
- Optimize ParseHex loop to reduce opcodes and GAS by @ajara87 in #2274
- Optimize LINQ Take to avoid unnecessary iterations by @ajara87 in #2277
- Optimize LINQ Contains to reduce opcodes and GAS by @ajara87 in #2278
- Fix stack balance in non-generic Enum.GetNames and Enum.GetValues by @shargon in #2281
- Optimize hex parsing with WITHIN opcode by @ajara87 in #2275
- Fix enum cast and arithmetic range normalization by @shargon in #2282
- fix: replace personal name in test string with generic value by @Jim8y in #2280
- Fix defaults for stored properties with missing keys by @shargon in #2258
- Fix UTF-8 encoding for nullable char ToString by @shargon in #2284
- Keep compiler stack-depth slots reserved across call scopes by @shargon in #2287
- feat: add the compiler differential fuzzing harness by @Jim8y in #2228
- Remove some compiler warnings by @Wi1l-B0t in #2288
- Remove unnecessary checks for UInt160.Prase/UInt250.Parse by @Wi1l-B0t in #2272
- Fix null-conditional instance method lowering by @shargon in #2260
- Less opcodes and GAS for
ParseAddressby @Wi1l-B0t in #2291 - Fix mapped StdCall named argument evaluation order by @shargon in #2268
- Less opcodes and GAS for TokenContract/Nep11Token/Nep17Token by @Wi1l-B0t in #2273
- Less opcodes for
EnsureIntegerInRangewith checked unsigned integer. by @Wi1l-B0t in #2294 - Less opcodes and GAS for
ConvertIndexOrRangeby @Wi1l-B0t in #2300 - Support C# 14 user-defined compound assignment operators by @Jim8y in #2302
- Fix optimizer crash on nested try/finally with throw by @ajara87 in #2303
- Fix stale per-token royalties after NEP-11 burn by @shargon in #2292
- feat: add compiler diagnostic catalog links by @Jim8y in #2299
- Fix declared initializers in partial object creation by @shargon in #2285
- feat: expand NC4065 dynamic string-growth detection by @Jim8y in #2296
- Add automatic per-execution GAS regression tracking for unit tests by @ajara87 in #2269
- Show detailed GAS improvements in CI reports by @ajara87 in #2307
- Fix method-backed casts with nullable and numeric conversions by @shargon in #2293
- Fix from-end indexes on user-defined indexers by @shargon in #2286
- Add
UInt160Setsupport for smart contracts by @ajara87 in #2289 - Less opcodes and GAS for
ConvertIndexOrRangeby @Wi1l-B0t in #2305 - docs: clarify storage key collision for hidden Stored properties by @shargon in #2310
- Less opcodes and GAS for
Array.Lengthwith multidimensional arrays by @Wi1l-B0t in #2309 - feat: add TestEngine execution tracing by @Jim8y in #2295
- Less GAS for
string.TrimStartby @Wi1l-B0t in #2308 - Refactor the optimizer to make it easier to add more optimization strategies by @Wi1l-B0t in #2240
- feat: add deterministic fuzz testing attributes by @Jim8y in #2298
- Fix captured locals when conditional lambdas are skipped by @shargon in #2283
- chore: update test and tooling dependencies by @ajara87 in #2314
- Optimize empty collection creation using dedicated opcodes by @ajara87 in #2312
- Make automatic GAS tracking opt-in via TestBaseWithGasTracking by @ajara87 in #2306
- Fix delegate ref/out parameter writeback by @shargon in #2318
- Fix cross-class static field initialization order by @shargon in #2315
- Fix framework Map and List type name collisions in ABI and initializers by @shargon in #2316
- Add
PUSH+DROPoptimization for Peephole by @Wi1l-B0t in #2313 - fix: make string.Substring observable to catch blocks on out-of-range start by @Jim8y in #2230
- Preserve pending return values in catches inside finally by @shargon in #2319
- Fix CodeQL autobuild failing on Neo.VM dependency drift by @shargon in #2322
- Synchronize GAS baselines locally and verify them in read-only CI by @ajara87 in #2311
- Fix static initialization order through properties and methods by @shargon in #2320
- Less opcodes and GAS for
Array.Lengthwith multi-dimensional array by @Wi1l-B0t in #2327 - Fix typeof(T) in constructed generic methods by @shargon in #2324
- Fix Safe method analysis and narrow signed DivRem overflow by @shargon in #2329
- Less opcodes and GAS for
BigInteger.GreatestCommonDivisorby @Wi1l-B0t in #2330 - Fix inline returns and stack depth in nested finally catches by @shargon in #2328
- fix: format null interpolated strings as empty by @shargon in #2323
- Improve NC4056 storage prefix collision coverage by @shargon in #2325
- Add StackOpFusion peephole optimization by @Wi1l-B0t in #2332
- Fix narrow signed DivRem to match .NET behavior by @shargon in #2336
- Fix bitwise complement for unsigned enum values by @shargon in #2338
- Fix: preserve ABI types for nullable generic collections by @ajara87 in #2341
- feat: add safe constant folding to VM optimizer by @Jim8y in #2297
- Fix manifest permission handling for ContractPermissionAttribute lookalikes by @ajara87 in #2343
- Reject unsupported helper static constructors by @shargon in #2348
- Fix implicit constructor chaining in C# compiler by @shargon in #2353
- fix: emit an instance for new object() by @shargon in #2346
- Fix UTF-8 encoding of chars in string expressions by @shargon in #2350
- Fix InitialValueAttribute detection using symbol identity by @ajara87 in #2342
- Reject instance receiver captures in lambdas by @shargon in #2334
- Report a dedicated diagnostic for the static slot limit by @shargon in #2340
- Fix stored integer property getters returning ByteString by @shargon in #2344
- Fix compiler crash on recursive instance field initializers by @shargon in #2352
- Fix base property accessor dispatch in assignments by @shargon in #2349
- Fix compiler crash on generic
new T()construction by @shargon in #2345 - Fix typeof identity for generic classes, arrays, and lambdas by @shargon in #2335
- Add more cases for UseEmptyCollectionOpcodes by @Wi1l-B0t in #2356
- Lower exception Message and ToString() to the message ByteString by @Jim8y in #2358
- Don't verify GAS baselines in the filtered syntax documentation step by @Jim8y in #2360
- Avoid Codecov waiting on unrelated CI checks by @shargon in #2361
- Update Neo dependency to v3.11.2 by @Jim8y in #2333
- Remove stale diagnostic catalog entries and check the reverse direction by @Jim8y in #2354
- Document exception, boxing and class-library member semantics by @Jim8y in #2359
- Report NC1002 for un-lowered extern constructors and static fields by @Jim8y in #2357
- Drop stale fuzz-harness suppressions and stop flagging gas exhaustion by @Jim8y in #2355
- Detect external calls in helpers before caller storage writes by @shargon in #2367
- docs: clarify wildcard behavior in ContractPermission overload by @shargon in #2362
- Fix token callback analyzer for non-gating caller checks by @shargon in #2365
- Fix short TRY offsets after constant folding by @shargon in #2368
- Reject cross-activation captured lambdas with a compiler diagnostic by @shargon in #2347
- Fix null string concatenation in compiled contracts by @shargon in #2337
- Test catch entry and metadata after jump removal by @Jim8y in #2370
- Fix collection initializers for user-defined types by @shargon in #2364
- Less opcodes and GAS for
ParseHexby @Wi1l-B0t in #2369 - Bump github/codeql-action from 4.39.3 to 4.39.4 by @dependabot[bot] in #2371
- Prepare event invocation arguments in delegate parameter order by @shargon in #2339
- fix: preserve struct value semantics in generated code by @Jim8y in #2203
- Add
ByteString.Substring(start)extension by @Wi1l-B0t in #2372 - fix: make out-of-range slices catchable by @shargon in #2331
- Reject unsupported typed catches and preserve exception messages by @shargon in #2351
- Fix Enum.GetValues ordering and Enum.Parse/TryParse semantics by @shargon in #2317
- Fix StringBuilder range constructor lowering by @shargon in #2363
- Security analyzer: decide token callback protection per write with dominators by @Jim8y in #2377
- Honor manifest attributes only from the trusted framework reference by @Jim8y in #2375
- Preserve ref/out field writes and recursive call frames by @shargon in #2326
- Add analyzer fuzz target and fix LinqUsageAnalyzer crash on using aliases by @Jim8y in #2380
- bench: compiler and analyzer benchmarks for small/medium/large contracts by @Jim8y in #2379
- Reject unsupported value-type equality and hash calls at compile time by @shargon in #2383
- Document the NC3011 initialization-code rule for [Safe] methods by @Jim8y in #2376
- Prune inferred permissions for removed method tokens by @shargon in #2373
- Less opcodes and GAS for
ByteString.StartsWith/ByteString.EndsWithby @Wi1l-B0t in #2384 - Add more StackOpFusion peephole optimization by @Wi1l-B0t in #2385
- Less opcodes and GAS for
StringSubStringToEndby @Wi1l-B0t in #2386 - Add NEP-17 fuzz testing examples and a fuzz testing guide by @Jim8y in #2381
- v3.11.3 by @superboyiii in #2391
Full Changelog: v3.10.2...v3.11.3