Skip to content

Runtime version requirements #101

@chklauser

Description

@chklauser

A meta entry in the application's meta table specifies the versions of the Prexonite runtime that will be able to execute the application's code.

Prior to running any code from an application, the Prexonite runtime MUST check whether its version satisfies the runtime version requirements stored in a meta entry in the applications meta table.

If it does not satisfy the runtime version requirements, it MUST throw an IncompatibleVersion exception.

The runtime MUST also check the runtime version requirements when running initialization or build code.

Suggested meta keys:

  • runtime\version

There should be two ways to specify the version:

  • runtime\version "1.2.2.0"; runtime version must be at least 1.2.2.0
  • runtime\version "1.2"; runtime version must be at least 1.2.0.0 (missing parts added)
  • runtime\version {"1.2.2","1.2.3"}; runtime must be at least 1.2.2.0 and below 1.2.4.0
  • runtime\version {"1.2.2.0", "1.2.3.0"}; runtime must be at least 1.2.2.0 and below 1.2.3.1

Other formats might be supported in the future.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions