Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge main into protocol changes #921

Merged
merged 148 commits into from
Apr 10, 2024
Merged

merge main into protocol changes #921

merged 148 commits into from
Apr 10, 2024

Conversation

milyin
Copy link
Contributor

@milyin milyin commented Apr 10, 2024

No description provided.

Mallets and others added 30 commits February 9, 2024 16:55
* Update Reply protocol definition and codec

* Make consolidation a flag in Query/Reply

* Fix wrong Consolidation cast in codec

* Apply Reply changes to routing

* Fix shared-memory feature

* Fix stats

* Bump Zenoh Protocol Version

* Add query/reply ok(put|del)/err() tests
* Update Reply protocol definition and codec

* Make consolidation a flag in Query/Reply

* Fix wrong Consolidation cast in codec

* Apply Reply changes to routing

* Fix shared-memory feature

* Fix stats

* Bump Zenoh Protocol Version

* Add query/reply ok(put|del)/err() tests

* Clean-up of code

* Default CongestionControl for Push is Drop

* Fix Priority::DEFAULT typo

* Define DEFAULT consts

* ConsolidationMode moved into the API

* Remove unused Ack message

* Fix Ack leftovers

* CongestionControl::DEFAULT

* QoSType::DEFAULT

* Mapping::DEFAULT

* Encoding::DEFAULT

* QueryTarget::DEFAULT

* NodeType::DEFAULT

* QueryableInfo::DEFAULT

* Remove ConsolidationMode from zenoh-protocol

* ConsolidationType::DEFAULT

* Remove dead code

* Remove dead code

* Move SampleKind to sample.rs

* Cleanup SubMode

* Cleanup QueryTarget

* Remove emptyline
* Allow to DeclareInterest for any keyexpr

* Remove forgotten println
* ConsolidationMode rework

* Fix QueryConsolidation::DEFAULT
* Remove KnownEncoding enum and replace it with consts

* Fix no_std

* Encoding encoder (#746)

* Encoding contains a mapping

* Add forgotten file

* Provide default encoder

* Refine encoder

* Fix encoding codec

* Do not change the protocol representation

* Accept Cow<'static, str> in EncodingMapping trait

* Improve Value::Display

* Fix doctests

* Bump EncodingPrefix to u16. Add IANA encoding mapping.

* Improve doc

* Remove generic from Encoding::starts_with

* Remove Display impl for Encoding

* Improve doc

* Improve doc

* Improve encoding parsing

* Improve comments

* Improve doc

* Encoding suffix bitflag

* Encoder/Decoder traits take self

* Rename encoding() to with_encoding()

* Make Value, ZBuf, SingleOrVec empty() const

* Derive Encoder for &mut u* and i*

* Integers are encoded as le_bytes are not as string

* Integers are encoded as le_bytes are not as string

* Fix doctest

* Refine default encoding mapping

* IANA mapping starts from 1024

* Move IANA encoding to zneoh-ext

* Improve docs

* Improve DefaultEncoding

* Add From<String> for ZBuf

* Remove Value and Sample Display trait impl

* Encoder/Decoder operate on ZBuf

* Payload type. Put takes Into<Payload>.

* Flat sample Value to Payload and Encoding fields

* Add payload.rs

* Polish up Publication

* Add serde_cbor::Value as supported DefaultSerializer supported types

* Add serde_pickle::Value as supported DefaultSerializer supported types

* Add serde_yaml::Value as supported DefaultSerializer supported types

* Impl TryFrom<serde_*> for Payload

* Remove encoding folder

* Polish up Value and Encoding

* Fix doctest

* Fix some erroneous prelude usage

* Fix wrong typedef in publication

* Encoding Id and Schema

* Encoding Id and Schema

* Fix encoding w_len

* Wrapper type for Encoding

* Add forgotten file

* Expand Encoding consts and add doc

* Polish doc

* Polishing up Payload

* Add EncodingMapping trait

* Improve docs

* Add deserialize in examples

* Use deserialize in examples

* Remove encoding from zenoh-ext

* Add repr(transparent) to Payload

* Improve encoding doc
* New Subscribers EntityId behavior for clients and peers

* Improve routing logging

* New Queryables EntityId behavior for clients and peers

* Improve routing logging

* Use proper QueryableId in Session and AdminSpace

* Sessions use runtime Id generator to avoid collisions

* AdminSpace use runtime Id generator to avoid collisions

* Use proper ResponderId

* Define EntityId type

* Add source_eid to SourceInfo

* Update source_info_stack_size test

* Update source_info_stack_size test

* Introduce EntityGlobalId type

* Add id() function to Subscriber, Queryable and Publisher

* Add Publication::with_source_info() function

* Code format

* Remove ref to PR #703

* Fix doctests

* Add comments

* Remove comments
* refactor Query.reply() into seprate methods:reply, reply_del and reply_err

* explain #[allow(unused_mut)];
replace unwrap  on KeyxExpr.try_from with ? as it was originally for Sample in zenoh/tests/routing.rs

* mark Query.reply_sample as unstable

* format fix
* build plugins with default zenoh features

* update documentation to the new api for keformat's generated Parsed (#783)

* fix: Relax dependency requirements (#758)

- async-io
- unix-named-pipe
- filepath
- advisory-lock

* feat: Improve release workflow (#756)

* wip: Improve Release workflow

* feat: Add DockerHub & GHCR releases

* feat: Refactor checks and tests into pre-release workflow

* chore: Remove crates_check.sh and crates_publish.sh

* fix: Remove Dockerfile

* restore SN in case of frame drops caused by congestion control (#815)

* remove Publisher::write

* test fix

* remove unrelated changes added by rebasing

---------

Co-authored-by: Pierre Avital <[email protected]>
Co-authored-by: Mahmoud Mazouz <[email protected]>
Co-authored-by: Dmitrii Bannov <[email protected]>
* fix(828): ensuring valid JSON response from REST API

Signed-off-by: gabrik <[email protected]>

* fix(828): improved JSON format conversion

Signed-off-by: gabrik <[email protected]>

* chore: addressing comments

Signed-off-by: gabrik <[email protected]>

* fix(828): added 'into_string' for StringOrBase64

Signed-off-by: gabrik <[email protected]>

* chore: address comments

Signed-off-by: gabrik <[email protected]>

---------

Signed-off-by: gabrik <[email protected]>
* Improve docs

* Add express to examples

* Fix doc in sample.rs
* Rebase on protocol_changes

* Fix rebase conflict
* Remove Pull subscriber

* Fix doctest. Remove unused code.

* Remove routing code for pull subscriptions

* Remove pull mode from DeclareSubscriber

* Remove unsupported Put/Del in Request/Response (#839)

* Address review comments

---------

Co-authored-by: OlivierHecart <[email protected]>
@milyin milyin merged commit ef24da3 into main Apr 10, 2024
9 of 13 checks passed
@milyin milyin deleted the protocol_changes_update2 branch April 10, 2024 16:08
@milyin milyin restored the protocol_changes_update2 branch April 10, 2024 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants