Skip to content

Latest commit

 

History

History
411 lines (228 loc) · 13 KB

CHANGELOG.md

File metadata and controls

411 lines (228 loc) · 13 KB

Change Log

0.13.0

Minor Changes

  • 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.

0.12.1

Patch Changes

  • 30805edf: Replace deprecated node folder exports with wildcard exports for docs

0.12.0

Minor Changes

  • 87959850: BREAKING public API changes:

    • Changed timeToLive to maxAge
    • Renamed requestIdentificationFn to requestIdFunction

Patch Changes

  • 87959850: Fix cache session race condition for in-flight requests

0.11.1

Patch Changes

  • 84131205: use mdjs-preview in docs for lit compatibility

0.11.0

Minor Changes

  • 73d4e222: BREAKING public API changes:

    • AjaxClient is now Ajax
    • AjaxClientFetchError is now AjaxFetchError
    • request and requestJson methods of Ajax class are renamed as fetch and fetchJson respectively
    • getCookie and validateOptions is not part of the public API any more
    • Removed the setAjax
    • createXSRFRequestInterceptor renamed as createXsrfRequestInterceptor
    • Exporting createCacheInterceptors instead of cacheRequestInterceptorFactory and cacheResponseInterceptorFactory

0.10.0

Minor Changes

  • 02e4f2cb: add simulator to demos

0.9.0

Minor Changes

  • 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() and get 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

Patch Changes

  • 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

0.8.0

Minor Changes

  • f3e54c56: Publish documentation with a format for Rocket

0.7.0

Minor Changes

  • 2cd7993d: Set fromCache property on the Response, for user consumption. Allow setting cacheOptions on the AjaxClient upon instantiation. Create docs/demos.

0.6.0

Minor Changes

  • 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.

0.5.15

Patch Changes

  • Updated dependencies [8fb7e7a1]
  • Updated dependencies [9112d243]

0.5.14

Patch Changes

  • 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]

0.5.13

Patch Changes

0.5.12

Patch Changes

0.5.11

Patch Changes

0.5.10

Patch Changes

  • 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

0.5.9

Patch Changes

0.5.8

Patch Changes

0.5.7

Patch Changes

0.5.6

Patch Changes

0.5.5

Patch Changes

0.5.4

Patch Changes

0.5.3

Patch Changes

0.5.2

Patch Changes

  • Updated dependencies [65ecd432]
  • Updated dependencies [4dc621a0]

0.5.1

Patch Changes

0.5.0

Minor Changes

  • 9ecab4d5: Removing LionSingleton as es modules are already guaranteed to be singletons. This reduces complexity and means less code to ship to our users.

Patch Changes

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)

Bug Fixes

  • remove all stories folders from npm (1e04d06)

0.4.0 (2020-05-29)

Features

  • use markdown javascript (mdjs) for documentation (bcd074d)

0.3.0 (2020-05-18)

Features

  • 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)

Bug Fixes

  • 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)

Bug Fixes

  • 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)

Bug Fixes

  • update storybook and use main.js (e61e0b9)

0.2.0 (2020-01-13)

Features

  • improved storybook demos (89b835a)

0.1.20 (2019-12-02)

Bug Fixes

  • 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)

Bug Fixes

  • 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)

Bug Fixes

  • add prepublish step to make links absolute for npm docs (9f2c4f6)

0.1.5 (2019-05-07)

Bug Fixes

  • import from entry points so stories can be extended (49f18a4)

0.1.4 (2019-04-28)

Bug Fixes

  • 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)

Bug Fixes

  • ajax: add setAjax to public api (9a69b1a)

0.1.1 (2019-04-26)

Bug Fixes

  • add missing files to npm packages (0e3ca17)

0.1.0 (2019-04-26)

Features

  • release inital public lion version (ec8da8f)