Skip to content

Releases

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 03 Dec 12:41

The first stable release. The schema is the one 0.13.0 shipped, and from here
on COMPATIBILITY.md holds for every 1.x release: nothing it lists is
removed before 2.0.0, and anything deprecated in 1.x keeps working until then. The changes since 0.13.0 are below; they include the one
fix 1.0.0-rc.1 already carried.

1.0.0-rc.1 went through a full App Store release cycle on a production app
first, with phased release on. The one bug it found, a price diff on
apple_subscription_price_schedule that no configuration could clear, is
fixed here.

NOTES:

  • Examples and guides pin ~> 1.0, and apple terraform export (CLI
    1.0.0) pins >= 1.0.0, < 2.0.0. A configuration pinning ~> 0.1 does not
    install 1.0.0: change the constraint to ~> 1.0.

DOCUMENTATION:

  • apple_app_store_version_phased_release gives Apple's rollout schedule:
    the share of users with automatic updates each of the seven days reaches,
    and the 30-day limit on pausing.

BUG FIXES:

  • apple_subscription_price_schedule no longer plans to remove a price
    it cannot remove.
    After approval, a price in a territory the
    configuration does not name stays at Apple, since a live price can only be
    superseded. The refresh still read it into state, so every plan showed it
    being removed and every apply warned "Prices Left In Place". That included a
    territory taken off the subscription's availability, which Apple keeps a
    price for anyway. A refresh after approval now reads only the territories
    the configuration names. Before approval, when the next write would remove
    such a price, the plan still shows it.
  • apple_app_store_version no longer asks Apple to delete a released
    version.
    Changing version_string after a release replaces the version,
    and the destroy half sent a DELETE Apple refused with four reasons, which
    the provider then reported as a long warning. It now reads the version's
    state first and keeps a released version with a one-line warning, "Released
    App Store Version Kept". A version still being prepared is deleted as
    before.
  • apple_subscription_availability explains a refused territory
    removal.
    Apple lets only the Account Holder remove a territory from a
    subscription that is for sale, and answers an API key with a 409. The
    error is now "Territory Removal Needs the Account Holder", saying to remove
    it in App Store Connect as the Account Holder or keep it in
    available_territories.
  • apple_subscription_price_schedule can schedule a price change before
    the subscription is approved.
    A price with a start_date on a
    subscription not yet approved failed with HTTP 409 "An error occurred while
    processing the pricing information", because the prices went out in one
    request that Apple refuses whenever any of them is dated. The undated
    prices still go out together. Each dated price is now sent on its own
    afterwards, and a dated price removed from the configuration is deleted.

apple CLI 1.0.0

Choose a tag to compare

@github-actions github-actions released this 03 Dec 12:44

The first stable release of the CLI. From here on
COMPATIBILITY.md holds for every 1.x release: nothing it lists is
removed before 2.0.0, and anything deprecated in 1.x keeps working until then.

BREAKING CHANGES:

  • apple screenshots capture is removed. It only drove xcrun simctl
    and never touched App Store Connect, the same reason the CLI does not wrap
    xcodebuild. apple_app_screenshot_set still uploads the files. The same
    steps are four simctl calls in a script:

    xcrun simctl bootstatus "$UDID" -b
    xcrun simctl status_bar "$UDID" override --time 9:41 --batteryState charged \
      --batteryLevel 100 --cellularBars 4 --wifiBars 3
    xcrun simctl io "$UDID" screenshot --type=jpeg home.jpg   # JPEG: no alpha channel
    xcrun simctl status_bar "$UDID" clear
  • apple terraform export pins provider >= 1.0.0, < 2.0.0. Release
    this CLI only after provider 1.0.0. An exported configuration no longer
    installs a 0.x provider.

FEATURES:

  • apple release phased status shows how far the rollout has reached.
    Next to the day it prints the share of users with automatic updates that
    day reaches (Day 3 of 7 (5% of users with automatic updates)) and the day
    the rollout started. --json carries them as user_percent and
    start_date. Apple's API reports the day and not the share, so the share
    comes from Apple's fixed schedule (1, 2, 5, 10, 20, 50 and 100 percent),
    which apple release phased --help now prints.

v1.0.0-rc.1

Choose a tag to compare

@github-actions github-actions released this 01 Dec 13:28

The release candidate for 1.0.0, to be run through one full App Store release
cycle before the stable release. The schema is the one 1.0.0 will freeze, and
it is unchanged since 0.13.0. Terraform only installs a pre-release when the
version is named exactly: version = "1.0.0-rc.1".

BUG FIXES:

  • apple_subscription_price_schedule can schedule a price change before
    the subscription is approved.
    A price with a start_date on a
    subscription not yet approved failed with HTTP 409 "An error occurred while
    processing the pricing information", because the prices went out in one
    request that Apple refuses whenever any of them is dated. The undated
    prices still go out together. Each dated price is now sent on its own
    afterwards, and a dated price removed from the configuration is deleted.

v0.13.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 10:55

FEATURES:

  • New resource: apple_subscription_promotional_offer. A discount an app
    presents to existing or lapsed subscribers, requested by offer_code. One
    offer covers every territory in prices, each with its own price point, or
    none for a free offer. offer_code takes letters, digits, underscores and
    periods, which Apple enforces and the plan now checks. prices changes in
    place; every other attribute forces replacement, because Apple's update
    request carries only the prices. Prices are read from the offer's own collection, so an offer sold
    in every storefront is not cut off at 50. Import by the offer ID or by
    <subscription_id>/<offer_code>.
  • New data source: apple_subscription_promotional_offers. Lists a
    subscription's promotional offers with their prices. territories is sent to
    Apple as a filter, name_pattern, offer_code and offer_mode are applied
    in memory, and the usual limit, sort_by and sort_order apply.

v0.12.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 08:39

FEATURES:

  • New data source: apple_subscription_introductory_offers. Lists a
    subscription's introductory offers, one record per offer with its territory,
    mode, duration, periods, price point and dates. territories is sent to
    Apple as a filter, offer_mode is applied in memory, and the usual limit,
    sort_by and sort_order apply, ordered by territory then start date by
    default.
  • New resource: apple_app_store_version_phased_release. Releases a
    version over seven days to users with automatic updates. The resource's
    presence is the setting; Apple's rollout state, start_date,
    current_day_number and total_pause_duration are read-only, so Apple
    moving the rollout on is never a diff. Destroy turns phased release off
    before the rollout starts and leaves a started one alone. Import by the
    version ID. examples/app-listing gains a phased_release variable.

v0.11.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 06:57

FEATURES:

  • New data sources: apple_in_app_purchase_price_point_equalizations and
    apple_app_price_point_equalizations.
    Given one base price point, each
    reads the price point Apple considers equivalent in every other territory,
    as apple_subscription_price_point_equalizations already did for
    subscriptions, with a price_point_ids map from territory code to price
    point ID. An in-app purchase or app price schedule already equalizes its base
    territory by itself, so these are for seeing what that charges, and for
    pinning those prices as manual ones, which stay put when Apple adjusts
    equalized prices for exchange rates or taxes.

BUG FIXES:

  • A plan straight after changing apple_app_settings no longer shows the
    change undone.
    Apple's reads of an app record lag its writes by a few
    seconds, so a refresh right after an apply, such as a CI drift check, read
    the old content_rights_declaration and planned to set it again. The write
    now waits briefly until Apple's reads catch up.
  • Importing an apple_certificate by display name no longer adopts the
    wrong certificate.
    Apple derives the display name from whoever the
    certificate was issued to, so a team's certificates usually share one, and
    import took whichever Apple listed first. A name that several certificates
    carry is now refused, with their serial numbers.
  • apple_certificate and apple_bundle_id can be imported by Apple's ID.
    Import recognised Apple's ID only by a cert- or bundle- prefix or a
    length over fifty characters, which no Apple ID has, so the documented ID
    form failed with "not found".
  • apple_user_invitation no longer resends an imported invitation that
    allows provisioning.
    provisioning_allowed defaulted to false and forces
    replacement, so a configuration that left it out cancelled the invitation and
    emailed the person a new one. Leaving it unset now keeps the answer Apple
    holds; a new invitation still starts at false.
  • The three availability resources keep Apple's
    available_in_new_territories when it is left unset.
    It defaulted to
    true on apple_app_availability, apple_subscription_availability and
    apple_in_app_purchase_availability, so an imported availability holding
    false planned an update that posts a new record. A new availability is still
    created with true. A test now fails on any default on a resource that can
    be imported, which is how these four were found.
  • Device names and Merchant ID display names are limited to 64 characters,
    not 64 bytes.
    A name with a curly apostrophe, as iPhones name themselves,
    or an accented letter was refused before reaching the limit.
  • customer_price finds the free app price point again. The filter on
    apple_app_price_points, apple_in_app_purchase_price_points and
    apple_subscription_price_points compared strings exactly, and Apple now
    reports the free point as 0.0, so customer_price = "0" matched nothing
    and a free app could not be priced as documented. Prices are now compared as
    numbers, so 0, 0.0 and 9.90 match however Apple formats them, while
    9.9 still never matches 9.99.

apple CLI 0.6.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 12:27

FEATURES:

  • apple terraform export writes apple_subscription_promotional_offer,
    one per offer with its prices, imported by the offer ID. It therefore pins
    provider >= 0.13.0. Release this CLI only after provider 0.13.0.

apple CLI 0.5.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 08:46

FEATURES:

  • apple release phased status|pause|resume|complete VERSION. Shows a
    version's phased release, or pauses, resumes or finishes it early. Asking
    for the state the rollout is already in changes nothing and exits 0.
  • apple terraform export writes apple_app_store_version_phased_release
    for a version that has one, and so pins provider >= 0.12.0. Release this
    CLI only after provider 0.12.0.

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 21:52

BREAKING CHANGES:

  • apple_in_app_purchase_localization.version_id is now
    in_app_purchase_version_id.
    It is the in-app purchase version the
    localization was written into, and version_id read as though it were an
    App Store version, which every other resource calls app_store_version_id.
    The attribute is computed, so only a configuration that references it needs
    changing. Existing state upgrades without an error, and the next refresh
    fills in the new attribute.

BUG FIXES:

  • Renaming an apple_device no longer reissues the profiles that list it.
    The device's id was planned as unknown on any update, and
    apple_profile.devices forces replacement, so every profile listing the
    device planned a reissue. A test now checks that every resource's id
    keeps its state on an update, apart from the few whose ID Apple changes on
    every write.
  • apple_user no longer revokes provisioning access nobody configured.
    provisioning_allowed defaulted to false, and the resource adopts a
    member already on the team, so a configuration that left it out turned
    provisioning off for anyone who had it. Leaving it unset now keeps the
    member's current answer.
  • apple_subscription and apple_in_app_purchase keep Apple's
    family_sharable when it is left unset.
    It defaulted to false, so an
    imported product that Apple shares with families planned a change Apple
    refuses, since family sharing cannot be turned off once on. A new product
    still starts at false, Apple's own default.
  • apple_profiles applies its bundle_id filter. It was accepted and
    ignored, so every profile in the account came back, and each reported an
    empty bundle_id. The filter now takes Apple's ID or the identifier, such as
    com.example.app, and each profile reports the Bundle ID it was issued for.
    Both cost one request per profile. certificates and devices are still not
    read, and their descriptions now say so.
  • apple_devices accepts status = "DISABLED", the status every
    destroyed apple_device is left in. The filter refused it, so disabled
    devices could not be listed.
  • apple_bundle_ids and apple_certificates refuse a singular filter
    beside its plural.
    Their descriptions have always said platform and
    platforms, and certificate_type and certificate_types, cannot be used
    together, but nothing enforced it: both were applied, so a Bundle ID or
    certificate had to match each. Setting both is now an error at plan time
    naming the two attributes. A value not known until apply is checked once it
    is known.

ENHANCEMENTS:

  • The Xcode Cloud listing data sources take name_pattern, sort_by,
    sort_order and limit, and report total_count and filtered_count
    ,
    like every other listing data source. On apple_ci_xcode_versions and
    apple_ci_mac_os_versions, sort_by = "version" compares numerically, so
    sort_order = "desc" with limit = 1 returns the newest version. Without
    sort_by, records keep Apple's order, as before.
  • Fuller descriptions for apple_ci_workflow, the Xcode Cloud data sources,
    apple_devices and apple_profiles. Every valid capability type and App
    Store version state is now listed, generated from the same lists the
    validators use. The bundle_id attributes say whether they take Apple's ID
    or the com.example.app identifier.

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 20:48

ENHANCEMENTS:

  • apple_app_age_rating_declaration: shared_location and
    dating_and_relationships.
    Apple added both questions to the age rating
    questionnaire, and App Store Connect asks every app to answer them by
    January 15, 2027, or sooner when another answer in that section changes.
    Like the other answers they are optional and computed, so leaving them out
    keeps whatever Apple holds. apple terraform export writes them when
    Apple has an answer.