Skip to content

Commit fc4c9fc

Browse files
pwizlastb13579jizusunhabilmikehaertl
authored
πŸš€ Production release: Strapi docs v4.5.4 (#1344)
* update the video demo link for v4 * Update introduction.md * Missing environmet variables added for pm2. (#1164) I follow the AWS guidelines for a fresh start. When I came to the pm2 step, I noticed some missing environment variables in ecosystem.config.js. * Update link to ColorPicker input * Revert "Merge branch 'production'" This reverts commit 9a9dffd, reversing changes made to 318b284. * update guide name * fix header meta content * Fix logo * Clean up custom fields page * Fix code-blocks (empty blank lines) in TypeScript documentation * Fix pre-release doc. link (docs-next) in top nav bar * Clean up branding.styl * Clean up comments in REST API population * Clean up comments from "Installing plugins via Marketplace" * Revert unwanted wording change in "Installing plugins via Marketplace" * Remove outdated TODO in "Installing plugins via Marketplace" * Fix link to Roadmap (#1168) * Fix logo and nav * Temporarily revert back to old logo * Update link to ColorPicker input (again) (#1171) * Fix Query engine link * Update the Code of Conduct * Update Code of Conduct * fix upload code example * Move search bar to the the left and fix its behavior (#1187) * Add branding palette * Add branding stylesheet * Modify InstallLink component * Apply system-ui font * Update logo * Position the search bar * Add new search icon * Apply branding in the results * Adjust positioning * Add TODO to fix sidebar behavior * Fix tablet display * Fix Algolia search and positioning * Improve search bar UX * Add code & links in the search dataset * Increase importance of h2 titles * Fix docsearch.config.json * Fix search bar behavior Co-authored-by: AurΓ©lien Georget <[email protected]> * Fix logo and nav * fix TypeScript code errors * add github token callout (#1180) * Revise contributing.md (#1143) * initial commit * reword and shorten * minor text, spacing and punctuation improvements * minor text improvements * minor formatting changes * structure improvements * Update CONTRIBUTING.md Co-authored-by: Pierre Wizla <[email protected]> Co-authored-by: Pierre Wizla <[email protected]> * fix 4.4.1 version (#1176) * Update heroku.md (#1075) * Update heroku.md I faced this error while following the commands. * copy edit * Update formatting (merge with prev. line) * Update formatting (merge 2 lines) Co-authored-by: Gabriel <[email protected]> Co-authored-by: Pierre Wizla <[email protected]> * Docker documentation for v4 (#1144) * Docker documentation for v4 Signed-off-by: Derrick Mehaffy <[email protected]> * work on dev/staging * everything but build, register, deploy * add references to where to look for docker commands * move command references to note callouts * Update docs/developer-docs/latest/setup-deployment-guides/installation/docker.md Co-authored-by: Shaun Brown <[email protected]> * Update docs/developer-docs/latest/setup-deployment-guides/installation/docker.md Co-authored-by: Shaun Brown <[email protected]> * Update docs/developer-docs/latest/setup-deployment-guides/installation/docker.md Co-authored-by: Shaun Brown <[email protected]> * pr feedback for prereq * Update docs/developer-docs/latest/setup-deployment-guides/installation/docker.md Co-authored-by: Gabriel <[email protected]> * Update docs/developer-docs/latest/setup-deployment-guides/installation/docker.md Co-authored-by: Gabriel <[email protected]> * Update docs/developer-docs/latest/setup-deployment-guides/installation/docker.md Co-authored-by: Gabriel <[email protected]> * Update docs/developer-docs/latest/setup-deployment-guides/installation/docker.md Co-authored-by: Gabriel <[email protected]> * Update docs/developer-docs/latest/setup-deployment-guides/installation/docker.md Co-authored-by: Gabriel <[email protected]> * Update docs/developer-docs/latest/setup-deployment-guides/installation/docker.md Co-authored-by: Gabriel <[email protected]> * Update docs/developer-docs/latest/setup-deployment-guides/installation/docker.md Co-authored-by: Gabriel <[email protected]> * Update docs/developer-docs/latest/setup-deployment-guides/installation/docker.md Co-authored-by: Gabriel <[email protected]> * Update docs/developer-docs/latest/setup-deployment-guides/snippets/docker-env-table.md Co-authored-by: Gabriel <[email protected]> * Update docs/developer-docs/latest/setup-deployment-guides/installation/docker.md Co-authored-by: Pierre Wizla <[email protected]> * Update docs/developer-docs/latest/setup-deployment-guides/installation/docker.md Co-authored-by: Pierre Wizla <[email protected]> * Update docs/developer-docs/latest/setup-deployment-guides/installation/docker.md Co-authored-by: Pierre Wizla <[email protected]> * PR feedback * fix typo * Tweak some docker-related sentences Signed-off-by: Derrick Mehaffy <[email protected]> Co-authored-by: Shaun Brown <[email protected]> Co-authored-by: Gabriel <[email protected]> Co-authored-by: Pierre Wizla <[email protected]> Co-authored-by: Pierre Wizla <[email protected]> * Add: Custom block section about cloud waitlist (#1192) * Add: Custom block section about cloud waitlist * Remove: Automatic indentation * Update callout format Co-authored-by: Pierre Wizla <[email protected]> * sync db table * Update package.json * Add: utm_source & campaign in the waitlist cloud link (#1195) * add page Database migrations (#889) * add page Database migrations * Update docs/developer-docs/latest/developer-resources/database-migrations.md Co-authored-by: Pierre Wizla <[email protected]> * Update docs/developer-docs/latest/developer-resources/database-migrations.md Co-authored-by: Pierre Wizla <[email protected]> * Update docs/developer-docs/latest/developer-resources/database-migrations.md Co-authored-by: Pierre Wizla <[email protected]> * Update docs/developer-docs/latest/developer-resources/database-migrations.md Co-authored-by: Pierre Wizla <[email protected]> * Update docs/developer-docs/latest/developer-resources/database-migrations.md Co-authored-by: Pierre Wizla <[email protected]> * Update docs/developer-docs/latest/developer-resources/database-migrations.md Co-authored-by: Pierre Wizla <[email protected]> * Update docs/developer-docs/latest/developer-resources/database-migrations.md Co-authored-by: Pierre Wizla <[email protected]> * Update docs/developer-docs/latest/developer-resources/database-migrations.md Co-authored-by: Pierre Wizla <[email protected]> * add example + remove odd symbols * apply feedback * Enhance style and wording for documentation consistency * add await * few small pr feedback and fixes * remove instructions for the down function * remove dot list Co-authored-by: Pierre Wizla <[email protected]> Co-authored-by: Pierre Wizla <[email protected]> Co-authored-by: derrickmehaffy <[email protected]> * Remove unnecessary closing syntax in services docs * Fix typo in troubleshooting.md (#1200) * Fix typo in troubleshooting.md * Fix speling Co-authored-by: Pierre Wizla <[email protected]> * Update migration-guide-4.3.6-to-4.3.7.md I've spent a lot of time figuring out the error that was fixed in this PR - strapi/strapi#14342, while I've been migrating to the 4.3.7 version. I think it's worth updating the version in the migration doc. * Update nav-links class to prevent overlap on mobile (#1205) The `nav-links` class positioning causes overlap on mobile, changing to either position: relative or removing that line fixes the problem. * fix: 🌍 wrong locale response when creating an entry with a locale different than default one (#1204) * fix security middleware table * Fix white space at bottom of TOC * Add a note about UIDs in Entity Service API (#1209) * Add a note about UIDs in Entity Service API * Add a tip about running `content-types:list` command to get UIDs for Entity Service API Co-authored-by: Pierre Wizla <[email protected]> * Remove ambigous subheading about UIDs from Entity Service API Co-authored-by: Pierre Wizla <[email protected]> * Change enumeration to an unordered list instead of listing them in a sentence Co-authored-by: Pierre Wizla <[email protected]> * fix: Close the `::: tip` tag. Co-authored-by: Pierre Wizla <[email protected]> * Fix a typo in a tip about UID in Entity Service (#1211) * add `connectionString to database conifg * add details * add google style guide links * move PM2 docs to deployment * Update Image 'content-manager-list-view.png' Created a new image showing the correct button text for [issue #1170](#1170). * move pm2 * Cloud deployment (#1105) * creating projects * managing projects * settings * sidebar * typo * beta updates * list indentation * add cta callout * list formatting * Feedback updates * Update re waitlist and onboarding * Add min version * Add small improvements to Strapi Cloud documentation * update PM2 guide * Update unit-testing.md remove database pool * comment out Process manager guide from sidebar * update intro * move unit testing to dev resources * remove unit testing from guides sidebar. * update sidebar * rewrite procedures * Draft System guide (#1222) * Fix type name mismatch in Shadow CRUD example (#1215) * Update migration-guide-4.3.6-to-4.3.7.md add reasoning for skipping v4.3.7 * Update migration-guide-4.3.6-to-4.3.7.md small formatting change * improve structure * Dark Mode: new custom theme extension syntax (#1174) * Update Dark Mode documentation for new syntax * Fix caution note * Improve wording Co-authored-by: Gustav Hansen <[email protected]> * Improve code example for Dark Mode Co-authored-by: Gustav Hansen <[email protected]> * Improve wording in config options table Co-authored-by: Gustav Hansen <[email protected]> * Improve caution callout Co-authored-by: Gustav Hansen <[email protected]> * updated controllers doc (#981) * cleanup services example to prevent confusion (#1202) Signed-off-by: Derrick Mehaffy <[email protected]> Signed-off-by: Derrick Mehaffy <[email protected]> * 4.3.6 ->4.3.8 migration update (#1223) * update file name * fix link and snippet * Refactor error handling documentation to include @strapi/utils error methods (#1197) * start working on additional error handlers * Refactor error handling documentation to include @strapi/utils errors Signed-off-by: Derrick Mehaffy <[email protected]> * Fix typescript typo Signed-off-by: Derrick Mehaffy <[email protected]> * Add minor style updates for consistency Signed-off-by: Derrick Mehaffy <[email protected]> Co-authored-by: Pierre Wizla <[email protected]> * Bump version number to 4.4.4 * Update Algolia config (#1175) * initial config update * add table indexing * Update error-handling.md * Remove "outdated" callout from unit testing docs * Add formatting style guide * Update CONTRIBUTING.md shorten and add new link * Update typescript.md * fix email admin customization docs * Fix theming migration links + mention light/dark modes (#1231) * fix: correction for app.customFields.register code example on custom fields docs (#1230) * Update patch-package mention in plugins extension (#1233) * updated text and formatting * force code block indentation * fixed typo "middlwares" * add redirect * Remove WYSIWYG guide (#1236) * Remove WYSIWYG guide (file & TOC entry) * Add redirection to Custom Fields for old WYSIWYG guide * Update U&P (#1210) * Update U&P * Edits & Remove Outdated content * Update docs/developer-docs/latest/plugins/users-permissions.md Co-authored-by: Shaun Brown <[email protected]> * Add redirection :) * Forget PW updates Co-authored-by: Shaun Brown <[email protected]> Co-authored-by: Pierre Wizla <[email protected]> * Add redirections for removed Draft and Unit Testing guides (#1237) * Update docs/developer-docs/latest/setup-deployment-guides/deployment/optional-software/process-manager.md * add slug tip callout * remove slug guide from dev docs * fix formatting * docs: Fix syntax error in middlewares doc Replace objects by array in module.exports, because there is a comma at the end of the first child object and we can put other middleware in the array. * remove jwt guide * fix middleware to array notation * Custom Fields improvements: code examples (#1238) * Improve last code example * Improve server code example * Improve admin code examples * Fix inconsistency in plugins development page * Update Marketplace link for custom fields (#1234) * Reconfigure Algolia search config (#1243) * add config to index custom callout type tip * update algolia config * refine algolia config * Remove "scheduled publication" guide (#1247) * Update cron task code to v4 * WIP * Remove scheduled publication guide Updated to v4 and moved to the forum: https://forum.strapi.io/t/schedule-publications/23184 * Create migration guide from 4.4.3 to 4.4.5 (#1245) * Create migration guide from 4.4.3 to 4.4.5 * chore: Make 4.4.3 to 4.4.5 migration guide a bit more concise * Remove bullet point as we have only 1 item :) * Fix code block indentation to improve bullets content alignment * Add missing page link in migration guides homepage Co-authored-by: Pierre Wizla <[email protected]> Co-authored-by: Pierre Wizla <[email protected]> * Bump version number to 4.4.6 * fix readme file grammar Co-authored-by: NAME <[email protected]> * Add docusaurus to gitignore in main branch * Update digitalocean-app-platform.md Updated instructions for connecting to a production ready managed database which correctly solves the issues described in #769 * fix link and link description * Update api-parameters.mdx (#1251) ### Description - fixed a typo from `Select one ore multiple locales` => `Select one or multiple locales` * Fix regression with populating callout * Updating an entry changes (#1252) * Updating an entry * Request method * update urls * feedback * test build * trigger new vercel build * [WIP] Add alpha & beta badges (#1248) * Add alpha & beta badges * Update badge style * Add test example on Custom Fields docs * Update style based on designer's feedback and clean up CSS * Test autodeploy by adding a CSS comment * Remove examples in content * Update docs/developer-docs/latest/setup-deployment-guides/deployment/hosting-guides/digitalocean-app-platform.md Co-authored-by: Shaun Brown <[email protected]> * Update docs/developer-docs/latest/setup-deployment-guides/deployment/hosting-guides/digitalocean-app-platform.md Co-authored-by: Shaun Brown <[email protected]> * Update digitalocean-app-platform.md Edited as per requested by @StrapiShaun * Feature(s) branch for v4.5.0 (#1261) * Relations documentation update (#1126) * Update 'Managing relational fields' to delete mentions of Relations box * Add more information in tip * Update edit view config documentation * Update end-users management procedure for Relations * Update screenshots in Content Manager * Improve documentation for relations * Update end-user account screenshot * Hide docs-next from navbar We don't want to draw too muchattention to docs-next for a few weeks while preparing the move to Docusaurus. * Bump version number to 4.5.0 (#1260) * In-app Marketplace enhancements (#1262) * Add temp. Figma-based screenshot * Adjust description to account for cards enhancements * Replace screenshot with temporary but non-cropped version * Update screenshot * Fix capitalization on "sort by" * Update instructions for compatibility check Co-authored-by: meganelacheny <[email protected]> * add CLI commands * Remove docusaurus from .gitignore in main branch * fix Twitter credentials * Update migration-guide-4.4.3-to-4.4.5.md (#1268) Edit the "4.3.5" in title to "4.4.5" * add options table * add beta badge, update table * Ignore docusaurus stuff * Bump version number to 4.5.1 * update strapi export description * update `key` flag description * update encryption flag description * start adding examples for data export * Migration guide for removing relationship duplicates (#1272) * Add migration guide placeholder for MySQL 8 fix * add migration script * fix typos * specify duplicated relationships in description * add 4.5.0 to 4.5.1 migration guide * fix typo * check if table exists in db * change migration name to 4.4.5 to 4.5.1 * remove commas * add suggestions * change db get schema to trx schema * update migration guide 4.5.0 to 4.4.5 * fix typo * fix typo * fix typo Co-authored-by: Marc-Roig <[email protected]> * update webpack configuration * update table and examples * modify examples * update text * Add build as its own upgrade step (#1279) * Update routes.md - small typo Missing colon in typescript code for Generic implementation of core route * Update logo * Update prerequisites to Strapi Cloud deployment (#1281) * update prerequisites * import and backups * edit * Update DB reqs * Add beta badge to Strapi Cloud deployment page * fix --max-size flag description * Re-format code snippet The code snippet is un-formatted at this [link](https://docs.strapi.io/developer-docs/latest/developer-resources/plugin-api-reference/admin-panel.html#hooks-api) * small text improvements * formatting improvements * Ignore Docusaurus files in main branch * Always use .html links in sidebars * add space * add jsonl as code * remove the archive flag (no longer an option) * Update package.json * remove the exclude flag for the beta release. * Fix code example of plugin policy Remove the redundant curly bracket and comma. * Fix typo in `config.notifications.releases` * Update CLI.md remove `archive` references, change to alpha badge, remove extra spaces. * Populate Fragments for Polymorphic data structures (#1293) * Update populate documentations for populate fragments * Update docs/developer-docs/latest/developer-resources/database-apis-reference/rest/populating-fields.md Co-authored-by: Pierre Wizla <[email protected]> Co-authored-by: Pierre Wizla <[email protected]> * update CLI docs for strapi export * Revert "update CLI docs for strapi export" This reverts commit cf39be4874a765f97b0e6604c1847694ecbf6d38. * Revert "Revert "update CLI docs for strapi export"" This reverts commit 34f68ff. * remove --max-size flag, update examples * Update LTS version for node to include v18 (#1306) * Update LTS version for node to include v18 * Update docs/developer-docs/latest/developer-resources/cli/snippets/installation-prerequisites.md Co-authored-by: Pierre Wizla <[email protected]> Co-authored-by: Pierre Wizla <[email protected]> * Update WIP callouts for v4 migration * Update article for Strapi 4 and Nuxt 3 (#1266) Update getting started guide to fit new strapi response format and describe new Nuxt 3 features. * Update version number to v4.5.3 * Temporarily remove strapi export * Remove ETA for API documentation WIP * Add robots and sitemap plugins (#1275) * Add missing .html extension to all TOC links * Fix improperly rendered code block in routes documentation (#1309) * Fix missing opening tag for the code block * Fix missing file prefix * Update links to providers ( β†’ Marketplace) * Update the Node.js version to 14.x (#1319) Update the Node.js version to 14.x as the 12.x is not supported bt Strapi * Update docker.md (#1318) remove extra space the causes the app to crash * Update amazon-aws.md (#1331) the example code for /etc/systemd/system/webhook.service in EC2 is wrong * Update digitalocean.md update prices for digital ocean droplets as they've updated their pricing . (https://www.digitalocean.com/pricing/droplets) * Relations reordering: User Guide updates (#1322) (#1336) * Replace minus icon by cross icon in "Managing Relational Fields" * Replace screenshot to show drag button * Add instructions to move an entry * Fix typo in title * Update reordering instructions & screenshots for DZs * Add the keyboard reordering tip * Add example for updating existing file info (#1269) * Add example for updating existing file info Please review and adjust as necessary. * "file info" -> "fileInfo" Adjust text to match code * Fix formatting in Update version * Update tip for repeatable components index in Upload documentation (#1323) * Add note about additional connection parameters (#1327) * Bump version number to v4.5.4 Signed-off-by: Derrick Mehaffy <[email protected]> Co-authored-by: Shaun Brown <[email protected]> Co-authored-by: Jizu Sun <[email protected]> Co-authored-by: Habil BOZALΔ° <[email protected]> Co-authored-by: Shaun Brown <[email protected]> Co-authored-by: Michael HΓ€rtl <[email protected]> Co-authored-by: Roman Dubinin <[email protected]> Co-authored-by: titanht <[email protected]> Co-authored-by: picsigno <[email protected]> Co-authored-by: Paula Isabel <[email protected]> Co-authored-by: AurΓ©lien Georget <[email protected]> Co-authored-by: Mike <[email protected]> Co-authored-by: Arshi <[email protected]> Co-authored-by: Gabriel <[email protected]> Co-authored-by: DMehaffy <[email protected]> Co-authored-by: Maxime Castres <[email protected]> Co-authored-by: Pierre NoΓ«l <[email protected]> Co-authored-by: Amin Cheloh <[email protected]> Co-authored-by: Alex Kozlov <[email protected]> Co-authored-by: kiabq <[email protected]> Co-authored-by: Catan Marin <[email protected]> Co-authored-by: Zachary Milonas <[email protected]> Co-authored-by: Zachary Milonas <[email protected]> Co-authored-by: David Gunner (Jnr) <[email protected]> Co-authored-by: meganelacheny <[email protected]> Co-authored-by: Gustav Hansen <[email protected]> Co-authored-by: omerfaran <[email protected]> Co-authored-by: Sebastian Liepe <[email protected]> Co-authored-by: VΓ­tor Manfredini <[email protected]> Co-authored-by: Bastien Pruvost <[email protected]> Co-authored-by: NAME <[email protected]> Co-authored-by: Charles Langley <[email protected]> Co-authored-by: MELVIN GEORGE <[email protected]> Co-authored-by: AQ <[email protected]> Co-authored-by: Marc-Roig <[email protected]> Co-authored-by: Ben Irvin <[email protected]> Co-authored-by: Galli <[email protected]> Co-authored-by: Louai99k <[email protected]> Co-authored-by: Han Feng <[email protected]> Co-authored-by: Jean-SΓ©bastien Herbaux <[email protected]> Co-authored-by: Rembrandt Reyes <[email protected]> Co-authored-by: alxnkt <[email protected]> Co-authored-by: Sathish Guru <[email protected]> Co-authored-by: kchoao <[email protected]> Co-authored-by: Ayodeji Alarape <[email protected]> Co-authored-by: Isaac <[email protected]>
1 parent 2d7fea0 commit fc4c9fc

File tree

11 files changed

+64
-25
lines changed

11 files changed

+64
-25
lines changed

β€Ždocs/developer-docs/latest/plugins/upload.mdβ€Ž

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ export default ({ env }) => ({
275275
| GET | /api/upload/files | Get a list of files |
276276
| GET | /api/upload/files/:id | Get a specific file |
277277
| POST | /api/upload | Upload files |
278+
| POST | /api/upload?id=x | Update fileInfo |
278279
| DELETE | /api/upload/files/:id | Delete a file |
279280

280281
</div>
@@ -478,7 +479,7 @@ The corresponding code would be:
478479
Your entry data has to be contained in a `data` key and you need to `JSON.stringify` this object. The keys for files need to be prefixed with `files` (e.g. for a cover attribute: `files.cover`).
479480

480481
::: tip
481-
If you want to upload files for a component, you will have to specify the index of the item you want to add the file to: `files.my_component_name[the_index].attribute_name`
482+
If you want to upload files for a repeatable component, you will have to specify the zero-based index of the item you want to add the file to, using the following syntax: `files.my_component_name[the_index].attribute_name`. For instance, if you put 3 components and the file is for the second one, the index will be 1.
482483
:::
483484

484485
:::caution
@@ -540,3 +541,31 @@ In our second example, you can upload and attach multiple pictures to the restau
540541
// ...
541542
}
542543
```
544+
545+
### Update fileInfo
546+
547+
Update a file in your application.
548+
549+
The following parameters are accepted:
550+
551+
- `fileInfo`: The fileInfo to update.
552+
553+
```js
554+
import { FormData } from 'formdata-node';
555+
import fetch from 'node-fetch';
556+
557+
const fileId = 50;
558+
const newFileData = {
559+
alternativeText: 'My new alternative text for this image!',
560+
};
561+
562+
const form = new FormData();
563+
564+
form.append('fileInfo', JSON.stringify(newFileData));
565+
566+
const response = await fetch(`http://localhost:1337/api/upload?id=${fileId}`, {
567+
method: 'post',
568+
body: form,
569+
});
570+
571+
```

β€Ždocs/developer-docs/latest/setup-deployment-guides/configurations/required/databases.mdβ€Ž

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ The `connection.connection` object found in `./config/database.js` (or `./config
4949
| `timezone` | Set the default behavior for local time. Default value: `utc` [Timezone options](https://www.php.net/manual/en/timezones.php) | `String` |
5050
| `schema` | Set the default database schema. **Used only for Postgres DB.** | `String` |
5151
| `ssl` | For SSL database connection.<br/> Use an object to pass certificate files as strings. | `Boolean` or `Object` |
52+
53+
:::note
54+
Depending on the database client used, more parameters can be set (e.g., `charset` and `collation` for [mysql](https://github.com/mysqljs/mysql#connection-options)). Check the database client documentation to know what parameters are available, for instance the [pg](https://node-postgres.com/apis/client#new-client), [mysql](https://github.com/mysqljs/mysql#connection-options), and [better-sqlite3](https://github.com/WiseLibs/better-sqlite3/blob/master/docs/api.md#new-databasepath-options) documentations.
55+
:::
5256

5357
#### Database pooling options
5458

β€Ždocs/developer-docs/latest/setup-deployment-guides/deployment/hosting-guides/amazon-aws.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ After=network.target
760760
Environment=PATH=/PASTE-PATH_HERE #path from echo $PATH (as above)
761761
Type=simple
762762
User=ubuntu #replace with your name, if changed from default ubuntu user
763-
ExecStart=/usr/bin/nodejs /home/ubuntu/NodeWebHooks/webhook.js #replace with your name, if changed from default ubuntu user
763+
ExecStart=/usr/bin/node /home/ubuntu/NodeWebHooks/webhook.js #replace with your name, if changed from default ubuntu user
764764
Restart=on-failure
765765

766766
[Install]

β€Ždocs/developer-docs/latest/setup-deployment-guides/deployment/hosting-guides/digitalocean.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ Choose these options:
3030

3131
- Ubuntu 18.04 x64
3232
- STARTER `Standard`
33-
- Choose an appropriate pricing plan. For example, pricing: `$10/mo` _(Scroll to the left)_
33+
- Choose an appropriate pricing plan. For example, pricing: `$12/mo` _(Scroll to the left)_
3434
::: tip
35-
The \$5/mo plan is currently unsupported as Strapi will not build with 1G of RAM. At the moment, deploying the Strapi Admin interface requires more than 1g of RAM. Therefore, a minimum standard Droplet of **\$10/mo** or larger instance is needed.
35+
The \$6/mo plan is currently unsupported as Strapi will not build with 1G of RAM. At the moment, deploying the Strapi Admin interface requires more than 1g of RAM. Therefore, a minimum standard Droplet of **\$12/mo** or larger instance is needed.
3636
:::
3737
- Choose a `datacenter` region nearest your audience, for example, `New York`.
3838
- **OPTIONAL:** Select additional options, for example, `[x] IPv6`.

β€Ždocs/developer-docs/latest/update-migration-guides/update-version.mdβ€Ž

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,29 @@ Strapi periodically releases code improvements through upgrades. Upgrades contai
2020
- Confirm there are no [migrations](/developer-docs/latest/update-migration-guides/migration-guides.md) between the current and ultimate Strapi versions.
2121
:::
2222

23-
1. Upgrade all of the Strapi packages in the `package.json`.
24-
25-
```jsx
26-
// path: package.json
27-
28-
{
29-
// ...
30-
"dependencies": {
31-
"@strapi/strapi": "4.4.1",
32-
"@strapi/plugin-users-permissions": "4.4.1",
33-
"@strapi/plugin-i18n": "4.4.1",
34-
"better-sqlite3": "7.4.6"
35-
// ...
36-
}
37-
}
23+
1. Upgrade all of the Strapi packages version numbers in `package.json` to the latest stable Strapi version:
3824

39-
```
25+
```jsx
26+
// path: package.json
27+
28+
{
29+
// ...
30+
"dependencies": {
31+
"@strapi/strapi": "4.5.3",
32+
"@strapi/plugin-users-permissions": "4.5.3",
33+
"@strapi/plugin-i18n": "4.5.3",
34+
"better-sqlite3": "7.4.6"
35+
// ...
36+
}
37+
}
38+
39+
```
4040

4141
2. Save the edited `package.json` file.
4242

4343
3. !!!include(developer-docs/latest/update-migration-guides/migration-guides/v4/snippets/Install-npm-yarn)!!!
4444

45-
## Step 2: Rebuild the application
45+
## Step 2: Rebuild the application
4646

4747
Rebuild the administration panel:
4848

β€Ždocs/package.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "strapi-docs",
3-
"version": "4.5.3",
3+
"version": "4.5.4",
44
"main": "index.js",
55
"scripts": {
66
"dev": "yarn create:config-file && vuepress dev",
4.35 KB
Loading
-20.7 KB
Loading
-80.9 KB
Loading

β€Ždocs/user-docs/latest/content-manager/managing-relational-fields.mdβ€Ž

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ You can click on the name of the selected entry to be redirected to the edit vie
5454

5555
To remove the entry selected in the drop-down list, click on the delete button ![Clear icon](../assets/icons/clear.svg).
5656

57-
## Managing multiple-choices relational fields
57+
## Managing multiple-choice relational fields
5858

5959
Many-to-many, one-to-many, and many-ways types of relation allow to choose several entries per relational field.
6060

@@ -70,4 +70,6 @@ To select the relevant relational field's entries:
7070
All selected entries are listed right below the drop-down list. Click on the name of an entry to be redirected to the edit view of the relational field's content-type. Make sure you save your page first, to avoid losing your last modifications.
7171
:::
7272

73-
To remove an entry, click on the remove button ![Minus icon](../assets/icons/minus.svg) in the selected entries list.
73+
To remove an entry, click on the cross button ![Cross icon](../assets/icons/cross.svg) in the selected entries list.
74+
75+
Entries from multiple-choice relational fields can be reordered, indicated by a drag button ![Drag icon](../assets/icons/drag.svg). To move an entry, click and hold it, drag it to the desired position, then release it.

0 commit comments

Comments
Β (0)