Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare 2.1.0 #60

Merged
merged 4 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# 2.1.0 (2024-07-25)
* Discovery:
- Fetch on startup in the background with a function "DiscoveryStartup"
- Remove organization 4 hour expiry, fetch organization list when the client needs to authorize again
- Fix missing JSON fields not having empty values but having values for previous entries due to a memory re-use bug (#55). This can be noticed in e.g. the keyword list
- Implement conditional requests using `If-Modified-Since` request header and `Last-Modified` response header and checking on HTTP 304
* FSM:
- Allow AskProfile selection after authorizing
- Go to previous state on renew error
* Proxyguard integration:
- Fix race condition warning
* User agent:
- Override ProxyGuard user agent
- Override eduoauth-go user agent
* Deps:
- Update to latest versions

# 2.0.2 (2024-06-25)
* Client: More frequent state file saving which helps forceful closes of a client
* Config: Implement atomic file writes
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/eduvpn/eduvpn-common
go 1.18

require (
codeberg.org/eduVPN/proxyguard v0.0.0-20240717121319-c80d3bd681d6
codeberg.org/eduVPN/proxyguard v0.0.0-20240723101427-d0b2383c372c
github.com/jedisct1/go-minisign v0.0.0-20230811132847-661be99b8267
github.com/jwijenbergh/eduoauth-go v1.1.0
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ codeberg.org/eduVPN/proxyguard v0.0.0-20240702093453-d36a0e1819c1 h1:ma/pIMy0ZfP
codeberg.org/eduVPN/proxyguard v0.0.0-20240702093453-d36a0e1819c1/go.mod h1:fc7DsdgdLmrO7DN45HNp+ekVewlRcikSOkAvUeGUvWk=
codeberg.org/eduVPN/proxyguard v0.0.0-20240717121319-c80d3bd681d6 h1:SraE4iJ5ctet/cytU1ApMFaSBW/DeyTTo0eLnDDc5Lg=
codeberg.org/eduVPN/proxyguard v0.0.0-20240717121319-c80d3bd681d6/go.mod h1:fc7DsdgdLmrO7DN45HNp+ekVewlRcikSOkAvUeGUvWk=
codeberg.org/eduVPN/proxyguard v0.0.0-20240723101427-d0b2383c372c h1:C+CRKtZb8pEdNsaZuvheoTInlEUFqtOpF0lUvreD79Q=
codeberg.org/eduVPN/proxyguard v0.0.0-20240723101427-d0b2383c372c/go.mod h1:fc7DsdgdLmrO7DN45HNp+ekVewlRcikSOkAvUeGUvWk=
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
github.com/jedisct1/go-minisign v0.0.0-20230811132847-661be99b8267 h1:TMtDYDHKYY15rFihtRfck/bfFqNfvcabqvXAFQfAUpY=
github.com/jedisct1/go-minisign v0.0.0-20230811132847-661be99b8267/go.mod h1:h1nSAbGFqGVzn6Jyl1R/iCcBUHN4g+gW1u9CoBTrb9E=
Expand Down
2 changes: 1 addition & 1 deletion internal/discovery/discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"context"
"encoding/json"
"errors"
"net/http"
"fmt"
"net/http"
"time"

httpw "github.com/eduvpn/eduvpn-common/internal/http"
Expand Down
2 changes: 1 addition & 1 deletion internal/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ package version

// Version is the latest version
// Update this when releasing
const Version = "2.0.2"
const Version = "2.1.0"
2 changes: 1 addition & 1 deletion wrappers/python/eduvpn_common/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.0.2"
__version__ = "2.1.0"
2 changes: 1 addition & 1 deletion wrappers/python/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = eduvpn_common
version = 2.0.2
version = 2.1.0
author = Jeroen Wijenbergh
author_email = [email protected]
description = Python wrapper for eduvpn-common, a codebase to build eduVPN clients with
Expand Down
Loading