Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 81 additions & 0 deletions .changelog/FORMAT_EXAMPLES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# Changelog Entry Format Examples

This directory contains changelog entries using markdown format with code blocks.

## Filename Format

The name of the changelog file will comprise of `pr-` followed by the PR number, appended with a `.txt` extension.

For example: `pr-2345.txt`

## Format

Each changelog entry file uses markdown code blocks with the `release-note:<type>` syntax. Multiple entries can be included in a single file, each in its own code block.

## Valid Types

- breaking-change
- feature
- enhancement
- bug
- note
- security
- deprecation
- new-resource (new Terraform resource)
- new-data-source (new Terraform data source)
- new-guide (new Terraform guide)
- internal (tracked but not included in release notes)

## Examples

### Feature example

````plaintext
```release-note:feature
Added new calculator function for advanced mathematical operations
```
````

### Bug fix example

````plaintext
```release-note:bug
Fixed issue where division by zero caused application crash
```
````

### Breaking change example

````plaintext
```release-note:breaking-change
Removed deprecated legacy API endpoints
```
````

### Enhancement with resource reference

````plaintext
```release-note:enhancement
`resource/pingone_risk_predictor`: Added the `predictor_device.should_validate_payload_signature` field to enforce requirement that the Signals SDK payload be provided as a signed JWT.
```
````

### Multiple entries in one file

````plaintext
```release-note:note
bump `github.com/example/sdk` 0.12.1 => 0.12.2
```

```release-note:bug
`resource/example_gateway`: Fixed error when configuring gateways.
```
````

### Internal change (not included in release notes)

````plaintext
```release-note:internal
Refactored internal helper functions for better code organization
```
````
3 changes: 3 additions & 0 deletions .changelog/pr-153.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:internal
add submodule and implement common changelog process
```
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "shared-configs"]
path = shared-configs
url = git@github-emu:ping-internal/cdi-shared-configs.git
19 changes: 19 additions & 0 deletions release-notes/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Release Notes

This directory is used to store release notes for each version.

The release notes for each version are stored in a subdirectory named after the release tag, following the format `vX.Y.Z`.

Each release directory will contain the following two files:

* `GITHUB_RELEASE.md`: The release notes formatted for GitHub Releases.
* `RELEASE_NOTES.adoc`: The release notes in AsciiDoc format.

For example, the release notes for version 1.2.3 would be structured as follows:

```text
release-notes/
└── v1.2.3/
├── GITHUB_RELEASE.md
└── RELEASE_NOTES.adoc
```
1 change: 1 addition & 0 deletions shared-configs
Submodule shared-configs added at aebba7