Skip to content

0.11.0

Compare
Choose a tag to compare
@kshchepanovskyi kshchepanovskyi released this 02 Sep 11:29
· 26 commits to master since this release
v0.11.0

This release contains multiple fixes and improvements:

  • #104: Bundle full protobuf sources archive with plugin. Fixes #86.
    Following imports now will be resolved automatically:

    google/protobuf/empty.proto
    google/protobuf/api.proto
    google/protobuf/wrappers.proto
    google/protobuf/descriptor.proto
    google/protobuf/timestamp.proto
    google/protobuf/type.proto
    google/protobuf/source_context.proto
    google/protobuf/struct.proto
    google/protobuf/duration.proto
    google/protobuf/field_mask.proto
    google/protobuf/any.proto
    google/protobuf/compiler/plugin.proto
    
  • #75: Fix NullPointerException on reset plugin settings without open project.

  • #76: Fix resolving references to types defined inside of extend block.

  • #100: Add support for php_namespace option.

  • #90: Add support for json_name option.

  • #105, #98, #84, #87, #83, #97: Improve imports resolution.
    Plugin tries to resolve imports relative to source file's location using following rules:

    1. Try to look in the same folder where source file is.
    2. Try to look from parent folder.
    3. Repeat step 2 until reference is resolved or there's no parent folder anymore.

    Max nesting level is 10.

  • #96: Add support for reserved keyword inside of enums.

  • #109: Fixed errors reporting in 2018.2 IDEs.

Change IDE compatibility to 2018.2 and higher versions.