Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Implement Lua API version #1591

Open
Open
Labels
enhancementNew feature or request
@Lpsd

Description

As briefly discussed in #1459, we should implement a Lua API version which is set via meta.xml.

We always want to ensure backwards-compatibility when making changes to code, however this may prevent us from:

  1. Keeping code clean
  2. Making "beneficial" changes (that would break backwards-compatibility)

An example of this is with CEGUI, where functionality in newer versions may differ from the version we're currently using. By default, we'll ensure everything looks/feels and functions the same as before, however this may prevent new features/changes in CEGUI being used (or at least implemented cleanly).

The server/resource should decide if they care about backwards-compatibility over improved functionality.

Another example may be when "extended" function alternatives have been suggested (#638) - instead of adding a separate function we'd simply allow them to set the API version specifically for this function, e.g:

<api name="setElementData" version="123" />

I haven't really thought about how exactly this will be implemented or configured via meta.xml, so input here would be great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /