Skip to content

Latest commit

 

History

History
345 lines (252 loc) · 17.5 KB

CHANGELOG.md

File metadata and controls

345 lines (252 loc) · 17.5 KB

Change history for stripes-cli

3.2.0 IN PROGRESS

  • Add a proxy server to overcome issues with cookies SameSite policy. Refs STCLI-246.

3.1.0 (2024-03-12)

Full Changelog

  • Log additional error details. Refs STCLI-240.
  • Add new projects to stripes workspace command. Refs STCLI-241.
  • update karma libraries to latest versions. Refs STCLI-174.

3.0.0 (2023-10-11)

Full Changelog

  • Adjust finding babel-loader in webpack config in order to fix coverage. Fixes STCLI-231.
  • Upgrade mocha from 9 to 10 fixing ReDoS. Refs STCLI-226.
  • Unpin webpack from ~5.68.0. Refs STCLI-222.
  • Bump @octokit/rest to ^19.0.7.
  • Bump update-notifier to ^6.0.2.
  • Bump semver to ^7.5.0.
  • Bump fs-extra to ^11.1.1.
  • Bump just-kebab-case to ^4.2.0.
  • Remove isbinaryfile resolution.
  • Bump devdeps sinon to 15.0.4, sinon-chai to 3.7.0.
  • Bump fast-xml-parser to 4.2.4. Refs STCLI-234.
  • Bump devdeps @folio/eslint-config-stripes to ^7.0.0.
  • BREAKING Bump @folio/stripes-webpack to ^5.0.0. Refs STCLI-235.
  • BREAKING Bump devdep @folio/eslint-config-stripes to ^7.0.0 for stripes-webpack compat.
  • Properly configure/calculate coverage for stripes test karma command. Refs STCLI-237.
  • Provide translate commands to compile, check for permission entries, and calculate locale-completeness statistics. Refs STCLI-206.

2.7.0 (2023-02-07)

Full Changelog

  • Bump stripes-webpack to ^4.2 to use stripes-ui for the entrypoint.

2.6.3 (2023-02-07)

Full Changelog

  • Lock stripes-webpack to ~4.1 which finds its entrypoint in stripes-core. Refs STCLI-227.

2.6.2 (2023-01-30)

Full Changelog

  • Fix outputPath positional is ignored on build command. Refs STCLI-165.
  • Add stripes-ui to the list of stripes modules. Refs STCLI-217.
  • Turn off exprContextCritical when running karma tests. Refs STCLI-220.

2.6.1 (2022-10-11)

Full Changelog

  • Correctly implement caching, watching (default to true when CLI flags are absent). Refs STCLI-198.
  • Consume webpack.config.cli.dev as a function, an accidental breaking change in STRWEB-49. Refs STCLI-211.

2.6.0 (2022-06-14)

Full Changelog

  • Pin webpack to ~5.68.0 due to moment and karma-webpack trouble. Refs STCLI-195.
  • Upgrade simple-git to ^3.5.0 to avoid command injection vulnerability. Refs STCLI-200, STCLI-192.
  • Upgrade stripes-webpack to ^4.0.0. Refs STCLI-203.
  • Update NodeJS to Active LTS. Refs STCLI-208.
  • Provide --cache false to disable webpack caching. Refs STCLI-209.

2.5.1 (2022-03-25)

Full Changelog

  • Avoid sabotaged isBinaryFile. Fixes STCLI-193.

2.5.0 (2022-02-08)

Full Changelog

  • Update webpack to v5. Refs STCLI-187.
  • Avoid sabotaged colors. Refs STCLI-188.
  • Deprecated alias command and updated user documention in favor of workspace. Refs STCLI-155.
  • Upgrade to mocha v9.

2.4.0 (2021-09-24)

  • Re-export babel config options. Refs STCLI-182, STRIPES-742.
  • Conditionally inject webpack aliases for shared stripes-components styles based on context. Refs STCLI-183.
  • Update stripes-webpack to provide react 17 support to apps. Refs STCLI-185.
  • Remove rxjs, which only ever a hack (#260). Refs STCLI-184.

2.3.1 (2021-06-15)

  • Updated @octokit/rest to ^10.6.0 so that @octokit/core > 3 peerDependency could be resolved. Refs STCLI-178.

2.3.0 (2021-06-08)

  • Bump mocha to ^8.3.0.
  • Bump babel-plugin-istanbul, karma, karma-mocha and webpack-bundle-analyzer to avoid security warnings. Refs STCLI-179.
  • Bump @folio/stripes-webpack to 1.3.0 to reduce build warnings and allow transpiling of non-@folio namespaced modules.

2.2.0 (2021-04-13)

  • Bump stripes-webpack to version 1.2.0. Fixes STCLI-175.

2.1.0 (2021-03-18)

  • Increment @folio/stripes-testing to v3, adding interactors, removing nightmarejs. Refs STCLI-171.

2.0.0 (2021-02-03)

  • Remove stripes-core dependency and use stripes-webpack instead. Refs STCLI-167.

1.21.0 (2021-02-03)

  • Support stripes-core v7.0.0.
  • Serve static pages with express instead of http-server. Refs STCLI-147.

1.20.0 (2020-10-30)

  • Upgrade karma to v4.4 which removes core-js dependency to clean up a warning which displays when compiling any app.
  • Add support for building and consuming Webpack DLLs. Refs STCLI-154.

1.19.0 (2020-10-14)

  • Support stripes-core v6.0.0.
  • okapi-client logs as curl commands, including headers and body, because that's super handy.

1.18.0 (2020-07-31)

  • New command-line option --coverage for stripes serve, generates (but does not emit) coverage statistics.

1.17.0 (2020-06-19)

  • Introduced new command stripes inventory --fetch to update module list for stripes workspace command. Refs STCLI-122.

1.16.0 (2020-06-08)

  • Support stripes-core v5.0.0.

1.15.1 (2020-04-23)

  • Correct generation of optional Okapi interface dependencies. Fixes FOLIO-2570.

1.15.0 (2020-04-09)

  • Support stripes-core v4.0.0.
  • Use stripes-testing v2.0.0.
  • Support optional dependencies in UI modules. Related to OKAPI-509.
  • Added default value of ./output for --output flag used when omitting from build command. Refs STCLI-95.
  • Add ui module oai-pmh. Refs MODOAIPMH-94.
  • Added --bundle flag to test command to allow for karma tests (BigTest) to run against bundled code instead of a dev server.

1.14.0 (2019-09-09)

  • Retrieving template files for creating UI Modules and setting up BigTest from https://github.com/folio-org/ui-app-template. Removed old template files from /resources directory. STCLI-133
  • Add many additional apps/libraries, STCLI-142
  • New optional platform clean option --removeLock to delete yarn.lock file(s) after cleaning platform/workspace: STCLI-130

1.13.0 (2019-07-24)

  • Upgrade karma-webpack dependency to ^4.0.2, handles FOLIO-2139
  • Added checking of stripes.actsAs when determining isUiModule, handles STCOR-148
  • stripes-testing v1.6.0 includes checkout, setCirculationRules helpers.

1.12.1 (2019-06-11)

  • Upgrade bundle analyzer to avoid security vulnerability WS-2019-0058.

1.12.0 (2019-05-15)

  • Upgrade stripes-testing dependency to v1.5.0.
  • Include ui-tenant-settings in lib/environment, exposing it as testable.

1.11.0 (2019-05-14)

  • New okapi get/post/put/delete commands to support arbitrary Okapi HTTP requests, STCLI-135
  • Upgrade inquirer dependency. Resolves STCLI-136
  • Upgrade stripes-testing dependency. Refs STCLI-137.

1.10.0 (2019-03-06)

  • Check for TTY before calling getStdin(), fixes STCLI-131
  • Update ui-module blueprint to use stripes 2.0
  • Add mocha-jenkins-reporter and support passing of --reporter option for Nightmare tests, STCLI-84
  • Add support for mod add to accept existing module descriptors via stdin, STCLI-127

1.9.0 (2019-02-13)

  • Facilitate connection of a locally hosted back-end module with Okapi, STCLI-114
    • New isBackendModule context to identify back-end modules
    • Support back-end module context for mod add/remove/enable/disable commands
    • New mod discover command to register instances with Okapi
  • New mod descriptor --output option for writing module descriptors to a directory, STCLI-125
  • Automate generation of CLI command reference, STCLI-128
  • Refactor usage of context.type, STCLI-78
  • Implement CLI context, prompts, and stdin handlers as Yargs middleware, STCLI-99
  • New middleware for loading stripes config files and applying okapi/tenant, STCLI-117
  • Add support to filter permissions by assigned/unassigned, STCLI-126

1.8.0 (2019-01-16)

  • Add sample API request to ui-app template, STCLI-98
  • New mod perms command to list permission for one or more modules, STCLI-115
  • Support permission assignment via platform backend command, STCLI-115
  • Rename perm view to perm list for consistency
  • Use caret version for CLI in workspace template, fixes STCLI-123
  • Remove deprecated folio-testing-platform from selection during workspace command, FOLIO-1370
  • Upgrade to Yargs 12.x
  • Remove "--modules all" option, fixes STCLI-83
  • Add provide and require options to mod list command, STCLI-120
  • Guard against unset karma options, fixes STCLI-124
  • Add support for stripes-core v3.x

1.7.0 (2018-11-29)

  • Rename mod view to mod list and add support for listing all module ids, STCLI-79
  • New mod view implementation to view module descriptors given ids, STCLI-79
  • Update app module template with new translation directory, STCLI-67
  • Augment core API with dependencies used for generating descriptors, fixes STCLI-111
  • Extend Okapi interactions to facilitate setup of back-end platform dependencies, STCLI-15
    • Pull module descriptors from remote Okapi registry with mod pull
    • mod remove now supports multiple descriptor ids
    • Enable/disable and optionally deploy modules via mod install
    • Deploy, enable, and upgrade modules for a platform via platform backend
  • Dynamically apply CLI devDependency version for new app and workspace, STCLI-109
  • Use correct relative path for package.json in workspace command, fixes STCLI-121
  • Support using mod install simulate output as input for subsequent calls to command, STCLI-116

1.6.0 (2018-10-19)

  • Remove HMR plugin during Karma tests
  • Update ui-app blueprint to use stripes framework, STCLI-108
  • Add BigTest infrastructure blueprint and bootstrap command, STCLI-85

1.5.0 (2018-09-24)

  • On pull, highlight updated repositories
  • Correct isPlatform logic, fixes STCLI-104
  • Start new apps at v1.0.0. Fixes STCLI-105
  • Upgrade debug dependency, STRIPES-553
  • Enable module for tenant via perm create command, fixes STCLI-106
  • Enable serve/test of stripes-* modules based on inventory

1.4.0 (2018-09-10)

  • Switched from karma-coverage to karma-coverage-istanbul-reporter
  • Resolve issue causing nightmare command to throw an error even when tests pass, fixes STCLI-86
  • STCLI-88 resolved. Resolved an issue where command test nightmare would not return process error when failing
  • Enable shell when spawning child process on Windows, fixes STCLI-89
  • Replace ui-testing#framework-only with stripes-testing, STCLI-92
  • Allow testing of settings modules, STCLI-91
  • Include platforms in logic that generates --run option for stripes-testing, STCLI-100
  • Don't throw warning when serving settings modules

1.3.0 (2018-08-07)

  • Highlight failed git-pull attempts in a dumb-terminal-friendly way.
  • Invoke Nightmare tests with ui-testing's copy of test-module, STCLI-5
  • Generate HTML coverage reports with Istanbul
  • Add non-headless Chrome custom launcher config, STCLI-70
  • Add perm unassign command, STCLI-64
  • Prefer local/aliased stripes-core for Nightmare tests, STCLI-69
  • Include extra modules when generating descriptors for a platform, STCLI-65
  • Upgrade to Webpack 4, STCLI-61
  • Support running Nightmare tests against an existing instance of FOLIO, STCLI-63
  • Update wildcard in workspace template to consider all workspace directories
  • Apply a default language to generated tenant config for faster build times, STCOR-232
  • Simplify webpack config when testing stripes-components to reduce build time, STCLI-74
  • Improve support for running tests against a platform and its apps, STCLI-76
  • Check for platform first when generating module descriptors, fixes STCLI-77
  • Add --coverage option to test nightmare command, STCLI-71 (depends on UITEST-39)
  • Support app create from within a workspace, STCLI-82

1.2.0 (2018-06-07)

  • Exit process when Nightmare tests pass, fixes STCLI-49
  • Fix --install typo, STCLI-50
  • Updated ui-module inventory
  • New mod commands to generate descriptors and view tenant modules, STCLI-52
  • New app perms command to view permissions for an app, STCLI-54
  • Support for stdin, added initially to mod enable/disable and perm assign, STCLI-55
  • Account for new global Yarn directory on Windows with Yarn >=1.5.1, Fixes STLCI-39
  • Add --coverage option to test karma command, STCLI-53
  • Add junit reporter and headless Chrome to Karma config for CI, STCLI-56
  • Add --strict option to mod add and descriptor commands, STCLI-59
  • Correct get-stdin dependency, fixes STCLI-60
  • Use Node 8 to be in line with stripes-core requirement

1.1.0 (2018-04-13)

  • Add option to serve an existing build. STCLI-26
  • When a config file with modules is provided, do not automatically apply aliases to module config. STCLI-18
  • Resolve alias paths relative to .stripesclirc config file location. Fixes STCLI-35
  • New platform commands to create, pull, clean, and install with support for Yarn workspaces: STCLI-23
  • Consolidate stripes-core location logic and support for yarn global install. Fixes STCLI-38
  • Add ability to use local/aliased stripes-core for build operations, STCLI-27
  • Fix issue locating local stripes-core on Windows, STCLI-33
  • New CLI user guide and developer guide documents, STCLI-20
  • Report unknown commands and enable Yargs recommended commands, fixes STCLI-36
  • Disable automatic help display on failure, fixes STCLI-37
  • New perm view command to view permissions for a user, STCLI-42
  • New okapi token command to retrieve CLI's stored token, STCLI-43
  • Maintain user-supplied module config in app context, STCLI-44
  • New workspace command, STCLI-41
  • Fix issue assigning isGlobalYarn to context, STCLI-45
  • Simplify app create options, STLCI-46
  • Static upgrade message to omit false npm reference, STCLI-34
  • Add debug notes and VSCode configuration, STCLI-47

1.0.0 (2018-02-08)

  • Add support for passing options to Karma. STCLI-16
  • Add permissions to new app templates and ability to push to Okapi. Includes the following: STCLI-7
    • Okapi command to log into an Okapi instance
    • Mod commands to add/remove/update an app's module descriptor in Okapi
    • Mod commands to enable/disable an app module for a tenant in Okapi
    • Perm commands to create and assign app permissions to a user in Okapi
    • Include default module and settings enabled permissions with new app template
    • App create command optionally orchestrates Okapi calls after generating an app
    • Introduce interactive input for some command options
  • Improve handling of aliases with added support for stripes-core, STCLI-13
  • Apply proper exit code upon test failure. Fixes STCLI-17
  • Update webpack config for test with translations plugin. Fixes STCLI-21
  • Invoke CLI with stripes rather than stripescli. STCLI-11
  • Update new app templates to use React 16. STCLI-25
  • Add translations to new app templates. STCLI-6

0.10.0 (2017-12-12 demo)

Versions prior to 1.0.0 available on npm-folioci and include initial support for the following:

  • Build and serve commands
  • New app command and template
  • CLI status command
  • Test command for existing Nightmare e2e tests
  • Alias support to reduce yarn-linking
  • Initial CLI plugin support to define custom options and webpack hook
  • Test command support for running unit tests
  • Webpack bundle analyzer
  • CLI configuration file support