Skip to content

Commit

Permalink
Fixed changelog and GH action for package releasing (we dont want to …
Browse files Browse the repository at this point in the history
…update changelog and release notes for prerelease versions)
  • Loading branch information
tg666 committed Dec 14, 2023
1 parent 7670d5a commit 5c61781
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:

- name: Update changelog
uses: superfaceai/release-changelog-action@v1
if: startsWith(github.event.inputs.release-type, 'pre') != true
with:
path-to-changelog: CHANGELOG.md
version: ${{ env.NEW_VERSION }}
Expand Down Expand Up @@ -77,6 +78,7 @@ jobs:
- id: get-changelog
name: Get version changelog
uses: superfaceai/release-changelog-action@v1
if: startsWith(github.event.inputs.release-type, 'pre') != true
with:
path-to-changelog: CHANGELOG.md
version: ${{ env.NEW_VERSION }}
Expand Down
14 changes: 3 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [1.4.0-beta.2] - 2023-12-01
### Added
- Added ability to provide custom options for each banner. Options can be passed via data attributes `data-amp-option-<optionName>="<optionValue>"` and can be retrieved in event handlers.
- Added support for native lazy loading. Feature can be enabled through banner options `loading=lazy` and `loading-offset=<offset>` (for multiple positions only).

### Changed
- The default templates have been modified and moved to the `./src/template` directory.
- Updated docs.

## [1.4.0-beta.1] - 2023-11-30
### Added
- Added property `version` in the client.
- Added integration with server-side rendered banners.
- Added ability to provide custom options for each banner. Options can be passed via data attributes `data-amp-option-<optionName>="<optionValue>"` and can be retrieved in event handlers.
- Added support for native lazy loading. Feature can be enabled through banner options `loading=lazy` and `loading-offset=<offset>` (for multiple positions only).

### Changed
- Property `banner.data` is now deprecated. To access information about a position use property `banner.positionData`. For example, replace `banner.data.displayType` with `banner.positionData.displayType`.
- The default templates have been modified and moved to the `./src/template` directory.
- Updated docs.

## [1.3.1] - 2023-10-25
Expand Down

0 comments on commit 5c61781

Please sign in to comment.