Skip to content

Commit 6696ed4

Browse files
committed
minor #17 Adding CHANGELOG (weaverryan)
This PR was merged into the main branch. Discussion ---------- Adding CHANGELOG Hi! I'd personally like a CHANGELOG - I rely on them a lot in the JS world, as things change a lot. And also, with the breaking change in 1.2.0, I think it would help. Cheers! Commits ------- 983d794 Adding CHANGELOG
2 parents a720035 + 983d794 commit 6696ed4

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# CHANGELOG
2+
3+
## 1.2.0
4+
5+
* Webpack integration with this library has changed. If you're using
6+
Webpack Encore, you must upgrade to version 1.0.0 or higher of that
7+
library - #14.
8+
9+
* Controller names were changed and normalized - #12
10+
11+
Before: `@symfony/ux-dropzone/dropzone`
12+
After: `symfony--ux-dropzone--dropzone`
13+
14+
## 1.1.0
15+
16+
* Support for Stimulus 1 dropped and support for Stimulus 2 added - #4.
17+
18+
## 1.0.0
19+
20+
* Initial release!

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ import { startStimulusApp } from '@symfony/stimulus-bridge';
3939
export const app = startStimulusApp(require.context('./controllers', true, /\.(j|t)sx?$/));
4040
```
4141

42+
## Common Errors
43+
4244
If you get this error:
4345

4446
> ./assets/bootstrap.js contains a reference to the file @symfony/autoimport.
@@ -53,6 +55,12 @@ Remove the following line in the mentioned file: it's not needed anymore:
5355
- import '@symfony/autoimport';
5456
```
5557

58+
If you get the error:
59+
60+
> Cannot find module '@symfony/stimulus-bridge/webpack-helper'
61+
62+
Be sure to upgrade to `@symfony/webpack-encore` version 1.0.0 or higher.
63+
5664
## Run tests
5765

5866
```sh

0 commit comments

Comments
 (0)