github Instagram/LibCST v0.4.1
LibCST 0.4.1 Release - 2022-01-28

latest releases: v1.5.0, v1.4.0, v1.3.1...
2 years ago

New Contributors

Added

  • Add docs about the native parts by @zsol in #601
  • Specify minimum rust toolchain version by @zsol in #614
  • build wheels on main branch for linux/arm64 by @zsol in #630

Updated

  • ApplyTypeAnnotationVisitor changes
    • Add support for methods with func type comment excluding self/cls by @stroxler in #622
    • Merge in TypeVars and Generic base classes in ApplyTypeAnnotationVisitor by @martindemello in #596
    • Full handling for applying type comments to Assign by @stroxler in #599
    • Add support for For and With by @stroxler in #607
    • Support FunctionDef transformations by @stroxler in #610
  • add slots to base classes, @add_slots takes bases into account by @ariebovenberg in #605
  • change pyo3 as optional dependency in native Python Parser by @sehz in #598
  • [native] Box most enums by @zsol in #632
  • [native] Return tuples instead of lists in CST nodes by @zsol in #631

Fixed

  • Allow trailing whitespace without newline at EOF by @zsol in #611
  • Handle ast.parse failures when converting function type comments by @stroxler in #616
  • [native] Don't redundantly nest StarredElement inside another Element by @isidentical in #624
  • [native] Allow unparenthesized tuples inside f-strings by @isidentical in #621
  • Don't require whitespace right after match by @isidentical in #628
  • Proxy both parentheses in some pattern matching nodes by @isidentical in #626

Don't miss a new LibCST release

NewReleases is sending notifications on new releases.