Allow more new api in stable releases

Discussion among members of the development team.

Moderator: Forum Moderators

User avatar
octalot
Developer
Posts: 541
Joined: July 17th, 2010, 7:40 pm
Location: Austria

Re: Allow more new api in stable releases

Post by octalot »

gfgtdf wrote: July 18th, 2020, 5:41 pm This would require adding a functionality to store multiple versions of addons on the addon server so that players with older wesnoth versions could then download the older version that doesn't require new features.
For multiplayer, that would have to be based on the other players' versions too. If the UMC author wants both the old and new versions of their multiplayer add-on to be available, I think they should publish the two versions as separate add-ons. That way it's easy for all players to join a host with the old version, or for a host with the new version to rehost if a player with only the old version requests before the game starts.
User avatar
Celtic_Minstrel
Developer
Posts: 1767
Joined: August 3rd, 2012, 11:26 pm
Location: Canada
Contact:

Re: Allow more new api in stable releases

Post by Celtic_Minstrel »

I don't think it's a straight up bad idea to add new features to stable, but I would say you should probably only add small features. Supporting a new type of widget in the Lua dialog system, or anything that's pure Lua in implementation, are probably find. Major new features are definitely not okay. And of course anything that changes syntax or keys should probably be avoided, but if added must have a compatibility path so the old syntax continues to work.
Author of The Black Cross of Aleron campaign and Default++ era.
Maintainer of Steelhive.
Post Reply