10 KiB
Change Log
0.14.0
Minor Changes
e9c6523f: Expose more exports; updated to cjs format only
Patch Changes
a849f09f: add possibility to provide a 'custom defined project' (array of filePaths) to Analyzerf7fc7df3: improvements find-exports, trackdown-identifier, get-source-code-fragment-of-declaration9593c456: providence-analytics: add export-map functionality to InputDataServicea849f09f: add util "getSourceCodeFragmentOfDeclaration"dd3458af: improve memoization
0.13.0
Minor Changes
672c8e99: New documentation structure
Patch Changes
ab7cc1e0: providence-analytics: expose skipCheckMatchCompatibility: skips semver checks when targets and reference projects are matched. Handy for forward compatible libs and libs below v117dadabf: providence-analytics: enhanced allowlistMode detection
0.12.5
Patch 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.4
Patch Changes
30805edf: Replace deprecated node folder exports with wildcard exports for docs
0.12.3
Patch Changes
306d57f5: - correctly dedupe match-imports exportSpecifiers- windows compatibility
- example conf file esm compatible
0.12.2
Patch Changes
4aad06a1: Fixed dynamic import for providence config on windows
0.12.1
Patch Changes
26b150f0: fix paths for dashboard
0.12.0
Minor Changes
-
96ae18c4: Improved dashboard:- allows to configure categories in
providence.conf.(m)jsthat show up in dashboard - exposes dashboard in cli:
npx providence dashboard
BREAKING CHANGES:
providence.conf.(m)jsmust be in ESM format.
- allows to configure categories in
Patch Changes
88babab7: add type support for (the majority of) providence-analytics
0.11.2
Patch Changes
1e8839f2: Support export maps for match-* analyzers
0.11.1
Patch Changes
a0b313c6: correctly handle exports like "const x=3; export {x};"2995a503: Correct default target in Windows if no -t
0.11.0
Minor Changes
-
72067c0d: BREAKING Upgrade to lit version 2This does not change any of the public APIs of lion. It however effects you when you have your own extension layer or your own components especially when using directives. See the official lit upgrade guide.
BREAKING Upgrade to ScopedElements version 2
This version of
@open-wc/scoped-elementsis now following the Scoped Custom Element Registries and automatically loads a polyfill @webcomponents/scoped-custom-element-registry.This means tag names are no longer being rewritten with a hash.
import { css, LitElement } from 'lit'; import { ScopedElementsMixin } from '@open-wc/scoped-elements'; import { MyButton } from './MyButton.js'; export class MyElement extends ScopedElementsMixin(LitElement) { static get scopedElements() { return { 'my-button': MyButton, }; } render() { return html` <my-button>click me</my-button> `; } }<!-- before (ScopedElements 1.x) --> <my-element> #shadow-root <my-button-23243424>click me</my-button-23243424> </my-element> <!-- after (ScopedElements 2.x) --> <my-element> #shadow-root <my-button>click me</my-button> </my-element>
0.10.4
Patch Changes
098365e6: move index.js to path exposed for npm
0.10.3
Patch Changes
0e678dec: - enable debug logs in analyzers- export QueryService
0.10.2
Patch Changes
02e4f2cb: add simulator to demos
0.10.1
Patch Changes
67cd8e35: Expose analyzers that are requested to be run in external contexts
0.10.0
Minor Changes
5db622e9: BREAKING: Align exports fields. If you want to import from CLI instead of main entrypoint (import { ... } from 'providence-analytics';) using export maps, you can now do so withimport { ... } from 'providence-analytics/src/cli';instead ofimport { ... } from 'providence-analytics/src/cli/index.js';.
0.9.0
Minor Changes
-
b2f981db: Add exports field in package.jsonNote 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.
0.8.4
Patch Changes
b4ec2fe8: - allowlist does not preprocess globs in cli before handing them over to the program
0.8.3
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.
0.8.2
Patch Changes
3cd1cf95: Relative source path util take posix path for both full path and root path, to ensure the replace happens properly.
0.8.1
Patch Changes
cfbcccb5: Fix type imports to reuse lion where possible, in case Lit updates with new types that may break us.
0.8.0
Minor Changes
ca210dae: add option skipCheckMatchCompatibility and enable for monorepos in extend-docs
0.7.0
Minor Changes
-
2dc85b14: Monorepo support for extend-docsFeatures
- add monorepo support for extend-docs
Fixes
- allow custom element and class definitions to be in same file for 'match-paths'
0.6.3
Patch Changes
-
b71bd7f2: Providence windows support- fix: make all tests run on Windows
0.6.2
Patch Changes
65ecd432: Update to lit-element 2.4.0, changed all uses of _requestUpdate into requestUpdateInterval
0.6.1
Patch Changes
4b3ac525: Fixed version of "lit-element" for now to "~2.3.0", since breaking
0.6.0
Minor Changes
-
623b10a3: Custom '--allowlist' takes precedence over '--allowlist-mode'Features
- Custom '--allowlist' takes precedence over '--allowlist-mode' when conflicting. For instance, when running CLI with '--allowlist-mode git --allowlist ./dist' (and .gitignore contained '/dist'), './dist' will still be analyzed.
Patches
- Align naming conventions between CLI and InputDataService.gatherFilesFromDir
0.5.0
Minor Changes
-
ca6c8e62: Allowlist modesFeatures
- Allowlist mode: autodetects whether analyzed repository is a "git" or "npm" (published artifact) repository.
Via the cli
--allowlist-mode 'npm|git|all'and--allowlist-mode-reference 'npm|git|all'can be configured to override the autodetected mode.
Bugfixes
- Clean output extend-docs: strings like '[no-dependency]' will not end up in aggregated result
- Allowlist mode: autodetects whether analyzed repository is a "git" or "npm" (published artifact) repository.
Via the cli
0.4.0
Minor Changes
-
c702e47c: Providence update to fix some issues with target/reference and to allow filtering target project dependencies.Features
- Allow specifying target project dependencies via CLI using
--target-dependenciesflag: When--target-dependenciesis applied without argument, it will act as boolean and include all dependencies for all search targets (node_modules and bower_components). When a regex is supplied like--target-dependencies /^my-brand-/, it will filter all packages that comply with the regex.
Bugfixes
- Use the correct gatherFilesConfig for references/targets
- Provide target/reference result match
- Edit
from-import-to-exporthelper function to work without filesystem lookup. This will allow to supply target/reference result matches tomatch-importsanalyzer
- Allow specifying target project dependencies via CLI using
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
0.3.0 (2020-07-22)
Bug Fixes
- providence-analytics: allow dashboard to run within package (12b6608)
- providence-analytics: allow scoped package refs dashboard (9dea018)
Features
- providence-analytics: supply prev results match-imports (e31d1f5)
0.2.2 (2020-07-13)
Note: Version bump only for package providence-analytics
0.2.1 (2020-06-29)
Bug Fixes
- providence-analytics: extensions argument extend-docs (5bf014b)
0.2.0 (2020-06-29)
Features
- providence-analytics: cli arguments extend-docs (7299665)
- providence-analytics: filepath matching based on anymatch (54d06b9)