Releases: aspect-build/rules_swc
Releases · aspect-build/rules_swc
v2.6.0
Using Bzlmod with Bazel 6:
Add to your MODULE.bazel file:
bazel_dep(name = "aspect_rules_swc", version = "2.6.0")Using WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_swc",
sha256 = "309ab6d20ea4e01d021a8a134fbbbf6bf0f71b7bacb1c707dd3d7d9784c16782",
strip_prefix = "rules_swc-2.6.0",
url = "https://github.com/aspect-build/rules_swc/releases/download/v2.6.0/rules_swc-v2.6.0.tar.gz",
)
###################
# rules_swc setup #
###################
# Fetches the rules_swc dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@aspect_rules_swc//swc:dependencies.bzl", "rules_swc_dependencies")
rules_swc_dependencies()
# Fetches a SWC cli from
# https://github.com/swc-project/swc/releases
# If you'd rather compile it from source, you can use rules_rust, fetch the project,
# then register the toolchain yourself. (Note, this is not yet documented)
load("@aspect_rules_swc//swc:repositories.bzl", "LATEST_SWC_VERSION", "swc_register_toolchains")
swc_register_toolchains(
name = "swc",
swc_version = LATEST_SWC_VERSION,
)
# To use rules_swc with bazel-lib 2.x, you must additionally register the coreutils toolchain.
load("@aspect_bazel_lib//lib:repositories.bzl", "register_coreutils_toolchains")
register_coreutils_toolchains()What's Changed
- chore: remove BCR homepage, as we now use the BCR UI itself by @alexeagle in #321
- fix: README link formatting by @hofbi in #322
- chore: remove docs run //:update from mirror_releases job by @jbedard in #323
- chore: mirror external releases by @jbedard in #324
- feat: support bazel path-mapping by @jbedard in #326
New Contributors
Full Changelog: v2.5.0...v2.6.0
v2.5.0
Using Bzlmod with Bazel 6:
Add to your MODULE.bazel file:
bazel_dep(name = "aspect_rules_swc", version = "2.5.0")Using WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_swc",
sha256 = "6f318c8f429a3e07d2defd4a663ed33ff4324661c4b8f7d03c0b50c6d8c96f0c",
strip_prefix = "rules_swc-2.5.0",
url = "https://github.com/aspect-build/rules_swc/releases/download/v2.5.0/rules_swc-v2.5.0.tar.gz",
)
###################
# rules_swc setup #
###################
# Fetches the rules_swc dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@aspect_rules_swc//swc:dependencies.bzl", "rules_swc_dependencies")
rules_swc_dependencies()
# Fetches a SWC cli from
# https://github.com/swc-project/swc/releases
# If you'd rather compile it from source, you can use rules_rust, fetch the project,
# then register the toolchain yourself. (Note, this is not yet documented)
load("@aspect_rules_swc//swc:repositories.bzl", "LATEST_SWC_VERSION", "swc_register_toolchains")
swc_register_toolchains(
name = "swc",
swc_version = LATEST_SWC_VERSION,
)
# To use rules_swc with bazel-lib 2.x, you must additionally register the coreutils toolchain.
load("@aspect_bazel_lib//lib:repositories.bzl", "register_coreutils_toolchains")
register_coreutils_toolchains()What's Changed
- chore: switch to bazelrc-presets by @alexeagle in #310
- chore: upgrade tools_telemetry to 0.2.6 by @jbedard in #311
- fix: don't use version 0.0.0 by @alexeagle in #312
- chore(ci): test Bazel 8 and 9 on BCR by @alexeagle in #314
- feat: add integrity_hashes attribute to bzlmod extension by @jfirebaugh in #317
- chore: generate stardocs on releases by @alexeagle in #316
- fix(release): allow call from tag.yaml by @alexeagle in #318
- fix(release): another problem in release workflow by @alexeagle in #319
- fix(release): yet another out-of-date file by @alexeagle in #320
Full Changelog: v2.4.4...v2.5.0
v2.4.4
Using Bzlmod with Bazel 6:
Add to your MODULE.bazel file:
bazel_dep(name = "aspect_rules_swc", version = "2.4.4")Using WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_swc",
sha256 = "9f1bf33b442c05e566eaed0a3aa25e95a3bfee12caa41914c9b23612ca7feb74",
strip_prefix = "rules_swc-2.4.4",
url = "https://github.com/aspect-build/rules_swc/releases/download/v2.4.4/rules_swc-v2.4.4.tar.gz",
)
###################
# rules_swc setup #
###################
# Fetches the rules_swc dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@aspect_rules_swc//swc:dependencies.bzl", "rules_swc_dependencies")
rules_swc_dependencies()
# Fetches a SWC cli from
# https://github.com/swc-project/swc/releases
# If you'd rather compile it from source, you can use rules_rust, fetch the project,
# then register the toolchain yourself. (Note, this is not yet documented)
load("@aspect_rules_swc//swc:repositories.bzl", "LATEST_SWC_VERSION", "swc_register_toolchains")
swc_register_toolchains(
name = "swc",
swc_version = LATEST_SWC_VERSION,
)
# To use rules_swc with bazel-lib 2.x, you must additionally register the coreutils toolchain.
load("@aspect_bazel_lib//lib:repositories.bzl", "register_coreutils_toolchains")
register_coreutils_toolchains()What's Changed
- fix: add new SWC versions and allow MUSL by @guw in #307
- chore: turn on tools_telemetry by @jbedard in #308
- Remove bad incompatible_use_toolchain_transition reference. by @gregestren in #309
New Contributors
- @gregestren made their first contribution in #309
Full Changelog: v2.4.3...v2.4.4
v2.4.3
Using Bzlmod with Bazel 6:
Add to your MODULE.bazel file:
bazel_dep(name = "aspect_rules_swc", version = "2.4.3")Using WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_swc",
sha256 = "f14914378dbbd8e6c2e3caff1372e95393d1e716a9a1a8d89128fc0130fb265b",
strip_prefix = "rules_swc-2.4.3",
url = "https://github.com/aspect-build/rules_swc/releases/download/v2.4.3/rules_swc-v2.4.3.tar.gz",
)
###################
# rules_swc setup #
###################
# Fetches the rules_swc dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@aspect_rules_swc//swc:dependencies.bzl", "rules_swc_dependencies")
rules_swc_dependencies()
# Fetches a SWC cli from
# https://github.com/swc-project/swc/releases
# If you'd rather compile it from source, you can use rules_rust, fetch the project,
# then register the toolchain yourself. (Note, this is not yet documented)
load("@aspect_rules_swc//swc:repositories.bzl", "LATEST_SWC_VERSION", "swc_register_toolchains")
swc_register_toolchains(
name = "swc",
swc_version = LATEST_SWC_VERSION,
)
# To use rules_swc with bazel-lib 2.x, you must additionally register the coreutils toolchain.
load("@aspect_bazel_lib//lib:repositories.bzl", "register_coreutils_toolchains")
register_coreutils_toolchains()What's Changed
- fix(publish): pick up secret when passed from caller workflow by @alexeagle in #301
- ci: add workflows by @thesayyn in #302
- fix(docgen): add missing deps by @alexeagle in #305
- fix: Handle dot root dir depth by @randrei-adobe in #306
New Contributors
Full Changelog: v2.4.2...v2.4.3
v2.4.2
Using Bzlmod with Bazel 6:
Add to your MODULE.bazel file:
bazel_dep(name = "aspect_rules_swc", version = "2.4.2")Using WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_swc",
sha256 = "8374e1af270fd46bda09e26b3f231f54fe5493b2ad72bd438f765688740de43d",
strip_prefix = "rules_swc-2.4.2",
url = "https://github.com/aspect-build/rules_swc/releases/download/v2.4.2/rules_swc-v2.4.2.tar.gz",
)
###################
# rules_swc setup #
###################
# Fetches the rules_swc dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@aspect_rules_swc//swc:dependencies.bzl", "rules_swc_dependencies")
rules_swc_dependencies()
# Fetches a SWC cli from
# https://github.com/swc-project/swc/releases
# If you'd rather compile it from source, you can use rules_rust, fetch the project,
# then register the toolchain yourself. (Note, this is not yet documented)
load("@aspect_rules_swc//swc:repositories.bzl", "LATEST_SWC_VERSION", "swc_register_toolchains")
swc_register_toolchains(
name = "swc",
swc_version = LATEST_SWC_VERSION,
)
# To use rules_swc with bazel-lib 2.x, you must additionally register the coreutils toolchain.
load("@aspect_bazel_lib//lib:repositories.bzl", "register_coreutils_toolchains")
register_coreutils_toolchains()What's Changed
- chore: publish attestations to BCR by @alexeagle in #300
Full Changelog: v2.4.1...v2.4.2
v2.4.1
Using Bzlmod with Bazel 6:
Add to your MODULE.bazel file:
bazel_dep(name = "aspect_rules_swc", version = "2.4.1")Using WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_swc",
sha256 = "e6e03dd040d3067a9cffd052616acaf3df4e128f96d7a616662cb7ae57c973e7",
strip_prefix = "rules_swc-2.4.1",
url = "https://github.com/aspect-build/rules_swc/releases/download/v2.4.1/rules_swc-v2.4.1.tar.gz",
)
###################
# rules_swc setup #
###################
# Fetches the rules_swc dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@aspect_rules_swc//swc:dependencies.bzl", "rules_swc_dependencies")
rules_swc_dependencies()
# Fetches a SWC cli from
# https://github.com/swc-project/swc/releases
# If you'd rather compile it from source, you can use rules_rust, fetch the project,
# then register the toolchain yourself. (Note, this is not yet documented)
load("@aspect_rules_swc//swc:repositories.bzl", "LATEST_SWC_VERSION", "swc_register_toolchains")
swc_register_toolchains(
name = "swc",
swc_version = LATEST_SWC_VERSION,
)
# To use rules_swc with bazel-lib 2.x, you must additionally register the coreutils toolchain.
load("@aspect_bazel_lib//lib:repositories.bzl", "register_coreutils_toolchains")
register_coreutils_toolchains()What's Changed
- fix: add support for
swc_version_fromto bzlmod extension by @walkerburgin in #298 - Add integrity hashes for
v1.11.18by @walkerburgin in #299
New Contributors
- @walkerburgin made their first contribution in #298
Full Changelog: v2.4.0...v2.4.1
v2.4.0
Using Bzlmod with Bazel 6:
Add to your MODULE.bazel file:
bazel_dep(name = "aspect_rules_swc", version = "2.4.0")Using WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_swc",
sha256 = "5a0e4bc143a7b983fed49bbf095e16065c8289a985a4abe4adb9613c3033be1b",
strip_prefix = "rules_swc-2.4.0",
url = "https://github.com/aspect-build/rules_swc/releases/download/v2.4.0/rules_swc-v2.4.0.tar.gz",
)
###################
# rules_swc setup #
###################
# Fetches the rules_swc dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@aspect_rules_swc//swc:dependencies.bzl", "rules_swc_dependencies")
rules_swc_dependencies()
# Fetches a SWC cli from
# https://github.com/swc-project/swc/releases
# If you'd rather compile it from source, you can use rules_rust, fetch the project,
# then register the toolchain yourself. (Note, this is not yet documented)
load("@aspect_rules_swc//swc:repositories.bzl", "LATEST_SWC_VERSION", "swc_register_toolchains")
swc_register_toolchains(
name = "swc",
swc_version = LATEST_SWC_VERSION,
)
# To use rules_swc with bazel-lib 2.x, you must additionally register the coreutils toolchain.
load("@aspect_bazel_lib//lib:repositories.bzl", "register_coreutils_toolchains")
register_coreutils_toolchains()What's Changed
- feat: Add
allow_jsattribute by @jfirebaugh in #288 - Update aspect.dev URL by @alexeagle in #291
- chore: mirror releases (fixes #289) by @guw in #294
- refactor: remove stardoc from root repository by @alexeagle in #296
- chore: remove root workspace by @alexeagle in #297
- chore: upgrade bazel-lib to include windows tar fix by @jbedard in #295
New Contributors
- @jfirebaugh made their first contribution in #288
- @guw made their first contribution in #294
Full Changelog: v2.3.0...v2.4.0
v2.3.0
Using Bzlmod with Bazel 6:
Add to your MODULE.bazel file:
bazel_dep(name = "aspect_rules_swc", version = "2.3.0")Using WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_swc",
sha256 = "d9ed410eb6a5c605345d872f0c4c50138bda3c572db2aed1796cf397fa361986",
strip_prefix = "rules_swc-2.3.0",
url = "https://github.com/aspect-build/rules_swc/releases/download/v2.3.0/rules_swc-v2.3.0.tar.gz",
)
###################
# rules_swc setup #
###################
# Fetches the rules_swc dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@aspect_rules_swc//swc:dependencies.bzl", "rules_swc_dependencies")
rules_swc_dependencies()
# Fetches a SWC cli from
# https://github.com/swc-project/swc/releases
# If you'd rather compile it from source, you can use rules_rust, fetch the project,
# then register the toolchain yourself. (Note, this is not yet documented)
load("@aspect_rules_swc//swc:repositories.bzl", "LATEST_SWC_VERSION", "swc_register_toolchains")
swc_register_toolchains(
name = "swc",
swc_version = LATEST_SWC_VERSION,
)
# To use rules_swc with bazel-lib 2.x, you must additionally register the coreutils toolchain.
load("@aspect_bazel_lib//lib:repositories.bzl", "register_coreutils_toolchains")
register_coreutils_toolchains()What's Changed
- feat: support json sources by @jbedard in #287
- chore: update bcr maintainer info by @kormide in #290
Full Changelog: v2.2.0...v2.3.0
v2.2.0
Using Bzlmod with Bazel 6:
Add to your MODULE.bazel file:
bazel_dep(name = "aspect_rules_swc", version = "2.2.0")Using WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_swc",
sha256 = "6eaa7a3051d3b877dc91b3f57e1723eeddbd1cf15cde0b0e37c94071ba17700f",
strip_prefix = "rules_swc-2.2.0",
url = "https://github.com/aspect-build/rules_swc/releases/download/v2.2.0/rules_swc-v2.2.0.tar.gz",
)
###################
# rules_swc setup #
###################
# Fetches the rules_swc dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@aspect_rules_swc//swc:dependencies.bzl", "rules_swc_dependencies")
rules_swc_dependencies()
# Fetches a SWC cli from
# https://github.com/swc-project/swc/releases
# If you'd rather compile it from source, you can use rules_rust, fetch the project,
# then register the toolchain yourself. (Note, this is not yet documented)
load("@aspect_rules_swc//swc:repositories.bzl", "LATEST_SWC_VERSION", "swc_register_toolchains")
swc_register_toolchains(
name = "swc",
swc_version = LATEST_SWC_VERSION,
)What's Changed
New Contributors
Full Changelog: v2.1.0...v2.2.0
v2.1.0
Using Bzlmod with Bazel 6:
Add to your MODULE.bazel file:
bazel_dep(name = "aspect_rules_swc", version = "2.1.0")Using WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_swc",
sha256 = "e1d22e74ba10eb12b74a6a9ef5e95f7e29bea260448c398fb4f58338562e1426",
strip_prefix = "rules_swc-2.1.0",
url = "https://github.com/aspect-build/rules_swc/releases/download/v2.1.0/rules_swc-v2.1.0.tar.gz",
)
###################
# rules_swc setup #
###################
# Fetches the rules_swc dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@aspect_rules_swc//swc:dependencies.bzl", "rules_swc_dependencies")
rules_swc_dependencies()
# Fetches a SWC cli from
# https://github.com/swc-project/swc/releases
# If you'd rather compile it from source, you can use rules_rust, fetch the project,
# then register the toolchain yourself. (Note, this is not yet documented)
load("@aspect_rules_swc//swc:repositories.bzl", "LATEST_SWC_VERSION", "swc_register_toolchains")
swc_register_toolchains(
name = "swc",
swc_version = LATEST_SWC_VERSION,
)What's Changed
- fix: consider root dir for source maps paths by @randrei-adobe in #277
- perf: align utils funcs with latest from rules_ts by @jbedard in #278
- chore: mirror external releases by @jbedard in #280
- feat: upgrade default swc version to v1.7.40 by @jbedard in #281
- refactor: align js file extension logic with rules_ts by @jbedard in #286
New Contributors
- @randrei-adobe made their first contribution in #277
Full Changelog: v2.0.1...v2.1.0