This repository has been archived by the owner on Nov 28, 2023. It is now read-only.
Releases: deepset-ai/canals
Releases · deepset-ai/canals
v0.10.1
v0.10.0
What's Changed
- Properly annotate classmethods by @masci in #139
- feat: add
Pipeline.inputs()
by @ZanSara in #120 - Add missing
typing_extensions
dependency by @silvanocerza in #152 - feat: use full connection data to route I/O by @ZanSara in #148
- feat: Add Component inputs/outputs functions by @vblagoje in #158
- feat: Fix find_component_inputs, update unit tests by @vblagoje in #162
- Fix API docs by @ZanSara in #164
- make Variadic wrap an iterable by @masci in #163
- feat: Add Pipeline outputs method by @vblagoje in #150
- Update about.py by @vblagoje in #165
New Contributors
Full Changelog: v0.9.0...v0.10.0
v0.9.0
What's Changed
- fix package name, change _parse_connection_name function name, add tests by @masci in #126
- move sockets into components package by @masci in #127
- chore: remove extras by @ZanSara in #125
- fix: Sockets named "text/plain" or containing a "/" fail during pipeline.to_dict by @julian-risch in #131
- chore: remove missing module from docs to fix documentation by @ZanSara in #132
- Remove stray print by @ZanSara in #123
- chore: add sockets docs by @ZanSara in #133
- chore: group up utils about types by @ZanSara in #129
- Update canals.md by @ZanSara in #134
- make
__canals_output__
and__canals_input__
management consistent by @masci in #128 - Do not use a dict as intermediate format and use
Socket
s directly by @masci in #135 - Move
is_optional
evaluation forInputSocket
topost_init
by @masci in #136 - re-introduce variadics to support Joiner node by @masci in #122
- chore: bumb version to 0.9.0 by @julian-risch in #140
New Contributors
- @julian-risch made their first contribution in #131
Full Changelog: v0.8.1...v0.9.0
v0.8.1
v0.8.0
v0.4.0
New release with decorator-based I/O API.
Previous component API:
@component
class Component:
@component.input
def input(self):
class Input:
value: str
return Input
@component.output
def output(self):
class Output:
value: int
return Output
def run(self, data):
return self.output(value=data.value)
New component API:
@component
class Component:
@component.output_types(value=int)
def run(self, value: str):
return {"value": value}
What's Changed
- Simplify public interface imports by @silvanocerza in #53
- Move draw in pipeline module and clearly define public interface by @silvanocerza in #54
- Format pyproject.toml by @silvanocerza in #56
- Include only required files in built wheel by @silvanocerza in #57
- Move sample components out of tests by @silvanocerza in #58
- Decorator based I/O by @ZanSara in #60
- Simplify method to get string representation of types by @silvanocerza in #63
- Remove Component's I/O type checks at run time by @silvanocerza in #64
- Split canals_io field in canals_input and canals_output by @silvanocerza in #65
- Add component class factory by @silvanocerza in #62
- Fix: slightly reorganize API docs by @ZanSara in #66
Full Changelog: v0.3.2...v0.4.0
v0.3.2
v0.3.1
v0.3.0
What's Changed
- Increase test coverage by @ZanSara in #17
- Test drawing functions by @ZanSara in #18
- feat: enable
Any
in receiving sockets by @ZanSara in #22 - Rework how component I/O is defined by @silvanocerza in #23
- Change InputSocket taken_by field to sender by @silvanocerza in #25
- Remove variadics by @silvanocerza in #26
- Handle components with partial input by @silvanocerza in #34
- Make component decorator a class by @silvanocerza in #35
- Add support for Union in Component's I/O by @silvanocerza in #36
- Remove dependencies section in marshaled pipelines by @silvanocerza in #37
- Create Component Protocol by @silvanocerza in #38
- Simplify component init wrapping and fix issue with _save_init_params by @silvanocerza in #40
- Simplify
pygraphviz
optional import by @ZanSara in #39 - fix: re-enable some logs by @ZanSara in #41
- chore: some more tests by @ZanSara in #43
- Remove unused leftover methods by @silvanocerza in #44
- Update docs to match current API by @ZanSara in #46
New Contributors
- @silvanocerza made their first contribution in #23
Full Changelog: v0.2.2...v0.3.0