diff --git a/CHANGES.md b/CHANGES.md index 1bcb75be..d76e5402 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,8 @@ +# 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 + # 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 919aef1c..402ce568 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 00e36b1f..02c8a7b5 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 3227e4bd..1f541b2f 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 6597adc3..940b3d42 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 24954bd3..f3f7563b 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 5e2a4e4e..52cf3b30 100644 --- a/wrappers/python/docs/source/conf.py +++ b/wrappers/python/docs/source/conf.py @@ -10,7 +10,7 @@ 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 a82b376d..72f26f59 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 c40a961b..6df3b404 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 5487c71c..b5eb0012 100755 --- a/wrappers/python/setup.py +++ b/wrappers/python/setup.py @@ -10,7 +10,7 @@ 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."""