Skip to content

Commit

Permalink
chore(release): 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickshan committed May 27, 2024
1 parent 093c70b commit ac12b7e
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 77 deletions.
41 changes: 2 additions & 39 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,6 @@ jobs:
- os: macos-latest
name: OSX Safari Stable
targetBrowser: Safari_Stable
- os: macos-11
name: iOS Simulator Safari 15.0
targetBrowser: Safari_IOS_15_0
xcode: /Applications/Xcode_13.0.app
- os: windows-latest
name: Windows Internet Explorer 11
targetBrowser: IE_11
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.name }}
env:
Expand Down Expand Up @@ -162,7 +155,7 @@ jobs:
if-no-files-found: error
publish:
runs-on: ubuntu-latest
name: Publish
name: Publish NPM
if: startsWith(github.ref, 'refs/tags/v')
needs: browser-test
permissions:
Expand Down Expand Up @@ -225,34 +218,4 @@ jobs:
- name: NPM Publish
run: cd npm/package && npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
publish-gpr:
runs-on: ubuntu-latest
name: Publish Github Package
if: startsWith(github.ref, 'refs/tags/v')
needs: browser-test
permissions:
contents: write
packages: write
steps:
- uses: actions/checkout@v3
- name: Download NPM package
uses: actions/download-artifact@v3
with:
name: npm
path: npm
- name: Download library
uses: actions/download-artifact@v3
with:
name: dist
path: dist
- name: Unpack npm
run: cd npm && tar -xvzf "html2canvas-pro.tgz"
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://npm.pkg.github.com/
- run: npm pkg set publishConfig.registry=https://npm.pkg.github.com
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
36 changes: 0 additions & 36 deletions .github/workflows/release.yml

This file was deleted.

18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## 1.5.0 (2024-05-27)


### Features

* better color() support ([2559164](https://github.com/yorickshan/html2canvas-pro/commit/2559164c9890ea4985ce4cf09d27184da6ee22f8))
* color functions ([1c9ece3](https://github.com/yorickshan/html2canvas-pro/commit/1c9ece3887e229eb69b34a5bb082c059355518e2))
* complete work on relative from colors in the color() function ([ac6e331](https://github.com/yorickshan/html2canvas-pro/commit/ac6e33118be76734ff9b1f5cd92e147babd46548))
* work on relative color support ([88e6aba](https://github.com/yorickshan/html2canvas-pro/commit/88e6abaa47b9c59e49a7bc3c0008849cc365f787))


### Bug Fixes

* color function display-p3 conversion ([b9fd943](https://github.com/yorickshan/html2canvas-pro/commit/b9fd943332a5627a9cd86c62bd6029d461356c14))
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"module": "dist/html2canvas-pro.esm.js",
"typings": "dist/types/index.d.ts",
"browser": "dist/html2canvas-pro.js",
"version": "1.4.3",
"version": "1.5.0",
"author": {
"name": "yorickshan",
"email": "[email protected]",
Expand Down

0 comments on commit ac12b7e

Please sign in to comment.