All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Closes Issue #31 "Add Netsuite dependency command doesn't work properly" netsuite-upload-org#31
- Added support for pushing a whole folder. Thank you @alejndr netsuite-upload-org#35
- Added support for uploading and downloading .ts TypeScript files. netsuite-upload-org#32
- Updated npm dependencies to eliminate security vulnerabilities.
- Publishing to VS Code Marketplace under a new publisher name,
nsupload-org
. This will make it appear as a different extension than the old one. Going to remove the old extension from the VS Code Marketplace. - Added keybinding for upload. Ctrl+n,Ctrl+u. This complements the download keybinding, Ctrl+n,Ctrl+d.
- Improved some Settings descriptions.
- Checking the version of the RESTlet was too strict. I don't need the version of the Extension to equal the version of the RESTlet. I just need all the supported functions to work properly.
- Fixed OAuth support. NetSuite OAuth is weird.
- Assigned a version to the RESTlet, and created a GET request that will pull down the version number of the RESTlet. This allows the extension to detect when the RESTlet version is not up-to-date, and to warn the user. There's also a new palette command,
Get NSUpload RESTlet version
which will fetch the value and display it in a notification. - Continued improving error handling. Now can detect bad authentication and warn the user.
- This release requires that you update the RESTlet in NetSuite. Find the RESTlet at
netSuiteRestlet\vscodeExtensionRestlet.js
.
- This release adds a feature requested by @JonnyBoy333. It allows for a setting to change the base folder path to upload scripts. For example, if you keep a copy of all scripts in SuiteScripts/Developer, then you can change this setting and push and pull files there. When you're done with development, you can change the setting back and push files to production.
- This release requires that you update the RESTlet in NetSuite. Find the RESTlet at
netSuiteRestlet\vscodeExtensionRestlet.js
.
Original author Tomáš Tvrdý tvrdytom has turned over ownership of this project to me. I'm releasing an updated version 1.0 with many fixes.
See the readme.md for install instructions. This version is not in the VS Code Marketplace yet.
- Enabled pushing up the active document in the editor using a keybinding (I chose Ctrl+U, personally).
- Improved cross-platform support (mac). Previously, Windows local file paths were assumed.
- Now properly recognizes and sets the correct file type by inspecting the filename extension when uploading a new file to NetSuite. Supports all file extensions that are documented in NetSuite documentation.
- Improved file vs. folder recognition in the left explorer pane. Previously, if a file type wasn't a type of code file that VS Code knew about (like a .csv file), the NetSuite context menu wouldn't show.
- Improved messaging. More comprehensive messages will be shown in the VS Code "toast" notification when a file or folder operation succeeds or fails.
- Stopped using node-rest-client and replaced with SuperAgent, easier to use.
I attempted to add OAuth support. I'd appreciate if anyone would like to try a test. I couldn't get it working on my machine. Config instructions are in the README.md.
If you upgrade to this version, you must also upgrade the RESTlet vscodeExtensionRestlet.js
in NetSuite.