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.
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.