Skip to content
Merged
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions src/content/changelogs-next/12-22-2024-builds.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: Enhance Builds with Build Caching and Watch Paths
description: Speed up your builds with build caching and streamline your monorepo workflows with build watch paths in Workers Builds (beta).
products:
- workers
date: 2024-12-22
---

![Build caching settings](~/assets/images/workers/platform/ci-cd/workers-build-caching.png)
![Build watch path settings](~/assets/images/workers/platform/ci-cd/workers-build-watch-paths.png)

We've added new features to [**Workers Builds**](/workers/ci-cd/builds/), the integrated CI/CD system for Workers (currently in beta), to improve build times and enhance monorepo support.

- **[Build Caching:](/workers/ci-cd/builds/build-caching/)** Cache dependencies and build outputs between builds with a shared project-wide cache, ensuring faster builds for the entire team.

- **[Build Watch Paths:](/workers/ci-cd/builds/build-watch-paths/)** Define paths to include or exclude from the build process, ideal for [monorepos](/workers/ci-cd/builds/advanced-setups/#monorepos) to target only the files that need to be rebuilt per Workers project.

Both features are now available for Workers projects with Builds enabled. To get started, select your [Worker on the Cloudflare dashboard](https://dash.cloudflare.com) then go to **Settings > Builds**, and connect a GitHub or GitLab repository. Once connected, you'll see options to configure Build Cache and Build Watch Paths settings.
18 changes: 2 additions & 16 deletions src/pages/changelog-next/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ notes.sort((a, b) => b.data.date.getTime() - a.data.date.getTime());
</div>
<Steps>
<ol class="!mt-0" data-products={productIds}>
<li>
<li class="mb-16">
<div>
<a
href={`/changelog-next/${entry.slug}/`}
class="no-underline hover:underline"
>
<h3 class="mb-4 !leading-[28px] text-black">
<h3 class="mb-4 !leading-[36px] text-black">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spacing was a bit tight, added some more line space

{entry.data.title}
</h3>
</a>
Expand Down Expand Up @@ -125,20 +125,6 @@ notes.sort((a, b) => b.data.date.getTime() - a.data.date.getTime());
margin-top: 1.5rem;
}

.sl-markdown-content
li
> :last-child:not(li, ul, ol):not(
a,
strong,
em,
del,
span,
input,
:where(.not-content *)
) {
margin-bottom: 4rem;
}

.sl-markdown-content {
margin-top: 0px !important;
}
Expand Down
Loading