Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
0592d1c
Use beta logo
pwizla Mar 15, 2022
a09b7f2
Merge branch 'main' into next
derrickmehaffy Mar 15, 2022
f34d15c
[beta] Add TS command (#800)
soupette Mar 16, 2022
a1073a7
[beta] Dark mode: Updates user guide + dev docs (#795)
pwizla Mar 16, 2022
744d54a
Slightly update wording for TS flag
pwizla Mar 16, 2022
97b5f52
Update core store migration
pwizla Mar 16, 2022
0b5cea3
Added APP_KEYS to environmental variables table + fixed spelling error
stb13579 Mar 18, 2022
b5849fe
added link to middlewares documentation
stb13579 Mar 18, 2022
825fbe2
(WIP) Add permissions mapping tables
pwizla Mar 22, 2022
9b5f373
Fix typo
dsiddy Apr 3, 2022
893fbc6
Merge pull request #827 from dsiddy/patch-1
stb13579 Apr 4, 2022
861aa15
Added caution call out
stb13579 Apr 5, 2022
9efaeae
Updated the telemetry opt-out method
stb13579 Apr 5, 2022
1ad52cf
Update amazon-aws.md: Wrong package mentioned (#830)
spreadcharm Apr 5, 2022
9d662c5
Missing information for plugin creation #834
DimitriGilbert Apr 6, 2022
2d9e138
Include APP_KEYS in Heroku Deployment Guide
dsfaccini Apr 6, 2022
4ec63fc
Added caution callout and small text + formatting revisions
stb13579 Apr 8, 2022
906fb5d
Apply suggestions from code review
DimitriGilbert Apr 8, 2022
929c019
Merge pull request #831 from strapi/dev/telemetry-opt-out
stb13579 Apr 8, 2022
0c33ecd
Merge pull request #838 from dsfaccini/patch-1
stb13579 Apr 8, 2022
f2876ff
docs: improve the Laravel Documentation
Apr 8, 2022
12b3105
Merge pull request #836 from DimitriGilbert/patch-1
stb13579 Apr 8, 2022
e5651f5
docs: fix typo in code section
Apr 8, 2022
04c356b
Update azure.md
kulahad Apr 11, 2022
3b71421
Merge pull request #846 from kulahad/patch-1
stb13579 Apr 11, 2022
9f3c8ec
Merge pull request #843 from danielsum/patch-1
stb13579 Apr 11, 2022
58d8eb6
Finish adding permission mapping tables
pwizla Apr 12, 2022
a36afe7
Merge branch 'dev/next-sql-migration-updates'
pwizla Apr 12, 2022
4bf83e3
Merge branch 'production' into main
derrickmehaffy Apr 13, 2022
c5eb7e4
Remove typescript from production release
derrickmehaffy Apr 13, 2022
87a7001
Added migration guide
stb13579 Apr 19, 2022
f37dc7d
Added link to 4.1.8 migration guide
stb13579 Apr 19, 2022
208830a
add comments for Shaun
derrickmehaffy Apr 20, 2022
9e1198a
updated with Derrick's suggestions
stb13579 Apr 21, 2022
f949b2f
fixed spelling and phrasing
stb13579 Apr 21, 2022
1fea391
add JWT_SECRET code snippet
stb13579 Apr 21, 2022
b10d121
Fixed code for config/plugins
stb13579 Apr 21, 2022
48e9617
Update docs/developer-docs/latest/update-migration-guides/migration-g…
stb13579 Apr 21, 2022
ca702d0
Update docs/developer-docs/latest/update-migration-guides/migration-g…
stb13579 Apr 21, 2022
751757b
docs: fix typo (#853)
inc-ali Apr 21, 2022
8eeb915
Merge pull request #851 from strapi/dev/v4.1.8-migration
stb13579 Apr 21, 2022
44ea262
make render.com hosting guide work with strapi version >= v4.0.6 (#832)
NicoHof Apr 21, 2022
463e820
Add additional commands for Heroku environment variables config (#850)
derrickmehaffy Apr 21, 2022
491c601
Merge branch 'production' into main
derrickmehaffy Apr 21, 2022
5ce6da8
Fixed config object example code
mancku Apr 25, 2022
5d56315
remove API_TOKEN_SALT and APP_KEYS from env table
stb13579 Apr 25, 2022
f43441d
Merge pull request #805 from strapi/dev/env-update
stb13579 Apr 25, 2022
e9706ea
Merge pull request #859 from mancku/patch-1
stb13579 Apr 25, 2022
ed55fb6
Update routes.md
eliasleyton Apr 25, 2022
650cf1d
Merge pull request #860 from eliasleyton/patch-1
stb13579 Apr 25, 2022
bb43b7c
update link style
stb13579 Apr 26, 2022
6095196
updated migration guide to match template.
stb13579 Apr 27, 2022
c232bcd
Update docs/developer-docs/latest/update-migration-guides/migration-g…
stb13579 Apr 27, 2022
a9bd54d
Merge pull request #866 from strapi/dev/v4.1.8-migration
stb13579 Apr 27, 2022
c6a6a6d
[v4 migration] MongoDB additions to data migration guide (#818)
pwizla Apr 27, 2022
7a5149e
Lack one s in the file name middleware.js
slamer59 Apr 27, 2022
65f113b
Merge pull request #868 from slamer59/patch-1
stb13579 Apr 27, 2022
0def274
Merge pull request #828 from strapi/dev/Docker-update
stb13579 Apr 27, 2022
c63a2b1
Merge branch 'production' into main
derrickmehaffy Apr 27, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/.vuepress/config/sidebar-developer.js
Original file line number Diff line number Diff line change
Expand Up @@ -487,9 +487,10 @@ const developer = [
path: '/developer-docs/latest/update-migration-guides/migration-guides/v4/data-migration.html',
collapsable: true,
children: [
['/developer-docs/latest/update-migration-guides/migration-guides/v4/data/sql.md', 'SQL v3 to v4'],
['/developer-docs/latest/update-migration-guides/migration-guides/v4/data/sql.md', 'SQL v3 to v4 migration'],
['/developer-docs/latest/update-migration-guides/migration-guides/v4/data/sql-relations.md', 'SQL relations cheatsheet'],
// ['/developer-docs/latest/update-migration-guides/migration-guides/v4/data/mongo.md', 'MongoDB v3 to SQL v4'],
['/developer-docs/latest/update-migration-guides/migration-guides/v4/data/mongo.md', 'MongoDB v3 to SQL v3 migration'],
['/developer-docs/latest/update-migration-guides/migration-guides/v4/data/mongo-sql-cheatsheet.md', 'MongoDB vs. SQL cheatsheet'],
],
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ module.exports = (policyContext, config, { strapi }) => {
}

return false; // If you return nothing, Strapi considers you didn't want to block the request and will let it pass
}
};
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ module.exports = createCoreRouter('api::restaurant.restaurant', {
only: ['find'],
config: {
find: {
auth: false
auth: false,
policies: [],
middlewares: [],
}
Expand Down
2 changes: 1 addition & 1 deletion docs/developer-docs/latest/plugins/upload.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Currently the Strapi middleware in charge of parsing requests needs to be config

The library we use is [`koa-body`](https://github.com/dlau/koa-body), and it uses the [`node-formidable`](https://github.com/felixge/node-formidable) library to process files.

You can pass configuration to the middleware directly by setting it in the `body` middleware configuration in `./config/middleware.js`:
You can pass configuration to the middleware directly by setting it in the `body` middleware configuration in `./config/middlewares.js`:

```js
// path: ./config/middlewares.js
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Strapi provides the following environment variables:
| `BROWSER` | Open the admin panel in the browser after startup | `Boolean` | `true` |
| `ENV_PATH` | Path to the file that contains your environment variables | `String` | `'./.env'` |
| `STRAPI_PLUGIN_I18N_INIT_LOCALE_CODE` <br/><br/>_Optional_ | Initialization locale for the app, if the [Internationalization (i18n) plugin](/developer-docs/latest/plugins/i18n.md) is installed and enabled on Content-Types (see [Configuration of i18n in production environments](/developer-docs/latest/plugins/i18n.md#configuration-of-the-default-locale)) | `String` | `'en'` |
| `API_TOKEN_SALT`<br/><br/>_Optional_ | Salt to use to generate [API tokens](/developer-docs/latest/setup-deployment-guides/configurations/optional/api-tokens.md) | `String` | - |

## Configuration using environment variables

Expand Down Expand Up @@ -82,7 +81,7 @@ env.json('VAR', { key: 'value' });
// Cast to array (syntax: ENV_VAR=[value1, value2, value3] | ENV_VAR=["value1", "value2", "value3"])
env.array('VAR', [1, 2, 3]);

// Case to date (using new Date(value))
// Cast to date (using new Date(value))
env.date('VAR', new Date());
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ canonicalUrl: https://docs.strapi.io/developer-docs/latest/setup-deployment-guid

# Installing using Docker

:::caution
This Docker image is only for Strapi v3. For now, Strapi will not update the image for v4.
However, to build an image compatible with Strapi v4, we recommend following [this guide](https://blog.dehlin.dev/docker-with-strapi-v4) by Simen Daehlin, Community Star at Strapi.

If you would like an official v4 image, please share it on the [roadmap](https://feedback.strapi.io/developer-experience).

:::

The following documentation will guide you through the installation of a new Strapi project using [Docker](https://www.docker.com/).

Docker is an open platform that allows to develop, ship and run applications by using containers (i.e. packages containing all the parts an application needs to function, such as libraries and dependencies).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ To migrate a SQL database from Strapi v3 to Strapi v4, please refer to the [SQL

Migrating a Strapi v3 project with a MongoDB database to Strapi v4 is a 2-step process:

1. migrate from MongoDB to SQL with Strapi v3. Detailed instructions will be provided soon.
1. migrate from MongoDB to SQL with Strapi v3 (see [MongoDB migration](/developer-docs/latest/update-migration-guides/migration-guides/v4/data/mongo.md)),
2. migrate the SQL database from Strapi v3 to Strapi v4 (see [SQL migration](/developer-docs/latest/update-migration-guides/migration-guides/v4/data/sql.md)).

::: callout 🚧 Upcoming migration scripts
Expand Down
Loading