All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
0.8.0 - 2021-11-01
- Add previous exception to the Twirp error for client errors (thanks @bakins)
- Nix based developer environment
- V7 spec support
- Breaking change: Resource exhausted error is now returned as HTTP 429. Read more in the v7 specification.
- Updated Go dependencies
- Updated PHP dependencies
- Updated tools (PHP CS Fixer, PHPStan, Psalm)
- Moved the runtime library to
lib/
subdirectory fromphp/
- Improved GitHub integrations (issue templates, support template, security policy, etc)
- Docker based developer environment (use Nix or install Go, PHP and Composer using your preferred method)
0.7.5 - 2021-08-26
- Support for proto3 field presence (optional fields)
0.7.4 - 2021-07-31
- Fix TypeError when exceptions with string error codes are thrown
- Adjust generated code comment to auto-collapse in GitHub diffs
0.7.2 - 2021-05-12
- Fix segfault when input proto file does not specify options
- Fix namespacing bug when importing other proto files
0.7.1 - 2021-04-21
- Fix release workflow
0.7.0 - 2021-04-21
- Custom prefix support
- Rewritten generator based on v2 Go Protobuf library
- Ignore unknown fields for JSON
0.6.0 - 2020-09-02
- Generated JSON client stub for development purposes
0.5.3 - 2019-08-20
- Panic when no options were found in a proto file
0.5.2 - 2019-05-16
- Generated TwirpError interface implementation
0.5.1 - 2019-04-17
- Windows build
0.5.0 - 2019-04-17
- Drop PHP 5.6 support
- Use PSR-15, PSR-17, PSR-18
- Server checking the URL prefix
0.4.0 - 2018-06-28
- Server class to the shared library
- The builtin generated error now receives the previous exceptions
- Replace the error system with native PHP exceptions
- Wrong type hint (
ServerHook
)
- Generated server class
- Common
TwirpServer
class - Common
TwirpClient
class
0.3.2 - 2018-06-26
- Composer conflict for protobuf versions lower than 3.5
- Add missing break statements
- Fix wrong method name
0.3.1 - 2018-05-02
- Goreleaser build
0.3.0 - 2018-05-01
- Compiler name and version to the generated files
- Message factory is not invoked in the client constructor
0.2.1 - 2018-04-26
- Packr
0.2.0 - 2018-04-26
- Preview release
0.1.1 - 2018-04-14
- Improve release workflow
- Initial release