Releases: kczulko/rules_elm
Releases · kczulko/rules_elm
v1.0.1
Using bzlmod with Bazel 6 or later:
-
Add
common --enable_bzlmod
to.bazelrc
. -
Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_elm", version = "1.0.1")
# Declare external elm dependencies, for example:
elm = use_extension("@rules_elm//elm:extensions.bzl", "elm")
elm.repository(
name = "elm_package_elm_core",
sha256 = "6e37b11c88c89a68d19d0c7625f1ef39ed70c59e443def95e4de98d6748c80a7",
strip_prefix = "core-1.0.5",
urls = ["https://github.com/elm/core/archive/1.0.5.tar.gz"],
)
use_repo(elm, "elm_package_elm_core")
Using WORKSPACE:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_elm",
sha256 = "cc113f718cbe04769bad65c29592d402367393480c5e8e2b7c82652fa8c1fe61",
strip_prefix = "rules_elm-1.0.1",
urls = "https://github.com/kczulko/rules_elm/releases/download/v1.0.1/rules_elm-1.0.1.tar.gz",
)
load("@rules_elm//elm:dependencies.bzl", "elm_dependencies")
elm_dependencies()
load("@aspect_rules_js//js:repositories.bzl", "rules_js_dependencies")
rules_js_dependencies() # rules_elm depends on rules_js
load("@rules_python//python:repositories.bzl", "py_repositories")
py_repositories() # rules_elm depends on rules_python
load("@rules_elm//elm:repositories.bzl", "elm_register_toolchains")
elm_register_toolchains()
load("@rules_elm_npm//:repositories.bzl", elm_npm_repositories = "npm_repositories")
elm_npm_repositories()
Full Changelog: v1.0.0...v1.0.1
v1.0.0
Using bzlmod with Bazel 6 or later:
-
Add
common --enable_bzlmod
to.bazelrc
. -
Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_elm", version = "1.0.0")
# Declare external elm dependencies, for example:
elm = use_extension("@rules_elm//elm:extensions.bzl", "elm")
elm.repository(
name = "elm_package_elm_core",
sha256 = "6e37b11c88c89a68d19d0c7625f1ef39ed70c59e443def95e4de98d6748c80a7",
strip_prefix = "core-1.0.5",
urls = ["https://github.com/elm/core/archive/1.0.5.tar.gz"],
)
use_repo(elm, "elm_package_elm_core")
Using WORKSPACE:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_elm",
sha256 = "458463a9784ffc26af9bdb494b0e4e80e4d85cd184ddf3685b0264868b0c27ca",
strip_prefix = "rules_elm-1.0.0",
urls = "https://github.com/kczulko/rules_elm/releases/download/v1.0.0/rules_elm-1.0.0.tar.gz",
)
load("@rules_elm//elm:dependencies.bzl", "elm_dependencies")
elm_dependencies()
load("@aspect_rules_js//js:repositories.bzl", "rules_js_dependencies")
rules_js_dependencies() # rules_elm depends on rules_js
load("@rules_python//python:repositories.bzl", "py_repositories")
py_repositories() # rules_elm depends on rules_python
load("@rules_elm//elm:repositories.bzl", "elm_register_toolchains")
elm_register_toolchains()
load("@rules_elm_npm//:repositories.bzl", elm_npm_repositories = "npm_repositories")
elm_npm_repositories()
What's Changed
- Upgrade to elm 0.19.1 by @kczulko in #18
- Add initial bzlmod extension impl for elm_repository by @kczulko in #24
- Update README.md by @kczulko in #27
- Update README.md by @kczulko in #31
- Use rules_js stable release 2.0.0 by @kczulko in #33
- Use Parser.js module within test-finder by @kczulko in #34
- Use toolchains repo instead of separate toolchains registration by @kczulko in #35
- Extract sys.argv to val by @kczulko in #36
- Rename com_github_edschouten_rules_elm -> rules_elm by @kczulko in #40
- no-sandbox tag for bazel7 integration tests fix by @kczulko in #41
- Add legacy workspace test case. by @kczulko in #42
- Add legacy workspace testcases to examples/elm-proto by @kczulko in #44
- legacy workspace test case for elm-test by @kczulko in #45
- Legacy workspace test case for elm-todomvc by @kczulko in #46
- Update README.md by @kczulko in #47
- bcr config added by @kczulko in #48
- Add release workflow by @kczulko in #49
- fix: no dep on release job by @kczulko in #50
- fix: chmod +x by @kczulko in #51
- fix: bcr url by @kczulko in #52
- Fix bcr presubmit job by @kczulko in #53
- chore: #25 fix and def.bzl renamed to defs.bzl by @kczulko in #54
- chore: attempt to improve github ci caching by @kczulko in #55
- chore: get rid of "python" in flavor of rules_python by @kczulko in #56
- chore: elm_toolchain_macro removal by @kczulko in #57
- chore: do not call python when invoking elm_repository rule by @kczulko in #58
- fix: use python instead gzip+chmod by @kczulko in #59
Full Changelog: v0.4...v1.0.0
v1.0.0-rc1
Using bzlmod with Bazel 6 or later:
-
Add
common --enable_bzlmod
to.bazelrc
. -
Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_elm", version = "1.0.0-rc1")
# Declare external elm dependencies, for example:
elm = use_extension("@rules_elm//elm:extensions.bzl", "elm")
elm.repository(
name = "elm_package_elm_core",
sha256 = "6e37b11c88c89a68d19d0c7625f1ef39ed70c59e443def95e4de98d6748c80a7",
strip_prefix = "core-1.0.5",
urls = ["https://github.com/elm/core/archive/1.0.5.tar.gz"],
)
use_repo(elm, "elm_package_elm_core")
Using WORKSPACE:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_elm",
sha256 = "99cc122e39f24bd0ce65550aae2af481f6336df6577fd3ae98f6faa50dc67972",
strip_prefix = "rules_elm-1.0.0-rc1",
urls = "https://github.com/kczulko/rules_elm/releases/download/v1.0.0-rc1/rules_elm-1.0.0-rc1.tar.gz",
)
load("@rules_elm//elm:dependencies.bzl", "elm_dependencies")
elm_dependencies()
load("@aspect_rules_js//js:repositories.bzl", "rules_js_dependencies")
rules_js_dependencies() # rules_elm depends on rules_js
load("@rules_elm//elm:repositories.bzl", "elm_register_toolchains")
elm_register_toolchains()
load("@rules_elm_npm//:repositories.bzl", elm_npm_repositories = "npm_repositories")
elm_npm_repositories()
What's Changed
- Upgrade to elm 0.19.1 by @kczulko in #18
- Add initial bzlmod extension impl for elm_repository by @kczulko in #24
- Update README.md by @kczulko in #27
- Update README.md by @kczulko in #31
- Use rules_js stable release 2.0.0 by @kczulko in #33
- Use Parser.js module within test-finder by @kczulko in #34
- Use toolchains repo instead of separate toolchains registration by @kczulko in #35
- Extract sys.argv to val by @kczulko in #36
- Rename com_github_edschouten_rules_elm -> rules_elm by @kczulko in #40
- no-sandbox tag for bazel7 integration tests fix by @kczulko in #41
- Add legacy workspace test case. by @kczulko in #42
- Add legacy workspace testcases to examples/elm-proto by @kczulko in #44
- legacy workspace test case for elm-test by @kczulko in #45
- Legacy workspace test case for elm-todomvc by @kczulko in #46
- Update README.md by @kczulko in #47
- bcr config added by @kczulko in #48
- Add release workflow by @kczulko in #49
- fix: no dep on release job by @kczulko in #50
- fix: chmod +x by @kczulko in #51
- fix: bcr url by @kczulko in #52
Full Changelog: v0.4...v1.0.0-rc1
v0.4
Significant note: This is the last release before major code refactoring happened within #18
What's Changed
- Fix bazel errors by @mksmtn in #5
- Remove the dependency on
@nodejs//:node_runfiles
by @aherrmann in #6 - Add support for generated source files by @aherrmann in #7
- Resolves #11 by @VignetteTones in #12
- Make elm_test::node attribute public. by @kczulko-da in #13
- Add elm_proto_library simple test. Additional support for bazel6 by @kczulko in #15
- Attempt to add macos to ci by @kczulko in #16
- Avoid name clashes when Main module is used as a test dependency. by @kczulko in #17
New Contributors
- @mksmtn made their first contribution in #5
- @aherrmann made their first contribution in #6
- @VignetteTones made their first contribution in #12
- @kczulko-da made their first contribution in #13
Full Changelog: v0.3...v0.4
v0.3
- Suppress Python stack traces in error output.
- Fix the build of tests when
-c opt
is passed in. - Add integrated support for invoking UglifyJS properly.
v0.2
- Make
elm_proto_library()
functional. - Let
elm_repository()
useelm_library()
instead ofelm_package()
where possible. This disables Elm's package SAT solving, which doesn't print user-friendly errors in our case. - Add
patches
toelm_repository()
to permit application of local patches to Elm packages. - Make
elm_binary()
respect the compilation mode, allowing you to build with the time traveling debugger enabled.
v0.1
Initial release.