You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHAGELOG.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,31 @@
1
1
# CHANGELOG
2
2
3
+
## v2.0.0
4
+
5
+
### BREAKING CHANGES
6
+
7
+
> The library's API has not breaking changes. All breaking changes refer to how the final distributed files are bundled and their locations in the project.
8
+
9
+
- All distributed files are located under the `dist/` directory instead of `lib/` which was in v1.x.x. The UMD format is located under `dist/umd/` directory and the CommonJS under the `dist/commonjs/` directory.
10
+
- The directory containing the distributed files is no longer included in GIT.
11
+
12
+
### OTHER CHANGES
13
+
14
+
- All `devDependencies` are updated to latest versions. Updated Webpack to v4.x.x and Babel to v7.x.x.
15
+
- The library is now exported in both UMD (as was in version 1.x.x) and CommonJS. For CommonJS, the libdary's methods are also exported as standalone functions in order to import only the ones you want for your project. Check the [Usage](https://github.com/georapbox/immutable-arrays/blob/master/README.md#usage) section in README for more details.
16
+
17
+
3
18
## v1.0.3
4
19
5
20
- Fixes issue #4. Do not copy array unnecessarily in `del` method if index is a negative number.
6
21
22
+
7
23
## v1.0.2
8
24
9
25
- Use the array spread operator in delete method.
10
26
- Keep devDependencies up to date.
11
27
28
+
12
29
## v1.0.1
13
30
14
31
- Keep devDependencies up to date.
@@ -32,14 +49,17 @@ Below is a list with the renamed methods:
32
49
-`immutableSort` renamed to `sort`;
33
50
-`immutableDelete` renamed to `del`;
34
51
52
+
35
53
## v0.4.3
36
54
- Include test coverage in build process
37
55
- Add test to cover scenario with all optional arguments being undefined for immutableSplice method
38
56
57
+
39
58
## v0.4.2
40
59
- Keep devDependencies up to date
41
60
- Add code climate integration
42
61
- Add test coverage report
43
62
63
+
44
64
## v0.4.1
45
65
- Fix bug while deleting an element at 0 index [(#1)](https://github.com/georapbox/immutable-arrays/pull/1)
The library is exported in `UMD` and `CommonJS` formats under `dist/umd` and `dist/commonjs` directories respectively.
25
+
It can be used both in Browser and Node environments.
26
+
In Node environment or if you use a bundler (eg Webpack), the library also exports all of its methods as CommonJS standalone functions under the `dist/commonjs` directory.
Builds the library and watches for changes while developing. If you want to build only for a specific format, there are other npm scripts available; check in `package.json`.
0 commit comments