Commit Graph

188 Commits

Author SHA1 Message Date
Donny/강동윤
00eb41847b chore: Publish crates 2023-06-29 11:20:28 +09:00
Donny/강동윤
e62a0b91bd
chore: Publish v1.3.67 with swc_core v0.78.27 (#7594) 2023-06-29 11:18:46 +09:00
Donny/강동윤
c51eac6075
chore(ci): Fix CI (#7589) 2023-06-27 14:34:41 +00:00
Donny/강동윤
d57d0d3ad3
build(cargo): Update deps (#7566) 2023-06-22 13:37:35 +00:00
Donny/강동윤
d12dc70c91
build(cargo): Update deps (#7564) 2023-06-22 07:40:41 +00:00
Donny/강동윤
5bee46263c chore: Publish crates 2023-06-20 18:39:53 +09:00
Donny/강동윤
1f65d50610
chore: Publish v1.3.66 with swc_core v0.78.15 (#7554) 2023-06-20 18:38:32 +09:00
Donny/강동윤
6e5d8b3cf1
feat(es/codegen): Support preamble (#7551)
**Related issue:**

 - Closes #7475.
2023-06-20 14:35:46 +09:00
Donny/강동윤
0129ad080b chore: Publish v1.3.65 with swc_core v0.78.8 2023-06-19 12:37:22 +09:00
Donny/강동윤
d1430c00b4 chore: Publish crates 2023-06-19 12:36:16 +09:00
Donny/강동윤
fe1a545e65 chore: Publish crates 2023-06-19 12:26:07 +09:00
Donny/강동윤
4585ed99db
chore: Publish v1.3.65 with swc_core v0.78.8 (#7541) 2023-06-19 12:24:49 +09:00
Donny/강동윤
37c7296913 chore: Publish crates 2023-06-14 14:08:15 +09:00
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