All notable changes to the "sfcc-metadata-explorer" extension are documented in this file.
- Bugfixes & updates to dependencies for security bot.
- Fixes for display of error messages in the properties of a system object attribute.
- Fix issue with POST calls not getting params in Body correctly and wrong param in add attribute call.
- Fixes issue with node_modules excluded from package output by removing from .vscodeignore file.
- Fix bugs caused by adding get/set methods for property, but forgetting to rename the private var.
- Fix issue caused by no dw.json file.
- Add the @types/node-fetch package to the dependencies of the project instead of the dev dependencies to fix issue with build of extension.
- Refactor of extension to use newer VScode library and build process, updates to backend in preperation for upcoming new features.
- Added new configurations for hostname, username, & pass from SFCC for auth token call instead of depending on dw.json.
- Added configuration to show SFCC jobs as root node of explorer:
extension.sfccmetadata.explorer.jobs
.
- Fixed bug keeping site preferences from displaying if a default value wasn't set for 1 or more string site prefs.
- Internal refactor of looping through root level node types to improve reliability & readability of code.
- Fix bug causing the extension to request a configuration file choice multiple times; one for the auth, and again for the actual call.'
- Fix security vunerabilities, and adapt code for newer version of VSCode lib.
- Fix for OCAPI password & client Id settings not allowing real configurable values due to 30char hard limit imposed on field.
- Update changelog & bump version.
- Fix for Get Full XML command on Windows erroring due to file path not read correctly. - Fix contributed by david-mkhitaryan-dev.
- Updated changelog & bump version for new release.
- Update to handle boolean type attributes for XML properly - Fix contributed by david-mkhitaryan-dev.
- Added a contributors section to the README.md now that there is more than 1.
- bump version.
- Update to handle 1st failure gracefully in case the job execution is not found yet.
- Fix for error handling of attempts to get job execution result.
- Fix for file name of XML export when no workspace folder is open.
- Added package adm-zip to the dependencies.
- Add code to unzip the archive & show the full XML export in the editor.
- Moved OCAPI Client ID & Pass to VSCode settings with default values. Doesn't break default, but allows for using configured Ids.
- Setting for OCAPI clinet ID:
extension.sfccmetadata.ocapi.clientid
- Setting for OCAPI clinet password:
extension.sfccmetadata.ocapi.clientpassword
- Setting for OCAPI clinet ID:
- Added new VSCode command
extension.sfccexplorer.systemobjects.getxml
to the package.json & context menu command when root node selected to get execute a job on the target server to get the full XML export for system-obeject-definitions. - Updated README.md to include new feature & settings.
- Update version for release.
- Fixed issue of displaying site preference values for all sites if they have a value configured or not.
- Fixed issue of display of bool-false values in tree due to teneray exressions.
- Added ability to set attribute value on site with no current value.
- Updates to allow setting preference values of a enum type from existing configured enum type values.
- Add submenu context command to delete a system object attribute group.
- Updated changelog & readme with new command.
- Fix bug w/getXML from enum_of_string w/no attr/definitions defined.
- Fix version in changelog after releasing minor instead of patch by mistake.
- Update changelog in prep of version bump.
- Fix for Get XML command of "enum" type attributes.
- Update changelog in prep of version bump.
- Fixed GH Issue #69 to display attribute values of enum type attributes.
- Updated changelog & bumbed version w/release.
- Bugfix: Allow display of more than 25 attribute groups by adding count = 150 query parameter to each call.
- TODO: Change the max value to be a VSCode setting.
- Updated CHANGELOG.md in prep of version bump.
- Bugfix for GitHub Issue #71:
- Added check for displayName property as well as displayName.default when setting value of node.
- Added ability to set SitePreferences custom attribute values as a context menu command.
- extension.ts => Added a refresh call to update the tree after pref value set.
- SitePreferencesHelper.ts => Updated display description to be cast as string so boolean values show.
- commandHelper.ts => Added break to string case to fix error with fallthrough to default.
- CommandHelper.ts => Updated setPrefValue to get call setup then call OCAPI to update pref value & resolve promise to result.
- INodeData.ts => Added id: string type to the IPreferenceValue interface.
- Added listener to extension.ts to handle the context menu action.
- Added command
extension.sfccexplorer.sitepreference.setvalue
to the package.json for setting preference values. - Added API config for the
PATCH
call to OCAPISites
resource to set preference values. - Added feature to readme.md features list.
- Updated CHANGELOG.md with notes of changes.
- Updated version of npm package
webpack
to ^4.42.0. - Updated version of npm package
webpack-cli
to ^3.3.11. - Updated version to 0.8.1.
- Added Feature: Site Preferences View to view what the preferences are set to for each site.
- Ability to set/update will be coming as soon as I have a bit more time.
- Add new VSCode setting
extension.sfccmetadata.explorer.sitepreferences
for enabling the view of the site preferences tree in the view. - Update changelog.md & add setting to README.md.
- Bump version.
- Fixed GH issue #61 to ensure that the description field is included in new attributes.
- Updated the changelog.
- Fix for improper lexical versioning due to publishing from the wrong branch on multiple occassions.
- Fix for enum value type formatting when getting the XML for an attribute.
- Fix for package vulnerability by updating the version of lodash.
- Fixed package vulnerability for dependency package.
- Add Mocha to dependencies in package.json.
- Fixed the ordering of the custom attribute properties in order to make the XML validate when using the getXML commands.
- Updated README.md & CHANGELOG.md files.
- Added command
extension.sfccexplorer.systemobjectattribute.removefromgroup
to remove an attribute from an attribute group to the package.json. - Added new context type
groupAttribute
for MetadataNode to identify when an attribute child of an attribute group is in scope in the explorer for sub-menu commands. - Added listener for new command to the extension.ts file which calls the helper in the OCAPIHelper class to make an API call.
- Added new helper method to the
OCAPIHelper
class to make the call to the OCAPI service to remove the attribute from the group. - Updated README.md & CHANGELOG.md files.
- Added command to get the XML for an attribute group.
- Updates to README.md to make it more concise and up-to-date.
- Addded logo icon for extension and listed it under the icon field in the package.json file.
- Changed maximum attribute count to 500 to avoid not getting full attribute list.
- Updated CHANGELOG.md.
- Changed
main
field in package.json to reflect new directory for compiled extension after adding webpack for bundling. - Updated CHANGELOG.md
- Added webpack for bundling extension before publishing.
- Added avj as dev dependency to satisfy peer dependencies.
- Added ts-loader as dev dependency for bundling the TypeScript.
- Added uglifyjs-webpack-plugin as dev dependency in package.json
- Updated the .vscodeignore file to ensure that all un-needed files are excluded from the extension package.
- Updated CHANGELOG.md.
- Updates to README.md & CHANGELOG.md.
- Added view of Custom Object Definitions as a base node of the tree. The functionality of these is limited to viewing the actual object names & attribute groups/definitions count. This is a limitation of the current OCAPI functionality.
- Fixed bug keeping System Object Definitions from being expandable.
- Fixed some error messaging bugs.
- Fixed bug causing error on calls to 'assign an attribute to a group'.
- Added base node with expandable attribute & group count for custom obj. defs. The full display is on hold until there is a proper way found to do this with the OCAPI APIs.
- Added api configuration seciton for custom object definition calls.
- Added VSCode configuration option to enable/disable the custom object defintions node in the metadata tree.
- Added code to MetadataViewProvider.ts tree data provider class to show the custom object defintion base node if the option is endabled.
- Patch fixes for missing XML namespace on xml output and missing encoding type.
- Patch fixes for removing console logging and displaying error messages to the user instead.
- Patch fixes.
- Patch fixes for bad call to create system attributes of certain data types.
- Added context menu action to get the XML from a system object attribute in the explorer tree.
- Removed debug logging.
- Fixed issue keeping error messages from showing for the user when an API call fails.
- Viewing of system object attribute groups is now supported.
- Context menu action has been added to the system objects for adding a new system object attribute.
- The attribute details are collected through a wizard that gets the value of each field, and then makes a single call to the Open Commerce API to create the new system object attribute definition.
- Display of the system & custom objects has been added.
- Display of the object attributes has been added.
- Display of the object attribute values has been added.
- The TreeView provider has been added.
- Added context menu option to assign a System Object Attribute to an attribute group.
- Added context menu option to delete a custom attribute from a System Object.
- Added a view menu command to refresh the tree data.