Skip to content

Releases: tokopedia/gripmock

v1.13

14 Mar 06:15
2d242b4
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.12...v1.13

Release v1.12.1-beta

23 Feb 07:26
Compare
Choose a tag to compare

What's Changed

  • fix: bug multi package #130
  • feat: reduce docker layer #131

Full changelog: v1.12...v1.12.1-beta

Release v1.12

17 Feb 03:58
edac53a
Compare
Choose a tag to compare

What's New

  • feat: support multiple stubs in a file #129

Full changelog: v1.11.1-beta...v1.12

Release v1.11.1-beta

23 Jun 04:11
e074e3e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.11-beta...v1.11.1-beta

Release v1.11-beta

15 Feb 09:54
559ec91
Compare
Choose a tag to compare

Motivation

This version is able to run gripmock without declaration of go_package in the .proto files

The changes will generate the declaration of it based on the .proto files provided. Since it only uses a simple bash script to do that, I will release this version as a beta release before making a stable release.

Changelist

fix_gopackage.sh is the core change here, it will insert the go_package declaration if none of the provided .protos has it. If one of them has it, it will return, if all of the files have it then will be skipped.
example/no-gopackage will provided an example also a test for this new feature.

Release v1.10

03 Aug 05:27
d2a71b0
Compare
Choose a tag to compare

Motivation

To comply with the current and future roadmap of grpc-go-plugin, we need to make go_package mandatory.
This will also change the behavior of gripmock when generating and executing go files.
This release will resolve issues #65 and #81.

Change list

  • Requiring go_package declaration
  • New generator logic to support go_package declaration

Release v1.9.0

03 Mar 07:31
e56862a
Compare
Choose a tag to compare

Features:

  • support OneOf syntax

Improvement:

  • replaced packr2 with pkger
  • migrated from depreciated protoc plugin lib to protogen
  • use jsonpb to marshal stubs to response messages
  • switched over to go modules
  • Readme grammar fix

Bugfixes:

  • fixes to address the well_known_type test failure. The cause of the issue was that the keyword type was making it into an import alias in the server.tmpl file.

Release v1.8.2

03 Aug 12:19
9315ff9
Compare
Choose a tag to compare

Bugfix:

  • Fix field error with _ in proto file. #52
  • Fix crash when running multiple proto files. #45

Release v0.8.1

23 Jan 04:14
Compare
Choose a tag to compare

Patch:

  • update dependencies

v0.8

03 Oct 05:07
2e2ebc7
Compare
Choose a tag to compare

Features:

  • support multi package of proto files
  • support go_package with alias

Improvement:

  • add integration test using actions
  • change docker upstream to tkpd/gripmock

Bugfix:

  • fix empty go package