Release v0.6.0 - #8
Merged
Merged
Conversation
Fixes: - same-name contacts no longer overwrite each other (suffix _2, _3, ...) - UTF-8 BOM (Excel "CSV UTF-8") no longer drops the first column - newlines in any cell can no longer inject vCard properties - CRLF line endings (also on Windows) and 75-octet line folding - vCard 4.0: data: URIs for PHOTO/LOGO/KEY, valid tel: URIs, CATEGORIES/NICKNAME list separators kept - vCard 3.0: drop CHARSET param, proper data: URI photos, TZ;VALUE=text - invalid geo/dates skipped with warnings; iter_contacts streams rows Features: - vCard 2.1 output (quoted-printable, 2.1 base64 layout) - PRONOUNS, SOCIALPROFILE, LANG (vCard 4.0) - deterministic UIDs (name/org/email or uid column) - numbered multi-value columns (email_2, Phone 3, ...) - --keep-unmapped: unmapped columns as X- properties - organization cards (KIND:org / X-ABSHOWAS), PRODID - looser header matching, more date formats, top-level --version Packaging/CI: drop setup.py and Python 3.9, add 3.14, setuptools>=77, mypy in CI, PyPI trusted publishing, action-gh-release v2, CHANGELOG
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8 +/- ##
==========================================
+ Coverage 84.81% 90.33% +5.51%
==========================================
Files 12 13 +1
Lines 764 1107 +343
==========================================
+ Hits 648 1000 +352
+ Misses 116 107 -9
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Spec-compliant vCard output, vCard 2.1 support, RFC 9554 fields and several data-loss fixes. Full details in
CHANGELOG.md.Fixes
smith_john_2.vcf, ...)data:URIs for PHOTO/LOGO/KEY, validtel:URIs, CATEGORIES/NICKNAME lists kept intactCHARSETparameter, correctdata:URI photos,TZ;VALUE=textfor zone names--strictfails on malformed rows and undecodable bytesFeatures
-V 2.1)PRONOUNS,SOCIALPROFILEandLANGin vCard 4.0uidcolumn), so re-imports update instead of duplicatingemail_2,Phone 3, ...)--keep-unmappedwrites unknown columns asX-propertiesKIND:org,X-ABSHOWAS:COMPANY)First Name=first_name), more date formats,csv2vcard --versionBehavior changes
mobile/cellcolumns map toTEL;TYPE=CELLinstead of the work phonelocationcolumn is no longer treated as geo coordinatesPackaging and CI
setup.py; requires setuptools >= 77action-gh-releasev2