Skip to content

Commit 0f4dee6

Browse files
mawasilegithub-actions[bot]
andauthored
release 3.8.0 (#869)
Co-authored-by: github-actions[bot] <tfmod442916@users.noreply.github.com>
1 parent 7a41add commit 0f4dee6

28 files changed

+79
-122
lines changed

.changes/3.8.0.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
## 3.8.0 - 2025-07-03
2+
3+
### ✨ Added
4+
5+
* [#828](https://github.com/microsoft/terraform-provider-power-platform/issues/828) Add support for Azure Developer CLI authentication via use_dev_cli provider configuration option and POWER_PLATFORM_USE_DEV_CLI environment variable
6+
* [#782](https://github.com/microsoft/terraform-provider-power-platform/issues/782) Add powerplatform_environment_application_admin resource to enable adding Entra service principals as application users with System Administrator role in Dataverse environments
7+
* [#781](https://github.com/microsoft/terraform-provider-power-platform/issues/781) support partner_id configuration and opt-out for default Terraform partner ID
8+
9+
### 💫 Changed
10+
11+
* [#867](https://github.com/microsoft/terraform-provider-power-platform/issues/867) powerplatform_tenant_capacity resource is now available in preview with user authentication support only
12+
* [#823](https://github.com/microsoft/terraform-provider-power-platform/issues/823) Improved error message formatting and consistency for better user experience across environment templates, tenant isolation policy, and tenant settings resources
13+
14+
### ⚰️ Deprecated
15+
16+
* [#860](https://github.com/microsoft/terraform-provider-power-platform/issues/860) Mark powerplatform_rest resource as deprecated. Known uses do not align with the intent of the resource. Please consider using specific resources for your use case, or opening a GitHub issue requesting a new resource for your use case.
17+
18+
### 🪲 Fixed
19+
20+
* [#806](https://github.com/microsoft/terraform-provider-power-platform/issues/806) Improved error handling in environment group services - fixed missing error wrapping, silent failures, and incorrect error messages
21+
* [#804](https://github.com/microsoft/terraform-provider-power-platform/issues/804) Fix pointer handling issues across codebase for better Go idioms
22+
* [#825](https://github.com/microsoft/terraform-provider-power-platform/issues/825) Fixed type safety and formatting issues including missing string validation, interface assertions, and escaped newline formatting
23+
* [#798](https://github.com/microsoft/terraform-provider-power-platform/issues/798) Fixed duplicated constants and literals issues across codebase to improve maintainability
24+
* [#808](https://github.com/microsoft/terraform-provider-power-platform/issues/808) Fixed recursive retry loops and missing return statements in environment services that could lead to infinite loops and data corruption. Added proper error wrapping for better debugging context.
25+
* [#810](https://github.com/microsoft/terraform-provider-power-platform/issues/810) fix: add proper API error wrapping and data conversion context across multiple services
26+
* [#812](https://github.com/microsoft/terraform-provider-power-platform/issues/812) fix: improve error handling for retry loops, state management, validators, and diagnostic reporting across 9 critical components to prevent silent failures and data corruption
27+
* [#814](https://github.com/microsoft/terraform-provider-power-platform/issues/814) Fixed missing return statements after error handling in three datasources to prevent potential panics and undefined behavior
28+
* [#815](https://github.com/microsoft/terraform-provider-power-platform/issues/815) Add missing nil pointer validation checks to prevent runtime panics in application API client, authorization resource, and environment models
29+
* [#816](https://github.com/microsoft/terraform-provider-power-platform/issues/816) Improved error handling and diagnostics across multiple services: fixed missing parameter context in connection shares error messages, proper error propagation in DLP policy helper functions, handled ignored errors in data record column conversion, and corrected misleading error messages in environment settings
30+
* [#817](https://github.com/microsoft/terraform-provider-power-platform/issues/817) Fixed JSON Marshal/Unmarshal issues: added empty response body validation, proper error handling for JSON marshaling, safe type assertions, and corrected Decode usage
31+
* [#818](https://github.com/microsoft/terraform-provider-power-platform/issues/818) Fixed infinite polling loop in environment wave UpdateFeature method by adding context deadline checking to respect timeout configuration
32+
* [#820](https://github.com/microsoft/terraform-provider-power-platform/issues/820) Improve code structure and maintainability by extracting deeply nested schema definitions into helper functions, reducing duplication in DTO conversion logic, and enhancing error handling for feature state mapping
33+
* [#821](https://github.com/microsoft/terraform-provider-power-platform/issues/821) Fixed validation and modifiers issues: improved error handling in validators and plan modifiers, corrected error messages for SHA256 checksums, and enhanced diagnostic context
34+
* [#824](https://github.com/microsoft/terraform-provider-power-platform/issues/824) Fix configuration and constants issues: CAE challenge detection strings, RX PowerApps Advisor API domain constants, and AuxiliaryTenantIDs type safety conversion
35+
* [#839](https://github.com/microsoft/terraform-provider-power-platform/issues/839) Fixed type assertion safety issues in multiple services to prevent potential runtime panics when API responses have unexpected structure or types
36+
* [#840](https://github.com/microsoft/terraform-provider-power-platform/issues/840) Fixed type assertion safety issues in DTO conversions and data transformations to prevent runtime panics. Added proper error handling for type assertions in tenant_settings, environment_group_rule_set, dlp_policy, and data_record services. Improved UUID type equality method to support both value and pointer types.
37+
* [#841](https://github.com/microsoft/terraform-provider-power-platform/issues/841) Fixed unsafe type assertions in provider data handling that could cause panics and misleading error messages
38+
* [#842](https://github.com/microsoft/terraform-provider-power-platform/issues/842) Fixed reflection and type safety issues in provider code. Replaced unsafe reflection usage in API client, improved error handling with Go 1.13+ patterns, and added validation for conversion functions to prevent runtime panics.
39+
* [#808](https://github.com/microsoft/terraform-provider-power-platform/issues/808) Fix recursive retry loops and missing return statements after AddError in environment services

.changes/unreleased/added-20250517-062944.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changes/unreleased/added_azure_dev_cli_auth.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.changes/unreleased/added_env_app_admin.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.changes/unreleased/added_tenant_capacity_preview.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.changes/unreleased/changed_error_messages.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.changes/unreleased/deprecated_powerplatform_rest.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.changes/unreleased/fix_error_handling_environment_groups.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.changes/unreleased/fixed-20250603-164644.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changes/unreleased/fixed-20250604-133404.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)