Skip to content

Releases: farm-fe/farm

@farmfe/[email protected]

15 Jul 02:39
fc4030c
Compare
Choose a tag to compare

Patch Changes

@farmfe/[email protected]

15 Jul 02:39
fc4030c
Compare
Choose a tag to compare

Patch Changes

@farmfe/[email protected]

15 Jul 02:39
fc4030c
Compare
Choose a tag to compare

Patch Changes

@farmfe/[email protected]

15 Jul 02:39
fc4030c
Compare
Choose a tag to compare

Farm 1.3.0 released! Key features:

  • Bundle size optimization: 200KB size decreased in the benchmark(900KB -> 700KB )
  • Upgrade version of rust toolchain and swc
  • Normalize Usage of Js Plugins and Rust Plugins
  • Fix a few bugs

Bundle Size Optimization

200KB size decreased in the benchmark(900KB -> 700KB ). Farm optimize the bundle render in 1.3.0, a lot of module helper code are removed.

Upgrade Version of SWC and Toolchain

  • Update toolchain to nightly-2024-04-16
  • update swc_core to 0.96

Note that If you are rust plugins authors, you must update the toolchain to nightly-2024-04-16 and rebuild, republish your rust plugin to ensure it works with latest Farm

Normalize Usage Of Rust Plugins And Js Plugins

Now you can use rust plugin and js plugin the same:

import { defineConfig } from "@farmfe/core";
import react from '@farmfe/plugin-react';
import farmPlugin from 'farm-plugin-xxx';

export default defineConfig({
  compilation: {
    input: {
      index: "./index.html",
    },
    persistentCache: false,
    progress: false,
  },
  plugins: [
    react({ runtime: "automatic" }),
    farmPlugin()
  ],
});

Previous rust plugin syntax(plugins: ['@farmfe/plugin-runtime']) is still supported.

Detailed Changes

Minor Changes

  • 966e250: Optimize production size

Patch Changes

v1.2.8: fix: put http-proxy into production dependency (#1532)

05 Jul 10:26
75ccd68
Compare
Choose a tag to compare
* fix: put http-proxy into production dependency

* fix: put http-proxy into production dependency

* chore: executable npx changeset version && pnpm i

v1.2.7: Version Packages (#1529)

05 Jul 09:06
e0816c2
Compare
Choose a tag to compare
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

@farmfe/[email protected]

05 Jul 10:27
75ccd68
Compare
Choose a tag to compare

Patch Changes

  • 83d05d5: fix: put http-proxy into production dependency

@farmfe/[email protected]

05 Jul 09:07
e0816c2
Compare
Choose a tag to compare

Patch Changes

  • 3cf0cdd: use http-proxy as koa proxy middleware

v1.2.6: Version Packages (#1502)

03 Jul 14:42
c8579d8
Compare
Choose a tag to compare
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

v0.0.10: Version Packages (#1502)

03 Jul 14:42
c8579d8
Compare
Choose a tag to compare
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>