-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #99 from boukeversteegh/release-v2.0.0b1
Release v2.0.0b1
- Loading branch information
Showing
4 changed files
with
66 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Upgrade Guide | ||
|
||
## [1.2.5] to [2.0.0b1] | ||
|
||
### Updated package structures | ||
|
||
Generated code now strictly follows the *package structure* of the `.proto` files. | ||
Consequently `.proto` files without a package will be combined in a single `__init__.py` file. | ||
To avoid overwriting existing `__init__.py` files, its best to compile into a dedicated subdirectory. | ||
|
||
Upgrading: | ||
|
||
- Remove your previously compiled `.py` files. | ||
- Create a new *empty* directory, e.g. `generated` or `lib/generated/proto` etcetera. | ||
- Regenerate your python files into this directory | ||
- Update import statements, e.g. `import ExampleMessage from generated` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "betterproto" | ||
version = "1.2.5" | ||
version = "2.0.0b1" | ||
description = "A better Protobuf / gRPC generator & library" | ||
authors = ["Daniel G. Taylor <[email protected]>"] | ||
readme = "README.md" | ||
|