Donny/강동윤
5b0ee541b4
chore: Publish v1.3.64
with swc_core
v0.78.3
( #7529 )
2023-06-14 14:07:00 +09:00
Donny/강동윤
983d2e8eb4
chore: Publish v1.3.63
2023-06-13 11:06:58 +09:00
Donny/강동윤
e773efc3a8
chore: Publish crates
2023-06-12 21:33:11 +09:00
Donny/강동윤
178abee03e
chore: Publish v1.3.63
with swc_core
v0.78.0
( #7520 )
2023-06-12 21:32:15 +09:00
Donny/강동윤
ddb5635ebf
chore: Publish crates
2023-06-03 18:23:17 +09:00
Donny/강동윤
0e37c18c9c
chore(ci): Fix publish action ( #7485 )
2023-06-03 18:21:24 +09:00
Donny/강동윤
decebadff1
chore: Publish crates
2023-06-03 00:44:10 +09:00
Donny/강동윤
c7463893e6
chore: Publish v1.3.62
with swc_core
v0.76.39
( #7484 )
2023-06-03 00:43:20 +09:00
Donny/강동윤
ad8e6a006c
chore: Publish crates
2023-05-30 14:41:39 +09:00
Donny/강동윤
43d1e46ccf
chore: Publish v1.3.61
with swc_core
v0.76.37
( #7468 )
2023-05-30 14:40:44 +09:00
Donny/강동윤
c856808f61
chore: Publish crates
2023-05-25 11:25:07 +09:00
Donny/강동윤
df7a2be938
chore: Publish v1.3.60
with swc_core
v0.76.30
( #7448 )
2023-05-25 11:23:55 +09:00
Donny/강동윤
0ac3aebe3d
chore: Publish crates
2023-05-19 14:25:31 +09:00
Donny/강동윤
a79a9cf6ff
chore: Publish v1.3.59
with swc_core
v0.76.16
( #7416 )
2023-05-19 14:24:32 +09:00
OJ Kwon
ac5ab607c9
refactor(plugin/runner): Revise cache, module loading ( #7408 )
...
**Description:**
One of the oversight around design of `TransformExecutor` is
encapsulating plugin module logic. It has access to the cache and do its
own loading & storing. This means consumer of plugin runner have tricky
challenge to control its caching system. First, there is no way to
escape how swc_plugin_runner controls cache and cannot synchronize into
their own, also depends on the usecases cannot control the features they
want to opt in: for example, there's no way one interface uses in-memory
cache, and another uses filesystem since it is compile time configured
singleton.
PR revisits overall design of TransformExecutor: now it accepts a tratir
`PluginModuleBytes`, which abstracts any kind of bytes we are dealing
with, such as raw file slice or serialized `wasmer::Module`. Cache
instantiation and managing is now bubbled up to the application level
(`swc` in here), so if someone wants non-singleton caching or integrate
into their own caching system it can be customized.
Lastly, deprecated `memory_cache` feature and only exposes
`filesystem_cache`. Cache implementation uses in-memory is always
available, and can opt in filesystem cache where it's supported.
**BREAKING CHANGE:**
This is clearly breaking changes for the consumers of swc_core. for the
@swc/core, this PR takes care of necessary changes. I'll work on
next-swc changes later once we have new @swc/core version with this
changes.
2023-05-18 07:05:39 +00:00
Donny/강동윤
4a53951fe3
chore: Publish crates
2023-05-15 13:18:22 +09:00
Donny/강동윤
a5e68243e2
chore: Publish v1.3.58
with swc_core
v0.76.7
( #7393 )
2023-05-15 13:17:25 +09:00
Donny/강동윤
8e6fea8519
chore: Publish crates
2023-05-15 12:42:54 +09:00
OJ Kwon
bba1fad35c
feat(plugin): Add versioned wrapper struct ( #7382 )
2023-05-15 03:17:31 +00:00
Donny/강동윤
6399d450cc
chore: Publish v1.3.57
with swc_core
v0.75.46
( #7368 )
2023-05-09 12:02:09 +09:00
Donny/강동윤
fee0ec4d01
chore: Publish v1.3.56
with swc_core
v0.75.41
( #7345 )
2023-04-29 22:56:07 +09:00
Donny/강동윤
1ecc4385b6
chore: Publish crates
2023-04-25 19:25:16 +09:00
Donny/강동윤
c67900278e
chore: Publish v1.3.55
with swc_core
v0.75.35
( #7332 )
2023-04-25 19:22:55 +09:00
magic-akari
caee073935
feat(es/module): Add export_interop_annotation
flag ( #7330 )
...
**Related issue:**
- https://github.com/vercel/next.js/issues/48801
2023-04-25 10:04:28 +00:00
Donny/강동윤
897099b970
chore: Publish crates
2023-04-25 09:30:08 +09:00
Donny/강동윤
08b3dc0149
chore: Publish v1.3.54
with swc_core
v0.75.34
( #7327 )
2023-04-25 09:28:27 +09:00
Donny/강동윤
2c441f5c8d
chore: Publish crates
2023-04-21 15:30:05 +09:00
Donny/강동윤
a483750bd9
chore: Publish v1.3.53
with swc_core
v0.75.31
( #7310 )
2023-04-21 15:29:14 +09:00
Donny/강동윤
e7f7b01f59
fix(es): Fix a crash related to source map ( #7307 )
...
**Related issue:**
- Reverts #7229 .
- Closes #7301 .
2023-04-21 03:58:24 +00:00
Donny/강동윤
07feee98ac
chore: Publish v1.3.52
with swc_core
v0.75.27
( #7297 )
2023-04-19 23:27:00 +09:00
Donny/강동윤
e757e65393
chore: Publish crates
2023-04-16 13:23:28 +09:00
Donny/강동윤
439fcddef2
chore: Publish v1.3.51
with swc_core
v0.75.22
( #7277 )
2023-04-16 13:22:21 +09:00
Donny/강동윤
5629e6b529
chore: Publish crates
2023-04-13 20:23:18 +09:00
Donny/강동윤
b05916bdbb
chore: Publish v1.3.50
with swc_core
v0.75.15
( #7259 )
2023-04-13 11:10:36 +00:00
OJ Kwon
6bd58cbcfd
refactor(plugin): Remove bytecheck
flag ( #7256 )
2023-04-13 05:49:58 +00:00
Donny/강동윤
a24f3554ce
chore: Publish crates
2023-04-10 14:04:04 +09:00
Donny/강동윤
1cc60084a2
chore: Publish v1.3.49
with swc_core
v0.75.1
2023-04-10 13:59:00 +09:00
Donny/강동윤
bc676e9f0f
chore: Publish crates
2023-04-10 13:14:30 +09:00
Donny/강동윤
e12a44346c
chore: Publish v1.3.48
with swc_core
v0.75.0
( #7233 )
2023-04-10 13:13:46 +09:00
OJ Kwon
56bdacc72d
feat(plugin/runner): Update wasmer
to v3
( #7197 )
...
**Description:**
This PR reattempts https://github.com/swc-project/swc/pull/5456 .
Most of the changes are for the breaking changes of wasmer@3, as well as enabling rkyv's strict mode (https://github.com/swc-project/swc/pull/6922 ). This could not be seperated since wasmer@3 enables strict mode by default without a way to turn it off.
There are a couple of changes worth noting:
- Disabling in-memory module lookup: https://github.com/swc-project/swc/pull/7197/files#diff-3bda5def6ce2b7553c3b3a5ad241c0bdb7021e67b7de1e594df4cd5a54d403b3R154-R159
- Disabling plugin_runner in bindings_wasm: https://github.com/swc-project/swc/pull/7197/files#diff-dc3ded556a1fd709a129acd588e5eda651b842c6acc3f5340d40088a1f927facR310-R312
- Skipping plugin compat test: https://github.com/swc-project/swc/pull/7197/files#diff-531197dfcefba05faca53f0cf442ecc2dc6b59d5ead01979f5ffb912aa36249aR64-R66
2023-04-10 03:40:25 +00:00
Donny/강동윤
e116fedd22
chore: Publish crates
2023-04-10 11:55:00 +09:00
Donny/강동윤
df69abc3d1
chore: Publish v1.3.47
with swc_core
v0.74.6
( #7231 )
2023-04-10 11:54:14 +09:00
Donny/강동윤
9ae13a1d9e
chore: Publish v1.3.46
with fixed peerDependency
( #7206 )
2023-04-04 19:27:43 +09:00
Donny/강동윤
5aee7abfc6
chore: Publish crates
2023-04-04 14:46:04 +09:00
Donny/강동윤
a282f507e3
chore: Publish v1.3.45
with swc_core
v0.74.0
( #7201 )
2023-04-04 14:44:58 +09:00
magic-akari
3ca954b9f9
fix(es/helpers): Use snake_case for helpers ( #7147 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/7144 .
- Closes https://github.com/swc-project/swc/issues/7118 .
2023-03-31 15:15:21 +09:00
Donny/강동윤
a1b7e1358a
chore: Publish crates
2023-03-30 17:59:01 +09:00
Donny/강동윤
dd48918417
chore: Publish v1.3.44
with swc_core
v0.72.6
( #7172 )
2023-03-30 17:58:06 +09:00
Donny/강동윤
4d7491d477
chore: Publish crates
2023-03-29 16:05:50 +09:00
Donny/강동윤
82a0521ccf
chore: Publish v1.3.43
with swc_core
v0.72.2
( #7158 )
2023-03-29 16:05:00 +09:00
Donny/강동윤
e445502072
build(cargo): Update rustc
to nightly-2023-03-28
( #7154 )
...
**Description:**
This PR also updates `rkyv` to `=0.7.40`.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6807 .
2023-03-29 06:24:19 +00:00
Donny/강동윤
5e58b3e5f6
feat(css/parser): Add legacy_ie
to the ParserConfig
( #7109 )
2023-03-27 15:02:18 +09:00
Donny/강동윤
30bc086052
refactor(ast): Make serde optional ( #7138 )
...
**Description:**
Turbopack does not use `serde` of swc AST types.
2023-03-27 13:28:42 +09:00
Donny/강동윤
737f2adc0f
chore: Publish crates
2023-03-22 12:00:04 +09:00
Donny/강동윤
6795dc89c0
chore: Publish v1.3.42
with swc_core v0.69.20
( #7117 )
2023-03-22 11:58:59 +09:00
Austaras
c114f006b4
refactor(es/resolver): Make syntax context for unresolved and top-level stable ( #7096 )
2023-03-20 11:01:19 +09:00
realtimetodie
4e6b44cef9
chore: Publish v1.3.41
with swc_core v0.69.11
( #7093 )
2023-03-17 16:11:02 +09:00
magic-akari
7b491a69a5
fix(es/react): Align to babel@8
behavior ( #7081 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/7044 .
2023-03-16 03:35:17 +00:00
realtimetodie
7bbec92d23
fix(bindings/cli): Change order of checking inputs to workaround a Windows issue ( #7077 )
2023-03-14 03:47:52 +00:00
Donny/강동윤
06071b9fa0
chore: Publish v1.3.40
with swc_core v0.69.3
( #7069 )
2023-03-13 13:29:16 +09:00
Donny/강동윤
1b40689c3a
fix(bindings/cli): Update swc_ecma_ast
( #7060 )
2023-03-12 00:46:46 +00:00
Donny/강동윤
740a78ba88
chore: Publish crates
2023-03-10 14:12:09 +09:00
Donny/강동윤
bdc57edac3
chore: Publish v1.3.39
( #7049 )
2023-03-10 04:54:02 +00:00
Donny/강동윤
f378a14888
perf(es/parser): Use SmartString
as the buffer ( #7033 )
2023-03-09 08:07:40 +00:00
Donny/강동윤
2a8f6aeb37
chore: Publish crates
2023-03-06 18:32:18 +09:00
Donny/강동윤
873e532f91
chore: Publish v1.3.38
( #7018 )
2023-03-06 09:30:21 +00:00
Donny/강동윤
dc925f9863
chore: Publish crates
2023-02-28 11:14:03 +09:00
realtimetodie
4c38a4427b
chore: Publish v1.3.37
( #6992 )
2023-02-28 11:12:57 +09:00
realtimetodie
3e3e41a175
fix(bindings/cli): Implement source-file-name
and source-root
options ( #6973 )
2023-02-27 02:37:32 +00:00
Donny/강동윤
f12bfd1e55
chore: Publish crates
2023-02-21 16:10:52 +09:00
Donny/강동윤
bc8cec8684
chore: Publish v1.3.36
( #6970 )
2023-02-21 16:09:58 +09:00
Donny/강동윤
0324d5a78b
chore(bot): Allow org members to use bump comments ( #6942 )
2023-02-14 04:47:41 +00:00
LongYinan
0771418dd0
chore(swc_nodejs_common): remove swc_node_base from swc_nodejs_common ( #6940 )
...
- Ref: https://github.com/vercel/turbo/pull/3772
2023-02-14 03:13:36 +00:00
Jonathan Rudenberg
cb4436bd6e
fix(bindings/cli): Rename --config
to --config-json
( #6932 )
2023-02-10 18:30:00 +00:00
Donny/강동윤
0559f2c2b4
chore: Publish crates
2023-02-10 14:02:48 +09:00
Donny/강동윤
8c1dba85f5
chore: Publish v1.3.35
( #6929 )
2023-02-10 05:01:14 +00:00
Donny/강동윤
932d5a5302
chore: Publish crates
2023-02-08 16:51:05 +09:00
Donny/강동윤
6728091e31
chore: Publish v1.3.34
( #6919 )
2023-02-08 07:46:17 +00:00
realtimetodie
5793e37ac7
chore: Publish v1.3.33
( #6905 )
...
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2023-02-08 03:02:37 +00:00
Daiki Nishikawa
76bc8a2974
feat(bindings/cli): Support for *.mts/*.cts files ( #6909 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/4679 .
2023-02-07 15:18:10 +00:00
JH.Lee
17f1c50287
chore(bindings/cli): Enable preferUnplugged
by default for the plugins ( #6912 )
2023-02-07 06:22:24 +00:00
Jonathan Rudenberg
d993c4def6
feat(bindings/cli): Add --config
( #6835 )
2023-02-05 21:35:48 +00:00
Donny/강동윤
ab02c0a07e
chore: Publish crates
2023-02-01 09:37:56 +09:00
Donny/강동윤
37fd8687dc
chore: Publish v1.3.32
( #6889 )
2023-02-01 09:36:55 +09:00
realtimetodie
8888fd17bf
chore: Publish v1.3.31
( #6877 )
2023-01-30 22:33:39 +09:00
Donny/강동윤
b8fcf3bc62
chore: Publish crates
2023-01-29 22:44:56 +09:00
realtimetodie
c4db8e42a1
feat(bindings/cli): Append sourceMappingURL=
to the output ( #6873 )
2023-01-29 13:28:28 +00:00
Donny/강동윤
deb2fc5ecc
chore: Publish v1.3.30
( #6869 )
2023-01-28 18:32:28 +00:00
Donny/강동윤
00870d273e
chore: Publish v1.3.29
with swc_core
v0.59.1
2023-01-26 12:26:45 +09:00
Donny/강동윤
ae84f0f35a
chore: Publish v1.3.29
( #6855 )
2023-01-26 03:07:19 +00:00
Donny/강동윤
2d5324f98a
chore: Publish v1.3.28
( #6846 )
2023-01-24 07:02:54 +00:00
Donny/강동윤
db612c1438
chore: Publish v1.3.27
( #6827 )
2023-01-17 02:50:07 +00:00
Alex Dixon
38fb70c237
fix(es/plugin): Fix starter template ( #6815 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6814 .
2023-01-15 00:18:27 +00:00
Donny/강동윤
288ec1d6e0
chore: Publish v1.3.26
2023-01-11 18:37:35 +09:00
Donny/강동윤
1c6fe35313
chore: Publish v1.3.26
( #6787 )
2023-01-11 08:40:40 +00:00
Donny/강동윤
ec7e913815
fix(es/minifier): Make name mangler respect toplevel
( #6774 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6418 .
2023-01-10 06:42:49 +00:00
Donny/강동윤
9769a9c677
chore: Publish v1.3.25 ( #6754 )
2023-01-05 10:48:00 +00:00
realtimetodie
0076418819
fix(bindings/cli): Skip empty stdin in non tty environments ( #6714 )
2023-01-05 05:15:36 +00:00
Bernardo
082dc2101b
fix(es/plugin): Fix plugin starter template ( #6723 )
2022-12-27 07:41:30 +00:00
Donny/강동윤
d8d9965aa4
chore: Publish crates
2022-12-23 14:58:20 +09:00
realtimetodie
24cd384c20
fix(cli): Use the --source-maps
option ( #6708 )
2022-12-23 05:04:36 +00:00
Donny/강동윤
70d8ecc37c
chore: Publish crates
2022-12-21 17:29:02 +09:00
Donny/강동윤
34ad988099
chore: Publish v1.3.24
( #6702 )
2022-12-21 08:26:01 +00:00
LongYinan
e7849dbc6a
build(bindings): Crash in GraalVM ( #6689 )
2022-12-20 07:03:41 +00:00
Donny/강동윤
56cd08f19c
chore: Publish v1.3.23 ( #6650 )
2022-12-14 12:30:26 +00:00
Donny/강동윤
6238abe571
chore: Publish v1.3.22
( #6608 )
2022-12-09 03:57:35 +00:00
Donny/강동윤
ad73fbfcd0
chore: Publish crates
2022-11-30 19:16:05 +09:00
Donny/강동윤
805ff71c27
chore: Publish v1.3.21
( #6550 )
2022-11-30 19:15:03 +09:00
Donny/강동윤
ae6322064d
feat(es/preset-env): Update data ( #6538 )
2022-11-30 04:27:59 +00:00
Donny/강동윤
c82c65c0ba
chore: Publish crates
2022-11-26 22:48:22 +09:00
Donny/강동윤
71ce4a449a
chore: Publish v1.3.20
( #6516 )
2022-11-26 22:35:16 +09:00
OJ Kwon
d957aac056
refactor(binding/wasm): Use binding_macro ( #6487 )
2022-11-21 01:38:25 +00:00
Donny/강동윤
408dec0fa7
chore: Publish v1.3.19
( #6483 )
2022-11-20 15:49:52 +09:00
OJ Kwon
dd4b9e87de
refactor(bindings): Deprecate jsvalue::*_serde
( #6462 )
2022-11-18 10:21:23 +09:00
Donny/강동윤
fd2064d9de
chore: Publish v1.3.18
( #6456 )
2022-11-16 05:42:35 +00:00
Donny/강동윤
375fe85ce2
chore: Publish v1.13.17
( #6442 )
2022-11-15 05:48:57 +00:00
Donny/강동윤
948e35bcd6
fix(bindings): Revert #6436 ( #6444 )
2022-11-15 13:50:53 +09:00
OJ Kwon
8ca3cc7875
chore(ci): Ensure to honor node package manager ( #6437 )
2022-11-15 00:52:44 +00:00
OJ Kwon
1dd8b3d9d5
refactor(bindings): Deprecate JsValue::*_serde
( #6436 )
2022-11-14 23:46:13 +00:00
Donny/강동윤
5f47aeed96
chore: Publish v1.3.16
( #6425 )
2022-11-13 12:29:54 +00:00
Donny/강동윤
77e0c1d1a4
chore: Publish v1.3.15
( #6410 )
2022-11-12 17:23:42 +09:00
Donny/강동윤
7aab648937
chore: Publish v1.3.14
2022-11-03 11:59:10 +09:00
Donny/강동윤
241f9f05cb
chore: Publish v1.3.13
( #6320 )
2022-11-03 09:33:56 +09:00
Donny/강동윤
6f2eea03bf
chore: Publish v1.3.12
( #6315 )
2022-11-02 04:53:22 +00:00
Donny/강동윤
c7e6ab2573
chore: Publish v1.3.11
( #6258 )
2022-10-26 15:30:34 +09:00
Donny/강동윤
ad27fb020a
chore: Publish v1.3.10
( #6225 )
2022-10-21 12:50:17 +09:00
Donny/강동윤
e8a80c8a8b
chore: Publish v1.3.9
( #6177 )
2022-10-17 20:32:18 +09:00
Donny/강동윤
ec5782e4a0
chore: Publish crates
2022-10-17 09:26:50 +09:00
Donny/강동윤
2dd98e69e8
chore: Publish v1.3.8 ( #6143 )
2022-10-14 09:57:59 +09:00
Donny/강동윤
92f4f309f8
chore: Publish v1.3.7
( #6125 )
2022-10-12 03:40:22 +00:00
Donny/강동윤
0cd8aeeb5c
feat(bindings): Apply resolver
to the output of parse
apis ( #6118 )
...
**Description:**
This PR makes the `parse*()` API return AST with `resolver` applied to help plugin authors
2022-10-11 11:49:30 +00:00
Donny/강동윤
b5d5e11197
chore: Publish v1.3.6
( #6087 )
2022-10-08 13:39:07 +09:00
Donny/강동윤
26047bf584
chore: Publish v1.3.5
2022-10-06 05:28:58 +00:00
Donny/강동윤
6cdb5ed97f
fix(cli): Configure GLOBALS
( #6061 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6059 .
2022-10-06 04:17:06 +00:00
Donny/강동윤
10fb645552
chore(ci): Merge CI scripts ( #5999 )
...
**Description:**
This PR merges CI scripts, and make integration tests use patched crates.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/5540 .
2022-09-30 16:57:15 +09:00
OJ Kwon
af64217f19
build(cargo): Introduce workspace deps ( #5997 )
2022-09-30 13:43:32 +09:00
Donny/강동윤
fbc09d0cba
chore: Publish v1.3.4
( #5998 )
2022-09-30 12:47:00 +09:00
Donny/강동윤
21cbc0d561
chore: Publish v1.3.3
( #5942 )
2022-09-23 17:51:57 +09:00
廖应龙
ccca6d0a88
fix(cli): Add missing comma ( #5902 )
2022-09-19 13:34:06 +00:00
Donny/강동윤
6fa55ce3a0
chore: Publish v1.3.2
( #5898 )
2022-09-19 17:29:43 +09:00
OJ Kwon
1ba151fe95
feat(swc_core): Enable bytecheck
for plugin ( #5878 )
2022-09-16 11:43:59 +09:00
Donny/강동윤
355bb41a1f
build(bindings): Remove cargo patch ( #5874 )
2022-09-15 08:49:23 +00:00
OJ Kwon
092b7281d0
refactor(es/ast): Apply rkyv-bytecheck flag ( #5866 )
2022-09-15 05:20:46 +00:00
Donny/강동윤
e9f4f4eb06
chore: Publish v1.3.1
( #5854 )
2022-09-14 17:24:15 +09:00
廖应龙
969ecdee3d
fix(cli): Update the plugin template ( #5824 )
2022-09-12 00:25:43 +00:00
Donny/강동윤
ac850988af
chore: Publish v1.3.0
( #5813 )
2022-09-10 23:05:27 +09:00
OJ Kwon
6f19f8902f
refactor(swc_core): enable bytechecked flag ( #5792 )
...
**Description:**
Another update to enable bytecheck rkyv feature flag.
Our dep tree is quite tangled with implicit enable (plugin -> rkyv). PR tries to detach some of it while trying to preserve existing behavior as much as it can.
2022-09-09 08:05:51 +00:00
Donny/강동윤
6fde98217b
chore: Publish v1.2.249
( #5782 )
2022-09-08 16:17:11 +09:00
Daiki Nishikawa
15e2357d1d
chore: Typo ( #5758 )
2022-09-06 10:33:40 +09:00
Donny/강동윤
95119be5b2
chore: Publish v1.2.248
( #5755 )
2022-09-06 00:20:33 +09:00