Releases: farm-fe/farm
Releases · farm-fe/farm
@farmfe/[email protected]
@farmfe/[email protected]
@farmfe/[email protected]
@farmfe/[email protected]
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
- 7b0c4ff: Allow objectKeys for proxy getter
- ce30b78: fix: When clearScreen is false, clear fails
- b18ca7f: 1. disable external hosting when use require 2. improve NestJs template 3. add nativeTopLevelAwait option
- 385e5b2: feat: normalize usage of rust plugins and js plugins
- 1108158: disable swc remove import
- 89c4030: Support disable overlay
- Updated dependencies [2cc62c4]
- Updated dependencies [966e250]
- Updated dependencies [2cc62c4]
- Updated dependencies [89c4030]
- Updated dependencies [de2c482]
- @farmfe/[email protected]
- @farmfe/[email protected]
- @farmfe/[email protected]
v1.2.8: fix: put http-proxy into production dependency (#1532)
* 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)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@farmfe/[email protected]
Patch Changes
- 83d05d5: fix: put http-proxy into production dependency
@farmfe/[email protected]
Patch Changes
- 3cf0cdd: use http-proxy as koa proxy middleware
v1.2.6: Version Packages (#1502)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
v0.0.10: Version Packages (#1502)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>