-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from dfop02/release/1.0.4
Updates to version 1.0.4
- Loading branch information
Showing
10 changed files
with
250 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Source: https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/#the-whole-ci-cd-workflow | ||
name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
workflow_run: | ||
workflows: [ tests ] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
build: | ||
name: Build distribution 📦 | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.x" | ||
- name: Install pypa/build | ||
run: >- | ||
python3 -m | ||
pip install | ||
build | ||
--user | ||
- name: Build a binary wheel and a source tarball | ||
run: python3 -m build | ||
- name: Store the distribution packages | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: python-package-distributions | ||
path: dist/ | ||
|
||
publish-to-pypi: | ||
name: >- | ||
Publish Python 🐍 distribution 📦 to PyPI | ||
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes | ||
needs: | ||
- build | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: pypi | ||
url: https://pypi.org/p/html-for-docx | ||
permissions: | ||
id-token: write # IMPORTANT: mandatory for trusted publishing | ||
|
||
steps: | ||
- name: Download all the dists | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: python-package-distributions | ||
path: dist/ | ||
- name: Publish distribution 📦 to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
.. :changelog: | ||
Release History | ||
--------------- | ||
|
||
1.0.4 (2024-08-11) | ||
++++++++++++++++++ | ||
|
||
**Updates** | ||
- Create Changelog HISTORY. | ||
- Update README. | ||
- Add Github Action Workflow to publish in pypi. | ||
- Change default VERSION tag, removing the "v" from new releases. | ||
|
||
**New Features** | ||
- Support to internal links (Anchor) | [Dfop02](https://github.com/dfop02) | ||
|
||
|
||
1.0.3 (2024-02-27) | ||
++++++++++++++++++ | ||
|
||
- Adapt font_size when text, ex.: small, medium, etc. | [Dfop02](https://github.com/dfop02) | ||
- Fix error for image weight and height when no digits | [Dfop02](https://github.com/dfop02) | ||
|
||
|
||
1.0.2 (2024-02-20) | ||
++++++++++++++++++ | ||
|
||
- Support px, cm, pt and % for style margin-left to paragraphs | [Dfop02](https://github.com/dfop02) | ||
- Fix 'style lookup by style_id is deprecated.' | [Dfop02](https://github.com/dfop02) | ||
- Fix bug when any style has `!important` | [Dfop02](https://github.com/dfop02) | ||
- Refactory Tests to be more consistent and less 'human validation' | [Dfop02](https://github.com/dfop02) | ||
- Support to color by name | [Dfop02](https://github.com/dfop02) | ||
|
||
|
||
1.0.1 (2024-02-05) | ||
++++++++++++++++++ | ||
|
||
- Fix README. | ||
|
||
|
||
1.0.0 (2024-02-05) | ||
+++++++++++++++++++ | ||
|
||
- Initial Release! | ||
|
||
**Fixes** | ||
- Handle missing run for leading br tag | [dashingdove](https://github.com/dashingdove) from [PR](https://github.com/pqzx/html2docx/pull/53) | ||
- Fix base64 images | [djplaner](https://github.com/djplaner) from [Issue](https://github.com/pqzx/html2docx/issues/28#issuecomment-1052736896) | ||
- Handle img tag without src attribute | [johnjor](https://github.com/johnjor) from [PR](https://github.com/pqzx/html2docx/pull/63) | ||
|
||
**New Features** | ||
- Add Witdh/Height style to images | [maifeeulasad](https://github.com/maifeeulasad) from [PR](https://github.com/pqzx/html2docx/pull/29) | ||
- Improve performance on large tables | [dashingdove](https://github.com/dashingdove) from [PR](https://github.com/pqzx/html2docx/pull/58) | ||
- Support for HTML Pagination | [Evilran](https://github.com/Evilran) from [PR](https://github.com/pqzx/html2docx/pull/39) | ||
- Support Table style | [Evilran](https://github.com/Evilran) from [PR](https://github.com/pqzx/html2docx/pull/39) | ||
- Support alternative encoding | [HebaElwazzan](https://github.com/HebaElwazzan) from [PR](https://github.com/pqzx/html2docx/pull/59) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.