summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2023-09-01 16:28:16 +0200
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2023-09-01 17:15:52 +0000
commit373b1fc58ecfdac53d0cd4a3011ac522bdfd3e85 (patch)
treee8a38f551ef2dafd09a350d876c2c2aeda7619ac
parent63d993a9f87b2c1c69df2eef5cd305ceb6faf166 (diff)
Version: Update to 1.1.21.1.2
-rw-r--r--CHANGES.md9
-rw-r--r--Makefile4
-rw-r--r--cmd/cli/main.go2
-rw-r--r--docs/src/gettingstarted/building/example.md2
-rw-r--r--exports/common.mk2
-rw-r--r--internal/http/http.go2
-rw-r--r--wrappers/python/docs/source/conf.py2
-rw-r--r--wrappers/python/eduvpn_common/__init__.py2
-rw-r--r--wrappers/python/example/main.py2
-rwxr-xr-xwrappers/python/setup.py2
10 files changed, 19 insertions, 10 deletions
diff --git a/CHANGES.md b/CHANGES.md
index 1bcb75b..d473f8d 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -1,3 +1,12 @@
+# 1.1.2 (2023-09-01)
+* Server:
+ - Update endpoints more frequently
+ - Update endpoints differently for secure internet: For the "home server" and the "current location" separately
+* Python:
+ - Change setup.py lib copying to fix pip building with manylinux
+* Deps:
+ - Update go.mod/go.sum
+
# 1.1.1 (2023-08-29)
* Server:
- Update OAuth endpoints when endpoints are refreshed from .well-known/vpn-user-portal
diff --git a/Makefile b/Makefile
index 919aef1..402ce56 100644
--- a/Makefile
+++ b/Makefile
@@ -35,9 +35,9 @@ srpm:
rm -rf dist/*
# Archive code with vendored dependencies
- git clone . dist/libeduvpn-common-1.1.1
+ git clone . dist/libeduvpn-common-1.1.2
go mod vendor
- cp -r vendor dist/libeduvpn-common-1.1.1/vendor
+ cp -r vendor dist/libeduvpn-common-1.1.2/vendor
tar -zcvf ~/rpmbuild/SOURCES/libeduvpn-common.tar.gz -C dist .
# Cleanup
diff --git a/cmd/cli/main.go b/cmd/cli/main.go
index 00e36b1..02c8a7b 100644
--- a/cmd/cli/main.go
+++ b/cmd/cli/main.go
@@ -124,7 +124,7 @@ func printConfig(url string, srvType ServerTypes) {
err := c.Register(
"org.eduvpn.app.linux",
- "1.1.1-cli",
+ "1.1.2-cli",
"configs",
"en",
func(old client.FSMStateID, new client.FSMStateID, data interface{}) bool {
diff --git a/docs/src/gettingstarted/building/example.md b/docs/src/gettingstarted/building/example.md
index 3227e4b..1f541b2 100644
--- a/docs/src/gettingstarted/building/example.md
+++ b/docs/src/gettingstarted/building/example.md
@@ -23,6 +23,6 @@ make -C wrappers/python
5. Install the wheel using pip
```bash
-pip install wrappers/python/dist/eduvpncommon-1.1.1-py3-none-linux_x86_64.whl
+pip install wrappers/python/dist/eduvpncommon-1.1.2-py3-none-linux_x86_64.whl
```
Note that the name of your wheel changes on the platform and version.
diff --git a/exports/common.mk b/exports/common.mk
index 6597adc..940b3d4 100644
--- a/exports/common.mk
+++ b/exports/common.mk
@@ -19,7 +19,7 @@ LIB_SUFFIX ?= .so
endif
# Current version
-VERSION = 1.1.1
+VERSION = 1.1.2
# Library name without prefixes/suffixes
LIB_NAME ?= eduvpn_common
diff --git a/internal/http/http.go b/internal/http/http.go
index 24954bd..f3f7563 100644
--- a/internal/http/http.go
+++ b/internal/http/http.go
@@ -248,5 +248,5 @@ func (e *StatusError) Error() string {
// RegisterAgent registers the user agent for client and version
func RegisterAgent(client string, version string) {
- UserAgent = fmt.Sprintf("%s/%s %s", client, version, "eduvpn-common/1.1.1")
+ UserAgent = fmt.Sprintf("%s/%s %s", client, version, "eduvpn-common/1.1.2")
}
diff --git a/wrappers/python/docs/source/conf.py b/wrappers/python/docs/source/conf.py
index 5e2a4e4..52cf3b3 100644
--- a/wrappers/python/docs/source/conf.py
+++ b/wrappers/python/docs/source/conf.py
@@ -10,7 +10,7 @@ import sphinx_rtd_theme
project = 'python-eduvpn-common'
copyright = '2023, Jeroen Wijenbergh'
author = 'Jeroen Wijenbergh'
-release = '1.1.1'
+release = '1.1.2'
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
diff --git a/wrappers/python/eduvpn_common/__init__.py b/wrappers/python/eduvpn_common/__init__.py
index a82b376..72f26f5 100644
--- a/wrappers/python/eduvpn_common/__init__.py
+++ b/wrappers/python/eduvpn_common/__init__.py
@@ -1 +1 @@
-__version__ = "1.1.1"
+__version__ = "1.1.2"
diff --git a/wrappers/python/example/main.py b/wrappers/python/example/main.py
index c40a961..6df3b40 100644
--- a/wrappers/python/example/main.py
+++ b/wrappers/python/example/main.py
@@ -98,7 +98,7 @@ def do_secure_internet(edu: eduvpn.EduVPN) -> Optional[Config]:
# The main entry point
if __name__ == "__main__":
- _eduvpn = eduvpn.EduVPN("org.eduvpn.app.linux", "1.1.1-cli-py", "configs", "en")
+ _eduvpn = eduvpn.EduVPN("org.eduvpn.app.linux", "1.1.2-cli-py", "configs", "en")
setup_callbacks(_eduvpn)
# Register with the eduVPN-common library
diff --git a/wrappers/python/setup.py b/wrappers/python/setup.py
index ee595fe..1bc565a 100755
--- a/wrappers/python/setup.py
+++ b/wrappers/python/setup.py
@@ -10,7 +10,7 @@ from setuptools import setup
from wheel.bdist_wheel import bdist_wheel as _bdist_wheel
_libname = "eduvpn_common"
-__version__ = "1.1.1"
+__version__ = "1.1.2"
def getlibpath(plat_name: str) -> typing.Union[str, None]:
"""Get library path for plat_name relative to exports/lib/ folder."""