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.
- CI publishing pipeline
- Websocket-based debugger tunnel;
- Update
recommendedEdition
inedition.ts to
[email protected]`
- Release major 3.x as stable.
- Undo a remotion of a condition in ManifestUtil for OCLIF_COMPILATION
- App purchases and all code related to it
- Update @vtex/cli-plugin-plugins to ^1.13.2
- Use templates as remote configs instead of hardcoded strings.
- Fix typo in version update message
- Update @vtex/cli-plugin-plugins
- Fix
set edition
command to handle prompt cancellations - Add check on
set edition
command to install tenant-provisioner app in sponsor account
- [vtex init] Service worker example to list of templates
- [install] Treat
InstallStatus
as a variable not as a type
- [autoupdate] Update to version 0.0.2
- [hook] Change imports from node_modules to package name
-[Autoupdate] Add as default command
-[Messages] Update Plugins / Default commands message UX
- Use space instead of
:
in help commands
- [vtex lib] Fix
import x from 'vtex'
error by forcing symlink
- Terms and conditions message when linking or publishing a react app.
composable-commerce-sq4
as codeowners
-
Changed logging protocol from
http
tohttps
. -
Add self package to react packages as devDependency
- [plugins] Disallow installations of non-working plugins
- [plugins] Feature flag for
PLUGINS_ALLOW_LIST
- [help] Display topic only if it contains command
- It is now possible to specify a project folder name when using the
init
command.
- Searchs for the default_branch name for a GitHub Repo before trying to download it. We used to assume the default was always
master
but GitHub is adopingmain
.
stale
issues github workflow.
- Don't throw error when switching to same account
- [setup] including types of peerDependencies
- Don't throw error when switching to same account
- [Github Action] Detach create release and integrate slack notification inside npm workflow
- [Github Action] Detach create release and integrate slack notification inside npm workflow
- [Help]
vtex --help
new commands format (Groups)
- [Major] New major 3.x
-[release] Fix nothing to commit
algorithm in order to release app.
-[autoupdate] skip checkForDeprecation
and checkForOutdate
for autoupdate
command.
- [Toolbelt Notification] Integrate
toolbelt
withtoolbelt-notification
- [Update / Deprecate message] Custom message based on user OS.
- [authUrl] Returning function that was exported to
vtex url
- [vtex url] Refactor to use as oclif plugin.
- Upgrade @vtex/cli-plugin-submit to 0.2.0
- Adjustments to First Party App teams usage
- [npm] Fix inconsistent deploy
- [Feature Flags]
- Cache locally all flags
- New class to use feature flags
- Upgrade @vtex/cli-plugin-workspace to 0.1.2
- Fix vtex workspace promote
- [ToolbeltConfig] Force client to
requireAuth: false
- [vtex deploy] Update plugin version
- [@vtex/api] Update package version
- [vtex login] Change package responsable to open the browser
- [vtex setup] Update tooling dependency versions.
- [vtex whoami] Refactor to use as oclif plugin.
- [Toolbelt Config Server] Enable use of feature flag inside
vtex.toolbelt-config-server
- Add retries to builder hub app link client
- [relink] Force app to
link
from scratch whenStickyHost
change onrelink
- [update] updateNotify access propety of undefined object.
- [updateNotify] Display new version update based on
vtex
channel (e.g., stable and beta).
- [vtex submit] Update command plugin version
- Fix relative imports
- Update
vtex
- [vtex workspace] Update command plugin version
- Add
--conflict
flag toworkspace promote
command.
- Add
- [vtex submit] Update command plugin version
- Handle App Store validation errors
- Support to new
billingOptions
types
- [vtex deploy] Refactor to use as oclif plugin.
- [vtex infra] Refactor to use as oclif plugin.
- [installer] New deploy method by using
oclif-dev pack
andoclif-dev publish
.
- [tsconfig] Changed build folder name from
build
tolib
.
- [vtex submit] Add plugin package.
- [vtex redirects] Update plugin version:
- Add missing
progress
dependency.
- Add missing
- [vtex deps] Refactor to use as oclif plugin.
- [vtex workspace] Refactor to use as oclif plugin.
- [vtex login] Use new VTEX ID login flow:
- Fix free TCP port retrieval: use
detect-port
package instead ofget-port
. - Fix issue on WSL2 by specifying host binding to
127.0.0.1
when starting the server.
- Fix free TCP port retrieval: use
- [vtex workspace promote] Conflict handling.
- [vtex workspace promote] Log messages.
- [vtex redirects] Refactor to use as oclif plugin.
- [vtex workspace abtest] Update command plugin version
- Remove
CommandError
class and move toFLOW_ISSUE_ERROR
kind insideErrorReport
class.
- [vtex login] Revert to use old login flow due to issues on local server port.
- [vtex login] Use new VTEX ID login flow.
- Remove function calls on the root of the module on the commands:
vtex release
,vtex test unit
,vtex setup
,vtex publish
,vtex link
andvtex deploy
- [ManifestUtil] Remove duplicated manifest functions
- [vtex abtest] Refactor to use as oclif plugin.
- [vtex workspace abtest] Revert
vtex abtest
to subcommand ofworkspace
command
- [vtex abtest] Rename command from
vtex workspace abtest
tovtex abtest
- [vtex abtest] Refactor to use as oclif plugin.
- [dependencies] Remove unused dependencies
- [vtex browse] Fix workspace not being added to url.
- [vtex login] Revert to use old login flow due to issues on Safari browsers.
- [oclif:entrypoint] Only run oclif command when the entrypoint is the main script.
- [vtex settings set] Cast value before setting field.
- [vtex logout] Local token is now invalidated before deleting local data. Also a URL is opened on the browser to invalidate the auth cookie stored.
- [vtex edition] Refactor command to use as oclif plugin.
- [vtex login] Use new VTEX ID login flow.
- [vtex browse] Remove support authority logic, as VTEX ID token doesn't expose user roles.
- [vtex test / vtex lighthouse] Refactored this commands to use them as oclif plugins.
- [vtex test e2e] Simplified test summary linking to full report.
- [vtex link] Parameters to enable login singleline.
- [docs] Update session about development.
- [vtex link/relink] Add telemetry on builder-hub host changes.
- [vtex test e2e] Handle error when executed on an unlinked app.
- [All Commands] new flag
--trace
that sets thejaeger-debug-id
header automatically on all requests. - [vtex link] Added
cypress.json
to the list of watched files.
- [vtex test e2e] Added retry count to account for cold
tester-hub
start. - [vtex link] Generate
linkID
and set thex-vtex-bh-link-id
header on link and relink requests tobuilder-hub
.
- [vtex publish/link] Ignore Cypress generated videos/screenshots.
- [ErrorReport] Do not send wrong usage errors to telemetry.
- [vtex login, vtex switch] Prompt workspace creation if it doesn't exist.
- [vtex publish] Message referencing location of the published docs if any.
- [vtex logs] Add logs command.
- [vtex promote] Remove report to evolution manager.
- [ErrorReport] Use
@vtex/node-error-report
. - [vtex promote] Change log level on evolution manager report error from
error
todebug
.
- [vtex config] Config reset command.
- [welcome, login, switch] Add welcome command.
- Refactor clients organization and instantiation.
- [edition-check] Change error log from
warn
todebug
level. - [vtex login] Get release notes message from
vtex.toolbelt-config-server
.
- [clients:billing] Use new URL format.
- [vtex test e2e] Show screenshot and videos assets URLs received from
vtex.tester-hub
new API. - [vtex undeprecate] 403 error when account switch is necessary.
- [oclif]
oclif-plugin-spaced-commands
to fix alias documentation.
- [telemetry] Sanitize jwt tokens and simplify buffers serializtion.
- [dependencies] Add graphql - @vtex/api's peer dependency.
- Session management.
- [vtex link]
no-watch
flag behaviour. - [vtex workspace delete]
force
flag type.
- [CLIPreTasks] Outdated version checking.
- Treat errors when checking edition of account on a workspace command.
- [redirects] Encode delimiter before exporing
.csv
file to avoid conflicts. - [vtex install, vtex uninstall] Behaviour when action is cancelled by the user.
- [hooks:init] Allow to customize help.
- [child-processes]
DEBUG_CP
environment variable for debugging child processes. - Command
vtex lighthouse
for vtex internal Google's Lighthouse tool - [vtex promote] Save workspace promotion info in evolution manager.
- Update release notes message.
- Improve SSE errors logs.
- [vtex setup] Add GraphQL files to
lint-staged
config. - [vtex workspace] Auto-switch to edition-store when creating new workspace.
- [dependencies] Update yarn from
~1.21.0
to^1.22.4
.
- [telemetry:reporter] Create and send reporter meta metrics.
- Migrate to framework
oclif
. - [vtex install] Improve error logging.
- [telemetry:reporter] Refactor reporting.
- [telemetry:ErrorReport] Increase ErrorReport serialization depth.
- [telemetry:reporter] File locking error.
- [vtex setup] Not running when flag
--all
is omitted.
- [local-data] Use new paths on
~/.vtex
for persisting data. (older session path at ~/.config/configstore/vtex.json will still be updated).
- [vtex rewriter] Use rewriter new redirects API with single binding support.
- [debugger:node, debugger:dotnet] Use
wss
protocol instead ofws
and newapp.io.vtex.com
URL format. - [clients:sponsor, vtex support] Use HTTPS and new URL
app.io.vtex.com
format. - [telemetry:collector] Flush just before exiting process.
- [sse] Check if token is valid before creating connection.
- [sse] Abort process on 401 or 403 server errors.
- [sse:telemetry] Register sse errors with errorKind
SSEError
. - Update release notes message.
- [vtex test e2e] Show test's logs.
- [vtex setup] Create new flags for specifying what to setup:
--all
: Select all setup flags existent.--typings
: Download and setup GraphQL and React typings.--tooling
: Setup Prettier, Husky and ESLint.--tsconfig
: Setup React's and Node's TSconfig, if applicable.
- [telemetry] Add suffix specifying if
env.platform
is container or WSL.
- Command
vtex test e2e
for end-to-end testing.
- [vtex init] Show
checkout-ui-settings
template for users outside VTEX.
- [dependencies] Downgrade to use
opn@~5.2.0
instead ofopen
.
- [vtex debug dotnet] Support for debugging .Net Core apps.
- Init time metric in telemetry.
- [vtex setup] Make generated
yarn format
command also format.jsx
and.tsx
files. - [dependencies:open] Fix
open
usage that caused malfunction on wsl.
- [vtex redirects] Downloads the bindings along with the redirects.
- Update
open
to version 7.0.3.
- [vtex redirects] Logs exact uri that has a problem.
- Use new list api for exporting redirects.
- Deprecation checking.
PayloadTooLarge
error in telemetry.
- Update release notes URL.
- Improvements in telemetry.
- Add an interval to remote flush telemetry.
- Use a file to write telemetry object argument for
TelemetryReporter
. - Send
TelemetryReporter
meta errors totoolbelt-telemetry
.
ErrorReport
class throwingUnhandledException
.
- Add "edition app" to vtex init.
- Allow testing editions in non-master workspaces.
- [vtex init] Use better template for
store
.
- Release notes URL.
- [vtex init] Keep only store template for non VTEX users and change template repository.
- [vtex init] Allow to select template organization.
- [vtex init] Include
payment-provider-example
. - Automatically report errors.
- [vtex setup] Update
eslint-config
packages version. - Update
typescript
to3.8.2
- Update
eslint
andeslint-config-vtex
. - Fixed
eslint
errors.
- Make deprecation checking non-blocking.
- [vtex init]
checkout-ui-settings
template.
- Fix
Unhandled Exception
when publish fails.
- Spinner on
vtex publish
.
- Remove
ramda
usage onvtex publish
command.
- Typo in release notes announcement.
- Release notes announcement.
- Remove
vtex validate
andvtex production
deprecated commands.
- Sort
package.json
dependencies when adding withvtex setup
. - Use
open
package instead ofopn
. - Update
@vtex/api
fromv3.67.1
tov3.71.1
- Create
AuthProviders
classes to concentrate authentication logic. - Create
SessionManager
class to manager session specific data. - [vtex login, vtex logout, vtex switch] Use
SessionManager
class.
- [vtex publish] Only allow the workspace flag when logged in the vendor account.
- Update
clear-module
dependency to major 4.
- [vtex setup] Increased TSConfig and Typings getting timeout.
- [vtex settings unset] Fix argument parsing.
- Remove
bluebird
package:- [vtex settings, vtex infra, vtex redirects] Remove
bluebird
utilities from all subcommands. - Remove
bluebird
from cli entrypoint. - Remove
bluebird
from build listener.
- [vtex settings, vtex infra, vtex redirects] Remove
- Use
prompts
package for confirmation prompts. - Answering confirmation prompts now only need the confirmation character (or just enter). No need to type the character and enter.
- [vtex deploy] Improved error messages.
- [vtex publish] Removed new deployment process announcement.
- Add deprecation precheck.
- Use
esModuleInterop
compiler option.
- [vtex setup]
lint-staged
andhusky
configurations.
- [vtex setup] tooling step with updated dependencies.
- Invalid URLs when
cluster
variable is set. - [vtex link] Fix
bad_toolbelt_version
error message.
- [vtex link] Fix relink not properly updating active link
- [vtex setup] Change types urls hosts from
vtex.vteximg.com.br
to$appVendor.vtexassets.com
yes
flag tovtex publish
- Yarn linked modules files sending.
- Fix
vtex infra install
creatingsemver
object
- Create an OS notification when an link dies (except for windows systems).
- Short circuit bad toolbelt version error when linking.
- Add dependencies pinned by builder-hub scoped by builder.
- Debug logs on linked apps now are printed on verbose mode.
- Post publish message now notifies about
vtex deploy
instead ofvtex validate
.
- Display account name when confirming actions on master workspace.
vtex deploy
command.
- Deprecate
vtex validate
command in favor ofvtex deploy
.
- Refactor
vtex add
. - Refactor
vtex unlink
. - Use
ManifestEditor
class onvtex link
.
- Spawn of
git add
on paths with special chars.
- Debug response headers on unhandled errors when available
- Log request url and method on unhandled errors when
request.status
is available and is4xx
or5xx
- Typo on message requesting to change account when validating
- Log url for auth-sse
VTEX_CLUSTER
env variable now specifies which cluster will be usedvtex config set cluster
andvtex config get cluster
are now available and specify the cluster to be used
- Use url shortener for new publish process docs url
- Message after
vtex publish
regarding newvtex validate
command
- Add update method to builder hub's error requesting to update toolbelt
- Add confirm prompt on
vtex publish
- Add URL to changelog on update notification
- Refactor
vtex install
andvtex uninstall
- Add message regarding publish process changes when trying to publish
- Refactor
vtex deprecate
,vtex undeprecate
,vtex publish
- Use
v8-compile-cache
to slightly reduce commands startup
- Update
vtex setup
added lint deps
- Show upload progress
- Show project original and compressed sizes
- Add a 90MB limit to project original size
- Remove unnused client
- The command
vtex redirects export
no longer exports duplicate entries.
- Periodically prompt user for feedback about toolbelt's usage experience.
- Update
typescript
to^3.7.3
- Update formatter and linter dependencies
- Removed outdated scripts
- Lock dependencies versions up to minor changes
- New command to validate a published app
- Use vtex/api on undeprecate request instead of axios
- Make
vtex init
never change the cloned app's manifest.
- Delete legacy publish and link files
- Use
onUnsubscribe
event feature to notify users about links closing connection.
- Use
[email protected]
onABTester
andRewriter
clients constructors in order to use newnode-vtex-api
routing.
- Update version of node-vtex-api to do requests with https
- Store tokens of other accounts visited in order to change account without opening browser when possible
- Ignore errors warming up the route map after create a workspace
- Fix copy to clipboard of
vtex local token
when it's executed on Mac OS.
- Error
Unhandled exception
when generating local token/workspace/account, due to nonexistent display.
- Use
tenant-provisioner
'smigrate
API to set account's editions.
- Remove CHANGELOG.md from list of ignored files
- Fix
vtex setup
overriding the app's existingpackage.json
.
- Add
.git/**
to defaultIgnored files
inquirer
package
vtex redirects import --reset
when the redirects index is empty invtex.rewriter
.
- Update
vtex setup
ESLint configuration to match current recipe instructions.
vtex init
forreact-guide
- Typescript compile error that happened on darwin platform
- Update typescript version to 3.6.3
- Increase timeout and retries in the
rewriter
client. - Sort the redirects list by the
from
prop before starting import.
- Ensure
node
>= v10 - Add debug logs on
node
version, OS basic info and command executed
- Use new rewriter API for redirects management.
- Add
vtex test
to README.
- Update versions of eslint related packages added by
vtex setup
- Support for running tests on VTEX IO apps.
- Error logging using winston
- Enforce node version >= 10
- Correctly print error objects when the
--verbose
flag is set.
- Make update notifier yarn aware.
- Parameter
-f
or--force
invtex publish
to skip check for sem ver.
- Add
vtex redirects import/export/delete
to README.
- Use
prettier
as formatter andeslint
as linter
vtex redirects import/export/delete
command for handling redirects invtex.rewriter
.
vtex setup
command
- Fix test
- Add revenue and last 24h revenue to AB test status.
- Upgrade
@vtex/api
to^3.46.0
- Upgrade
chokidar
to major 3
- Parameter
-f
or--force
invtex install
to skip check for route conflicts.
- Do not throw error when log is an empty string.
- Stop ignoring eslint configuration files.
- Use jest as testing framework
- Filter out artificial JSON logs that are meant to be logged to splunk, except in verbose mode
- Add a header to send debug requests to the runtime instead of the app.
- Do not show
masterdata-graphql-guide
invtex init
for users outside VTEX.
vtex init
does not show unnecessary templates for users outside VTEX.
vtex update
correctly shows available updates for runtimes.
- Add
ignore-engines
flag when runningyarn
.
- Stop saving sticky-host locally until issue with Builder-hub's
fork-ts-checker-webpack-plugin
issue is resolved.
- Support
-
to switch back to previous account or workspace.
- On
vtex update
, correctly show when there are no updates available.
- A/B testing status tables.
- Account name is displayed when changing workspaces.
vtex update
calls the housekeeper API to check available updates.
- Display account name on workspace reset prompt
- Remove environment on greetings prompt
- Removes deprecated staging environment support
- Use yellow instead of red for
vtex update
table headers color
- Use app's root as
cwd
when running scripts duringvtex release
.
- Bump
axios
version.
- Fix
vtex init
.
- Add graphql example.
- Add admin example.
vtex ls
now shows apps inherited by the account's edition.
vtex edition
andvtex edition set
commands to manipulate account's editions.
- Check if the returned data is really from the
vtex.admin-login
app when testing if it is installed in the current account/workspace.
- Add
support
command, which allows logging into another account that has your support app installed.
- Added funcionality to
browse
command to allow logging into an admin with a support token.
- Use double quotes around the resolved
yarn
path sovtex link
works correctly on Windows platforms.
- Add
--qr
flag to thebrowse
command, that outputs a QR code; intended for mobile devices.
- Use new login route whenever it is available in the current workspace.
vtex url
command to print the base URL for the current account, workspace and environment.
- Stop making
vtex update
attempt to update app major.
- Add JSON schema to Manifest.
- Enable saving StickyHost locally.
- Always run
yarn
locally as an initial step ofvtex link
andvtex publish
for./node
and./react
folders.
- Correctly resolve app root for the
vtex release
command.
- Improved Node debugger stability.
- Running
vtex setup
on everyvtex link
is temporarily disabled untilvtex setup
becomes less intrusive.
- Minor fix to eslint configuration in
vtex setup
.
- Temporarily disable saving StickyHost locally until routing behavior is fixed.
- Move typings fetching to the
vtex setup
command. - Make
vtex setup
download tslint configuration (react and node). - Make
vtex setup
merge tsconfig entries from builder-hub. vtex link
runsvtex setup
by default, except when run with optionno-setup
.
- Wrap
apps
client promises in Bluebird, so we can use.tap
.
- Check and inform if ab-tester
status
route returns null results.
- Generic
vtex browse
command for browsing the store.
- Correctly parse and print error message in
vtex deps update
andvtex unlink
commands.
vtex whoami
shows that the user is not logged in if it fails to read the workspace state.
- Do not allow users to create workspace names with hyphens.
- A/B test finish messages (again).
- Check if
vtex.ab-tester
is installed before attempting to use A/B testing functionality.
- Upgrade to @vtex/api to version 3.4.0 or higher.
- Watcher debouncer wait time from 300ms to 1000ms.
- Completely remove the
vtex production
command.
- A/B Test finish message.
- Fix Changelog and add
.git/
to.npmignore
.
- Builder availability requests being cached by updating to
@vtex/api^3.3.1
.
- Implement workspace A/B testing interface.
- Undesired logs appearing during
vtex publish
.
delivery-theme
repo to thevtex init
command.
service-example
repo to thevtex init
command.
- Start debugger tunnel only for node apps.
- The
vtex release
command accept a valid (semver) version as its first argument.
--unsafe
(-u
) option for thevtex link
command, which enables apps being linked with typescript errors.
- Replace
enquirer
withprompt-confirm
for confirmation prompts.
- Request vtex.builder-hub's availability for route map warm-up instead of querying Colossus, which not every user is allowed to do.
- Retries for vtex.builder-hub availability requests and debugger connection.
- Workspace information (whether it is in dev or production mode) in the output
of the
vtex whoami
command.
- Stop trying to get manifest of apps with specific majors or minors from VTEX Registry, which is forbidden.
- Fix relink behaviour for linked node dependencies.
- Replaced the
inquirer
dependency withenquirer
.
- Added missing dependency
js-yaml
.
- Conflicts with the master.
- Allows usage of VTEX IO clusters other than production and staging, by setting
the environment variable
VTEXIO_REGION
.
- Remove filtering of unhandled errors before printing to console (when using
--verbose
).
- App versions colored diff was not showing prerelease tags.
- Add
render-guide
andmasterdata-graphql-guide
to thevtex init
command options.
- Makes possible to switch directly to another account/workspace with the
vtex switch {account}/{workspace}
syntax.
- Remove eslint setup copying when linking.
- Remove eslint-related dependencies from the project.
- Forward
production
value to reset command when coming fromuse
command.
- Workspace lifecycle now conforms to Chronos with a workspace being created as dev or production.
- Command
vtex production
is deprecated and it is not possible to change the production flag of a workspace after it is created. - Links are only allowed in dev workspaces.
- Only production workspaces may be promoted to master.
- Answer for switching to previous account after
vtex publish
is now correctly considered.
- Upgrade @vtex/api to version 2.3.0.
- Config is saved before changing account for app publishing and is automatically restored when going back to previous account.
- Option
--major
(-m
) invtex update
for updating app majors.
- Warm up workspace route map on creation.
vtex release pre
alias forvtex release prerelease
.
- Error messages for missing install licenses and unsupported regions.
- Close Chrome tab after successful login on Mac.
- File watcher during
vtex link
should not queue files as 'deleted' when they are simply updated
vtex release
only updates CHANGELOG.md on stable releases.
- Post release scripts run with
vtex release
have output correctly piped to stdio.
- Make
short
the default and only option forvtex ls
. - Adjust colors of vendor name on
vtex ls
. - Use clean tables on
update
,infra list
, andworkspace list
commands.
- Add confirmation of account/workspace before uninstalling apps.
- Use new auth-server routes.
--no-watch
option forvtex link
.
vtex release
command analogous toreleasy
.
- Enable running commands inside subdirectories.
- Add
--short
option tolist
.
- Change stable endpoints to new apps and workspaces model.
shelljs
to v0.7.0.update-notifier
to v0.7.0.
webpack-dev-server
redirect without port.
- Add
ora
spinner.
- Dev workflow.
vtexsay
message.
update-notifier
missing dependency.
- Add
update-notifier
.
eslint-plugin-react
to v5.0.1.- Add the sandbox name on webpack's
publicPath
.
- From
meta.json
tomanifest.json
. .vtexrc
is now a JSON file.eslint-config-vtex
to v3.0.1.archiver
to v1.0.0.babel-eslint
to v6.0.2.
babel-eslint
dependency version.
.vtexrc
instead of usingGalleryEndpoint
now usesAppsEndpoint
andWorkspacesEndpoint
.- shelljs -> 0.6.0.
- glob -> 7.0.0.
- node-libs-browser -> 1.0.0.
- prompt -> 1.0.0.
- eslint -> 2.0.0.
- babel-eslint -> 5.0.0.
- eslint-plugin-react -> 4.1.0.
- Update some deps and fix login error with start token.
node_modules
,package.json
and.git
are ignored by default.
- Fix undeclared
rl
var on windows.
- We dumped CoffeeScript in favor of ES6! Since all the code was deleted and written in ES6, you may encounter some issues, if you do, please open an issue.
- Improve error handling.
- Show publish error details.
- Fix grammar in some messages.
#73
It updates the JSON we send to the gallery! Just that :)
- Add special auth method for
@vtex.com
or@vtex.com.br
e-mails.
- On this update we changed the way we tell Storefront that you're watching a new app!
- Instead of WebSockets, we now use HTTP for keep alive, not as elegant but made a few bugs disappear.
- We also added a message on
vtex login
to make the prompts less ambiguous. Still on the login, there's now a validation on theaccount
prompt! It should be alphanumeric with only dashes-
as a special character. #73
#72
Fix location of warnings in sandbox changes.
Fix disconnection issue when exiting by Ctrl + C and workspace creation request.
- Fix login message when using Ctrl + C to exit the prompt and moar error messages.
- Fix signalr-client dependency.
Hello, fellow developers!
I'm glad to announce that THE COOKIE IS DEAD!!11!!
Ok... maybe not that much. Let me explain:
The cookies for the sandbox
and workspace
pretty much still exists, BUT, we've created a good and ol' barrel of abstraction on top of it so you don't have to worry anymore.
Now we have a convention for setting those cookies. We will create a workspace with the name sb_<your-vtex-developer-email>
and on that workspace you'll have a sandbox with the name <your-vtex-developer-email>
. Because of that, you don't need to type the sandbox
as an argument of watch
anymore!
You will access those by simply putting a querystring on the link you use for development, for example: storename.beta.myvtex.com/[email protected]
.
All we ask in return is that when you log in you inform us the account you wish to be logged (yeah, only one account at a time).
I know you're excited, yeah, gimme a hug homie <3
TL;DR: You don't need to type the sandbox name on watch
or set the cookies anymore.
First big important note: If you have any credentials cached, please logout
and login
again.
Second big important note: Delete the previous vtex_workspace
and vtex_sandbox
cookies that you have setted before.
- Update changes log to include warnings from server response.
#60
- Now, server sets an environment variable called
HOT
(dayum yeah). #55
Hello again, fellas.
Today we have a round of the good ol' fixes.
Users of the npm@3
version will be glad to know that the dependencies issues were handled. tiny-lr
got updated and everything is now beautifully working. Also, removed grunt-coffeelint
for having peer dependencies issues too.
I hope that people get a little less confused when running the toolbelt when he doesn't need to send anything to the sandbox servers. Why? Well, we got a new message just for that case :)
And, for the finale, the toolbelt will warn you properly when the port of the server is occupied. I think that shows good manners, exploding the way it used before doesn't show you have good loving parents!
Nothing big here, just fixes some issue with the watch
command when running with no flags.
Let's kick the dust off and start with the good stuff!
The file vtex-webpack
is now gone (we won't miss you, so k bye). Now we have a new one, shiny and pretty called webpack
(yep), it lives on the lib
folder.
The logic behind the -w
and -s
options is now there, and the entrypoint for them is now on vtex-watch
, which makes much more sense since they are options of watch.
Last but not least, the VTEX Toolbelt server now uses the new react-transform!
Instead of using webpack-dev-server
, we're using an express
server with webpack-hot-middleware
and webpack-dev-middleware
. Note that webpack-dev-middleware
doesn't write anything on disk and handles everything in memory, so don't freak out if you see your assets
folder sitting there all alone.
This assumes some pre-configuration on the project to work properly (see Hot Module Replacement section on README). Besides, it's a world of new possibilities and probably makes it easier to make the dreamy multiple app hot reload that we all want!
On this release two main issues are fulfilled (actually, one is partially done):