2.0.0
Is here with a complete overhaul. From the pre-compiled tor
resources provided
by kmp-tor-resource, to kmp-tor itself. Support has
been added for more Jvm linux architectures, and there is now support for Kotlin/Native.
kmp-tor-resource has by-far been the largest task, migrating away
from tor-browser-build
and taking ownership of the compilation process.
All capabilities of 1.x.x
is available in 2.0.0
. There are far too many changes to list;
nothing survived from 1.x.x
. Operationally, 2.0.0
is far better tested with a more friendly
API and allows for more easily adding things.
In order to make this refactor possible, several Kotlin Multiplatform support libraries were needed to be built out. It has been a great experience. Enjoy!
- See kmp-tor#README for initial setup.
- This can be done while still using
1.x.x
dependencies w/o a conflict, as dependency coordinates and package names are all different.
- This can be done while still using
- Migrate your old
TorManager
configuration to the newTorRuntime.BuilderScope
APIs. - Migrate your old
TorEvent.Listener
implementations to the newTorEvent.Observer
APIs. - Migrate your old
TorManagerEvent.Listener
implementations to the newRuntimeEvent.Observer
APIs. - Refer to the kmp-tor-samples project.
- I apologize in advance, but it was necessary to rip the band-aid off.