- ⬆️ Upgrade node to v20 in CI [c3d120d]
- ➖ Move @types/jest among dev dep. & remove unused react-display-name [e5edec9]
- ✅ Add test for isTokenExpired util [232392c]
- ♻️ Obtain access token without relying on the current API state from redux store [c2d1c38]
- 🔥 Remove deprecated getAuthStateChannel [ef1c7e3]
- 🔥 Remove deprecated authorizable HOC [3f8733b]
- 🔥 Remove already depreacted apply access token externally feature [72c7c22]
- 🐛 Fix incorrect parameters order of IndexedDB put [8a6b791]
- 🐛 Fix accessing indexedDB in incognito mode [1b8ff5e]
- 🔧 Update petrus pkg version in examples [d5cf6a4]
- 🐛 Fix isPlainObject util [8ca92fc]
- Bump terser from 4.8.0 to 4.8.1 [5c5c9c0]
- ♻️ Extend PetrusError with type and originalError props [b479c11]
- 🔧 Use local codesandbox for CI and as an usage example too [8884d4b]
- 🔧 Update list of snadboxes [34cf6dd]
- Adjust babel config [b06f3e2]
- 🔧 Adjust babel config [5d1f53b]
- 🔧 Adjust babel config [30c21a3]
- 🔥 Remove console.log for a dev purpose [a94629f]
- 🚧 Log out enum for codesandbox [c7c5f83]
- 💥 Remove ApiKeys enum, use ApiKey type instead [392d02c]
- 🔥 Remove config Proxy preventing premature config reads (it throws false positive error) [74b97de]
- 🐛 Fix merging configs [ec0b7ac]
- 🏷️ Fix type of loginRequest payload [440d7cd]
- 🏷️ Update types [329f3fb]
- 🏷️ Move from TS generics to global namespace to support overrides [405806c]
- 🔧 Update babel config - react – use automatic runtime react [1fcc12e]
- ⬆️ Bump minimist from 1.2.5 to 1.2.6 [d9ccd0d]
- 🔧 Setup typedoc [3983b15]
- ⬆️ Upgrade minor and patch deps [73d3fca]
- ⬆️ Upgrade most of the deps [db03490]
- 🔧 Fix TS types compilation with preserveSymlinks to true [e95118b]
- 💥 Require core-js among peerDependencies [4256648]
- 🏷️ Migrate authorizable HOC to TS [f11e416]
- 🗑️ Deprecate applyAccessTokenExternally option [efbdc33]
- 🏷️ Convert rest of codebase to TS [21426dd]
- 💥 Replace reducerKey option with selector function & require apiKey param at apiSelector [9bb9b44]
- 🏷️ Migrate to TS all reducers [f0178b4]
- 🏷️ Add configuration types [d224ae5]
- 🏷️ Migrate all action creators to TS [50120a9]
- 🏷️ Migrate some code to TS [0132f0a]
- 🔥 Remove commented debugger [0520c47]
- 🐛 Wrap getOAuthTokens with try/catch block [f42bba1]
- 🐛 Fix starting oAuth flow if tokens persistence is none [06056bb]
- 🐛 Fix starting oAuth flow if tokens persistence is none [881f006]
- 🏷️ Pass user to petrus state via generics [10d9b1f]
- 🐛 Skip calling requestAnimationFrame if window object isn't present [8a327ed]
- Apply suggestions from code review [64073b6]
- 🏷️ Fix some types issues found during usage at project [72a24d5]
- ✨ Make starting retrieveTokens saga conditional based on autoStartTokensRetrieval option [9502ff0]
- 🚚 Migrate to github actions from travis [8fd2a89]
- 🐛 refreshing access token timeout - throw an error if upper limit is exceeded [541eeda]
- 💚 Fix test:ci script [e24a0ac]
- 🏷️ Fix type of getaccess token [a0bbfbf]
- Make logger optional in petrus.d.ts [4060207]
- Make reducerKey optional in petrus.d.ts [90aa273]
- Make initialState optional in petrus.d.ts [615cd4e]
- Make tokens optional in petrus.d.ts [1387fc2]
- 🏷️ Add types declaration file [82d333f]
- 🔧 Support react@17 in peerDependencies too [623d016]
- ⬆️ @ackee/redux-utils@3.1.8 [dc0a9d8]
- 🚨 Fix correct Authenticated prop type [b06d37d]
- ⬆️ Bump nth-check from 2.0.0 to 2.0.1 [e4141d3]
- ⬆️ Bump tmpl from 1.0.4 to 1.0.5 [6ec1c49]
- ♻️ Use gitmoji-changelog from npx [9daa6ad]
- ⬆️ Bump path-parse from 1.0.6 to 1.0.7 [ab23874]
- ⬆️ Bump tar from 4.4.13 to 4.4.16 [76a0a63]
- ⬆️ Bump hosted-git-info from 2.8.8 to 2.8.9 [d957815]
- Bump ws from 6.2.1 to 6.2.2 [2dec120]
- Bump browserslist from 4.12.0 to 4.16.6 [18e7f94]
- Bump ssri from 6.0.1 to 6.0.2 [9390867]
- 🐛 getAccessToken - refresh expired access token [9dbf24b]
- 🐛 Resolve getAccessToken when accessToken is avail. or on SET_TOKENS during tokens retrieval [e1ca55b]
- ✨ If authenticate handler doesn't return a user, getAuthUser handler is called [7a24320]
- 🔥 Deprecate authorizable HOC in favor of Authenticated component [9836166]
- 🐛 Fix defininig session storage object [e5011fa]
- ✨ Add version and release npm scripts [53c0b06]
- 🐛 Fix checking sessionStorage availability [4e2250f]
- Bump elliptic from 6.5.2 to 6.5.4 [769bf75]
- Bump ini from 1.3.5 to 1.3.8 [6364422]
- Bump lodash from 4.17.15 to 4.17.21 [56b5c64]
- ✨ Add authenticated component [7e39a26]
- ♻️ Refactor handling thrown errors in sagas [f3e6efa]
- 🔧 Increase version of nodejs at build env to 10 [328c00a]
- ➕ Add babel-plugin-module-resolver to fix aliases [0962a72]
- 🐛 Fix getAccessToken [ebb3ceb]
- 🔧 Remove release and version npm scripts [eeaa486]
- 🔧 Add release and version npm scriptss [0ac96aa]
- ♻️ Remove webpack aliases; use vscode aliases [c7ac516]
- ⬆️ Upgrade @ackee/redux-utils [ad49512]
- ⬆️ Upgrade dependencies; add @ackee/browserslist-config [b08bb65]
- 4.0.5 [d32f1aa]
- 📝 Update changelog [762d8a9]
- Merge pull request #70 from AckeeCZ/feature/browserslist [e24f15d]
- 🐛 Fix opening connection to index db [9d19f21]
- 4.0.4 [994bca1]
- 📝 update changelog [dbfed8d]
- Merge pull request #69 from AckeeCZ/fix/indexedDB-connection [fbffd12]
- 🐛 Fallback to storage mock when indexed db cannot been opened [b41a170]
- 4.0.3 [10a90a0]
- 📝 Update changelog [f5616a8]
- Merge pull request #68 from AckeeCZ/fix/working-in-private-browser-mode [39fc174]
- 🐛 Set checkTokenExpirationOnTabFocus to true by default [ae8bd67]
- 4.0.2 [1151475]
- 🔧 Add version and release scripts to package.json [c09c11f]
- 🚑 Remove .gitignore from .npmingnore [dc95445]
- v4.0.1 [e5bccdb]
- Update package.json [8187e26]
- Update changelog [ced93fe]
- Upgrade to @ackee/eslint-config@2.0.0 [8e17e69]
- 4.0.0 [189fa37]
- Add storage handler for tokens persistence NONE [88a66ba]
- Merge pull request #63 from AckeeCZ/jstorm31-patch-1 [f6ebab0]
- fix documentation return type [3c90e2d]
- 4.0.0-beta.20 [48fc974]
- Clear storage state if tokens retrieval fails [32b7dc4]
- RETRIEVE_TOKENS_RESOLVE is dispatched after fetchUser saga ends [c39894a]
- Map authorizable HOC state on current flowType [5b5aad5]
- Remove browserslist [5ddc9a5]
- 4.0.0-beta.19 [358418b]
- Update babel config - use @babel/preset-modules [46cb709]
- Upgrade dependencies [4532604]
- ✨ OAuth: add processTokens method [23b918f]
- 4.0.0-beta.18 [0eceeb8]
- 🐛 oAuth: if accessToken, tokens will be null, therefore not retrieved [f6c1a20]
- 🐛 Fix getSearchParams [23ba469]
- 4.0.0-beta.17 [a279c95]
- Merge pull request #58 from AckeeCZ/bugfix/OAuth [361f9a1]
- 📝 Update changelog [ccfe83b]
- Update changelog [60f5061]
- 🐛 Fix OAuth init [c6ea722]
- 4.0.0-beta.16 [0023d9c]
- ✨ Add flowType [fd7b805]
- 4.0.0-beta.15 [984d3e6]
- Merge pull request #56 from AckeeCZ/feature/flow-type [4b80d9f]
- 📝 Update changelog [a37c17a]
- 📝 Add docs for FlowType [25a1ef4]
- 🐛 Fix getAccessToken [1f57e0a]
- 4.0.0-beta.14 [d896361]
- Merge pull request #51 from AckeeCZ/fix/getAccessToken [516fcac]
- Fix snippet syntax error in docs [26d50d0]
- 4.0.0-beta.13 [96269f8]
- Merge pull request #50 from AckeeCZ/feature/get-auth-token [46a33a6]
- Export SessionState instead of AuthSession [5ce1092]
- Add getAccessToken util [bccbd59]
- Document SessionState enum [a5a5407]
- Update docs [14def13]
- 4.0.0-beta.12 [5926ac8]
- Update changelog [c02b998]
- Upgrade @ackee/redux-utils [7ae48f3]
- Fix apiSelector selector [aaec8e2]
- 4.0.0-beta.11 [d068891]
- Merge pull request #45 from AckeeCZ/feature/terminate [462522b]
- Remove raceWithTerminate from documentVisibility [e974f0b]
- Add terminate action [207c526]
- 4.0.0-beta.9 [e21a946]
- Update changelog [dda69de]
- Merge pull request #43 from AckeeCZ/hotfix/globalEnv [5f9b87d]
- Fix setting global env. var. [f26f7b6]
- 4.0.0-beta.7 [9cc8af7]
- Update changelog [8b8bb19]
- Merge pull request #42 from AckeeCZ/feature/storage-driver [0fea418]
- Fix links between doc files [4b0721e]
- Update docs [f24e9c3]
- Add docs for storager drivers [3d4b505]
- Make storage drivers (for each tokens persistence) configurable [6aae688]
- Update changelog [2053e19]
- 4.0.0-beta.3 [0c6f825]
- Update changelog [a7eb55a]
- Merge pull request #41 from AckeeCZ/hotfix/refresh-tokens [4d88f95]
- tokens/refreshment: pass refreshed tokens to applyAccessTokenExternally instead of the old ones [2b5f635]
- 4.0.0-beta.2 [b66a82a]
- Update changelog [40a345c]
- Merge pull request #39 from AckeeCZ/feature/apply-access-token-externally [933ef1a]
- Update changelog and docs [f01c058]
- Update babel config [8741228]
- Fix circular dep. [f959618]
- Implement applyAccessTokenExternally feature [6f8432c]
- 4.0.0-beta.1 [f2ea232]
- Merge pull request #38 from AckeeCZ/feature/upgrade-dependencies [b74d726]
- Upgrade dependencies [e317741]
- 4.0.0-beta.0 [f70e6bd]
- Merge pull request #36 from AckeeCZ/feature/structure [dc05e13]
- docs/api: fix selectors [6332cf7]
- Update changelog [2ed5cee]
- Update changelog [c7db762]
- Update docs [455b290]
- Upgrade redux-saga to version 1.0.x [bbbdf90]
- 4.0.0-alpha.2 [d533587]
- Upgrade @ackee/redux-utils; add sideEffects flag [2f3272e]
- Eliminate lodash functions completely [27fed9c]
- 4.0.0-alpha.0 [ac043af]
- Fix bugs after refactoring [09a4c9d]
- Remove yarn test from pre-push hook (only temporally) [c3b0065]
- Update jest config [7fddcd9]
- Complete package refactor and architecture redesign [9729ae5]
- Add webpack aliases [62b68ab]
- Add jest [c37cd67]
- Add global services [7370729]
- Add npm script for analyzing bundle size [79ea3a3]
- v3.7.10 [4becf08]
- v3.7.9 [f90a98a]
- v3.7.8 [0fd0047]
- 3.7.7 [1a74094]
- 3.7.4 [09e75b3]
- 3.7.3 [fb8de03]
- Remove localforage, use custom key-value methods built with idb (lightweight wrapper for IndexedDB) [ba42631]
- 3.7.2 [35ddf10]
- Move lodash with localforage back to dependencies; try to use direct imports for lodash [5cc6662]
- 3.7.0 [de88f42]
- Merge pull request #35 from AckeeCZ/feature/verify-access-token-availability [7644a6a]
- Add verifyAccessTokenAvailability action creator [fb488c8]
- 3.6.0 [942f6eb]
- Update changelog [f78ea42]
- Merge pull request #34 from AckeeCZ/feature/external-logger-and-on-error [041d802]
- Merge pull request #33 from AckeeCZ/feature/document-visibility [affce38]
- Update changelog and readme [6eeaa3f]
- Upgrade dependencies [907f619]
- Support external logger object [da75305]
- Check token expiration on tab focus [285d2b6]
- 3.5.2 [2394296]
- Merge pull request #31 from AckeeCZ/bugfix/tokens-retrieval [6cd9739]
- Update changelog [df2097c]
- If retrieved tokens are expired, refresh tokens, wait for the refresh request to finish and then fetch auth. user [30fdb29]
- 3.5.1 [59b8ed6]
- Merge pull request #28 from AckeeCZ/feature/auth-content [e1fbe8d]
- Update changelog [4fa32ec]
- Render authorized content only if tokens and auth. user is available in the store [315a8f0]
- Dispatch setTokens before stopLogin [3d7c796]
- Fix type in changelog [baca023]
- 3.5.0 [3ee5eca]
- Update changelog [81f0f6d]
- Merge pull request #27 from AckeeCZ/feature-support-ssr [c808553]
- Fix lint errors [8aebbee]
- Change handling of server side case in getOAuthTokens [edcd69a]
- Fix using timeout methods at server side [f64d54c]
- Fix using getOAuthTokes at server side [c287d8e]
- Add mocks for local and session storage when used at server side [fe92799]
- 3.4.0 [343e598]
- Merge pull request #24 from AckeeCZ/bugfix/OAuth-retrive-tokens [d016f03]
- Use isNil from lodash [29099a3]
- Update changelog [3697e77]
- Update changelog [d36ab4c]
- Add validateTokens utility [b4b1a22]
- Update oAuth doc [aa0dc21]
- Rename parseExpirationDate to createExpirationDate [b151551]
- has expiration prop if it isn't undefined (not any falsy value) [d84b92c]
- retrieve tokens with enabled OAuth: take fresh tokens always first [b6aacee]
- Merge pull request #23 from AckeeCZ/feature/docs [7603b58]
- Update changelog [6a521a1]
- Move documentation to api and oAuth to their own files [1fb061f]
- 3.3.1 [78002ce]
- Add missing export of setUserWithTokens [7c8a130]
- Merge pull request #22 from AckeeCZ/feature/readme [28f0fef]
- Update README [3efbcbd]
- 3.3.0 [ade5504]
- Update CHANGELOG [f93d75d]
- Merge pull request #21 from AckeeCZ/feature/action-types [18e38e0]
- Fix eslint errors [f2f2b25]
- Update CHANGELOG [1325263]
- Add RETRIEVE_TOKENS_REQUEST, RETRIEVE_TOKENS_RESOLVE actions [072a019]
- Update CHANGELOG.md [a149e5b]
- Update CHANGELOG.md [dc59171]
- 3.2.3 [b6c7017]
- Merge pull request #19 from AckeeCZ/bugfix/oAuth-expiresIn [8e1b5e4]
- oAuth#enforceAccessTokenScheme: parse and validate 'expiresIn' [f57954d]
- Update CHANGELOG [70afbb4]
- Merge pull request #18 from AckeeCZ/bugfix/oAuth [23f5a96]
- validateOAuth: Fix method names [4aeb430]
- 3.2.1 [88e365d]
- Fix transpilation of selectors.js (caused its unpublishing) [9f39ae7]
- Remove ls command from travis build recipe [fc84935]
- Add listing es directory into travis.yml [8d4267f]
- Try to fix unpublishing of selectors.js by replacing & with && in build command [8b03869]
- 3.2.0 [cedabe6]
- Merge pull request #15 from AckeeCZ/feature/set-user-with-tokens [1ead8b2]
- Add changelog [ce4ba89]
- Add setUsetWithTokens action with saga handler [7ac956e]
- 3.1.2 [7337bd0]
- 3.1.1 [0569635]
- 3.1.0 [f7f9750]
- Use camelCase function from lodash instead of custom one [e43d491]
- Merge pull request #13 from AckeeCZ/feature/oAuth2 [d4166bc]
- Fix toCapitalize [8c4b99d]
- Fix method names [5cac73b]
- Remove console.log [b42977f]
- Update enforeAccessTokenScheme method - expiration must be date string [b8269d3]
- Use location object [af05f04]
- Fix eslint error [bfcffe1]
- Add support for oAuth2 authentication [a2641c3]
- accessTokenAvailable: pass to the action whole accessToken object instead of just the token string [ec3b3b3]
- 3.0.16 [b3aaa04]
- 3.0.11 [3f4e24e]
- Update READM [c307685]
- Merge pull request #11 from AckeeCZ/development [1cf0322]
- Merge pull request #10 from AckeeCZ/development [81087e8]
- Merge pull request #9 from AckeeCZ/development [d982972]
- Merge pull request #7 from AckeeCZ/development [5bf2150]
- 3.0.5 [0b318b9]
- Update README [a3dd481]
- Merge pull request #6 from AckeeCZ/development [7b0b508]
- Merge pull request #5 from AckeeCZ/bugifx/set-tokens-persistence [17ef77e]
- Merge pull request #3 from AckeeCZ/development [a370979]
- Merge pull request #1 from AckeeCZ/development [a49f219]
- 3.0.4 [5b728c7]
- Rename undefined persistance variable to persistence [fb759fa]
- Merge pull request #4 from AckeeCZ/bugfix/set-tokens-persistence [fb57364]
- 3.0.3 [58d460e]
- Connect setTokensPersistence watcher saga among other sagas [2fea124]
- Rename setTokensPersistance file to setTokensPersistence [2df0ee2]
- Merge pull request #2 from AckeeCZ/bugfix/configure [54dc1c1]
- 3.0.2 [a42c7a4]
- Set handlers to the global config [514dd0a]
- 3.0.1 [f4cfd8f]
- Update README [416ad68]
- Fix link in the main README [247ceaa]
- Merge branch 'features' into 'master' [563ead8]
- Add lint script to the start script [6373998]
- Update lint-staged script - run also 'yarn lint' [952a962]
- 3.0.0 [f9fd524]
- Add travis config [144ef55]
- Add support for passing custom initialState, setting up custom reducer key [fe7779d]
- Remove deprecated authorizedFn saga [fdf750d]
- Use react-display-name instead of custom utility [5d80308]
- Add support for changing tokens persistence dynamically [0a7b558]
- Add prettier ignore file [eeda1e8]
- 2.2.9 [2dc8226]
- Update .npmignore [01eb589]
- Add prettier script [6f6c9ed]
- start script: Update glob pattern to include also jsx files [4187250]
- 2.2.8 [c57373b]
- Fix authorizable - show loader if auth user is fetching [1d35fee]
- 2.2.7 [cf57c62]
- Update babel config [c8e3c08]
- Delete package-lock.json [156a065]
- 2.2.2 [98d1e06]
- Update authorizable - Render AuthorizableComponent only if auth user is fetched [a130acd]
- Merge branch 'feature-authorizable' into 'master' [12efee3]
- 2.2.1 [f4a250d]
- Add authorizable to the main README [3e87bfc]
- 2.2.0 [0d68172]
- Add authorizable HOC [b8760d9]
- Add triedToRetrieveTokens flag to the reducer [c1d1d23]
- Clear tokens also when AUTH_REFRESH_TOKEN_FAILURE occurs [61ce6d9]
- Remove webpack (no umd target will be supported anymore) [c8d2977]
- Add npmignore [51c9a7f]
- Merge branch 'bugfix-invalid-tokens-retrieval' into 'master' [8b9564a]
- 2.1.0 [843cbec]
- Update description of available actions for the authStateChannel [109c108]
- Update tokens saga [abd27d6]
- Do not throw error from fetchAuthUser, sice it aborts other sagas [e294eee]
- 2.0.2 [797f35b]
- Update triggers of AUTH_SESSION_END and ACCESS_TOKEN_UNVAILABLE [d244294]
- Clear up old build before creating new one [85c4c8c]
- 2.0.1 [f9c32b1]
- Fix link in README [fcbd5ba]
- Update README [5a44fe4]
- 2.0.0 [a7c6188]
- 1.1.2 [3ce0ab3]
- Fix typo in README file [d28d93e]
- Merge branch 'feature-readme-2' into 'master' [86fc235]
- Fix links in the README [8b5fb7c]
- Merge branch 'feature-readme' into 'master' [fb3db09]
- 1.1.1 [51f0b8f]
- Update README to be up-to-date with the new featuers [8175d98]
- Merge branch 'feature-tokens' into 'master' [13a5fc1]
- Add LICENSE [b35f26b]
- authState/circuits: Fix jsdoc params [33b369d]
- Update authState circuits [ec61490]
- Update circuits docs [06b3519]
- processTokenRefresh: rename named export (to prevent collision with the default one) [d7734bf]
- Fix deepCircuit - slice correctly intermediate units [b82fa91]
- Update error for getAuthUser [d343e07]
- Fix authorizedFn - import processTokenRefresh function [ad24169]
- Add circuits readme [738ac69]
- authState: use actionChannel instead of classic channel [e3587d2]
- Merge statuses with actions [6303c08]
- Fix main imports to be backwards compatible [5b2b5d8]
- Update fetchAuthUser - prevent multiple duplicit requests [3083e0e]
- Fix refreshing expired tokens after retrieval [67c3a84]
- Update action types - add to each type package prefix [59911f1]
- Fix retrieving tokens [af9070b]
- Add onchange package - run build:es when a file changes [1f6110c]
- 1.1.0 [5b39341]
- Update webpack 4.x, babel-loader 8.x, babel 7.x [41f23f3]
- Fix eslint errors [4aa06ca]
- Add sagas for auto refreshing tokens and add tokens persistance option [5e363e0]
- Add authStateChannel [911bb72]
- Add statuses - actions for redux saga channels [cf5a436]
- Divide current saga into separated files - authorizedFn, configure, handlerLogin, processTokenRefresh [61c4b57]
- Add constants file with available persistance options for tokens [41757b2]
- Add Redux files for fetching auth user [13d64ef]
- Add prettier config [ee55564]
- Version 1.0.1 [07a270a]
- Merge branch 'feature/login-error-warning' into 'master' [461a8bb]
- Change log from error to warn when login fails. [27e724c]
- Merge branch 'task-publish' into 'master' [08a68fe]
- fix repository url [5e5459c]
- Merge branch 'task-publish' into 'master' [1fdd7b5]
- Merge branch 'task-rewrite' into 'master' [63a4316]
- add Lukas Horak to contributors [0dae087]
- publish settings [6c3194c]
- fix readme project name [f788d87]
- fix readme [1e78ff7]
- add eslint [e3b7282]
- fix webpack entry [e4b0c82]
- add build to gitignore [a689608]
- remove build from git [08c07da]
- refactored project structure [777695e]
- Update readme [21854dc]
- Merge pull request #3 from horaklukas/feature-better-package-build [c1e9ef0]
- Add compilation source code without bundling it (modules and cjs environment) [10922fa]
- export stoplogin aa [12325e7]
- export action types [2e1922f]
- expose refresh tokens action creator [d2dcd22]
- export selectors, fix isloggingin selector [79afe3a]
- Update configuration and refresh token resolution [b305aa9]
- Refactor types and actions [934ff17]
- Fix module bundling [8ba861a]
- Bundle as umd module [4afc452]
- Fix bundling [1280ced]
- Fix regenerator runtime not defined [9b0af44]
- Fix require path [43338da]
- Add webpack transpilation [d67646c]
- cleanup [878b05f]
- Initial commit [dcc4a90]