All notable changes to this project will be documented in this file.
- Require new major version of axios (^1.1.3, previously ^0.27.2)
- Add support for React 18
- Add
usernameKey
configuration option (#151) - Fix incorrect type (#150)
- Fix signOut promise return type (#122)
- Removed tiny-invariant dependency
⚠️ Configuration settings have been changed to camelcase.
+ apiUrl: "http://foobar.test",
+ csrfCookieRoute: "sanctum/csrf-cookie",
+ signInRoute: "login",
+ signOutRoute: "logout",
+ userObjectRoute: "user",
- api_url: "http://foobar.test",
- csrf_cookie_route: "sanctum/csrf-cookie",
- signin_route: "logout",
- signout_route: "logout",
- user_object_route: "user",
- Target build is now ES6, was ES5 previously.
- Now depends on an axios version higher than 0.21.1
- Add React 17 to peerdependencies
- Version bump only, no code changes
- Optional "Remember me" option for signIn
- Fix incorrect properties for TypeScript
- Fixed TypeScript interfaces, enabled strict mode.