std.json API broken without notice

Vladimir Panteleev vladimir at thecybershadow.net
Sat Mar 8 20:08:22 PST 2014


On Sunday, 9 March 2014 at 03:58:31 UTC, Andrei Alexandrescu 
wrote:
> std.json broke backward compatibility, starting with 
> https://github.com/D-Programming-Language/phobos/commit/1958c95666b0241d669d282806e4f724fbb37caf.

Pull request link with discussion:
https://github.com/D-Programming-Language/phobos/pull/1421

> There's even no notice in the changelog of the breakage, which 
> is quite obvious by inspecting the diff.

Changelogs should be generated from pull requests, not Bugzilla 
issues anyway.
https://d.puremagic.com/issues/show_bug.cgi?id=12240

> This is a serious matter because it broke production code. Was 
> there a reason for the breakage? We should make sure breaking 
> changes are avoided or get a lot of scrutiny if they are really 
> necessary.

I don't think it was an intentional change, rather a mundane 
regression. Could you post the affected code?

> I wonder how we can improve the process to avoid such issues in 
> the future.

Make it easy for individuals and companies to set up CI servers 
which automatically test their projects with beta versions of D?


More information about the Digitalmars-d mailing list