Releases: KorAP/Kustvakt
v1.2-release
This release introduces rate limit for authenticated users.
What's new
- Reactivate Query Serializer Web-service (#903)
- Allow admin to create groups with name length less than 3 characters
to support existing groups from C2 - Implemented rate limit for authenticated users (AI assisted)
- Customize rate limit settings in kustvakt.conf (AI assisted)
What's changed
- Change Userdata to use String username instead of integer userId
Bug fixes
- Fix deprecated URL constructor (AI assisted)
- Fix Jackson and serialization deprecated methods (AI assisted)
Full Changelog: v1.1-release...v1.2-release
v1.1
This release introduces pipe response in multiple services (search, match-info, metadata) and VC incase-sensitivity.
What's new
- Change VC and query names to lowercase
- Implemented pipe response rewriting for match info API (#814)
- Add pipe response for the metadata web-service.
- Add an exception for missing layer.
- Use database for querying statistics in VC list service
- Always update VC statistics at server start
- Use database for statistics service (limited to full version
and single VC reference) - Handle missing layer by throwing an exception
What's changed
- Fixed statistics conversion in Query Converter
Bonus for Docker compose
- Introduce a wrapper for generating external thread-dump files
Full Changelog: v1.0-release...v1.1-release
v1.0
This release introduce major changes including one jar merge for both lite and full version and new API version 1.1. It includes bulk changes from the previous SNAPSHOT versions (0.79.1, 0.80, 0.80.1).
Database changes
- Add statistics in the query table
What's new
- Add request log using jetty. (default: disabled)
- Introduce APIDeprecationFilter
- Add API version to the QueryService (#806)
- Add API version to the search service (#806)
- Add API version to ResourceParser & ServiceInfo (#806)
- Add API version to KoralCollectionQueryBuilder (#806)
- Add API version to NamedVCLoader (#806)
- Add corpus support at VirtualCorpusRewrite (#806)
- Add apiVersion to rewrite (#806)
- Add apiVersion for checking VC in caching process (#806)
- Merge full and lite profiles and create one jar for both.
- Merge full and lite version in dockerfile and CI tests
- Allow system VC to have names with less than 3 characters (support for existing
C2 VC, #788) - Switch Kustvakt Server to run the lite version by default.
- Add backward compatibility for docker compose legacy-full
- Calculate and store statistics for named VC.
What's changed
- Make statistics in VC list configurable (default: false)
- Deprecated matchInfo web-service has been removed for API v1.1.
- Remove deprecated Authorization Post web-service for API v1.1 (#767)
- Remove deprecated user-group web-services for API v1.1 (#769)
- Remove deprecated VC web-services for API v1.1 (#771)
- Remove deprecated authorized_only parameter in the client list API for v1.1 (#760)
- Update QuerySerializer with API version in the test suite (#806)
- Clean up collection node from Krill response (#806)
- Update system-vc and fix get statistics with VC reference test.
Bug fix
- Bug fixes & Spring 6.2.11 upgrade (kupietz)
- Fix collection/corpus paths in the test suite (#806)
- Fix authorization with POST tests.
- Fix redundant initial-super-client generation.
Full Changelog: v0.79-release...v1.0-release
v0.79
This release introduces timeout rewrite and Timeout in LDAP process. It includes important fix for deadlock potential in Krill 0.64.2.
Database changes
What's new
- Timeout Rewrite
- Timeout for LDAP connection
What's changed
- SQL test data have been completely removed from database migration (#379)
- required_access has been removed from query reference DTO.
- Pipe rewriting is disabled by default and can be enabled by specifying
pipe.hostin the kustvakt.conf file. - Pipe rewriting is limited to the tools provided at the URL specified by
pipe.host. - LDAP related logs have been moved to ldap.log at the data folder instead of system.out.
Bug fix
- Fix datatype for query statistics (#802)
- Fix serializing Virtual Corpus KoralQuery
Full Changelog: v0.78.1-hotfix...v0.79-release
v0.78.1-hotfix
HOT FIX for authenticated statistics requests.
Full Changelog: v0.78-release...v0.78.1-hotfix
v0.78
This release improves resource web-service, particularly to support KorapSRU searching on protected resources via CLARIN FCS.
Database changes
This release includes some changes in the database.
required_accesscolumn has been added to theresourcetable.
What's changed
- Free resource has been renamed to resource to cover protected resources.
- Add required access to resources.
- Determine corpus access dynamically using koralQuery for resources without
predefined required_access. - Omit empty resource description.
- Added URL-encoding for corpus query at in the resource service.
Bug fix:
- Fix recaching VC at closing index.
Full Changelog: v0.77-release...v0.78-release
v0.77
This release improves VC info and statistics web-services by enabling VC reference in computing statistics. It also improves the resource web-service to support KorAP SRU and Clarin FCS.
Besides, it includes important updates in Krill v0.64 that adds unique ids (signatures) to search results (matches).
Configuration update
krill.secretB64 must be set to enable match signatures in Krill. It should include a random B64 character sequence, that optimally should be rolled regularly.
Database changes
This release includes some changes in the database.
- New a
pidcolumn to theresourcetable. - Removal of some VC test data
What's changed
- VC info now includes statistics
- VC statistics uses VC reference instead of original KoralQuery
- VC rewrite is enabled for the VC statistics web service
- system-vc for testing is stored in the DB through the init-method in the Initializator bean
Bug fix:
- Fix landingPage URI in the resource API response
- Fix OAuth token request API
- Fix loading Spring XML config for the ICC and DNB tests
Full Changelog: v0.76-release...v0.77-release
v0.76
This release introduces significant changes in query rewrite syntax adding two new attributes original (the original node or attribute that was rewritten) and _comment (information about a rewrite), and replacing origin with editor (an agent having done a rewrite).
Database changes
This release includes a minor change in the database. Databases from previous versions must be repaired once using "flyway repair". Please download flyway for command line and copy the src/main/resources/db to the root folder. Run the following command:
$ ./flyway repair -url=jdbc:sqlite:../data/db.sqlite -locations=filesystem:../db/sqlite,filesystem:../db/predefined
New Features
- QueryContextRewrite (manage context size in query results)
What's changed
Changes in query rewrite syntax
- new attribute
original(the original node or attribute that was rewritten) - new attribute
_comment(information about a rewrite) - replace
originwitheditor(the agent having done a rewrite).
Others
- URL is now mandatory for plugins
- Bug fixes.
Full Changelog: v0.75-release...v0.76-release
v0.75
This release introduce major changes in user group database structures and functions. The tables have been simplified as described in the picture below (see issue #763):
Database changes
This release includes major changes in the database. Databases from previous versions must be repaired once using "flyway repair". Please download flyway for command line and copy the src/main/resources/db to the root folder. Run the following command:
$ ./flyway repair -url=jdbc:sqlite:../data/db.sqlite -locations=filesystem:../db/sqlite,filesystem:../db/predefined
Some authorization scope are deprecated and must be removed from the oauth_access_scope tables:
delete from oauth2_access_scope where id="EDIT_VC";
delete from oauth2_access_scope where id="EDIT_USER_GROUP_MEMBER_ROLE";
What's changed
-
privilege and query_access tables have been removed.
-
user_group, user_group_member, and role tables have been modified.
-
Member invitation and subscription mechanisms have been removed.
-
Soft delete group and group members have been removed.
-
Authorization scope EDIT_VC has been removed and replaced with CREATE_VC.
-
User group services have been updated.
Deprecated services (will be removed completely in the upcoming API v1.1)
- member invitation
- add member roles
- subscribe to group
- unsubscribe from group
New services
- add admin role for a group-member
- delete vc access (roles) from user-group
- admin web service: retrieve hidden group
Other changes
- Introduce filter_by and deprecate authorized_only in OAuth2 client list (#579)
- Added not-timeExceeded to the totalResult constraints.
- Removed
registered_byand restrictregistration_dateproperties to admin/owner only. - Added config for total result cache
- Set default port to 8089
Bug Fix
- Removed admin & owner restriction on client info access.
- Disallow scope all for non super clients.
- Fixed administrative user group retrieval to return groups with empty members.
- Fixed total result cache key hashcode
Full Changelog: v0.74-release...v0.75-release
v0.74
What's changed
- Remove corpusQuery param in the statistics web-service (close #758).
- Unified ResourceFilters and SearchResourceFilters (deprecated SearchResourceFilters.)
- Config change CC RE from CC-BY.* to CC.* to includes more liberal CC variants
- Setup log4j using system property.
- Logging to file instead of standard out
- Introduce Krill updates and bug fixes including
- Inline markers updates
- Refactor snippet generation
Bug Fix
- Fixed supported versions in the configs
Full Changelog: v0.73.2-release...v0.74-release
