@clairejs/client
3.4.5 • Public • Published
- fix Translator awaitingTranslations
- update claire core
- fix mergeInstances not merge null
- fix http client cache headers
- update claire core
- apply LogHandler to some implementations
- update claire core
- export getAPI utils
- remove webpack, change module to esm
- fix return type of updateRecords
- add updateRecords in crud api
- fix refresh http client wait for refresh token
- fix error handle in http clients
- add cache ability to DefaultHttpClient (for use in non-browser env)
- new implementation of http clients
- simple implementation of RefreshHttpClient error handler without recursion
- AbstractHttpClient operations return undefined in case error handler intercepted
- fix refresh http client clear access token before refreshing
- fix refresh http client infinite loop
- pump axios version
- fix http client get method
- update claire core with new Errors
- refactor HttpClient
- update claire core
- fix mergeInstance type issue Partial -> DeepPartial
- move reset cache to AbstractHttpClient
- remove ws
- remove rxjs
- update core, fix returning in update many
- update core package, adapt abstract model id field data type change
- update core package
- improve mergeInstances to be aware of @HasMany
- fix RefreshHttpClient bug in getting refresh token condition
- fix translate undefined/null/empty template
- update Translator.translate to return string instead of promise
- fix translation loading translation pending promises
- implement new Translator
- fix DefaultHttpClient retry
- add retry config in RefreshHttpClient
- fix stringifyQueries not encode URI
- add withCredentials option to abstract request
- fix DefaultHttpClient: add delay before retry
- fix stringifyQueries
- add cache and reset cache ability to DefaultHttpClient
- fix HttpClient, allow get with cache, allow retry when get 503 error
- mergeInstance accept Identifiable class instead of AbstractModel
- using deepMerge for mergeInstances
- send & handle socket READY message
- update Translator
- fix socket terminated not calling disconnection handler error
- fix typo in socket config
- add get pingpong info
- fix resolve header promise in api client
- add IWebsocket onclose error handler
- fix rejoin channel when socket disconnect un-intentionally
- fix join channel when socket is not available
- refactor client socket & socket manager
- AxiosApiClient -> RefreshHttpClient
- Add DefaultHttpClient (axios)
- fix AbstractHttpClient header case-sensitive issue
- fix catch issue when cannot refresh token
- add default storage key for token manager
- fix AbstractHttpClient refresh token
- add DefaultTokenManager
- add CrudApi
- add hash
- update view middware: from is nullable
3.0.4: update translation
- Translator is now in charge of mapping translation (getTranslationObject)
- translation template supports function expression
- translator has language update subscribers registry
- update claire core 3.0
- remove AbstractRouter
- update core, remove crud router
- use socket provider for DefaultClientSocketManager instead of native WebSocket
- revert to WebSocket implementation (because API gateway only support native websocket)
- fix socket not reconnect due to refresh token was obtained after socket was closed
- remove socket manager initial connect
- add type support for api provider
- forceReconnect when cannot get access token
- update claire core 2.1.2
- fix not connect with undefined access token
- add forceDisconnect to AbstractClientSocketManager
- fix socket connect not processing success result
- remove encodeURI as socket data
- client socket to send encodedURI as data
- use rxJs to implement client socket logic
- remove test token manager
- fix forceSocket reconnect
- add AbstractTokenManager, refresh token mechanism for http and socket
- use DI for view middleware in router config
- update peer dependencies
- update abstract view middleware signature
- use Claire Core 2.0
- add log to Axios api client
- add socket keep alive ping/pong
- fix build script
- update clairejs/core
1.6.48 (Breaking change):
- fix disconnection event not called when socket disconnect
- split logic of translation into LocaleTranslator
- add ClientSocket unsubscriber function as return result of onXXX listeners
- add getAllSockets in SocketProvider
- fix socket provider not remove disconnected sockets
- add ClientSocket.isReconnecting
- fix socket getAuthId => getAuthInfo
- add socket provider to claire client
- fix client socket multiple handlers
- add ClientSocket and SocketProvider
- ClientSocket logger optional
- ClientSocket connection retry
- export and fix ClientSocket
- detach vue code into separate package
- add nodeExternals
- export protected convertQueryObjectToString
- update VuexCrudModule merge create model instance
- vuexCrudModule default sort by id
- fix crud logic populate server value field
- update claire core
- update crud logic
- reset editItem in CrudLogic
- fix reading data from undefined response in AxiosApiProvider
- remove redudant AbstractErrorHandler
- introduce CrudLogic and scss
- fix VuexCrudModule.decache async return
- return removed instances from VuexCrudModule.decache
- adjust AbstractCrudRouter
- update claire core
- public mutation method in VuexCrudModule
- move VuexCrudModule and VueCrudRouter into
- add getModule into VueHandler
- update navigation with validated query
- renove onHandleChange listener of VueHandler, use @Watch("$route") on component instead
- fix VueHandler url change listener callback from beforeEach to afterEach
- inject error handler in VueHandler
- update ViewHandler getUrlInfo
- allow ViewHandler navigate relative
- force update vue instance after change language
- add getCurrentLanguage to VueHandler
1.3.15 (Breaking change):
- fix named components in RouterConfig
- add named components to RouterConfig
- add components property to RouterConfig
- remove middleware from AbstractRouter
- update RouterConfig to have nested config
- update VueHandler config options, remove @Router decorator
- new history, use vue-cli-service library build
- removal of rootComponentClass
- fix optimizeSSR: false
- add Crud views
- AbstractRouter getRoutes() type change
- adapt rework of claire core
- update VuexCrudModule
- use listener in AbstractViewHandler for url change event
- use template for translation
- set build target es6
- remove vue-i18n
- allow module injection inside module
- update AbstractViewHandler forward with UrlInfo
- add getUrlInfo in AbstractViewHandler
- remove scss and default App.vue
- update translation resolver
Package Sidebar
Install
Weekly Downloads