From a80aa3ab1adbdfa7f0e6f59ace8c031dc858c64d Mon Sep 17 00:00:00 2001 From: paulkim3151 Date: Wed, 1 Nov 2023 06:34:15 +0000 Subject: [PATCH] Publish 1.2.0 SHA256 hashes: jupyterlab-google-analytics-1.2.0.tgz: fade00fe1b7ad5283495fd45fa09a98ec99cb6f4d6e0aa69365b7b606b086383 jupyterlab_google_analytics-1.2.0-py3-none-any.whl: 63395b2e9292624cf5b0d04b330172da72845d8bfa55b958229e80954aacad82 jupyterlab_google_analytics-1.2.0.tar.gz: b2cb7d620c800c5aa749a57852744ab2d99af3562fb2da334654f3fb17c04625 --- CHANGELOG.md | 18 +++++++++++++++-- jupyterlab_google_analytics/_version.py | 27 ++++--------------------- package.json | 2 +- 3 files changed, 21 insertions(+), 26 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fa3ad75..ce25279 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,12 +2,26 @@ -## 1.0.0 +## 1.2.0 -No merged PRs +([Full Changelog](https://github.com/team-monolith-product/jupyterlab-google-analytics/compare/v1.0.0...66dd25763b641626a57c5505d234953ca0dc9d97)) + +### Enhancements made + +- Upgrade to Jupyterlab4 [#12](https://github.com/team-monolith-product/jupyterlab-google-analytics/pull/12) ([@paulkim3151](https://github.com/paulkim3151)) + +### Contributors to this release + +([GitHub contributors page for this release](https://github.com/team-monolith-product/jupyterlab-google-analytics/graphs/contributors?from=2022-10-08&to=2023-11-01&type=c)) + +[@paulkim3151](https://github.com/search?q=repo%3Ateam-monolith-product%2Fjupyterlab-google-analytics+involves%3Apaulkim3151+updated%3A2022-10-08..2023-11-01&type=Issues) +## 1.0.0 + +No merged PRs + ## 0.2.0 ([Full Changelog](https://github.com/team-monolith-product/jupyterlab-google-analytics/compare/v0.1.0...b3554c1a9d56984e62b9a229fc6ca2787591f5ea)) diff --git a/jupyterlab_google_analytics/_version.py b/jupyterlab_google_analytics/_version.py index 89190b4..5900b8b 100644 --- a/jupyterlab_google_analytics/_version.py +++ b/jupyterlab_google_analytics/_version.py @@ -1,23 +1,4 @@ -import json -from pathlib import Path - -__all__ = ["__version__"] - -def _fetchVersion(): - HERE = Path(__file__).parent.resolve() - - for settings in HERE.rglob("package.json"): - try: - with settings.open() as f: - version = json.load(f)["version"] - return ( - version.replace("-alpha.", "a") - .replace("-beta.", "b") - .replace("-rc.", "rc") - ) - except FileNotFoundError: - pass - - raise FileNotFoundError(f"Could not find package.json under dir {HERE!s}") - -__version__ = _fetchVersion() +# This file is auto-generated by Hatchling. As such, do not: +# - modify +# - track in version control e.g. be sure to add to .gitignore +__version__ = VERSION = '1.2.0' diff --git a/package.json b/package.json index a2eee4c..7b2dd22 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jupyterlab-google-analytics", - "version": "1.1.0", + "version": "1.2.0", "description": "A JupyterLab extension.", "keywords": [ "jupyter",