Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.

Go 1.13 support #26

Merged
merged 2 commits into from
Jun 27, 2019
Merged

Go 1.13 support #26

merged 2 commits into from
Jun 27, 2019

Conversation

perj
Copy link
Owner

@perj perj commented Jun 14, 2019

Turns out #25 didn't need any fix, because the default behavior was reverted in golang/go#31857.

But plugins didn't work on go 1.13. Now we use the previously unused go module path, directly compiling the plugin directory. That requires it to be package main which means it's yet another backwards incompatible change. Might need to do a 2.0 release soon now.

perj added 2 commits June 14, 2019 13:06
Go 1.13 doesn't like the temporary directories, and they were always
quite the hack anyway. Rework it so it simply loads the compiled dynamic
objects.

This is a backwards incompatible change, because the plugin must now be
a main package rather than anything else. But I don't think there's any
other easy way to support plugins on 1.13 so I will go for this. It's
more evidence that the next release should probably be called 2.0
regardless of its size.
Probably we should just drop non-module support instead. If the next
release is 2.0 then I will do that.
@perj perj merged commit e5a835e into master Jun 27, 2019
@perj perj deleted the go1.13 branch June 27, 2019 10:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant