Skip to content

Releases: antonplagemann/GoogleMonicaSync

v.5.0.1

15 Jan 10:56
62dc0a7
Compare
Choose a tag to compare

Bugfix Release

Changes from v5.0.0:

Bugfixes:

  • Fixed the issue of resetting/overwriting the gender of a Monica contact during sync. This bug occured when you have a gender type other than "Other" set (default) and then changed name or birthday at Google. Thx to @FlipperLP for the report in #62 😊

v5.0.0

28 Oct 18:02
55b636a
Compare
Choose a tag to compare

Bugfix Release

Changes from v4.1.2:

Breaking changes:

  • Fixed filtering google contacts by id instead of label name (thx to @PerfectSlayer for raising this bug).
    Check your .env file: You should use label names instead of ids for the variables GOOGLE_LABELS_INCLUDE and GOOGLE_LABELS_EXCLUDE. If you are using ids (e.g. 1c87d0118e225be5) you need to update them to the corresponding label name. If you are not using those variables, theres no action needed.

Bugfixes:

  • Fixed an issue where the google contact filtering by label has been ignored (thx to @PerfectSlayer for the fix!).
  • Updated setup document.
  • Improved error logging
  • Added api retries to avoid temporary errors

v4.1.2

30 Sep 09:17
594ca41
Compare
Choose a tag to compare

Bugfix Release

Changes from v4.1.1:

Bugfixes:

v4.1.1

27 Dec 13:48
3eac584
Compare
Choose a tag to compare

Feature Release

Changes from v4.0.0:

New features:

  • Added support for sending all log messages to a syslog server
    See conf.example on how to set the syslog target server or file.

Bugfixes:

  • Fixed wrong "no token"-exception that made it impossible to complete the authorization flow to get a new Google token
  • Updated readme to avoid Google token expiration after 7 days

v4.0.0

22 Dec 20:27
caae23b
Compare
Choose a tag to compare

Feature Release

Changes from v3.2.0:

New features:

  • Added full docker 🐳 support with automatic deployments

Breaking changes:

  • Changed config from python file (conf.py) to .env file (for update instructions see below)

Bugfixes:

  • Fixed missing gender error #29
  • Fixed an issue where a raw birthday format produced an exception instead of beeing skipped
  • Fixed an issue where some contacts have been unintentionally skipped during delta sync
  • Fixed an issue where a new Google token would not have a refresh_token for non-interactive token refresh
  • Fixed an issue where OAuth scopes have been parsed wrong during Google token refresh
  • Fixed an issue where a deleted contact does not get removed from the database (=> failing database check)
  • Fixed a rare issue where database check could fail
  • Fixed and improved some logging issues

Background changes (no effects on functionality):

  • Added instructions for setting up a GCP People API project
  • Added fully automated tests of every command and environment using GitHub Actions
  • Added SonarCloud SAST CI
  • Added CodeQL SAST CI
  • Added a new command-line switch for specifying config location path
  • Introduced black codestyle
  • Introduced flake8 linting
  • Introduced bandit security check
  • Introduced mypy type checking
  • Introduced isort import sorting
  • Reduced code complexity and duplication
  • Introduced snake_case naming convention
  • Added custom exceptions (better error handling)
  • Changed initial Google authorization flow from local_webserver to console (more robust)
  • Changed pickling format from binary to base64 to be readable characters (file updates automatically on next script run)

Update instructions from v3.x.x:

  • Automatic: Do a pip install -r requirements.txt, then run GMSync.py -u once. This converts your conf.py into a .env file and moves your credential files into the right subfolders.
  • Manual: Create a new .env file (use .env.example as template). Then move your credentials.json and token.pickle files into a new data subfolder. Do a pip install -r requirements.txt afterwards.

v3.2.1

16 Aug 17:36
7b6bfaa
Compare
Choose a tag to compare

Bugfix Release

Changes from v3.2.0:

  • Fix static contact field types (#25)
  • Update logging
  • Fix wrong default value at Monica contact creation

v3.2.0

30 Jul 10:45
058a6f9
Compare
Choose a tag to compare

Changes from v3.1.3:

  • Added support for nickname syncing (Google → Monica)
  • Optimized matching with existing contacts at initial sync (#23)
  • Fixed usage of static gender ids, they are now dynamically fetched (#22)
  • Optimized logging (#21)
  • Updated note handling (convert newlines to markdown newlines)
  • Removed old code & updated error handling