-
683d5c1c: Upgrade to latest Typescript. Keep in mind, some @ts-ignores were necessary, also per TS maintainer's advice. Use skipLibCheck in your TSConfig to ignore issues coming from Lion, the types are valid.
We also unfixed lion's dependencies (now using caret ^) on its own packages, because it caused a lot of problems with duplicate installations for end users as well as subclassers and its end users. Both of these changes may affect subclassers in a breaking manner, hence the minor bump.
Be sure to read our Rationale on this change and what this means for you as a user.
- 30805edf: Replace deprecated node folder exports with wildcard exports for docs
-
87959850: BREAKING public API changes:
- Changed
timeToLive
tomaxAge
- Renamed
requestIdentificationFn
torequestIdFunction
- Changed
- 87959850: Fix cache session race condition for in-flight requests
- 84131205: use mdjs-preview in docs for lit compatibility
-
73d4e222: BREAKING public API changes:
AjaxClient
is nowAjax
AjaxClientFetchError
is nowAjaxFetchError
request
andrequestJson
methods ofAjax
class are renamed asfetch
andfetchJson
respectivelygetCookie
andvalidateOptions
is not part of the public API any more- Removed the
setAjax
createXSRFRequestInterceptor
renamed ascreateXsrfRequestInterceptor
- Exporting
createCacheInterceptors
instead ofcacheRequestInterceptorFactory
andcacheResponseInterceptorFactory
- 02e4f2cb: add simulator to demos
-
43e4bb81: Type fixes and enhancements:
- all protected/private entries added to form-core type definitions, and their dependents were fixed
- a lot @ts-expect-error and @ts-ignore (all
get slots()
andget modelValue()
issues are fixed) - categorized @ts-expect-error / @ts-ignore into:
- [external]: when a 3rd party didn't ship types (could also be browser specs)
- [allow-protected]: when we are allowed to know about protected methods. For instance when code resides in the same package
- [allow-private]: when we need to check a private value inside a test
- [allow]: miscellaneous allows
- [editor]: when the editor complains, but the cli/ci doesn't
- c1a81fe4: allow caching concurrent requests
- 9b79b287: Fix(ajax) options expansion, fix removing request interceptors, use 1 hour as default time to live, check for null when serializing the search params
- 77a04245: add protected and private type info
- 468223a0: return cached status and headers
- f3e54c56: Publish documentation with a format for Rocket
- 2cd7993d: Set fromCache property on the Response, for user consumption. Allow setting cacheOptions on the AjaxClient upon instantiation. Create docs/demos.
-
4452d06d: BREAKING CHANGE: We no longer use axios! Our ajax package is now a thin wrapper around Fetch. The API has changed completely. You will need a fetch polyfill for IE11.
-
b2f981db: Add exports field in package.json
Note that some tools can break with this change as long as they respect the exports field. If that is the case, check that you always access the elements included in the exports field, with the same name which they are exported. Any item not exported is considered private to the package and should not be accessed from the outside.
-
bbffd710: Added Ajax cache interceptors.
- Updated dependencies [8fb7e7a1]
- Updated dependencies [9112d243]
- @lion/[email protected]
- 98f1bb7e: Ensure all lit imports are imported from @lion/core. Remove devDependencies in all subpackages and move to root package.json. Add demo dependencies as real dependencies for users that extend our docs/demos.
- Updated dependencies [98f1bb7e]
- Updated dependencies [9fba9007]
- @lion/[email protected]
- Updated dependencies [41edf033]
- @lion/[email protected]
- Updated dependencies [39d5e767]
- 6cc8b95c: Added types for ajax package, although they are mostly quite butchered. This is due to the complexity of interceptor factories and bundled-es-modules/axios not exporting types, which makes it really difficult to type it properly.
- 1cb604c6: enable types for ajax
- Updated dependencies [cfbcccb5]
- @lion/[email protected]
- Updated dependencies [e2e4deec]
- @lion/[email protected]
- Updated dependencies [20ba0ca8]
- @lion/[email protected]
- Updated dependencies [e92b98a4]
- @lion/[email protected]
- Updated dependencies [01a798e5]
- @lion/[email protected]
- Updated dependencies [75107a4b]
- @lion/[email protected]
- Updated dependencies [874ff483]
- @lion/[email protected]
- Updated dependencies [65ecd432]
- Updated dependencies [4dc621a0]
- @lion/[email protected]
- Updated dependencies [4b3ac525]
- @lion/[email protected]
- 9ecab4d5: Removing LionSingleton as es modules are already guaranteed to be singletons. This reduces complexity and means less code to ship to our users.
- Updated dependencies [3c61fd29]
- Updated dependencies [09d96759]
- Updated dependencies [9ecab4d5]
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
0.4.4 (2020-07-13)
Note: Version bump only for package @lion/ajax
0.4.3 (2020-06-18)
Note: Version bump only for package @lion/ajax
0.4.2 (2020-06-08)
Note: Version bump only for package @lion/ajax
0.4.1 (2020-06-03)
- remove all stories folders from npm (1e04d06)
0.4.0 (2020-05-29)
- use markdown javascript (mdjs) for documentation (bcd074d)
0.3.0 (2020-05-18)
- use singleton manager to support nested npm installations (e2eb0e0)
0.2.10 (2020-04-29)
Note: Version bump only for package @lion/ajax
0.2.9 (2020-04-02)
Note: Version bump only for package @lion/ajax
0.2.8 (2020-03-25)
Note: Version bump only for package @lion/ajax
0.2.7 (2020-03-05)
Note: Version bump only for package @lion/ajax
0.2.6 (2020-02-26)
Note: Version bump only for package @lion/ajax
0.2.5 (2020-02-19)
- reduce storybook chunck sizes for more performance (9fc5606)
0.2.4 (2020-02-06)
Note: Version bump only for package @lion/ajax
0.2.3 (2020-01-29)
- update broken ajax storybook link (f731ade)
0.2.2 (2020-01-20)
Note: Version bump only for package @lion/ajax
0.2.1 (2020-01-17)
- update storybook and use main.js (e61e0b9)
0.2.0 (2020-01-13)
- improved storybook demos (89b835a)
0.1.20 (2019-12-02)
- use strict versions to get correct deps on older versions (8645c13)
0.1.19 (2019-11-13)
Note: Version bump only for package @lion/ajax
0.1.18 (2019-10-23)
Note: Version bump only for package @lion/ajax
0.1.17 (2019-09-25)
Note: Version bump only for package @lion/ajax
0.1.16 (2019-07-25)
Note: Version bump only for package @lion/ajax
0.1.15 (2019-07-24)
Note: Version bump only for package @lion/ajax
0.1.14 (2019-07-23)
Note: Version bump only for package @lion/ajax
0.1.13 (2019-07-23)
Note: Version bump only for package @lion/ajax
0.1.12 (2019-06-03)
- ajax: update to axios with security vularability fix (d227a04)
0.1.11 (2019-05-29)
Note: Version bump only for package @lion/ajax
0.1.10 (2019-05-24)
Note: Version bump only for package @lion/ajax
0.1.9 (2019-05-22)
Note: Version bump only for package @lion/ajax
0.1.8 (2019-05-17)
Note: Version bump only for package @lion/ajax
0.1.7 (2019-05-16)
Note: Version bump only for package @lion/ajax
0.1.6 (2019-05-13)
- add prepublish step to make links absolute for npm docs (9f2c4f6)
0.1.5 (2019-05-07)
- import from entry points so stories can be extended (49f18a4)
0.1.4 (2019-04-28)
- update storybook/linting; adjust story labels, eslint ignores (8d96f84)
0.1.3 (2019-04-27)
Note: Version bump only for package @lion/ajax
0.1.2 (2019-04-27)
- ajax: add setAjax to public api (9a69b1a)
0.1.1 (2019-04-26)
- add missing files to npm packages (0e3ca17)
- release inital public lion version (ec8da8f)