Skip to content

Releases: jina-ai/serve

💫 Patch v1.0.2

19 Feb 12:31
6bf1d20
Compare
Choose a tag to compare

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

🏁 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

  • [e7588031] - contributor: update contributors (Jina Dev Bot)
  • [aedb2940] - style: reformatted by jina-dev-bot (Jina Dev Bot)
  • [caaf59c8] - docs: update TOC (Jina Dev Bot)
  • [d79585ac] - version: the next version will be 1.0.2 (Jina Dev Bot)

💫 Patch v1.0.1

14 Feb 23:13
Compare
Choose a tag to compare

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

10 Feb 09:25
Compare
Choose a tag to compare

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 into jina as the daemon 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. Remove skip-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 using pea_workspace, shard_workspace is defined based on workspace, name and pea_id. Set workspace metas default to None. Introduce root_workspace and root_name to resolve workspace issue in CompoundExecutor and ref_indexer. Use complete_path to find uses_internal resource to bind to docker when spinning up a pea in a container; Remove pea_workspace and replace current_workspace with shard_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

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 and buffer 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 in jina.proto; delete API of Flow accepts a sequence of Documents IDs instead of Documents; add docs and groundtruths fields in DeleteRequestProto; replace to_response method with as_response in Request class; replace to_json method with json in Request 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 use str as keys; Replace query_by_id with query_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 to DocCache #1831, #1898
  • Unify naming protobuf object to .proto; replace as_pb_object with proto for Message; replace proto in BaseNdArray, NdArray, SparseNdArray with _pb_body to avoid misunderstanding; replace _querylang with _pb_body in QueryLang; replace _request with _pb_body in Request; replace _score with _pb_body in NamedScore #1847
  • Remove groundtruths from UpdatedRequestProto #1858
  • Remove UniqueId #1872

📗 Documentation

🐞 Bug Fixes and Other Changes

Flow

  • Fix log streaming from remote for JinadRuntime #1584
  • Force set separated_workspace=False if parallel==1 #1682
  • Remove random identity assignment for Peas and HeadPea. #1755
  • Add new property workspace_id for BaseFlow #1761
  • Add new property identity for BaseFlow #1766
  • Improve arguments of index_lines and search_lines and make them consistent. #1778
  • Fix bug in terminati...
Read more

💫 Patch v0.9.33

09 Feb 10:45
f709966
Compare
Choose a tag to compare

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

  • [3b20fb46] - added base embedding evaluator (#1875) (Maximilian Werk)

🐞 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

08 Feb 14:41
7a4d894
Compare
Choose a tag to compare

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

  • [1c7ba358] - fix test in flow, add back hw result check (#1897) (Han Xiao)

🍹 Other Improvements

  • [31991f22] - update readme image (Han Xiao)
  • [342d9f8a] - docs: update TOC (Jina Dev Bot)
  • [0b5ca8bc] - contributor: update contributors (Jina Dev Bot)
  • [d30a1d67] - version: the next version will be 0.9.32 (Jina Dev Bot)

💫 Patch v0.9.31

07 Feb 23:12
Compare
Choose a tag to compare

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

  • [b967c006] - add fixed ref for workflow dispatch event (#1892) (Deepankar Mahapatro)

🍹 Other Improvements

  • [b1329543] - update readme image (Han Xiao)
  • [f615c3b9] - update readme (Han Xiao)
  • [529e10ea] - docs: update TOC (Jina Dev Bot)
  • [0c7d397a] - contributor: update contributors (Jina Dev Bot)
  • [77c76678] - version: the next version will be 0.9.31 (Jina Dev Bot)

💫 Patch v0.9.30

06 Feb 22:40
a31a475
Compare
Choose a tag to compare

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

  • [6716be28] - driver: set default len 36, move check to driver (#1887) (Han Xiao)

📗 Documentation

🍹 Other Improvements

  • [130c046d] - add page break between section (Han Xiao)
  • [c7bcbcdb] - fix typo in readme (Han Xiao)
  • [ab3598dc] - version: the next version will be 0.9.30 (Jina Dev Bot)

💫 Patch v0.9.29

06 Feb 00:31
0cec503
Compare
Choose a tag to compare

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

03 Feb 22:09
23090e0
Compare
Choose a tag to compare

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

  • [8ca3ba91] - types: add proper str and repr to jina types (#1847) (Han Xiao)

🐞 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

📗 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

  • [24696b9e] - rest: added redoc docs for rest gateway (#1846) (Deepankar Mahapatro)

🍹 Other Improvements

  • [66829d18] - Revert "ci(rest): added redoc docs for rest gateway (#1846)" (#1849) (Han Xiao)
  • [b295c561] - docs: update TOC (Jina Dev Bot)
  • [ea729556] - contributor: update contributors (Jina Dev Bot)
  • [db9e1f11] - version: the next version will be 0.9.28 (Jina Dev Bot)

💫 Patch v0.9.27

02 Feb 18:47
Compare
Choose a tag to compare

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)