Skip to content

Files

Latest commit

db4d8f9 · Oct 23, 2021

History

History
246 lines (187 loc) · 6.63 KB

CHANGELOG-OLD.md

File metadata and controls

246 lines (187 loc) · 6.63 KB

Changelog

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

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[1.5.5] - 2021-10-19

Fix

  • Docs releasing fixed by fetching the branch (#639)

[1.5.4] - 2021-10-19

Fix

  • Docs releasing fixed by adding the action user (#638)

[1.5.3] - 2021-10-19

Fix

  • Releasing docs my mike (#637)

[1.5.2] - 2021-10-19

Updated

  • Docs are now using versioning (#636)

[1.5.1] - 2021-10-19

Updated

  • Docs are made smooth (#635)

[1.5.0] - 2021-10-18

Added:

  • Refresh Token feature (#603)
  • Added Documentation for Refresh Token (#629)
  • Unit test for actions/reducers.ts (#587)
  • Unit test for TokenObject.ts (#592)
  • Unit test for PrivateRoute.tsx (#606)
  • Unit test for utils/hooks.ts (#618)
  • Unit test for AuthProvider.tsx(#617)

Thanks to

[1.4.18] - 2021-09-10

Changed:

  • Updated the internal state for better performance, and reliability

[1.4.16] - 2021-08-03

Fix:

  • On page refresh, the cookies are removed automatically (#473)(676f68b)
  • Auth Type cookie and Localstorage are failed to get removed (cbfdc4e)

Changed:

  • Minimum React Version from 16.0 to 16.8.0, so that the hooks gets properly supported (bad136e)
  • Sign In Hook and HOC is now better to accommodate the dynamic refresh token to give better error and type support (17b2eb8)
  • Updated the SignInActionPayload in action and sign in reducer to accommodate the dynamic refresh token feature (41be555) (57c819f)

Removed:

[1.4.14] - 2021-07-31

Added:

Changed:

  • ESM and CJS builds are not going through the terser anymore

[1.4.13] - 2021-07-30

Changed:

  • Auth state now uses useReducer instead of useState

[1.4.12] - 2021-07-25

Changed:

  • PrivateRouteProps is updated to give more type checking

[1.4.11] - 2021-06-19

Changed:

  • Updated dependencies

Fixed:

  • Deployment of docs

[1.4.10] - 2021-06-08

Added:

  • Sourcemaps added for each files

Fixed:

  • Type declaration files are missing, so added them

[1.4.9] - 2021-05-21

Changed:

  • Migrated to @rollup/plugin-typescript
  • Terser added for Minified codebase

[1.4.8] - 2021-05-07

Fixed:

  • authdata.md wrong doc of useAuthUser (70e8d8839bb50e0f524815c16827efe9dd8da615)
  • Property 'user' does not exist on type 'object' (#343)

[1.4.7] - 2021-04-11

Changed:

  • AuthProvider props. AuthProvider is now only using 4 props.
  • Docs /usage is now /integration
  • Docs updated Intro and installation page
  • Better documentations added.

⚠️This release will break your code, as the AuthProvider props are changed. Please refer to the docs

[1.4.6] - 2021-04-09

Changed:

  • Docs updated

[1.4.5] - 2021-02-10

Fixed:

  • Potential risk of duplicate tokens

[1.4.4] - 2021-01-15

Fixed:

  • authToken and authTokenType key value pair swapped at getCurrentAuthState() in RefreshToken (#197) (8fc03f5)

Thanks:

[1.4.3] - 2021-01-05

Added:

  • Store Refresh Token for refreshing JWT

Thanks:

[1.4.0] - 2020-12-20

Added:

  • Added Refresh Token feature

[1.3.4] - 2020-12-18

Added:

  • Support for React 17

[1.3.2] - 2020-12-17

Fixed:

  • AuthProvider children type changed to React.ReactNode

[1.3.1] - 2020-12-17

Added:

  • Types added in npm release for better code completion.

[1.3.0] - 2020-12-17

Added:

  • Code base documentation. (Hardik0307)
  • Guideline for Contribution added on project website (dotslash21)

Fixed:

  • Eslint Linting issue
  • Contributing.md typo fix. (dotslash21)

[1.2.2] - 2020-09-21

Fixed

  • DOCS SEO

[1.2.1] - 2020-09-16

Fixed

  • TS Function declararation

[1.2.0] - 2020-09-15

Added

  • useAuth function added. Now use all hooks in 1 function.

Fixed

  • Docs: Deprecated AuthProvider params names
  • AuthProvider pushing error for cookieSecure set as false
  • useSignIn function parameter
  • withSignIn function param

[1.1.7] - 2020-09-14

Added

  • useIsAuthenticated and withIsAuthenticated added. Now check if your user is logged in or not.

Changed

  • useAuth is changed to useAuthUser
  • withAuth is changed to withAuthUser

[1.1.6] - 2020-09-12

Fixed

  • Linting the Codes

Changed

  • Docs Override dir to docs dir

[1.1.5] - 2020-09-12

Fixed

  • Docs Meta Tags Fixed
  • Docs Site Map Fixed

[1.1.4] - 2020-09-12

Added

  • SEO added in docs

[1.1.3] - 2020-09-10

Fixed

  • Type Definition

Changed

  • Size decreased from 2.12 KB to 1.81 KB

[1.1.2] - 2020-09-10

Changed

  • AuthContext is merged with AuthProvider

[1.1.1] - 2020-09-08

Added

[1.1.0] - 2020-09-08

Added

  • Local Storage Added (Cookie and LocalStorage can be chosen by AuthProvider Prop authStorageType)
  • Documentation https://authkit.arkadip.co
  • PrivateRoute now supports render and component props
  • Auth Token Type added on Sign In. Default Bearer

Changed

  • Sign In function Arguments is now an object

[1.0.2] - 2020-08-29

Added

  • UMD module
  • Testing Added

Removed

  • JS Map files

[1.0.1] - 2020-08-28

Added

  • Code Base Added
  • Bundling with Rollup

[1.0.0] - 2020-08-27

Added

  • Package Established