Skip to content

Commit 03cc87b

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/node-forge-1.3.2
2 parents 64b785c + 979813f commit 03cc87b

860 files changed

Lines changed: 6120 additions & 3047 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,33 @@
99
> - :house: [Internal]
1010
> - :nail_care: [Polish]
1111

12+
## 4.8.1
13+
14+
#### :rocket: New Feature
15+
16+
- **AsyncStorage API with IndexedDB support**
17+
- Added `AsyncStorage` class for asynchronous storage operations
18+
- Implemented `IndexedDBProvider` for persistent browser storage with async API
19+
- Support for multiple storage strategies: `indexedDB`, `localStorage`, `sessionStorage`, and in-memory fallback
20+
- Comprehensive test coverage for all storage providers and async operations
21+
- `canUseIndexedDB()` utility function to check IndexedDB availability
22+
23+
#### :house: Internal
24+
25+
- **Enhanced storage system**
26+
- Refactored storage providers to support both sync and async interfaces
27+
- Added workplace slots layout system for improved editor structure
28+
- Comprehensive test suites for storage functionality (`storage.test.js`, `async-storage.test.js`)
29+
- Added slot system tests (`slots.test.js`) for UI layout validation
30+
- Improved CSS variable handling for slot dimensions
31+
- Updated build configuration to use esbuild for ESM minification
32+
33+
#### :bug: Bug Fix
34+
35+
- **Fixed IndexedDB store name handling in AsyncStorage**
36+
- Correctly construct database names with suffix for proper isolation
37+
- Use consistent `keyValueStore` as the object store name
38+
1239
## 4.7.6
1340

1441
#### :boom: Breaking Change

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2013-2025 https://xdsoft.net
1+
Copyright (c) 2013-2026 https://xdsoft.net
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

Makefile

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ debug ?= false
1717
updateTests ?= false
1818
fat ?= false
1919
push ?= true
20+
useSWC ?= true
2021
outputFolder ?= ''
2122
version = $(shell cat package.json | ./node_modules/node-jq/bin/jq -r '.version')
2223

@@ -60,12 +61,13 @@ start dev love:
6061
--env includePlugins=$(includePlugins) \
6162
--env excludePlugins=$(excludePlugins) \
6263
--env isTest=$(isTest) \
64+
--env useSWC=$(useSWC) \
6365
--env fat=$(fat)
6466

6567
.PHONY: build
6668
build:
67-
@TS_NODE_TRANSPILE_ONLY=true $(WEBPACK) --progress --mode production \
68-
--env stat=true \
69+
@TS_NODE_TRANSPILE_ONLY=true $(WEBPACK) $(if $(watch), watch, --progress) --mode production \
70+
$(if $(watch),, --env stat=true) \
6971
--env es=$(es) \
7072
--env uglify=$(uglify) \
7173
--env isTest=$(isTest) \
@@ -234,7 +236,7 @@ prettify:
234236
test:
235237
make test-find
236238
make clean
237-
make build es=$(es) uglify=$(uglify) isTest=true fat=$(fat)
239+
make build es=$(es) uglify=$(uglify) isTest=true fat=$(fat) stat=false
238240
make test-only-run build=$(es) uglify=$(uglify) fat=$(fat) browsers=$(browsers)
239241

240242

@@ -244,7 +246,13 @@ test-find find-test:
244246

245247
.PHONY: test-only-run test-run-only
246248
test-only-run test-run-only:
247-
$(KARMA) --browsers $(browsers) $(cwd)tools/karma.conf.ts --single-run $(singleRun) --build=$(build) --min=$(uglify) --fat=$(fat) --cwd=$(pwd)
249+
$(KARMA) --browsers $(browsers) $(cwd)tools/karma.conf.ts --single-run=$(singleRun) --build=$(build) --min=$(uglify) --fat=$(fat) --cwd=$(pwd) $(if $(watch), --auto-watch,)
250+
251+
252+
.PHONY: test-watch
253+
test-watch:
254+
@echo "Start build and test in watch mode ..."
255+
@$(NODE_MODULES_BIN)/concurrently --kill-others "make build watch=true es=$(es)" "make test-run-only watch=true singleRun=false build=$(es)"
248256

249257
.PHONY: coverage
250258
coverage:

examples/arabic.lang.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!--
33
* Jodit Editor (https://xdsoft.net/jodit/)
44
* License GNU General Public License version 2 or later;
5-
* Copyright 2013-2020 Valeriy Chupurnov https://xdsoft.net
5+
* Copyright 2013-2020 Valerii Chupurnov https://xdsoft.net
66
-->
77
<html dir="rtl">
88
<head>

examples/assets/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* Jodit Editor (https://xdsoft.net/jodit/)
33
* Released under MIT see LICENSE.txt in the project root for license information.
4-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
4+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
55
*/
66

77
const examples = document.getElementById('examples');

examples/color-picker.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!--
33
* Jodit Editor (https://xdsoft.net/jodit/)
44
* License GNU General Public License version 2 or later;
5-
* Copyright 2013-2020 Valeriy Chupurnov https://xdsoft.net
5+
* Copyright 2013-2020 Valerii Chupurnov https://xdsoft.net
66
-->
77
<html lang="en-US">
88
<head>

examples/custom-icons.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!--
33
* Jodit Editor (https://xdsoft.net/jodit/)
44
* License GNU General Public License version 2 or later;
5-
* Copyright 2013-2020 Valeriy Chupurnov https://xdsoft.net
5+
* Copyright 2013-2020 Valerii Chupurnov https://xdsoft.net
66
-->
77
<html lang="en-US">
88
<head>

examples/custom-toolbar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!--
33
* Jodit Editor (https://xdsoft.net/jodit/)
44
* License GNU General Public License version 2 or later;
5-
* Copyright 2013-2020 Valeriy Chupurnov https://xdsoft.net
5+
* Copyright 2013-2020 Valerii Chupurnov https://xdsoft.net
66
-->
77
<html lang="en-US">
88
<head>

examples/example.default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!--
33
* Jodit Editor (https://xdsoft.net/jodit/)
44
* License GNU General Public License version 2 or later;
5-
* Copyright 2013-2020 Valeriy Chupurnov https://xdsoft.net
5+
* Copyright 2013-2020 Valerii Chupurnov https://xdsoft.net
66
-->
77
<html lang="en-US">
88
<head>

examples/fullsize.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!--
33
* Jodit Editor (https://xdsoft.net/jodit/)
44
* License GNU General Public License version 2 or later;
5-
* Copyright 2013-2020 Valeriy Chupurnov https://xdsoft.net
5+
* Copyright 2013-2020 Valerii Chupurnov https://xdsoft.net
66
-->
77
<html lang="en-US">
88
<head>

0 commit comments

Comments
 (0)