- Deprecate
headers
inapi_calls
files in favour ofrequest_headers
- Improve displaying errors on
import
anddeploy
- Support
{% liquid %}
tag inaudit
command - Add usage statistics
- Added list of users to admin (phase 1)
- Redesign of admin models list
- Added
--wizard
(-w) topos-cli init
with choice between different templates
- Correctly display arrays in fields
- Show
text
fields as textarea - Fix updating
text
fields - Add string filters to text fields
- Correctly display values in quotes, square brackets, etc. in edit view
- Improve example hints for filtering
- Improve placeholders for new records
- Improve placeholder for editing records
- Improve displaying of text, array and upload fields
- Update GraphiQL to 1.x
- Added platformOS Admin reached on localhost:3333 after running
pos-cli gui serve
- Changed
-o
inpos-cli gui serve
to open Admin instead of GraphiQL
- Added liquid evaluator page in
pos-cli gui serve
- Fixed node.js v14 warnings
- Added
'
and&
as valid filename characters - Added
-c
alias for--concurrency
inpos-cli sync
pos-cli deploy
will directly upload assets to S3 by default
- Improved error message environment URL is not recognized, or there is no internet connection
- Added
--include-schema
(-i
) topos-cli data clean
. It will additionally remove all admin resources pages, schemas, graphql queries, notifications. It will not clear instance constants or anything set up in Partner Portal
- Fixed
pos-cli audit
- now auditing files only inapp
andmodules
directories - Added
@
and%
to validpos-cli sync
characters
- Fixed
pos-cli deploy -d
assets manifest creation on Windows pos-cli init
is now using--force
by default- Fixed
pos-cli audit
for graphql audit when checking multiline tag
pos-cli audit
will not report filenames with characters+ ( )
as invalid
- Fixed regression in
sync
not syncing anymore after couple files synced
- Fixed regression when no
--livereload
was used insync
- Added
--livereload
(-o
) flag topos-cli sync
which starts livereload server to refresh browsers automatically on file change. Requires installed livereload browser extension to work
- Added
--open
(-o
) flag topos-cli gui serve
andpos-cli sync
. It opens respectively GraphiQL and instance in default browser when ready - Fixed windows audit for invalid file paths
- Added
pos-cli modules pull <environment> <module name>
command. It works similar topos-cli pull
, but pulls only given module files. Usepos-cli modules pull --help
to read help - Improve messaging of wrong file types
- Added
pos-cli audit
warnings for files with invalid characters in their name - Added
pos-cli sync
check for invalid characters in file path - invalid files will not be synced
pos-cli pull
command has been added. It pulls compressed resources (pages, notifications, forms, graphql files etc.) from given environment. It pulls only files fromapp/
directory. Usepos-cli pull --help
to read helppos-cli sync
is now deleting files, if file was removed while sync runningpos-cli audit
is now warning about wrong file types in some directories
- Added
mp3
,mp4
,webm
andogg
, extensions topos-cli sync
watch list - Added
--direct-assets-upload
(-d
) option topos-cli sync
command for faster assets syncing
pos-cli logs
now prints info about request path and partial when availablepos-cli migrations list
list migrations in order of execution- Fixed
pos-cli deploy
command with-d
option for direct assets upload
pos-cli gui serve
now remembers last used query between page reloadspos-cli gui serve
GraphiQL explorer will not show deprecated queries/mutations
- Fix prettify and history features in
pos-cli gui serve
- Add filter to
pos-cli logs
that allows to display only given log type - Fixed git submodules in modules/
- Add graphiql explorer to
pos-cli gui serve
- .zip files are now correctly synced
- Upgrade GraphiQL to 0.17.0
- Add support for
.posignore
file which works the same way as.gitignore
for git - Do not include modules assets using
pos-cli deploy
with--direct-assets-upload
flag - Fix packing and uploading assets when using
pos-cli deploy
with--direct-assets-upload
flag
- Fix error when there is no environments to list using
pos-cli env list
- Fix spelling issue in
pos-cli data clean
message
- Use
bundledDependencies
to prevent conflicts with globally installed npm packages
- Send false in
partialDeploy
when deploying module
- Fix rare case when dependency conflict between local and global packages
- Revert commander.js version to ^2
- Improved error handling when migration doesn't exist on the server
- Added support for Windows
- Fixed paths to all binaries required in
pos-cli deploy
win32 + PowerShell
- Fixed spawning audit command in
pos-cli deploy
win32 + PowerShell - Handle deploy errors better
- Fix syncing module files on win32 + PowerShell
- Do not use colors or notifier when
CI=true
- Added 413
Entity too large
server error support - Added MIT License
- Improved displaying errors
- Added
--force
option topos-cli init
- Fixed some server errors not showing up in
pos-cli deploy
- Fixed
--direct-assets-upload
modules assets deploy
- Fixed cut off messages in notifier
- Improved performance of repetitive http requests (sync, logs, deploy status etc.) by using
keepAlive
- Fixed CI environment variable support in audit
- Censored token in
DEBUG=true
mode to prevent accidental leaks - Improved error message when there is syntax error in config file
- Improved server error handling and messages
- Switched from
glob
totiny-glob
- Switched from
node-watch
tochokidar
pos-cli sync
is syncing newly created filespos-cli sync
is syncingtemplate-values.json
files inside module directory
- Added audit rule for unnecessary brackets after field name
- Fixed audit bug where files deeply nested were not checked
- Added more useful information when JSON file is invalid (ie. your main config)
pos-cli sync
will not stop iftemplate-values.json
is invalid JSON- Improved error handling for templates exception
- Improved error messages returned by the server
- Init is now not overriding files in current directory. Added
--force
flag to override - Added sentry for error reporting
- Improved displaying server errors
- Added platformOS logo to sync/logs errors notifications on OS other than macOS
- Hotfixed deploy with modules
- Updated all npm dependencies
- Fixed partial deploy (
-p
) and tightened checks for app and module directories - Fixed deploy on windows
- Fixed E2BIG error when server error/log is very big
- 💥 BREAKING 💥 Removed
--config-file
option from all commands.CONFIG_FILE_PATH
environment variable is working as previously - Renamed
.marketplace-kit
file to.pos
. To not break existing processes,pos-cli
is looking for.marketplace-kit
as well. This fallback will be removed in the next major version release - Improved audit performance (by ~55x)
- Improved messaging when using
--direct-assets-upload
inpos-cli deploy
- Improved help message when command is not found or argument is missing
- Fixed
--direct-assets-upload
inpos-cli deploy
- Added
--concurrency
(-c
) option topos-cli sync
- Migrated
pos-cli init
implementation to usedegit
- Improve error message when
pos-cli gui serve
cannot start server on a given port
- Fixed
pos-cli gui serve
- Renamed
-V
flag to-v
for version check - Deprecated
-f
flag onpos-cli deploy
- Added support for
CI
environment variable. If set totrue
,audit
will be skipped during deploy - Added running
pos-cli audit
on deploy - Upgraded minium supported version of node.js to 10