gatsby-plugin-image 2.9.0-next.0 → 2.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/README.md +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
### [2.8.1](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-image@2.8.1/packages/gatsby-plugin-image) (2022-02-25)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package gatsby-plugin-image
|
|
9
|
+
|
|
10
|
+
## [2.8.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-image@2.8.0/packages/gatsby-plugin-image) (2022-02-22)
|
|
11
|
+
|
|
12
|
+
[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.8)
|
|
13
|
+
|
|
14
|
+
**Note:** Version bump only for package gatsby-plugin-image
|
|
15
|
+
|
|
6
16
|
## [2.7.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-image@2.7.0/packages/gatsby-plugin-image) (2022-02-08)
|
|
7
17
|
|
|
8
18
|
[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.7)
|
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ module.exports = {
|
|
|
37
37
|
|
|
38
38
|
### Deciding which component to use
|
|
39
39
|
|
|
40
|
-
The Gatsby Image plugin includes two image components: one for static and one for dynamic images. An effective way to decide which you need
|
|
40
|
+
The Gatsby Image plugin includes two image components: one for static and one for dynamic images. An effective way to decide which you need is to ask yourself: _"will this image be the same every time the component or template is used?"_. If it will always be the same, then use `StaticImage`. If it will change, whether through data coming from a CMS or different values passed to a component each time you use it, then it is a dynamic image and you should use the `GatsbyImage` component.
|
|
41
41
|
|
|
42
42
|
### Static images
|
|
43
43
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gatsby-plugin-image",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.1",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "npm-run-all -s clean -p build:*",
|
|
6
6
|
"build:gatsby-node": "tsc --jsx react --downlevelIteration true --skipLibCheck true --esModuleInterop true --outDir dist/ src/gatsby-node.ts src/babel-plugin-parse-static-images.ts src/resolver-utils.ts src/types.d.ts -d --declarationDir dist/src",
|
|
@@ -77,12 +77,12 @@
|
|
|
77
77
|
"@babel/runtime": "^7.15.4",
|
|
78
78
|
"@babel/traverse": "^7.15.4",
|
|
79
79
|
"babel-jsx-utils": "^1.1.0",
|
|
80
|
-
"babel-plugin-remove-graphql-queries": "^4.9.
|
|
80
|
+
"babel-plugin-remove-graphql-queries": "^4.9.1",
|
|
81
81
|
"camelcase": "^5.3.1",
|
|
82
82
|
"chokidar": "^3.5.2",
|
|
83
83
|
"common-tags": "^1.8.2",
|
|
84
84
|
"fs-extra": "^10.0.0",
|
|
85
|
-
"gatsby-core-utils": "^3.9.
|
|
85
|
+
"gatsby-core-utils": "^3.9.1",
|
|
86
86
|
"objectFitPolyfill": "^2.3.5",
|
|
87
87
|
"prop-types": "^15.7.2"
|
|
88
88
|
},
|
|
@@ -93,5 +93,5 @@
|
|
|
93
93
|
},
|
|
94
94
|
"author": "Matt Kane <matt@gatsbyjs.com>",
|
|
95
95
|
"license": "MIT",
|
|
96
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "59e7e0eadfea90ef844b53c0b53d098ad3d51c7a"
|
|
97
97
|
}
|