Closed
Description
Gateway.Writable
is opt-in, enables very old legacy code that has no specs.
We plan to eventually create specs for onboarding data over HTTP POST and PUT (ipfs/specs#375) but it will not happen any time soon.
We are extracting things that have specs to the reference library (#8524), but the code behind Gateway.Writable
should stay in Kubo (or be removed until we re-introduce something with a a spec).
Deprecation plan
- Replace
Gateway.Writable
with optionalFlag
to remove it from the default config created byipfs init
. - See if we can do a civilized deprecation period and NOT break users in Kubo 0.19
- (soft deprecation) If possible, keep it working (move handlers for
Gateway.Writable
tokubo/core/corehttp/
for now)- If user has it enabled, display deprecation error during daemon start
- (hard removal) if there is no other way
- If user has it enabled, display hard error informing about removal, asking them to remove Gateway.Writable from config
Examples of deprecation notices
Ref. https://github.com/ipfs/kubo/blob/master/docs/config.md#gatewaywritable