Skip to content

Commit c2c22af

Browse files
committed
version bump 2.5.1
1 parent 5fdf99b commit c2c22af

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Code2flow CHANGELOG
22

3+
## [2.5.1] - 2023-01-08
4+
- Minor fix for installing code2flow in windows environments
5+
- Minor README updates and typo corrections
6+
37
## [2.5.0] - 2022-03-25
48
- Add async/await functionality to Python
59
- Add --include-only-* CLI options
@@ -37,4 +41,4 @@ Almost complete rewrite / refactor. Update to Python3. Use ASTs
3741
Cleaned up code. Remove comments runs much faster. Test scripts. Template.py implementation file. More to come!
3842

3943
## [0.1] - 2013-05-23
40-
Initial release
44+
Initial release

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
![code2flow logo](https://raw.githubusercontent.com/scottrogowski/code2flow/master/assets/code2flowlogo.png)
22

3-
![Version 2.5.0](https://img.shields.io/badge/version-2.5.0-brightgreen) ![Build passing](https://img.shields.io/badge/build-passing-brightgreen) ![Coverage 100%](https://img.shields.io/badge/coverage-100%25-brightgreen) ![License MIT](https://img.shields.io/badge/license-MIT-green])
3+
![Version 2.5.1](https://img.shields.io/badge/version-2.5.1-brightgreen) ![Build passing](https://img.shields.io/badge/build-passing-brightgreen) ![Coverage 100%](https://img.shields.io/badge/coverage-100%25-brightgreen) ![License MIT](https://img.shields.io/badge/license-MIT-green])
44

55
Code2flow generates [call graphs](https://en.wikipedia.org/wiki/Call_graph) for dynamic programming language. Code2flow supports Python, JavaScript, Ruby, and PHP.
66

@@ -9,7 +9,7 @@ The basic algorithm is simple:
99
1. Translate your source files into ASTs.
1010
1. Find all function definitions.
1111
1. Determine where those functions are called.
12-
1. Connect the dots.
12+
1. Connect the dots.
1313

1414
Code2flow is useful for:
1515
- Untangling spaghetti code.
@@ -82,7 +82,7 @@ code2flow --help
8282
How code2flow works
8383
------------
8484

85-
Code2flow approximates the structure of projects in dynamic languages. It is *not possible* to generate a perfect callgraph for a dynamic language.
85+
Code2flow approximates the structure of projects in dynamic languages. It is *not possible* to generate a perfect callgraph for a dynamic language.
8686

8787
Detailed algorithm:
8888

@@ -143,7 +143,7 @@ How to contribute
143143
-----------------------
144144

145145
1. **Open an issue**: Code2flow is not perfect and there is a lot that can be improved. If you find a problem parsing your source that you can identify with a simplified example, please open an issue.
146-
2. **Create a PR**: Even better, if you have a fix for the issue you identified that passes unit tests, please open a PR.
146+
2. **Create a PR**: Even better, if you have a fix for the issue you identified that passes unit tests, please open a PR.
147147
3. **Add a language**: While dense, each language implementation is between 250-400 lines of code including comments. If you want to implement another language, the existing implementations can be your guide.
148148

149149

@@ -161,16 +161,16 @@ License
161161
-----------------------------
162162

163163
Code2flow is licensed under the MIT license.
164-
Prior to the rewrite in April 2021, code2flow was licensed under LGPL. The last commit under that license was 24b2cb854c6a872ba6e17409fbddb6659bf64d4c.
164+
Prior to the rewrite in April 2021, code2flow was licensed under LGPL. The last commit under that license was 24b2cb854c6a872ba6e17409fbddb6659bf64d4c.
165165
The April 2021 rewrite was substantial, so it's probably reasonable to treat code2flow as completely MIT-licensed.
166166

167167

168168
Acknowledgements
169169
-----------------------------
170170

171171

172-
* In mid 2021, Code2flow was rewritten, and two new languages were added. This was prompted and financially supported by the [Sider Corporation](https://siderlabs.com/).
173-
* The code2flow pip name was graciously transferred to this project from [Dheeraj Nair](https://github.com/Dheeraj1998). He was using it for his own (unrelated) [code2flow](https://github.com/Dheeraj1998/code2flow) project.
172+
* In mid 2021, Code2flow was rewritten, and two new languages were added. This was prompted and financially supported by the [Sider Corporation](https://siderlabs.com/).
173+
* The code2flow pip name was graciously transferred to this project from [Dheeraj Nair](https://github.com/Dheeraj1998). He was using it for his own (unrelated) [code2flow](https://github.com/Dheeraj1998/code2flow) project.
174174
* Many others have contributed through bug fixes, cleanups, and identifying issues. Thank you!!!
175175

176176

code2flow/engine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from .model import (TRUNK_COLOR, LEAF_COLOR, NODE_COLOR, GROUP_TYPE, OWNER_CONST,
1515
Edge, Group, Node, Variable, is_installed, flatten)
1616

17-
VERSION = '2.5.0'
17+
VERSION = '2.5.1'
1818

1919
IMAGE_EXTENSIONS = ('png', 'svg')
2020
TEXT_EXTENSIONS = ('dot', 'gv', 'json')

0 commit comments

Comments
 (0)