Skip to content
vjrj edited this page Oct 13, 2022 · 50 revisions

TOC

Introduction

This is a simple list of LA components, dependencies and version constraints.

This page specify version numbers and version constraints in a similar way that pub.dev and other software packages do.

Uses

This list can be used as documentation to give some recommendations during LA portal upgrades.

But this information is also specially useful as a source for software or packaging dependencies specification. Some screenshots from the la-toolkit:

Syntax used

The structure of this list is like this:

  • some-module-name (version constraint): dependency (version constraint), another-dependency (version constraint), ...
  • some-module-name (other version constraint): dependency (other version constraint)

Versions constraints syntax

  • any: any version.
  • ^ followed by a version string. Versions compatible with the version. Example: ^1.0.0 allows any version from 1.0.0 to 2.0.0 (but not including 2.0.0).
  • a series of version parts. Each part can be one of:
    • A version string like 1.2.3.
    • A comparison operator (<, >, <=, or >=) followed by a version string.

Examples of versions:

  • any
  • ^0.7.2
  • ^1.0.0
  • 1.2.3-SNAPSHOT
  • <= 5.1.4
  • > 2.0.4 <= 2.4.6

Semantic versioning

Please try to use semantic versioning https://semver.org/ in future LA releases. So these are valid versions:

  • 1.0.0
  • 0.1.0-SNAPSHOT

but these are invalid:

  • 1.0
  • 0.1-SNAPSHOT
  • 1.0.1.1

Dependencies list

The dependencies list is now maintained here. Feel free to add issues or send PRs.

Clone this wiki locally