The version they contributed to is still available under the same permissive license that was in effect when they were contributing the code.
The license change only affects the code written in the future and now people can change their mind about contributing.
That seems fair to me.
Maybe you think that morally the license should never change but there is no clause in the license to prevent changing the license, so that would not be a reasonable expectation.