1 | # Changelog
|
2 | ## 4.5.0
|
3 | * Added new command `pos-cli uploads push` for uploading files for property of type `upload`
|
4 |
|
5 | ## 4.4.26
|
6 | * Improve error message on wrong password when using `pos-cli env add`
|
7 | * Fix `pos-cli sync` issue with `webpack` file generation, it will wait untill file is completly written.
|
8 |
|
9 | ## 4.4.25
|
10 | * Deprecate `headers` in `api_calls` files in favour of `request_headers`
|
11 | * Improve displaying errors on `import` and `deploy`
|
12 | * Support `{% liquid %}` tag in `audit` command
|
13 | * Add usage statistics
|
14 |
|
15 | ## 4.4.24 - pos-cli admin users
|
16 | * Added list of users to admin (phase 1)
|
17 | * Redesign of admin models list
|
18 |
|
19 | ## 4.4.22 - Init wizard
|
20 | * Added `--wizard` (-w) to `pos-cli init` with choice between different templates
|
21 |
|
22 | ## 4.4.21 - 15 July 2020 - Admin improvements
|
23 | * Correctly display arrays in fields
|
24 | * Show `text` fields as textarea
|
25 | * Fix updating `text` fields
|
26 | * Add string filters to text fields
|
27 | * Correctly display values in quotes, square brackets, etc. in edit view
|
28 | * Improve example hints for filtering
|
29 | * Improve placeholders for new records
|
30 | * Improve placeholder for editing records
|
31 | * Improve displaying of text, array and upload fields
|
32 |
|
33 | ## 4.4.18 - 14 July 2020
|
34 | * Update GraphiQL to 1.x
|
35 |
|
36 | ## 4.4.16 - 14 July 2020
|
37 | * Added platformOS Admin reached on [localhost:3333](http://localhost:3333) after running `pos-cli gui serve`
|
38 | * Changed `-o` in `pos-cli gui serve` to open Admin instead of GraphiQL
|
39 |
|
40 | ## 4.4.14 - 25 May 2020
|
41 | * Added liquid evaluator page in `pos-cli gui serve`
|
42 |
|
43 | ## 4.4.13 - 11 May 2020
|
44 | * Fixed node.js v14 warnings
|
45 |
|
46 | ## 4.4.12 - 8 May 2020
|
47 | * Added `'` and `&` as valid filename characters
|
48 | * Added `-c` alias for `--concurrency` in `pos-cli sync`
|
49 |
|
50 | ## 4.5.0@beta - 8 April 2020
|
51 | * `pos-cli deploy` will directly upload assets to S3 by default
|
52 |
|
53 | ## 4.4.11 - 8 April 2020
|
54 | * Improved error message environment URL is not recognized, or there is no internet connection
|
55 | * Added `--include-schema` (`-i`) to `pos-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
|
56 |
|
57 | ## 4.4.10 - 6 April 2020
|
58 | * Fixed `pos-cli audit` - now auditing files only in `app` and `modules` directories
|
59 | * Added `@` and `%` to valid `pos-cli sync` characters
|
60 |
|
61 | ## 4.4.9 - 31 March 2020
|
62 | * Fixed `pos-cli deploy -d` assets manifest creation on Windows
|
63 | * `pos-cli init` is now using `--force` by default
|
64 | * Fixed `pos-cli audit` for graphql audit when checking multiline tag
|
65 |
|
66 | ## 4.4.8 - 26 March 2020
|
67 | * `pos-cli audit` will not report filenames with characters `+ ( )` as invalid
|
68 |
|
69 | ## 4.4.7 - 26 March 2020
|
70 | * Fixed regression in `sync` not syncing anymore after couple files synced
|
71 |
|
72 | ## 4.4.6 - 26 March 2020
|
73 | * Fixed regression when no `--livereload` was used in `sync`
|
74 |
|
75 | ## 4.4.5 - 25 March 2020
|
76 | * Added `--livereload` (`-o`) flag to `pos-cli sync` which starts livereload server to refresh browsers automatically on file change. Requires installed livereload browser extension to work
|
77 |
|
78 | ## 4.4.4 - 23 March 2020
|
79 | * Added `--open` (`-o`) flag to `pos-cli gui serve` and `pos-cli sync`. It opens respectively GraphiQL and instance in default browser when ready
|
80 | * Fixed windows audit for invalid file paths
|
81 |
|
82 | ## 4.4.0 - 20 March 2020
|
83 | * Added `pos-cli modules pull <environment> <module name>` command. It works similar to `pos-cli pull`, but pulls only given module files. Use `pos-cli modules pull --help` to read help
|
84 | * Improve messaging of wrong file types
|
85 | * Added `pos-cli audit` warnings for files with invalid characters in their name
|
86 | * Added `pos-cli sync` check for invalid characters in file path - invalid files will not be synced
|
87 |
|
88 | ## 4.3.0 - 18 March 2020
|
89 | * `pos-cli pull` command has been added. It pulls compressed resources (pages, notifications, forms, graphql files etc.) from given environment. It pulls only files from `app/` directory. Use `pos-cli pull --help` to read help
|
90 | * `pos-cli sync` is now deleting files, if file was removed while sync running
|
91 | * `pos-cli audit` is now warning about wrong file types in some directories
|
92 |
|
93 | ## 4.2.5 - 25 February 2020
|
94 | * Added `mp3`, `mp4`, `webm` and `ogg`, extensions to `pos-cli sync` watch list
|
95 | * Added `--direct-assets-upload` (`-d`) option to `pos-cli sync` command for faster
|
96 | assets syncing
|
97 |
|
98 | ## 4.2.4 - 5 February 2020
|
99 | * `pos-cli logs` now prints info about request path and partial when available
|
100 | * `pos-cli migrations list` list migrations in order of execution
|
101 | * Fixed `pos-cli deploy` command with `-d` option for direct assets upload
|
102 |
|
103 | ## 4.2.3 - 20 December 2019
|
104 | * `pos-cli gui serve` now remembers last used query between page reloads
|
105 | * `pos-cli gui serve` GraphiQL explorer will not show deprecated queries/mutations
|
106 |
|
107 | ## 4.2.2 - 19 December 2019
|
108 | * Fix prettify and history features in `pos-cli gui serve`
|
109 |
|
110 | ## 4.2.1 - 19 December 2019
|
111 | * Add filter to `pos-cli logs` that allows to display only given log type
|
112 | * Fixed git submodules in modules/
|
113 | * Add graphiql explorer to `pos-cli gui serve`
|
114 |
|
115 | ## 4.1.19 - 5 December 2019
|
116 | * .zip files are now correctly synced
|
117 |
|
118 | ## 4.1.18 - 29 November 2019
|
119 | * Upgrade GraphiQL to 0.17.0
|
120 |
|
121 | ## 4.1.17 - 4 November 2019
|
122 | * Add support for `.posignore` file which works the same way as `.gitignore` for git
|
123 | * Do not include modules assets using `pos-cli deploy` with `--direct-assets-upload` flag
|
124 | * Fix packing and uploading assets when using `pos-cli deploy` with `--direct-assets-upload` flag
|
125 |
|
126 | ## 4.1.16 - 16 October 2019
|
127 | * Fix error when there is no environments to list using `pos-cli env list`
|
128 | * Fix spelling issue in `pos-cli data clean` message
|
129 |
|
130 | ## 4.1.15 - 1 October 2019
|
131 | * Use `bundledDependencies` to prevent conflicts with globally installed npm packages
|
132 |
|
133 | ## 4.1.14 - 30 September 2019
|
134 | * Send false in `partialDeploy` when deploying module
|
135 |
|
136 | ## 4.1.13 - 30 September 2019
|
137 | * Fix rare case when dependency conflict between local and global packages
|
138 |
|
139 | ## 4.1.12 - 27 September 2019
|
140 | * Revert commander.js version to ^2
|
141 |
|
142 | ## 4.1.10 - 27 August 2019
|
143 | * Improved error handling when migration doesn't exist on the server
|
144 | * Added support for Windows
|
145 |
|
146 | ## 4.1.9 - 22 August 2019
|
147 | * Fixed paths to all binaries required in `pos-cli deploy` win32 + PowerShell
|
148 |
|
149 | ## 4.1.8 - 21 August 2019
|
150 | * Fixed spawning audit command in `pos-cli deploy` win32 + PowerShell
|
151 | * Handle deploy errors better
|
152 |
|
153 | ## 4.1.7 - 15 August 2019
|
154 | * Fix syncing module files on win32 + PowerShell
|
155 |
|
156 | ## 4.1.3 - 12 August 2019
|
157 | * Do not use colors or notifier when `CI=true`
|
158 | * Added 413 `Entity too large` server error support
|
159 | * Added MIT License
|
160 | * Improved displaying errors
|
161 | * Added `--force` option to `pos-cli init`
|
162 |
|
163 | ## 4.1.2 - 31 July 2019
|
164 | * Fixed some server errors not showing up in `pos-cli deploy`
|
165 | * Fixed `--direct-assets-upload` modules assets deploy
|
166 |
|
167 | ## 4.1.1 - 30 July, 2019
|
168 | * Fixed cut off messages in notifier
|
169 |
|
170 | ## 4.1.0 - 30 July, 2019
|
171 | * Improved performance of repetitive http requests (sync, logs, deploy status etc.) by using `keepAlive`
|
172 | * Fixed CI environment variable support in audit
|
173 | * Censored token in `DEBUG=true` mode to prevent accidental leaks
|
174 | * Improved error message when there is syntax error in config file
|
175 | * Improved server error handling and messages
|
176 | * Switched from `glob` to `tiny-glob`
|
177 | * Switched from `node-watch` to `chokidar`
|
178 | * `pos-cli sync` is syncing newly created files
|
179 | * `pos-cli sync` is syncing `template-values.json` files inside module directory
|
180 |
|
181 | ## 4.0.4 - 26 July, 2019
|
182 | * Added audit rule for unnecessary brackets after field name
|
183 | * Fixed audit bug where files deeply nested were not checked
|
184 | * Added more useful information when JSON file is invalid (ie. your main config)
|
185 | * `pos-cli sync` will not stop if `template-values.json` is invalid JSON
|
186 | * Improved error handling for templates exception
|
187 | * Improved error messages returned by the server
|
188 |
|
189 | ## 4.0.3 - 25 July, 2019
|
190 | * Init is now not overriding files in current directory. Added `--force` flag to override
|
191 | * Added sentry for error reporting
|
192 | * Improved displaying server errors
|
193 | * Added platformOS logo to sync/logs errors notifications on OS other than macOS
|
194 |
|
195 | ## 4.0.2 - 24 July, 2019
|
196 | * Hotfixed deploy with modules
|
197 |
|
198 | ## 4.0.1 - 24 July, 2019
|
199 | * Updated all npm dependencies
|
200 | * Fixed partial deploy (`-p`) and tightened checks for app and module directories
|
201 | * Fixed deploy on windows
|
202 | * Fixed E2BIG error when server error/log is very big
|
203 |
|
204 | ## 4.0.0 - July 22, 2019
|
205 | * 💥 BREAKING 💥 Removed `--config-file` option from all commands. `CONFIG_FILE_PATH` environment variable is working as previously
|
206 | * 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
|
207 | * Improved audit performance (by ~55x)
|
208 |
|
209 | ## 3.0.8 - July 16, 2019
|
210 | * Improved messaging when using `--direct-assets-upload` in `pos-cli deploy`
|
211 | * Improved help message when command is not found or argument is missing
|
212 |
|
213 | ## 3.0.7 - July 11, 2019
|
214 | * Fixed `--direct-assets-upload` in `pos-cli deploy`
|
215 | * Added `--concurrency` (`-c`) option to `pos-cli sync`
|
216 |
|
217 | ## 3.0.6 - July 9, 2019
|
218 | * Migrated `pos-cli init` implementation to use `degit`
|
219 |
|
220 | ## 3.0.5 - July 9, 2019
|
221 | * Improve error message when `pos-cli gui serve` cannot start server on a given port
|
222 |
|
223 | ## 3.0.4 - July 9, 2019
|
224 | * Fixed `pos-cli gui serve`
|
225 |
|
226 | ## 3.0.0 - July 7, 2019
|
227 | * Renamed `-V` flag to `-v` for version check
|
228 | * Deprecated `-f` flag on `pos-cli deploy`
|
229 | * Added support for `CI` environment variable. If set to `true`, `audit` will be skipped during deploy
|
230 | * Added running `pos-cli audit` on deploy
|
231 | * Upgraded minium supported version of node.js to 10
|