What's Changed
- Add the statistics module by @prpercival in #1277
- Fix CI on Rust 1.100 by @rewitt94 in #1318
- Support w+b mode with positional filesystem writes by @tomhoule in #1261
- Reject ASTs too deep to drop instead of overflowing the stack by @cetra3 in #1324
- Add UTF-8 string access benchmarks by @jaheba in #1306
- Skip grpcio on free-threaded CI instead of pinning ubuntu-24.04 by @rewitt94 in #1322
- ci: use ubuntu 24.04 for i686 docker, bump arm images by @davidhewitt in #1327
- Bump black from 26.5.1 to 26.10.1 by @dependabot[bot] in #1334
- Bump opentelemetry-api from 1.41.1 to 1.45.2 by @dependabot[bot] in #1333
- ci: add more dependabot jobs, apply grouping by @davidhewitt in #1335
- Unify string operations on PyStr by @davidhewitt in #1325
- Bump the github-actions group with 9 updates by @dependabot[bot] in #1337
- Implement int.bit_length() and int.bit_count() by @gabrielhsc95 in #1326
- Share guarded dict/set copies and avoid redundant dict work by @jaheba in #1268
- Expose csv.version = '1.0' by @gabrielhsc95 in #1342
- Expose the slice.indices(length) method by @gabrielhsc95 in #1323
- Bump the rust group with 45 updates by @dependabot[bot] in #1340
- drop support for EOL Python 3.10 by @davidhewitt in #1343
- Support
from m import *by @r3v2d0g in #1314 - clean up some duplicate / redundant dependencies by @davidhewitt in #1346
- Decode unknown wire exception names as
Exceptionby @samuelcolvin in #1312 - Bump pillow from 12.3.0 to 13.0.0 by @dependabot[bot] in #1349
- drop EOL node 20, build with node 26 by @davidhewitt in #1345
- bump PyO3 to 0.30, jiter to 0.19 by @davidhewitt in #1348
- Bump urllib3 from 2.7.0 to 2.8.0 by @dependabot[bot] in #1353
- Bump anyio from 4.13.0 to 4.14.2 by @dependabot[bot] in #1352
- Fix Decimal quotient finalization and boolean tuple digits by @jaheba in #1354
- Bump the rust group across 1 directory with 9 updates by @dependabot[bot] in #1356
- Bump the javascript group across 2 directories with 24 updates by @dependabot[bot] in #1338
- Bump source-map-js from 1.2.1 to 1.2.2 in /crates/monty-js by @dependabot[bot] in #1358
- Bump shell-quote from 1.10.0 to 1.12.0 in /crates/monty-js by @dependabot[bot] in #1357
- perf: fast-path scalar arithmetic, comparisons, and common builtin operations by @gabrielhsc95 in #1255
- add contributing guide by @davidhewitt in #1365
- ci: try to simplify PGO builds by @davidhewitt in #1368
- Support bytes(iterable) constructor by @gabrielhsc95 in #1341
- Types refactor and inheritance by @samuelcolvin in #1264
- Let browser consumers apply Trusted Types to Monty workers by @petyosi in #1375
- Match CPython's set element and dict key hashing errors by @r3v2d0g in #1311
- Round floats to ndigits from their exact value, like CPython by @monperrus in #1378
- Decode sandbox namedtuples to one shared MontyNamedTuple class by @r3v2d0g in #1308
- Make class proxies hashable and compare them as the sandbox does by @r3v2d0g in #1310
- Use compensated summation for floats in sum() by @teddytennant in #1386
- remove postcard, make
idcalculations explicit and stable by @davidhewitt in #1369 - perf: systematic FromArgs and FromValue argument extraction optimizations by @gabrielhsc95 in #1372
- Fix float round precision without intermediate rounding by @GoldArowana in #1077
- Preflight JSON integer indentation allocations by @xixi-box in #1367
- Compute heap string character counts lazily by @jaheba in #1249
- clarify dump compatibility policy by @davidhewitt in #1336
- Add
typing.cast,assert_typeandassert_neverby @prpercival in #1273 - clean up agent instructions, clarify rules on limit accounting by @davidhewitt in #1392
- Bound hash-collision cost when decoding dict and set keys by @r3v2d0g in #1309
- switch from
chronotojiffby @davidhewitt in #1370 - Add
PoolConfig::prewarm_type_checkerby @rewitt94 in #1134 - Send trace context per turn and per suspension by @samuelcolvin in #1398
- Keep pre-warmed workers ready:
pre_warmby @samuelcolvin in #1397 - Bump version to v1.7.0-beta.1 by @samuelcolvin in #1402
New Contributors
- @prpercival made their first contribution in #1277
- @cetra3 made their first contribution in #1324
- @monperrus made their first contribution in #1378
- @teddytennant made their first contribution in #1386
- @xixi-box made their first contribution in #1367
Full Changelog: v1.6.0...v1.7.0-beta.1