Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v3.6 #367

Merged
merged 67 commits into from
Jul 22, 2022
Merged

Release v3.6 #367

merged 67 commits into from
Jul 22, 2022

Conversation

javierbrea
Copy link
Member

@javierbrea javierbrea commented Jul 22, 2022

core 3.6.0

Added

Changed

main 3.6.0

Added

  • feat: Export createServer function returning a core instance with preinstalled plugins

admin-api-client 6.0.0

Changed

  • feat: BREAKING CHANGE. Modify methods to adapt them to the new plugin-admin-api@3.2.0 REST API

admin-api-client-data-provider 6.0.0

Changed

  • feat: BREAKING CHANGE. Modify methods to adapt them to the new plugin-admin-api@3.2.0 REST API

admin-api-paths 4.0.0

Added

  • feat: Add new paths for admin-api-plugin

Changed

  • feat: BREAKING CHANGE. Add LEGACY_ prefix to all previous paths.

config 1.2.0

Added

  • feat: Add hasBeenSet property to option
  • feat: Add getValidationSchema method to root config object. It returns a validation schema for all namespaces.

Fixed

  • fix: Remove unused folder

cypress-commands 5.0.0

Changed

  • feat: BREAKING CHANGE. Rename command mocksSetMock to setCollection
  • feat: BREAKING CHANGE. Rename command mocksSetSettings to mocksSetConfig
  • feat: BREAKING CHANGE. Rename command mocksRestoreRoutesVariants to mocksRestoreRouteVariants
  • feat: BREAKING CHANGE. Rename command mocksConfig to mocksConfigAdminApiClient

Removed

  • feat: BREAKING CHANGE. Remove environment variable MOCKS_SERVER_BASE_URL
  • feat: BREAKING CHANGE. Remove environment variable MOCKS_SERVER_ADMIN_API_PATH

Added

  • feat: Add environment variable MOCKS_SERVER_ADMIN_API_PORT
  • feat: Add environment variable MOCKS_SERVER_ADMIN_API_HOST

plugin-admin-api 3.2.0

Added

Changed

  • feat: Use new core.server API
  • feat: Use core.mock.restoreRouteVariants
  • feat: Use core.mock.routes.plain getter
  • feat: Use core.mock.routes.plainVariants getter
  • feat: Use core.mock.customRouteVariants getter
  • feat: Use core.mock.collections.plain getter

plugin-inquirer-cli 3.2.0

Added

  • Add debounce to refresh menu function to avoid too much renders

Changed

  • feat: Use core v3.6 new options
  • feat: Use core.mock.restoreRouteVariants method
  • feat: Use core.mock.customRouteVariants getter
  • feat: Use core.server.restart method
  • feat: Use core.mock.onChange method
  • feat: Use core.mock.routes.plain getter
  • feat: Use core.mock.routes.plainVariants getter
  • feat: Use core.mock.collections.selected getter
  • feat: Use core.mock.collections.ids getter
  • feat: Use core.mock.collections.plain getter
  • feat: Use core.alerts.onChange method
  • feat: Rename concepts

plugin-proxy 3.1.0

Changed

  • refactor: Use new core method variantHandlers.register instead of the deprecated addRoutesHandler

closes #274
closes #364
closes #334
closes #265

javierbrea and others added 30 commits July 5, 2022 12:51
…press-8.x

chore(deps): update dependency @testing-library/cypress to v8.0.3
fix(deps): update dependency globule to v1.3.4
@codecov-commenter
Copy link

codecov-commenter commented Jul 22, 2022

Codecov Report

Merging #367 (b4e713f) into master (2ffe8b1) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##            master      #367    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files           67        78    +11     
  Lines         2463      2813   +350     
  Branches        30        30            
==========================================
+ Hits          2463      2813   +350     
Flag Coverage Δ
admin-api-client 100.00% <100.00%> (ø)
admin-api-client-data-provider 100.00% <100.00%> (ø)
admin-api-paths 100.00% <100.00%> (ø)
config 100.00% <100.00%> (ø)
core 100.00% <100.00%> (ø)
cypress-commands 100.00% <100.00%> (ø)
logger 100.00% <ø> (ø)
main 100.00% <100.00%> (ø)
nested-collections 100.00% <ø> (ø)
plugin-admin-api 100.00% <100.00%> (ø)
plugin-inquirer-cli 100.00% <100.00%> (ø)
plugin-proxy 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
packages/core/src/alerts/legacyHelpers.js 100.00% <ø> (ø)
packages/core/src/common/legacyTracer.js 100.00% <ø> (ø)
packages/core/src/mock/Loaders.js 100.00% <ø> (ø)
...ages/core/src/variant-handlers/handlers/Default.js 100.00% <ø> (ø)
...kages/admin-api-client-data-provider/src/config.js 100.00% <100.00%> (ø)
...es/admin-api-client-data-provider/src/providers.js 100.00% <100.00%> (ø)
packages/admin-api-client/src/entities.js 100.00% <100.00%> (ø)
packages/admin-api-client/src/methods.js 100.00% <100.00%> (ø)
packages/admin-api-paths/index.js 100.00% <100.00%> (ø)
packages/config/src/Config.js 100.00% <100.00%> (ø)
... and 46 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2ffe8b1...b4e713f. Read the comment docs.

@github-actions
Copy link

Affected projects

🔎 Comparing current branch with origin/master

  • 8 applications: admin-api-client-data-provider-e2e-mocks, admin-api-client-data-provider-e2e-react-app, admin-api-client-data-provider-e2e-vanilla-app, admin-api-client-unit-mocks, main, core-e2e-legacy, admin-api-client-data-provider-e2e-specs, cypress-commands-e2e-vanilla-app
  • 13 libraries: admin-api-client, cypress-commands, admin-api-client-data-provider, admin-api-paths, plugin-admin-api, config, core, plugin-inquirer-cli, plugin-proxy, cli-runner, inquirer-cli-runner, logger, nested-collections
  • 10 test: admin-api-client-data-provider-vanilla-app-e2e, admin-api-client-data-provider-react-app-e2e, admin-api-client-data-provider-nodejs-e2e, admin-api-client-nodejs-e2e, plugin-admin-api-swagger-e2e, cypress-commands-e2e, main-e2e, config-e2e, plugin-inquirer-cli-e2e, core-e2e
Total: 31 projects are affected by changes

@github-actions
Copy link

Check affected projects versions

  • admin-api-client-data-provider-e2e-mocks: Private package
  • admin-api-client-data-provider-vanilla-app-e2e: Private package
  • admin-api-client-data-provider-react-app-e2e: Private package
  • admin-api-client-data-provider-nodejs-e2e: Private package
  • admin-api-client-data-provider-e2e-react-app: Private package
  • admin-api-client-data-provider-e2e-vanilla-app: Private package
  • admin-api-client-unit-mocks: Private package
  • admin-api-client-nodejs-e2e: Private package
  • plugin-admin-api-swagger-e2e: Private package
  • 🟢 admin-api-client: Package @mocks-server/admin-api-client@6.0.0
  • 🟢 cypress-commands: Package @mocks-server/cypress-commands@5.0.0
  • cypress-commands-e2e: Private package
  • 🟢 admin-api-client-data-provider: Package @mocks-server/admin-api-client-data-provider@6.0.0
  • 🟢 admin-api-paths: Package @mocks-server/admin-api-paths@4.0.0
  • 🟢 plugin-admin-api: Package @mocks-server/plugin-admin-api@3.2.0
  • 🟢 main: Package @mocks-server/main@3.6.0
  • main-e2e: Private package
  • 🟢 config: Package @mocks-server/config@1.2.0
  • config-e2e: Private package
  • 🟢 core: Package @mocks-server/core@3.6.0
  • 🟢 plugin-inquirer-cli: Package @mocks-server/plugin-inquirer-cli@3.2.0
  • plugin-inquirer-cli-e2e: Private package
  • 🟢 plugin-proxy: Package @mocks-server/plugin-proxy@3.1.0
  • core-e2e-legacy: Private package
  • core-e2e: Private package
  • admin-api-client-data-provider-e2e-specs: Private package
  • cli-runner: Private package
  • inquirer-cli-runner: Private package
  • cypress-commands-e2e-vanilla-app: Private package
  • 🚫 logger: Package @mocks-server/logger@1.1.0
    • 🚫 Version 1.1.0 is already published
  • 🚫 nested-collections: Package @mocks-server/nested-collections@2.0.0
    • 🚫 Version 2.0.0 is already published
😞 Affected projects are not upgraded properly

@sonarcloud
Copy link

sonarcloud bot commented Jul 22, 2022

[cypress-commands] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@sonarcloud
Copy link

sonarcloud bot commented Jul 22, 2022

[admin-api-client] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@sonarcloud
Copy link

sonarcloud bot commented Jul 22, 2022

[cypress-commands-e2e] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@sonarcloud
Copy link

sonarcloud bot commented Jul 22, 2022

[admin-api-client-data-provider] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@sonarcloud
Copy link

sonarcloud bot commented Jul 22, 2022

[admin-api-paths] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@sonarcloud
Copy link

sonarcloud bot commented Jul 22, 2022

[plugin-admin-api] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@sonarcloud
Copy link

sonarcloud bot commented Jul 22, 2022

[main] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@sonarcloud
Copy link

sonarcloud bot commented Jul 22, 2022

[main-e2e] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@sonarcloud
Copy link

sonarcloud bot commented Jul 22, 2022

[config] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@sonarcloud
Copy link

sonarcloud bot commented Jul 22, 2022

[core] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@sonarcloud
Copy link

sonarcloud bot commented Jul 22, 2022

[plugin-inquirer-cli] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@sonarcloud
Copy link

sonarcloud bot commented Jul 22, 2022

[plugin-inquirer-cli-e2e] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@sonarcloud
Copy link

sonarcloud bot commented Jul 22, 2022

[plugin-proxy] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@sonarcloud
Copy link

sonarcloud bot commented Jul 22, 2022

[core-e2e] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@sonarcloud
Copy link

sonarcloud bot commented Jul 22, 2022

[logger] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@sonarcloud
Copy link

sonarcloud bot commented Jul 22, 2022

[nested-collections] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@javierbrea javierbrea merged commit 15042d4 into master Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Start admin API in a different port Improve project main concepts and APIs Add swagger-ui About API
2 participants