Skip to content

Commit

Permalink
refactor: renames interface function to make its purpose more clear (#39
Browse files Browse the repository at this point in the history
)
  • Loading branch information
rishabhpoddar authored Jun 6, 2022
1 parent b6e549c commit b32578a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
23 changes: 19 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [2.15.0] - 2022-06-07

- Changes name of `getAllSessionHandlesForUser` to `getAllNonExpiredSessionHandlesForUser`.

## [2.14.0] - 2022-05-05

- User Roles interface

## [2.13.0] - 2022-03-04
Expand All @@ -19,7 +25,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

# Added

- Allow starting transactions with lower isolation level (the default is SERIALIZABLE) through an optional flag in startTransaction
- Allow starting transactions with lower isolation level (the default is SERIALIZABLE) through an optional flag in
startTransaction
- add workflow to verify if pr title follows conventional commits

## [2.11.0] - 2022-01-14
Expand All @@ -35,25 +42,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- User deletion methods

## [2.9.0] - 2021-08-08

### Added

- JWT recipe related changes
- Multiple access token signing key related changes: https://github.com/supertokens/supertokens-core/issues/305

## [2.8.0] - 2021-06-21

### Added

- Pagination and count functions for all recipes: https://github.com/supertokens/supertokens-core/issues/259
- GetUsersByEmail function for ThirdParty recipe: https://github.com/supertokens/supertokens-core/issues/277
- 2 email verification functions: `unverifyEmail` and `revokeAllTokens` for EmailVerification: https
://github.com/supertokens/supertokens-core/issues/270
://github.com/supertokens/supertokens-core/issues/270
- Add change email interface method within transaction: https://github.com/supertokens/supertokens-core/issues/275

## [2.6.0] - 2021-02-16

### Changed

- Extracted email verification into its own recipe
- ThirdParty interface

## [2.5.0] - 2021-01-14

### Added

- Added RowMapper interface for db queries
- Email verification related changes
- User pagination related queries
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id 'java-library'
}

version = "2.14.0"
version = "2.15.0"

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ void createNewSession(String sessionHandle, String userId, String refreshTokenHa

int deleteSession(String[] sessionHandles) throws StorageQueryException;

String[] getAllSessionHandlesForUser(String userId) throws StorageQueryException;
String[] getAllNonExpiredSessionHandlesForUser(String userId) throws StorageQueryException;

void deleteAllExpiredSessions() throws StorageQueryException;

Expand Down

0 comments on commit b32578a

Please sign in to comment.