noledgebin / frontend

NoledgeBin is a zero-knowledge pastebin
https://andinus.unfla.me/noledgebin/
GNU Affero General Public License v3.0
1 stars 1 forks source link

Preserving backwards compatibility #18

Open andinus opened 2 years ago

andinus commented 2 years ago

As seen here: https://github.com/noledgebin/frontend/pull/12

We've broken previously generated URLs twice. Breaking those was important to be able to improve it but moving forward we should try to avoid such breaking changes.

I suggest we store a "version" property for each paste and after decrypting, we could proceed as per the "version". So, if we have to make a breaking change to improve, we would do so by incrementing "version" and not breaking previously generated URLs.