Skip to content

Commit f414ef4

Browse files
authored
chore(release): prepare for v0.7.3 (#63)
1 parent aea41bd commit f414ef4

File tree

18 files changed

+300
-219
lines changed

18 files changed

+300
-219
lines changed

.chglog/CHANGELOG.tpl.md

Lines changed: 0 additions & 30 deletions
This file was deleted.

.chglog/config.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/workflows/linelint.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one
3+
# or more contributor license agreements. See the NOTICE file
4+
# distributed with this work for additional information
5+
# regarding copyright ownership. The ASF licenses this file
6+
# to you under the Apache License, Version 2.0 (the
7+
# "License"); you may not use this file except in compliance
8+
# with the License. You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing,
13+
# software distributed under the License is distributed on an
14+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
# KIND, either express or implied. See the License for the
16+
# specific language governing permissions and limitations
17+
# under the License.
18+
#
19+
20+
name: linelint
21+
on: [push, pull_request]
22+
23+
jobs:
24+
linelint:
25+
runs-on: ubuntu-latest
26+
name: Check if all files end in newline
27+
steps:
28+
- name: Checkout
29+
uses: actions/checkout@v2
30+
- name: Linelint
31+
uses: fernandrone/[email protected]

.linelint.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# 'true' will fix files
2+
autofix: true
3+
4+
# list of paths to ignore, uses gitignore syntaxes (executes before any rule)
5+
ignore:
6+
- .git/
7+
8+
rules:
9+
# checks if file ends in a newline character
10+
end-of-file:
11+
# set to true to enable this rule
12+
enable: true
13+
14+
# set to true to disable autofix (if enabled globally)
15+
disable-autofix: false
16+
17+
# if true also checks if file ends in a single newline character
18+
single-new-line: true

.pre-commit-config.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one or more
3+
# contributor license agreements. See the NOTICE file distributed with
4+
# this work for additional information regarding copyright ownership.
5+
# The ASF licenses this file to You under the Apache License, Version 2.0
6+
# (the "License"); you may not use this file except in compliance with
7+
# the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
18+
# See https://pre-commit.com for more information
19+
# See https://pre-commit.com/hooks.html for more hooks
20+
21+
repos:
22+
- repo: https://github.com/pre-commit/pre-commit-hooks
23+
rev: v2.3.0
24+
hooks:
25+
- id: end-of-file-fixer
26+
- id: trailing-whitespace
27+
- repo: https://github.com/doublify/pre-commit-rust
28+
rev: v1.0
29+
hooks:
30+
- id: fmt
31+
- id: cargo-check
32+
- id: clippy

CHANGELOG.md

Lines changed: 60 additions & 106 deletions
Original file line numberDiff line numberDiff line change
@@ -1,140 +1,94 @@
1+
# Changelog
12

2-
<a name="v0.7.0"></a>
3-
## [v0.7.0](https://github.com/rsocket/rsocket-rust/compare/v0.6.0...v0.7.0) (2021-01-14)
3+
All notable changes to this project will be documented in this file.
44

5-
### Chore
5+
## [unreleased]
66

7-
* update deps ([#42](https://github.com/rsocket/rsocket-rust/issues/42))
8-
* config chglog ([#41](https://github.com/rsocket/rsocket-rust/issues/41))
9-
* use mkcert to generate TLS example certificates and keys ([#38](https://github.com/rsocket/rsocket-rust/issues/38))
10-
* add RSocket trait example in readme
11-
* fix readme
12-
* bump tokio to v0.3.6
13-
* **rustfmt:** optimize import ([#39](https://github.com/rsocket/rsocket-rust/issues/39))
7+
### Features
148

15-
### Feat
9+
- Support custom websocket request (#52)
10+
- Use rust 2021 edition (#54)
11+
- Add support for wss (TLS) connections for clients (#62)
1612

17-
* close connection correctly when client is dropped ([#40](https://github.com/rsocket/rsocket-rust/issues/40))
18-
* migrate to tokio v1
19-
* change transport api ([#35](https://github.com/rsocket/rsocket-rust/issues/35))
20-
* implment tls transport ([#31](https://github.com/rsocket/rsocket-rust/issues/31))
21-
* redesign RSocket trait based on async_trait
22-
* **request_response:** handle empty response correctly
13+
### Miscellaneous Tasks
2314

24-
### Fix
15+
- Use dependabot (#56)
16+
- Make clippy happy (#55)
2517

26-
* register client-side responder correctly ([#36](https://github.com/rsocket/rsocket-rust/issues/36))
27-
* simplify Option convert
28-
* remove useless examples
18+
## [0.7.2] - 2021-09-01
2919

20+
### Bug Fixes
3021

31-
<a name="v0.6.0"></a>
32-
## [v0.6.0](https://github.com/rsocket/rsocket-rust/compare/v0.5.3...v0.6.0) (2020-12-13)
22+
- Check send error
3323

34-
### Chore
24+
### Features
3525

36-
* prelease 0.6
37-
* upgrade deps
38-
* use gh actions instead of travis ([#22](https://github.com/rsocket/rsocket-rust/issues/22))
26+
- Use cfg_if and once_cell
27+
- Add some macros
28+
- Implemented cancel frame handling (#49)
3929

40-
### Feat
30+
### Miscellaneous Tasks
4131

42-
* implement client-side keepalive ([#25](https://github.com/rsocket/rsocket-rust/issues/25))
43-
* support tokio v0.3.x ([#23](https://github.com/rsocket/rsocket-rust/issues/23))
32+
- Upgrade version to 0.7.1
33+
- Update examples
34+
- Upgrade deps
35+
- Update dependencies for readme (#46)
36+
- Update example code in readme (#47)
37+
- Upgrade to 0.7.2 (#50)
4438

45-
### Fix
39+
## [0.7.0] - 2021-01-14
4640

47-
* convert bytes to utf8 safely ([#27](https://github.com/rsocket/rsocket-rust/issues/27))
48-
* optimize bytes write action ([#24](https://github.com/rsocket/rsocket-rust/issues/24))
41+
### Bug Fixes
4942

50-
### Refactor
51-
52-
* use thiserror & anyhow as error struct ([#20](https://github.com/rsocket/rsocket-rust/issues/20))
53-
54-
### Pull Requests
55-
56-
* Merge pull request [#19](https://github.com/rsocket/rsocket-rust/issues/19) from rsocket/develop
57-
58-
59-
<a name="v0.5.3"></a>
60-
## [v0.5.3](https://github.com/rsocket/rsocket-rust/compare/v0.5.2...v0.5.3) (2020-06-11)
61-
62-
### Pull Requests
63-
64-
* Merge pull request [#17](https://github.com/rsocket/rsocket-rust/issues/17) from rsocket/develop
65-
* Merge pull request [#16](https://github.com/rsocket/rsocket-rust/issues/16) from seal90/develop
43+
- Remove useless examples
44+
- Simplify Option convert
45+
- Register client-side responder correctly (#36)
6646

47+
### Features
6748

68-
<a name="v0.5.2"></a>
69-
## [v0.5.2](https://github.com/rsocket/rsocket-rust/compare/v0.5.1...v0.5.2) (2020-05-26)
49+
- Redesign RSocket trait based on async_trait
50+
- Handle empty response correctly
51+
- Implment tls transport (#31)
52+
- Change transport api (#35)
53+
- Migrate to tokio v1
54+
- Close connection correctly when client is dropped (#40)
7055

71-
### Pull Requests
56+
### Miscellaneous Tasks
7257

73-
* Merge pull request [#14](https://github.com/rsocket/rsocket-rust/issues/14) from rsocket/feature/messaging
74-
* Merge pull request [#11](https://github.com/rsocket/rsocket-rust/issues/11) from kuronyago/feature/wasm_fire_and_forget
75-
* Merge pull request [#9](https://github.com/rsocket/rsocket-rust/issues/9) from kuronyago/docs/readme_for_websocket_example
58+
- Bump tokio to v0.3.6
59+
- Fix readme
60+
- Add RSocket trait example in readme
61+
- Use mkcert to generate TLS example certificates and keys (#38)
62+
- Optimize import (#39)
63+
- Config chglog (#41)
64+
- Update deps (#42)
7665

66+
## [0.6.0] - 2020-12-13
7767

78-
<a name="v0.5.1"></a>
79-
## [v0.5.1](https://github.com/rsocket/rsocket-rust/compare/v0.5.0...v0.5.1) (2020-04-06)
68+
### Bug Fixes
8069

81-
### Pull Requests
70+
- Optimize bytes write action (#24)
71+
- Convert bytes to utf8 safely (#27)
8272

83-
* Merge pull request [#8](https://github.com/rsocket/rsocket-rust/issues/8) from rsocket/develop
73+
### Features
8474

75+
- Support tokio v0.3.x (#23)
76+
- Implement client-side keepalive (#25)
8577

86-
<a name="v0.5.0"></a>
87-
## [v0.5.0](https://github.com/rsocket/rsocket-rust/compare/v0.4.0...v0.5.0) (2020-02-22)
78+
### Miscellaneous Tasks
8879

89-
### Pull Requests
80+
- Use gh actions instead of travis (#22)
81+
- Upgrade deps
82+
- Prelease 0.6
9083

91-
* Merge pull request [#6](https://github.com/rsocket/rsocket-rust/issues/6) from rsocket/improve/pick_transport
84+
### Refactor
9285

86+
- Use thiserror & anyhow as error struct (#20)
9387

94-
<a name="v0.4.0"></a>
95-
## [v0.4.0](https://github.com/rsocket/rsocket-rust/compare/v0.3.0...v0.4.0) (2019-12-24)
88+
## [0.4.0] - 2019-12-24
9689

9790
### Bugfix
9891

99-
* response payload of REQUEST_RESPONSE will be sent with NEXT|COMPLETE flag.
100-
101-
### Pull Requests
102-
103-
* Merge pull request [#4](https://github.com/rsocket/rsocket-rust/issues/4) from rsocket/develop
104-
105-
106-
<a name="v0.3.0"></a>
107-
## [v0.3.0](https://github.com/rsocket/rsocket-rust/compare/v0.2.0...v0.3.0) (2019-12-04)
108-
109-
### Pull Requests
110-
111-
* Merge pull request [#3](https://github.com/rsocket/rsocket-rust/issues/3) from rsocket/feature/routing_metadata
112-
113-
114-
<a name="v0.2.0"></a>
115-
## [v0.2.0](https://github.com/rsocket/rsocket-rust/compare/v0.1.5...v0.2.0) (2019-11-29)
116-
117-
### Pull Requests
118-
119-
* Merge pull request [#2](https://github.com/rsocket/rsocket-rust/issues/2) from rsocket/feature/async_await
120-
121-
122-
<a name="v0.1.5"></a>
123-
## [v0.1.5](https://github.com/rsocket/rsocket-rust/compare/v0.1.4...v0.1.5) (2019-10-08)
124-
125-
126-
<a name="v0.1.4"></a>
127-
## [v0.1.4](https://github.com/rsocket/rsocket-rust/compare/v0.1.3...v0.1.4) (2019-09-06)
128-
129-
130-
<a name="v0.1.3"></a>
131-
## [v0.1.3](https://github.com/rsocket/rsocket-rust/compare/v0.1.2...v0.1.3) (2019-09-03)
132-
133-
134-
<a name="v0.1.2"></a>
135-
## [v0.1.2](https://github.com/rsocket/rsocket-rust/compare/v0.1.0...v0.1.2) (2019-09-02)
136-
137-
138-
<a name="v0.1.0"></a>
139-
## v0.1.0 (2019-08-29)
92+
- Response payload of REQUEST_RESPONSE will be sent with NEXT|COMPLETE flag.
14093

94+
<!-- generated by git-cliff -->

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ Add dependencies in your `Cargo.toml`.
2222
```toml
2323
[dependencies]
2424
tokio = "1.0.3"
25-
rsocket_rust = "0.7.2"
25+
rsocket_rust = "0.7.3"
2626

2727
# add transport dependencies:
28-
# rsocket_rust_transport_tcp = "0.7.2"
29-
# rsocket_rust_transport_websocket = "0.7.2"
28+
# rsocket_rust_transport_tcp = "0.7.3"
29+
# rsocket_rust_transport_websocket = "0.7.3"
3030
```
3131

3232
### Server

0 commit comments

Comments
 (0)