Releases: rockcarver/frodo-cli
Frodo CLI 3.0.0
Changed
-
Update to frodo-lib 3.0.0
-
Fixes and improvements to imports and exports:
- Fixed an issue with file paths on the Windows version of Frodo that was causing errors on imports due to the differences between Windows and Linux file paths.
- BREAKING: Updated IDM exports to be formatted the same as normal exports instead of as raw data by putting the raw data into a type object. This included changing the names of the exports to have a type ‘idm’, such as ‘sync.idm.json’ instead of ‘sync.json’, in order to reflect this change.
- Added option to import an entity from a single file from the full export using the -f flag in the config import command.
- Added option to do env substitution on single entity IDM exports/imports, and put logic for handling it all in Frodo-Lib
- Added option to export/import all IDM entities to/from a single file using the -a flag
- Added option to include or not include metadata in IDM exports
- BREAKING: Updated exports for agents, secrets, and variables to have a singular rather than plural type to be more consistent with other exports (see frodo-lib PR for more information on this change)
- Fixed a bug where the agent list command wouldn’t work if the agent had no status
- Fixed a bug where oauth2 and managed applications were exported with the wrong type in a full export
- Fixed a bug where journey imports weren’t working when importing using -D flag
- Standardized file extraction since it is used in multiple places (namely scripts, sync mappings, and, in a future PR, servers).
- Removed progress indicators for script, esv variable and esv secret describe commands since they caused Frodo to never terminate.
- Improved config imports to be able to import individual files based on the file type in the name instead of on directory structure (although directory structure is still used to determine whether to import globally or to know which realm to import to).
Frodo CLI 2.1.0
Changed
- Update to frodo-lib 2.2.0
Fixed
- #445: Frodo now properly saves connection profiles and detects Advanced Identity Cloud deployment type.
Frodo CLI 2.0.6-2
What's Changed
- Get Script Usage In Other Scripts by @phalestrivir in #444
Full Changelog: v2.0.6-1...v2.0.6-2
Frodo CLI 2.0.6-1
What's Changed
- Fix and improve --usage flag for ESVs and Scripts by @phalestrivir in #442
Full Changelog: v2.0.6-0...v2.0.6-1
Frodo CLI 2.0.6-0
Added
-
Improve support for custom platform deployments (non-forgeops or customized forgeops)
-
#429: Added options to support custom oauth2 clients used to obtain the access token for IDM API calls:
--login-client-id <client-id>
Specify a custom OAuth2 client id to use a your own oauth2 client for IDM API calls in deployments of type "cloud" or "forgeops". Your custom client must be configured as a public client and allow the authorization code grant using the "openid fr:idm:*" scope. Use the "--redirect-uri" parameter if you have configured a custom redirect uri (default: "/platform/appAuthHelperRedirect.html").--login-redirect-uri <redirect-uri>
Specify a custom redirect URI to use with your custom OAuth2 client (efault: "/platform/appAuthHelperRedirect.html").
The above options can also be supplied through environment variables:
FRODO_LOGIN_CLIENT_ID
OAuth2 client id for IDM API calls. Overridden by '--login-client-id' option.FRODO_LOGIN_REDIRECT_URI
Redirect Uri for custom OAuth2 client id. Overridden by '--login-redirect-uri' option.
-
#359: Added an option to support custom IDM host URLs for all IDM API calls (e.g. platform deployments hosting AM and IDM on/in different DNS hosts/domains):
--idm-host <idm-host>
IDM base URL, e.g.: https://cdk.idm.example.com/myidm. Use only if your IDM installation resides in a different domain and/or if the base path differs from the default "/openidm".
The above option can also be supplied through an environment variable:
FRODO_IDM_HOST
IDM base URL. Overridden by '--idm-host' option.
Note: All the above options are also persisted in connection profiles so they only have to specified once and after that they come out of the connection profile.
-
Changed
- Update to frodo-lib 2.1.2-0
What's Changed
- resolves #359 - Add ability to specify IDM URL when adding a connecti… by @vscheuber in #440
Full Changelog: v2.0.5...v2.0.6-0
Frodo CLI 2.0.5
Added
-
Improvements to the
frodo script
commands:- Added the
-i
/--script-id
option to import and export scripts by id. - Added the
--no-deps
option to not include library scripts in exports of single scripts. Similarly adds the option on single script imports using the same flag to not import library dependencies if so desired.
- Added the
Changed
- Update to frodo-lib 2.1.0
Fixed
-
Fixes to the handling of scripts in the
frodo script
commands and thefrodo config import
command:- Fixing many bugs related to script extraction. For example, there were certain cases where importing wouldn't function correctly due to being unable to find the extracted script(s). For exports, library scripts weren't being extracted correctly either. Therefore, an overhaul was done to try and help simplify the extraction process to that it can work for multiple scripts if dealing with library scripts both on export and import.
- Fixing many errors in the watch option for script imports. One big one was if there were several scripts for a single json file (e.g. when exporting scripts with library scripts) that only one of the scripts would correctly be watched. This was fixed by creating mappings before watching begins to map extracted script files with their corresponding json files so it functions correctly.
- Fixing a small bug with config imports where, if the working directory started with
.
or./
it would usually fail due to being unable to locate the expected files it was looking for.
Frodo CLI 2.0.5-0
What's Changed
- Pr/435 by @vscheuber in #436
- Fix and Improve Script Exports and Imports by @phalestrivir in #435
Full Changelog: v2.0.4...v2.0.5-0
Frodo CLI 2.0.4
Changed
- Better detection of homebrew vs binary vs NPM version
Frodo CLI 2.0.3
Chagned
- homebrew formula update so
frodo-cli-next
installs the latest (irrespective of stable or prerelease)