Repository navigation
v1.4.4
This release contains bug-fixes for a single function.
"github.com/jhump/protoreflect/desc/protoparse"
Changes/fixes:
- The
ResolveFilenamesfunction previously expected file paths to always be relative to the process's current working directory. However, correct behavior (modeled afterprotoc) is to also allow file paths to be relative to one of the import paths. This has been fixed: file paths are only assumed to be relative to cwd when no such file exists that is relative to one of the import paths. - The
ResolveFilenamesfunction could get confused if provided paths that included symbolic links. When deciding whether or not one absolute path is a descendant of another (part of its logic to relate file paths with their corresponding import path), paths will now be canonicalized by resolving symbolic links.