diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 825a191..0436fe1 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -84,6 +84,7 @@ body: label: DMeta version description: Which version of DMeta are you using? options: + - DMeta 0.5 - DMeta 0.4 - DMeta 0.3 - DMeta 0.2 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 636a328..58f7e1d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,5 @@ repos: - repo: https://github.com/openscilab/dmeta.git - rev: v0.4 + rev: v0.5 hooks: - id: clear-metadata diff --git a/CHANGELOG.md b/CHANGELOG.md index 7607658..06a235a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [Unreleased] +## [0.5] - 2026-05-27 ### Added - GIF params in `params.py` - `clear_gif_metadata` function in `functions.py` @@ -17,6 +18,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - `CLEAR_HANDLERS` dict in `functions.py` - `clear_file` function in `functions.py` ### Changed +- `RELEASE.md` - `test.yml` - `clear` function in `functions.py` - `update` function in `functions.py` @@ -103,7 +105,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - `extract_docx` function in `util.py` - `read_json` function in `util.py` -[Unreleased]: https://github.com/openscilab/dmeta/compare/v0.4...dev +[Unreleased]: https://github.com/openscilab/dmeta/compare/v0.5...dev +[0.5]: https://github.com/openscilab/dmeta/compare/v0.4...v0.5 [0.4]: https://github.com/openscilab/dmeta/compare/v0.3...v0.4 [0.3]: https://github.com/openscilab/dmeta/compare/v0.2...v0.3 [0.2]: https://github.com/openscilab/dmeta/compare/v0.1...v0.2 diff --git a/README.md b/README.md index a0ed66a..cf94fea 100644 --- a/README.md +++ b/README.md @@ -62,9 +62,9 @@ DMeta is an open source Python package that removes metadata of Microsoft Office ### PyPI - Check [Python Packaging User Guide](https://packaging.python.org/installing/) -- Run `pip install dmeta==0.4` +- Run `pip install dmeta==0.5` ### Source code -- Download [Version 0.4](https://github.com/openscilab/dmeta/archive/v0.4.zip) or [Latest Source](https://github.com/openscilab/dmeta/archive/dev.zip) +- Download [Version 0.5](https://github.com/openscilab/dmeta/archive/v0.5.zip) or [Latest Source](https://github.com/openscilab/dmeta/archive/dev.zip) - Run `pip install .` ## Usage @@ -163,7 +163,7 @@ In your project root, create or update .pre-commit-config.yaml: ```yaml repos: - repo: https://github.com/openscilab/dmeta.git - rev: v0.4 # minimum v0.4 or commit SHA + rev: v0.5 # minimum v0.4 or commit SHA hooks: - id: clear-metadata ``` @@ -217,7 +217,7 @@ You can also join our discord server ## Acknowledgments -[Python Software Foundation (PSF)](https://www.python.org/psf/) granted DMeta library partially for version(s) 0.4. +[Python Software Foundation (PSF)](https://www.python.org/psf/) granted DMeta library partially for version(s) 0.4, 0.5. [PSF](https://www.python.org/psf/) is the organization behind Python. Their mission is to promote, protect, and advance the Python programming language and to support and facilitate the growth of a diverse and international community of Python programmers. Python Software Foundation diff --git a/SECURITY.md b/SECURITY.md index cb5c486..05a9cf5 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -4,8 +4,8 @@ | Version | Supported | | ------------- | ------------------ | -| 0.4 | :white_check_mark: | -| < 0.4 | :x: | +| 0.5 | :white_check_mark: | +| < 0.5 | :x: | ## Reporting a vulnerability diff --git a/dmeta/params.py b/dmeta/params.py index c305029..81890f7 100644 --- a/dmeta/params.py +++ b/dmeta/params.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """DMeta parameters and constants.""" -DMETA_VERSION = "0.4" +DMETA_VERSION = "0.5" OVERVIEW = """ A Python library for removing personal metadata in Microsoft files(.docx, .pptx, .xlsx) and image files(.png, .jpg, .jpeg, .gif). diff --git a/otherfiles/RELEASE.md b/otherfiles/RELEASE.md index 1b3631b..c2d2911 100644 --- a/otherfiles/RELEASE.md +++ b/otherfiles/RELEASE.md @@ -10,11 +10,14 @@ 4. `otherfiles/version_check.py` 5. `otherfiles/meta.yaml` 6. `dmeta/params.py` + 7. `.pre-commit-config.yaml` 3. Update `CHANGELOG.md` 1. Add a new header under `Unreleased` section (Example: `## [0.1] - 2022-08-17`) 2. Add a new compare link to the end of the file (Example: `[0.2]: https://github.com/openscilab/dmeta/compare/v0.1...v0.2`) 3. Update `dev` compare link (Example: `[Unreleased]: https://github.com/openscilab/dmeta/compare/v0.2...dev`) -4. Create a PR from `release` to `dev` +4. Update `.github/ISSUE_TEMPLATE/bug_report.yml` + 1. Add new version tag to `DMeta version` dropbox options +5. Create a PR from `release` to `dev` 1. Title: `Version x.x` (Example: `Version 0.1`) 2. Tag all related issues 3. Labels: `release` @@ -23,17 +26,17 @@ 6. Need review (**2** reviewers) 7. Squash and merge 8. Delete `release` branch -5. Merge `dev` branch into `main` +6. Merge `dev` branch into `main` 1. `git checkout main` 2. `git merge dev` 3. `git push origin main` 4. Wait for all CI pass -6. Create a new release +7. Create a new release 1. Target branch: `main` 2. Tag: `vx.x` (Example: `v0.1`) 3. Title: `Version x.x` (Example: `Version 0.1`) 4. Copy changelogs 5. Tag all related issues -7. Bump!! -8. Close this version issues -9. Close milestone \ No newline at end of file +8. Bump!! +9. Close this version issues +10. Close milestone diff --git a/otherfiles/meta.yaml b/otherfiles/meta.yaml index a3d777e..65a5e13 100644 --- a/otherfiles/meta.yaml +++ b/otherfiles/meta.yaml @@ -1,5 +1,5 @@ {% set name = "DMeta" %} -{% set version = "0.4" %} +{% set version = "0.5" %} package: name: {{ name|lower }} diff --git a/otherfiles/version_check.py b/otherfiles/version_check.py index f80d7f9..c25c271 100644 --- a/otherfiles/version_check.py +++ b/otherfiles/version_check.py @@ -4,7 +4,7 @@ import sys import codecs Failed = 0 -DMETA_VERSION = "0.4" +DMETA_VERSION = "0.5" SETUP_ITEMS = [ diff --git a/setup.py b/setup.py index 87654ae..73611b5 100644 --- a/setup.py +++ b/setup.py @@ -29,14 +29,14 @@ def read_description(): setup( name='DMeta', packages=['dmeta'], - version='0.4', + version='0.5', description='Removing microsoft office files\' metadata', long_description=read_description(), long_description_content_type='text/markdown', author='DMeta Development Team', author_email='dmeta@openscilab.com', url='https://github.com/openscilab/dmeta', - download_url='https://github.com/openscilab/dmeta/tarball/v0.4', + download_url='https://github.com/openscilab/dmeta/tarball/v0.5', keywords="python3 python metadata remove", project_urls={ 'Source': 'https://github.com/openscilab/dmeta',