Releases: jina-ai/serve
💫 Patch v1.0.2
Release Note (1.0.2
)
Release time: 2021-02-19 12:30:03
🙇 We'd like to thank all contributors for this new release! In particular,
Han Xiao, Joan Fontanals, Yongxuanzhang, Jina Dev Bot, Alex Cureton-Griffiths, cristian, Wang Bo, Nan Wang, Florian Hönicke, 🙇
🆕 New Features
- [
b2c2a97c
] - document: add data_uri2blob converter (#1982) (Han Xiao) - [
9cea5e71
] - ranking evaluate driver may need more than one field (#1953) (Joan Fontanals) - [
60b6dae9
] - executor: add use_default and with to requests field (#1959) (Han Xiao) - [
5bc49550
] - allow rank driver access info in tags (#1718) (Joan Fontanals)
🐞 Bug fixes
- [
c379b092
] - ranker: correct column names in ranker score matrix (#1973) (Han Xiao) - [
f03a8b46
] - contributing, readme: all 101 links go to 101.jina.ai (#1965) (Alex Cureton-Griffiths) - [
f2046fab
] - executor: allowing missing with/drivers keywords (#1967) (Han Xiao)
🚧 Code Refactoring
- [
6bf1d207
] - cli: add hello subparser (#1985) (Han Xiao) - [
97b6637b
] - remove flow optimization options (#1975) (Joan Fontanals) - [
d153381b
] - detach BaseExecutable from Recursivity (#1939) (Joan Fontanals) - [
47ae81fa
] - logging for hub build tests (#1923) (Florian Hönicke)
📗 Documentation
- [
f02f30cb
] - add two empty spaces before noqa (#1961) (Wang Bo) - [
9a844b6f
] - ignore noqa in docstring (#1955) (Wang Bo) - [
3e3949a6
] - add darglint config (#1954) (cristian) - [
adba5aaf
] - continued docstring for drivers (#1951) (cristian) - [
2143fa22
] - docstrings for parsers (#1924) (cristian) - [
92960e7c
] - types: add queryset docstrings (#1948) (Yongxuanzhang) - [
d33552ab
] - readme: rm duplicate wikipedia example (#1946) (Alex Cureton-Griffiths) - [
3b95d78f
] - fix the typos and add links (#1942) (Nan Wang) - [
e2971d22
] - remove dot from precommit install (#1944) (cristian) - [
ce384298
] - drivers: remove the legacy docstring (#1941) (Nan Wang)
🏁 Unit Test and CICD
- [
cb32309d
] - test if ubuntu 18.04 has tests working (#1981) (Joan Fontanals) - [
0f2dc892
] - logging: add timedict test (#1969) (Yongxuanzhang) - [
b1fab678
] - refactor querylang test use types (#1963) (Joan Fontanals) - [
89cf0bc3
] - do not lint docstrings in tests (#1962) (cristian)
🍹 Other Improvements
💫 Patch v1.0.1
Release Note (1.0.1
)
Release time: 2021-02-14 23:12:21
🙇 We'd like to thank all contributors for this new release! In particular,
Han Xiao, Jina Dev Bot, Yongxuanzhang, Alex Cureton-Griffiths, Maximilian Werk, Joan Fontanals, cristian, 🙇
🆕 New Features
- [
9d1d59ee
] - types: traverse is a method of document set (#1937) (Han Xiao) - [
e7c8677b
] - precommit hooks for docstrings (#1925) (cristian) - [
1ce5aa11
] - types: add to_blob converter to document (#1929) (Han Xiao) - [
deff9879
] - types: add update method to document types (#1926) (Han Xiao)
🐞 Bug fixes
- [
f234965c
] - readme: swap southpark for wiki; add incremental; rm object search (#1936) (Alex Cureton-Griffiths) - [
7ef8fa99
] - wrong link (#1934) (Maximilian Werk)
🚧 Code Refactoring
- [
d83d188a
] - driver: use traverse from document type (#1938) (Han Xiao) - [
f0eb3833
] - move queryset from drivers to types (#1933) (Joan Fontanals) - [
97a8c3fa
] - move bad_docs warning to _extract_docs (#1930) (Han Xiao)
📗 Documentation
- [
18980926
] - helper: add missing helper docstrings (#1927) (Yongxuanzhang) - [
16735664
] - types: add missing docstrings (#1928) (Yongxuanzhang) - [
009d40c3
] - docstrings for flow module (#1922) (cristian)
🍹 Other Improvements
- [
3016159e
] - fix typo in log warning (Han Xiao) - [
97f9e97a
] - contributor: update contributors (Jina Dev Bot) - [
100c582f
] - style: reformatted by jina-dev-bot (Jina Dev Bot) - [
788ef676
] - fix typo in readme (Han Xiao) - [
482903d7
] - docs: update TOC (Jina Dev Bot) - [
305804b0
] - fix broken link in readme (Han Xiao) - [
8f5b252f
] - version: the next version will be 1.0.1 (Jina Dev Bot)
🥂 Major Release v1.0
We are excited to release Jina 1.0. Jina is the easier way to do neural search on the cloud. Highlights of this release include:
- Improve usability of CRUD operations by integrating with Flow APIs.
- Make it easier to use Jina in a distributed way.
- Support hyperparameter tuning out of the box by introducing
FlowOptimizer
.
Jina 1.0
⬆️ Major Features and Improvements
-
Improve usability of CRUD operations: Both REST and gRPC APIs of Flows provide native CRUD support. Add support for
asyncio
interface for CRUD. Check out how to use CRUD in README.md. To know more , please refer to docs.jina.ai #1461, #1650, #1810, #1835, #1841 -
Make it easier to use Jina in a distributed way:
jinad
is integrated intojina
as thedaemon
module. Check out how to distribute your Flow remotely at README.md #1610, #1637 -
Introduce
FlowOptimizer
to run Flows with different parameter sets: This allows out-of-the-box hyperparameter tuning in Jina. Check out more details at docs.jina.ai #1459, #1726, #1751, #1776, #1764, #1789, #1800, #1851
⚠️ Breaking Changes
- Refactor
Segmenter
to a separate Executor. #1632
Click to see example
v0.9.0 | v1.0.0 | |
from jina.executors.crafters import BaseSegmenter
class DummySentencizer(BaseSegmenter):
def craft(self, text, *args, **kwargs):
results = {}
for t in text.split(','):
results.append({'text': t})
return results
return results
|
from jina.executors.segmenters import BaseSegmenter
class DummySentencizer(BaseSegmenter):
def segment(self, text, *args, **kwargs):
results = {}
for t in text.split(','):
results.append({'text': t})
return results
return results
|
-
Remove
jina/logging/sse.py
. Correspondingly, '--logserver' and '--logserver-config' options are removed from CLI. Removeskip-on-error
and replace with--on-error-strategy
for CLI. To use log streaming, please refer to api.jina.ai #1580, #1757, #1766 -
Introduce
request_size
to distinguish number of Documents per request vs batch size of Documents processed by each Executor. #1677, #1746
Click to see example
v0.9.0 | v1.0.0 | |
with Flow().add() as f:
f.index([
Document(text='hello, jina') for _ in range(10)],
batch_size=3)
|
with Flow().add() as f:
f.index([
Document(text='hello, jina') for _ in range(10)],
request_size=3)
|
- Remove
separate_workspace
. Instead of usingpea_workspace
,shard_workspace
is defined based onworkspace
,name
andpea_id
. Setworkspace
metas default toNone
. Introduceroot_workspace
androot_name
to resolve workspace issue inCompoundExecutor
andref_indexer
. Usecomplete_path
to finduses_internal
resource tobind
todocker
when spinning up apea
in acontainer
; Removepea_workspace
and replacecurrent_workspace
withshard_workspace
#1722, #1739
Click to see example
v0.9.0 | v1.0.0 | |
f = Flow().add(uses='NumpyIndexer', shards=2, separated_workspace=True)
|
f = Flow().add(uses='NumpyIndexer', shards=2)
# saved files
# ├── jina.executors.indexers.vector.NumpyIndexer-86342edc-1
# │ ├── jina.executors.indexers.vector.NumpyIndexer-86342edc
# │ └── jina.executors.indexers.vector.NumpyIndexer-86342edc.bin
# └── jina.executors.indexers.vector.NumpyIndexer-c4f2ea6c-2
# └── jina.executors.indexers.vector.NumpyIndexer-c4f2ea6c
|
- Remove
MinRanker
#1729
Click to see example
v0.9.0 | v1.0.0 | |
f = (Flow()
.add(uses='NumpyIndexer')
.add(uses='MinRanker'))
with f:
f.search([Document(embedding=np.random.rand(10))])
|
f = (Flow()
.add(uses='NumpyIndexer')
.add(uses='SimpleAggregateRanker',
aggregate_function='min',
is_reversed_score=True))
with f:
f.search([Document(embedding=np.random.rand(10))])
|
- Deprecate
output_fn
,callback
andbuffer
for Flow API #1730 - Add support to use async generator in both inputs and outputs of
AsyncFlow
#1816
Click to see example
v0.9.0 | v1.0.0 | |
async def input_fn():
for _ in range(10):
yield Document()
await asyncio.sleep(0.1)
with AsyncFlow().add() as f:
await f.index(input_fn)
|
from jina import AsyncFlow
async def input_fn():
for _ in range(10):
yield Document()
await asyncio.sleep(0.1)
with AsyncFlow().add() as f:
async for resp in f.index(input_fn):
print(resp)
|
- Refactor
DeleteRequestProto
injina.proto
;delete
API of Flow accepts a sequence of Documents IDs instead of Documents; adddocs
andgroundtruths
fields inDeleteRequestProto
; replaceto_response
method withas_response
inRequest
class; replaceto_json
method withjson
inRequest
class; #1823
Click to see example
v0.9.0 | v1.0.0 | |
from jina import Flow
f = Flow().add(uses='_index')
with f:
f.delete([Document(id=_id) for _id in ['🐦', '🐲']])
|
from jina import Flow
f = Flow().add(uses='_index')
with f:
f.delete(['🐦', '🐲'])
|
- Make
VectorIndexer
only usestr
as keys; Replacequery_by_id
withquery_by_key
#1829
Click to see example
v0.9.0 | v1.0.0 | |
vec_idx = array([0, 1])
with NumpyIndexer.load(save_abspath) as indexer:
for idx in vec_idx:
retrieved_vec = indexer.query_by_id(idx)
|
vec_idx = array(['0', '1'], dtype=(np.str_, 16))
with NumpyIndexer.load(save_abspath) as indexer:
for key in vec_idx:
retrieved_vec = indexer.query_by_key(ke)
|
- Rename
DocIDCache
toDocCache
#1831, #1898 - Unify naming protobuf object to
.proto
; replaceas_pb_object
withproto
forMessage
; replaceproto
inBaseNdArray
,NdArray
,SparseNdArray
with_pb_body
to avoid misunderstanding; replace_querylang
with_pb_body
inQueryLang
; replace_request
with_pb_body
inRequest
; replace_score
with_pb_body
inNamedScore
#1847 - Remove
groundtruths
fromUpdatedRequestProto
#1858 - Remove
UniqueId
#1872
📗 Documentation
- Add reference check while building docs #1600
- Add links to Spanish README #1591 @PabloRN
- Fix typos in German README #1602
- Fix broken links in README and CONTRIBUTING #1594 @NouiliKh
- Fix broken links at docs.jina.ai #1614
- Fix missing import in README #1622
- Refactor examples section in README. #1652
- Add links to Binder in README. #1673
- Fix typo in README #1723, #1745
- Add Docker example for Flow API
uses
#1741 - Fix links to remote usage of Jina in README #1740 @ThePfarrer
- Add Greek translation for 101 #1765 @DimitrisPr
- Add Spanish translation for 101 #1794 @Immich
- Move documentation repo to https://github.com/jina-ai/docs. #1819, #1828, #1833
- Add [documentation for REST APIs](https://api.jina.ai/rest/index.html](https://api.jina.ai/rest/index.html) #1846 #1849 #1856 #1860
- Improve docstrings #1749, #1867, #1869, #1889, #1874, #1876, #1889, #1895, #1896, #1899, #1900, #1901, #1903, #1904, #1906, #1907, #1908, #1909, #1910, #1912, #1913, #1914, #1915, #1918, #1919, #1920,
- Fix typo in README #1882 @slettner
- Update the slogan in README #1921
🐞 Bug Fixes and Other Changes
Flow
- Fix log streaming from remote for
JinadRuntime
#1584 - Force set
separated_workspace=False
ifparallel==1
#1682 - Remove random identity assignment for Peas and HeadPea. #1755
- Add new property
workspace_id
forBaseFlow
#1761 - Add new property
identity
forBaseFlow
#1766 - Improve arguments of
index_lines
andsearch_lines
and make them consistent. #1778 - Fix bug in terminati...
💫 Patch v0.9.33
Release Note (0.9.33
)
Release time: 2021-02-09 10:44:45
🙇 We'd like to thank all contributors for this new release! In particular,
Alex Cureton-Griffiths, Han Xiao, Yongxuanzhang, Maximilian Werk, Jina Dev Bot, cristian, 🙇
🆕 New Features
🐞 Bug fixes
- [
bbf5d7cc
] - size assertion for first add call (#1905) (Maximilian Werk) - [
60aa20a2
] - refactor doccache filename usage (#1900) (cristian)
📗 Documentation
- [
6e1baa5a
] - checker: update docstring for checker (#1906) (Yongxuanzhang) - [
6f1b53eb
] - enums: update docstring for enums (#1907) (Yongxuanzhang) - [
6bb0ede2
] - docstrings for cache driver (#1901) (cristian) - [
9f8543c2
] - excepts: update excepts docs (#1896) (Yongxuanzhang)
🍹 Other Improvements
- [
f7099663
] - rel-notes: upload new banner (#1909) (Alex Cureton-Griffiths) - [
2cead169
] - fix image position (Han Xiao) - [
9a94cd88
] - update readme image (Han Xiao) - [
7b658e1a
] - docs: update TOC (Jina Dev Bot) - [
089df05d
] - contributor: update contributors (Jina Dev Bot) - [
5ec92e21
] - update readme highlight (Han Xiao) - [
bd64bc18
] - update highlights (Han Xiao) - [
3bb84682
] - version: the next version will be 0.9.33 (Jina Dev Bot)
💫 Patch v0.9.32
Release Note (0.9.32
)
Release time: 2021-02-08 14:40:23
🙇 We'd like to thank all contributors for this new release! In particular,
Han Xiao, CatStark, cristian, Florian Hönicke, Jina Dev Bot, 🙇
🐞 Bug fixes
- [
7a4d894a
] - flow: pea/pod start on the Flow level should not block (#1902) (Han Xiao) - [
38383926
] - rename folder of doccache integration tests (#1898) (cristian)
🚧 Code Refactoring
📗 Documentation
🏁 Unit Test and CICD
🍹 Other Improvements
💫 Patch v0.9.31
Release Note (0.9.31
)
Release time: 2021-02-07 23:12:08
🙇 We'd like to thank all contributors for this new release! In particular,
Han Xiao, Deepankar Mahapatro, Sebastian Lettner, Yongxuanzhang, Jina Dev Bot, 🙇
🆕 New Features
- [
556a3c25
] - helloworld: add chatbot hello-world (#1894) (Han Xiao) - [
4008fa76
] - hub: expose jina version in hub list cli #1885 (#1890) (Deepankar Mahapatro)
🐞 Bug fixes
- [
b15f7c67
] - driver: compoundindexer should turn on is_merge (Han Xiao) - [
f0104b49
] - grpc: grpc closed too early (Han Xiao) - [
59b47255
] - cli: increase the default timeout-ready (#1893) (Han Xiao) - [
7265d211
] - daemon: remove all from endpoints (#1880) (Deepankar Mahapatro)
📗 Documentation
- [
b16b32bd
] - fix typos markdowns (#1882) (Sebastian Lettner) - [
b626cbbb
] - logging: update logging docstrings (#1889) (Yongxuanzhang)
🏁 Unit Test and CICD
🍹 Other Improvements
💫 Patch v0.9.30
Release Note (0.9.30
)
Release time: 2021-02-06 22:39:52
🙇 We'd like to thank all contributors for this new release! In particular,
Han Xiao, Maximilian Werk, CatStark, Jina Dev Bot, 🙇
🐞 Bug fixes
- [
a31a4750
] - driver: compoundindexer should turn on is_merge (#1888) (Han Xiao) - [
8aed8f61
] - driver: fix driver except handling (#1886) (Han Xiao)
🚧 Code Refactoring
📗 Documentation
- [
c5e275b2
] - updated optimizer docstrings (#1876) (Maximilian Werk) - [
4df6527c
] - docstring helloworld (#1874) (CatStark)
🍹 Other Improvements
💫 Patch v0.9.29
Release Note (0.9.29
)
Release time: 2021-02-06 00:30:35
🙇 We'd like to thank all contributors for this new release! In particular,
Han Xiao, Jina Dev Bot, Florian Hönicke, Joan Fontanals, Deepankar Mahapatro, Yongxuanzhang, cristian, Maximilian Werk, Bing @jina AI, 🙇
🆕 New Features
- [
3ae7639b
] - types: add visualization to doc type (#1884) (Han Xiao) - [
6f68b206
] - client: add sugary api for csv and ndjson (#1881) (Han Xiao)
🐞 Bug fixes
- [
c73d938b
] - types: fix extend in docset (#1883) (Han Xiao) - [
97c6b591
] - timeout can be negative (#1879) (Joan Fontanals) - [
28cc7c8a
] - daemon: set client timeout to args timeout_ready (#1864) (Deepankar Mahapatro) - [
52731fb1
] - close already started Peas when one of them fail to start (#1863) (Joan Fontanals) - [
1a64f41e
] - grpc: fix zmqlet lifetime in grpcRuntime (#1865) (Han Xiao) - [
c526d2a6
] - is_merge should be False by default (#1855) (cristian) - [
5c07c3ef
] - set proper default traversals (#1859) (Joan Fontanals) - [
a5bf1b6a
] - zmq: change identity from id to uuid (#1857) (Deepankar Mahapatro) - [
df3e99a5
] - default value of workspace dir (#1851) (Maximilian Werk)
🚧 Code Refactoring
- [
4e1db767
] - remove unique id (#1872) (Florian Hönicke) - [
e4e48b75
] - index performance (#1873) (Florian Hönicke) - [
5e2767a4
] - types: allow doc building from arbitrary json/dict (#1877) (Han Xiao) - [
a5c22132
] - cache runtime optimization (#1853) (Florian Hönicke) - [
5cbe03c2
] - remove groundtruth from update (#1858) (Florian Hönicke) - [
4dbf094b
] - empty query handler is not an issue anymore (#1844) (Florian Hönicke)
📗 Documentation
- [
8af7c414
] - segmenter: improve segmenter docstring (#1866) (Joan Fontanals) - [
1b8bd6e3
] - docstrings for pods and peas (#1867) (Joan Fontanals) - [
2189fa2c
] - flow: remove extra param in base docs (#1838) (Yongxuanzhang) - [
e2fc6467
] - jaml: add missing param cls (#1839) (Yongxuanzhang)
🏁 Unit Test and CICD
- [
4e218e86
] - dashboard: send event for version update (#1870) (Deepankar Mahapatro) - [
d9dabdff
] - rest: added redoc docs for rest gateway (#1860) (Deepankar Mahapatro)
🍹 Other Improvements
- [
0cec503d
] - fix readme section header (Han Xiao) - [
600e4c85
] - update readme section header (Han Xiao) - [
4ae17dda
] - fix image in readme (Han Xiao) - [
24e2ada5
] - contributor: update contributors (Jina Dev Bot) - [
49a44579
] - update readme (Han Xiao) - [
36292e32
] - rest gateway script (#1856) (Deepankar Mahapatro) - [
c043c25a
] - update readme copyright (#1854) (Bing @jina AI) - [
d8f002a8
] - docs: update TOC (Jina Dev Bot) - [
ac122d90
] - style: reformatted by jina-dev-bot (Jina Dev Bot) - [
106a4731
] - version: the next version will be 0.9.29 (Jina Dev Bot)
💫 Patch v0.9.28
Release Note (0.9.28
)
Release time: 2021-02-03 22:09:02
🙇 We'd like to thank all contributors for this new release! In particular,
Han Xiao, Deepankar Mahapatro, Joan Fontanals, Florian Hönicke, Jina Dev Bot, 🙇
🆕 New Features
🐞 Bug fixes
- [
23090e01
] - types: fix repr and str magic methods (#1852) (Han Xiao) - [
5c68831e
] - helper: fix yaml path check (#1850) (Han Xiao) - [
26f31e3e
] - indexer: set default key_length to 16 (#1840) (Han Xiao)
🚧 Code Refactoring
- [
11eb7c9d
] - docCache signature fix (#1842) (Joan Fontanals) - [
87d296ba
] - use iterable (#1843) (Florian Hönicke) - [
39116ee8
] - doc.id can now be arbitrary string (#1837) (Han Xiao)
📗 Documentation
- [
f24c4f8b
] - readme: add CRUD to the top section of the get-started (#1841) (Han Xiao) - [
ba4cea32
] - crud vector kv indexer (#1814) (Florian Hönicke)
🏁 Unit Test and CICD
🍹 Other Improvements
💫 Patch v0.9.27
Release Note (0.9.27
)
Release time: 2021-02-02 18:46:34
🙇 We'd like to thank all contributors for this new release! In particular,
Jina Dev Bot, 🙇
🍹 Other Improvements
- [
5a777fa4
] - version: the next version will be 0.9.27 (Jina Dev Bot)