Skip to content

Commit 1f93e1a

Browse files
committed
(chore(VER): bump v6.2.0 --> v7.0.0; some CHANGES & SPELL
1 parent 700e75c commit 1f93e1a

File tree

3 files changed

+23
-10
lines changed

3 files changed

+23
-10
lines changed

.vscode/cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"words": [
1919
"abspow",
2020
"acallable",
21+
"addinivalue",
2122
"addmul",
2223
"anagnostopoulos",
2324
"ankostis",

CHANGES.rst

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ Graphtik Changelog
3535
- [x] plot graphs with Graphviz sphinx-extension
3636
- [x] HTML-table op-nodes to allow decorations
3737
- [x] plottable Operations
38+
- [x] Op-node badges
3839

39-
- [ ] Op-node TABLE-decorations
4040
- [ ] Merged operation clusters
4141
- [ ] update legend (or generate it dynamically)
4242

@@ -45,14 +45,14 @@ Graphtik Changelog
4545
- [x] explain rescheduled & endured in tutorial.
4646
- [x] `aliases` in tutorial & terms
4747

48-
- [ ] Operations behave like a regular decorator when fn given in front
49-
- [ ] Allow for Optional `solution sideffect`
48+
- [ ] Operations behave like a regular decorator when fn given in 1st call.
49+
Merge FuncOp+OpBuilder.
50+
- [ ] Rename NetOp -> graphkit | pipeline
5051
- [ ] modifiers inherit a single class (to allow combinations)
51-
- [ ] break cycles with dijkstra
52-
- [ ] weights
52+
- [ ] Allow for Optional `solution sideffect`
53+
- [ ] break cycles with dijkstra; weights
5354
- [ ] Merge tutorial (operations + composition)
5455
- [ ] alias compose() <-- NetOp
55-
- [ ] Merge Op+FuncOp+OpBuilder; rename NetOp -> graphkit | pipeline
5656

5757
- Dropped:
5858

@@ -73,8 +73,8 @@ Changelog
7373
%%%%%%%%%
7474

7575

76-
v6.3.0 (XX Apr 2020, @ankostis): arg-->kw-modifier, ops act like functions
77-
==========================================================================
76+
v7.0.0 (28 Apr 2020, @ankostis): In-solution sideffects, unified OpBuilder, plot badges
77+
=======================================================================================
7878
+ BREAK: stacking of solution results changed to the more natural "chronological" one
7979
(outputs written later in the solution override previous ones).
8080

@@ -84,6 +84,18 @@ v6.3.0 (XX Apr 2020, @ankostis): arg-->kw-modifier, ops act like functions
8484

8585
+ FEAT(op, netop): add ``__name__`` attribute to operations, to disguise as functions.
8686

87+
+ BREAK(op): The :func:`.operation` factory function (used to be *class*) now behave
88+
like a regular decorator when `fn` given in the first call, and constructs
89+
the :class:`.FunctionalOperation` without a need to call again the factory.
90+
91+
Specifically the last empty call at the end ``()`` is not needed (or possible)::
92+
93+
operation(str, name=...)()
94+
95+
became simply like that::
96+
97+
operation(str, name=...)
98+
8799
+ MODIFIERS:
88100

89101
+ BREAK: rename `arg --> mapping``, which conveys the correct meaning.

graphtik/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# Licensed under the terms of the Apache License, Version 2.0. See the LICENSE file associated with the project for terms.
33
"""Lightweight :term:`computation` graphs for Python."""
44

5-
__version__ = "6.2.0"
6-
__release_date__ = "19 Apr 2020, 14:03"
5+
__version__ = "7.0.0"
6+
__release_date__ = "28 Apr 2020, 18:57"
77
__title__ = "graphtik"
88
__summary__ = __doc__.splitlines()[0]
99
__license__ = "Apache-2.0"

0 commit comments

Comments
 (0)