Skip to content

Releases: mutating/cstvis

0.0.11

Choose a tag to compare

@pomponchik pomponchik released this 19 Aug 15:32
5e18112

A set of minor changes that do not affect functionality:

  • Refactored some aspects of node traversal using the LibCST API.
  • Fixed minor errors in the documentation.
  • Updated the package metadata.

Closes #10.

0.0.10

Choose a tag to compare

@pomponchik pomponchik released this 19 Aug 00:38
74636f3

More context added for the node:

  • The full text of the source code in the file.
  • The code that preceded this node.
  • The code that follows the node.
  • The node’s position as a character in the source code (start and end).

The full source code text does not require additional memory allocation. The other parameters mentioned here are computed lazily.

0.0.9

Choose a tag to compare

@pomponchik pomponchik released this 06 Aug 19:44
26038f9

Just update libcst version.

0.0.8

Choose a tag to compare

@pomponchik pomponchik released this 02 Jul 17:38
f6fd924

A minor update:

  • Added some package metadata.
  • Documentation was added for each unit test.
  • Some tests became stronger.
  • Updated some dependencies.

0.0.7

Choose a tag to compare

@pomponchik pomponchik released this 23 Mar 22:06
57c8118

A minor update:

  • The documentation slightly improved.
  • Now you can pass the meta dictionary to a Collector’s initializer.

0.0.6

Choose a tag to compare

@pomponchik pomponchik released this 23 Mar 16:48
4120586

A minor update:

  • Now you can add up collector objects.
  • Now, if a filter or converter function can accept either two arguments or just one, the context is passed as the second argument in either case.

0.0.5

Choose a tag to compare

@pomponchik pomponchik released this 22 Mar 00:46
bef7d82

An important update with a lot of minor changes.

  • Added the ability to specify a meta parameter for any decorators.
  • It is no longer necessary to retrieve the context object in converters and filters.
  • Carried out a major refactoring.
  • Detailed the documentation.

0.0.4

Choose a tag to compare

@pomponchik pomponchik released this 20 Mar 22:34
53d06bc

Slightly updated the dependencies and improved the documentation.

0.0.3

Choose a tag to compare

@pomponchik pomponchik released this 20 Mar 21:41
821ed41

Relicensing. The license changed from the MIT License to the PolyForm Noncommercial License 1.0.0.

0.0.2

Choose a tag to compare

@pomponchik pomponchik released this 19 Dec 02:25
bece054

A small but important update.

  • Fixed a bug that could cause the converter function to be applied twice to the same node.
  • Added the ability to "unlink" collecting functions from the Changer object.
  • Added support for the Union type in annotations.
  • Added shortcut annotations for int, float, and str types.
  • Added the ability to apply different changes to the same node. In incremental mode, this does not create a conflict, because in this case we are just creating 2 different versions of the source file.