You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+27Lines changed: 27 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,33 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
- Versions suffixed with `b*` are in `beta` and can be installed with `pip install --pre betterproto`.
9
+
10
+
## [2.0.0b1] - 2020-07-04
11
+
12
+
[Upgrade Guide](docs\upgrading.md)
13
+
14
+
> Several bugfixes and improvements required or will require small breaking changes, necessitating a new version.
15
+
> `2.0.0` will be released once the interface is stable.
16
+
17
+
Improvements:
18
+
19
+
- Add support for gRPC **stream-unary** and **stream-stream**[#83](https://github.com/danielgtaylor/python-betterproto/pull/83)
20
+
21
+
- Switch from `pipenv` to `poetry` for development
22
+
23
+
Fixes:
24
+
25
+
- Import and package related bugs:
26
+
- No arguments are generated for stub methods when using import with proto definition [#23](https://github.com/danielgtaylor/python-betterproto/issues/23)
27
+
- two packages with the same name suffix should not cause naming conflict [#25](https://github.com/danielgtaylor/python-betterproto/issues/25)
28
+
- Import child package from root [#57](https://github.com/danielgtaylor/python-betterproto/issues/57)
29
+
- Import child package from package [#58](https://github.com/danielgtaylor/python-betterproto/issues/58)
30
+
- Import parent package from child package [#59](https://github.com/danielgtaylor/python-betterproto/issues/59)
31
+
- Import root package from child package [#60](https://github.com/danielgtaylor/python-betterproto/issues/60)
32
+
- Import root package from root [#61](https://github.com/danielgtaylor/python-betterproto/issues/61)
33
+
- ALL_CAPS message fields are parsed incorrectly. [#11](https://github.com/danielgtaylor/python-betterproto/issues/11)
34
+
8
35
## [1.2.5] - 2020-04-27
9
36
10
37
- Add .j2 suffix to python template names to avoid confusing certain build tools [#72](https://github.com/danielgtaylor/python-betterproto/pull/72)
Copy file name to clipboardExpand all lines: README.md
+27-6Lines changed: 27 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ This project exists because I am unhappy with the state of the official Google p
40
40
41
41
This project is a reimplementation from the ground up focused on idiomatic modern Python to help fix some of the above. While it may not be a 1:1 drop-in replacement due to changed method names and call patterns, the wire format is identical.
42
42
43
-
## Installation & Getting Started
43
+
## Installation
44
44
45
45
First, install the package. Note that the `[compiler]` feature flag tells it to install extra dependencies only needed by the `protoc` plugin:
Join us on [Slack](https://join.slack.com/t/betterproto/shared_invite/zt-f0n0uolx-iN8gBNrkPxtKHTLpG3o1OQ)!
302
308
303
-
First, make sure you have Python 3.6+ and `poetry` installed, along with the official [Protobuf Compiler](https://github.com/protocolbuffers/protobuf/releases) for your platform. Then:
309
+
### Requirements
310
+
311
+
- Python (3.6 or higher)
312
+
313
+
-[protoc](https://grpc.io/docs/protoc-installation/) (3.12 or higher)
314
+
*Needed to compile `.proto` files and run the tests*
*Needed to install dependencies in a virtual environment*
318
+
319
+
- make ([ubuntu](https://www.howtoinstall.me/ubuntu/18-04/make/), [windows](https://stackoverflow.com/questions/32127524/how-to-install-and-use-make-in-windows), [mac](https://osxdaily.com/2014/02/12/install-command-line-tools-mac-os-x/))
320
+
321
+
*Needed to conveniently run development tasks.*
322
+
*Alternatively, manually run the commands defined in the [Makefile](./Makefile)*
323
+
324
+
### Setup
304
325
305
326
```sh
306
327
# Get set up with the virtual env & dependencies
@@ -310,7 +331,7 @@ poetry install
310
331
poetry shell
311
332
```
312
333
313
-
To benefit from the collection of standard development tasks ensure you have make installed and run `make help` to see available tasks.
334
+
Run `make help` to see all available development tasks.
0 commit comments