Skip to content

Loaders and Environments

Compare
Choose a tag to compare
@vknabel vknabel released this 12 Oct 10:34
· 22 commits to master since this release

A different overview can be found at vknabel.com/pages/Archery-0-3-0-released.

  • [Breaking] Mint will not be bundled with Archery anymore and needs to be installed manually when using legacy Arrows.
  • [Breaking] Requires Swift 5.
  • [Addition] Generate new metadata by loaders.
  • [Addition] Passes custom environment variables to all scripts and arrows: ARCHERY, ARCHERY_METADATA, ARCHERY_SCRIPT, ARCHERY_API_LEVEL, ARCHERY_LEGACY_MINT_PATH.
  • [Addition] Scripts can now be run in sequence with just an array literal do-all: [first, second, third]
  • [Improvement] vknabel/ArcheryArrow implicitly uses the new scripting API and does not require compilation anymore.
  • [Improvement] Scripts can now be run in sequence without using arrow: vknabel/ArcheryArrow
  • [Improvement] Bash scripts do not require arrow: vknabel/BashArrow anymore.
  • [Improvement] vknabel/BashArrow implicitly uses the new scripting API and does not require compilation anymore.
  • [Deprecation] The classical arrow-script type will be deprecated and will be removed in far future.

Upcoming Breaking Changes

Previously all scripts were defined as arrow: a separate Swift Package accepting specific arguments, being installed using Mint. This mechanism is now deprecated and will be replaced by plain scripts and environment variables.

Please note the arrow-shorthand syntax script-name: your/Arrow deprecated in version 0.2.1 is still available and has not been removed yet.