All notable changes to this project will be documented in this file.
2.1.1 (2020-04-04)
- add InitOptions['routes'] type constraint (918e290)
2.1.0 (2020-03-07)
- routes: init function will return all valid private routes (0228b10)
- dep: migrate $$auth declaration to entry point (73e8f54)
2.0.2 (2020-02-29)
- types: correct $$auth type (893b2bf)
2.0.1 (2020-02-29)
- remove AbilitiesSet.external (01bdcaf)
- routes: nested routes should be added (b61bfd9)
2.0.0 (2020-02-25)
- ability: make AbilitySet reactive based on Vue instance (b9cda02)
- Ability: Don't use Set subclass anymore (7c89a30)
- init: also support VueRouter directly (10c836f)
- init: set default abilitiesRef (74ebf29)
1.0.0 (2020-02-23)
core: ensure any externalmap
mutation is invalid (a86c396)defineReactive: declare Vue.util.defineReactive (a11cac6)- install: prevent multiple init calling (1a4ed6e)
map: only make auth.map reactive (7e25515)- redirect: always should pass
redirect
string (4dd91ec) - reset: impl reset routes (b3d4fa2)
- VAccess: make VAccess component functional (4d1d916)
- remove install export (b8c4cbc)
- type: extend route.meta.xx type (97833d9)
0.3.1 (2019-09-26)
- correct env variables replacement in the building process (79ca0ba)
0.3.0 (2019-09-03)
- install: correct component name in the global scope (79f96cb)
- correct es module error when falsy 'esModuleInterop' (152ab0d)
- meta field is optional and correct hook type (808d5f7)
- implement router resetting logic (40e8151)
- core: add alias for weakList and strictList (378265d)
- core: implement private routes generation (ad357be)
- core: prevent multiple
init
calling (8a737bd) - core: rebuild core to split basic & enhance functionality (f36b768)
- core: support route.meta.weakAccess (815e4fc)
- enhance: support default unauthorized handler page resolve #6 (#7) (fc24e20)
- guard: implement 'exclude' in routes authorization (#11) (5f1f406), closes #10
- install: attach install function to VAccesCore (6ea71e9)
- Route: implement routes filter (9b5c77e)
- VAccess: change VAccess component implementation and remove vue redundant global properties (56e5b9b)
- implement router acccess control #1 (a6c9dcd)
- VAccess: support multiple child components (#9) (8ad0073), closes #8
- remove beforEach & afterEach API (#5) (77ea3df)
0.2.0 (2019-08-26)
- install: correct component name in the global scope (79f96cb)
- correct es module error when falsy 'esModuleInterop' (152ab0d)
- meta field is optional and correct hook type (808d5f7)
- core: add alias for weakList and strictList (378265d)
- core: implement private routes generation (ad357be)
- core: prevent multiple
init
calling (8a737bd) - core: support route.meta.weakAccess (815e4fc)
- Route: implement routes filter (9b5c77e)
- VAccess: change VAccess component implementation and remove vue redundant global properties (56e5b9b)
- implement router resetting logic (40e8151)
- VAccess: correct accessList verification (b096742)
- create access map (9e10738)
- declare vue vue-router as peerDependencies (1721591)
- initialize (f7db827)
- _utils: remove redundant 'if 'expression (1a968eb)
- examples: enforce use examples/.eslintrc.js (a792aee)
- guard: implement guard creator to support custom function calling (21d1dc4)
- guard: implement guard intallation (49db5a6)
- guard: router guard strategy (9d16567)
- v-access: implement v-access component (8e8d79a)
- VAccess: confirm that prototype function name is ‘$$auth’ (930591b)