Skip to content

Commit efb90bd

Browse files
CHANGELOG.md for v3.1.0 (#1588)
* Update CHANGELOG.md for #1585 include #1585 * Update CHANGELOG.md pulling in changes from duplicate changelog PR * Update CHANGELOG.md for #1619 * Update for #1589 * Update for #1593 * Update for #1592 * Update for #1597 * add changelog update script and updated changelog --------- Co-authored-by: stephybun <steph@hashicorp.com>
1 parent 16d93eb commit efb90bd

File tree

2 files changed

+51
-2
lines changed

2 files changed

+51
-2
lines changed

CHANGELOG.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1-
## 3.1.0 (Unreleased)
1+
## 3.1.0 (January 16, 2025)
22

3-
* `azuread_application` - the `password` block can now correctly be removed
3+
ENHANCEMENTS:
4+
5+
* dependencies - update `golang.org/x/crypto` to `0.31.0` ([#1585](https://github.com/hashicorp/terraform-provider-azuread/issues/1585))
6+
* `data.azuread_named_location` - add support for `country_lookup_method` ([#1589](https://github.com/hashicorp/terraform-provider-azuread/issues/1589))
7+
* `azuread_conditional_access_policy` - add support for the `insider_risk_levels` property ([#1597](https://github.com/hashicorp/terraform-provider-azuread/issues/1597))
8+
* `azuread_named_location` - add support for `country_lookup_method` ([#1589](https://github.com/hashicorp/terraform-provider-azuread/issues/1589))
9+
10+
BUG FIXES:
11+
12+
* `azuread_access_package_resource_catalog_association` - allow origin IDs that contain `/` ([#1592](https://github.com/hashicorp/terraform-provider-azuread/issues/1592))
13+
* `azuread_application` - the `password` block can now correctly be removed ([#1430](https://github.com/hashicorp/terraform-provider-azuread/issues/1430))
14+
* `azuread_conditional_access_policy` - fix potential panic in expanding `conditions` ([#1619](https://github.com/hashicorp/terraform-provider-azuread/issues/1619))
15+
* `azuread_group` - prevent creation retry when caller hasn't been specified as an owner ([#1593](https://github.com/hashicorp/terraform-provider-azuread/issues/1593))
16+
* `azuread_user` - add support for `employee_hire_date` ([#1437](https://github.com/hashicorp/terraform-provider-azuread/issues/1437))
417

518

619
## 3.0.2 (October 04, 2024)

scripts/release-update-changelog.sh

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#!/bin/bash
2+
# Copyright (c) HashiCorp, Inc.
3+
# SPDX-License-Identifier: MPL-2.0
4+
5+
if [[ "$(uname)" == "Darwin" ]]; then
6+
echo "(Using BSD sed)"
7+
SED="sed -E"
8+
else
9+
echo "(Using GNU sed)"
10+
SED="sed -r"
11+
fi
12+
13+
DATE="$(date '+%B %d, %Y')"
14+
PROVIDER_URL="https:\/\/github.com\/hashicorp\/terraform-provider-azuread\/issues"
15+
16+
echo "Preparing changelog for release..."
17+
18+
if [[ ! -f CHANGELOG.md ]]; then
19+
echo "Error: CHANGELOG.md not found."
20+
exit 2
21+
fi
22+
23+
# Get the next release
24+
RELEASE="$($SED -n 's/^## v?([0-9.]+) \(Unreleased\)/\1/p' CHANGELOG.md)"
25+
if [[ "${RELEASE}" == "" ]]; then
26+
echo "Error: could not determine next release in CHANGELOG.md" >&2
27+
exit 3
28+
fi
29+
30+
# Replace [GH-nnnn] references with issue links
31+
( set -x; ${debug}$SED -i.bak "s/\[GH-([0-9]+)\]/\(\[#\1\]\(${PROVIDER_URL}\/\1\)\)/g" CHANGELOG.md )
32+
33+
# Set the date for the latest release
34+
( set -x; ${debug}$SED -i.bak "s/^(## v?[0-9.]+) \(Unreleased\)/\1 (${DATE})/i" CHANGELOG.md )
35+
36+
${debug}rm CHANGELOG.md.bak

0 commit comments

Comments
 (0)