Changelog
FaasJS use Semantic Versioning.
Unreleased
-
faasjs- [Break] Rename application API entry files from
.func.tsto.api.ts, update fallback routing filenames toindex.api.tsanddefault.api.ts, and makeexport default defineApi(...)the canonical authoring pattern across scaffolds, templates, and docs. - [Feature] Add API-first migration aliases including
loadApiHandler,ApiTester,InferFaasApi,parseApiFilenameFromStack, andisTypegenInputFile, while keepingloadFunc,FuncWarper,InferFaasFunc,parseFuncFilenameFromStack, andisTypegenSourceFileas deprecated compatibility aliases for the migration release.
- [Break] Rename application API entry files from
-
@faasjs/core- [Break] Stop auto loading
.envduringServerinitialization. Load env files explicitly in your entrypoint when needed.
- [Break] Stop auto loading
-
@faasjs/dev- [Break] Stop auto loading
.envforfaas runandfaas types. Scripts that depend on dotenv files must load them explicitly.
- [Break] Stop auto loading
-
@faasjs/node-utils- [Break] Remove the
loadEnvFileIfExistshelper. Use Node's built-inloadEnvFile()directly in bootstrap code instead.
- [Break] Remove the
-
create-faas-app- [Feature] Scaffold
server.tsto call Node's built-inloadEnvFile()explicitly and warn without blocking startup when loading fails.
- [Feature] Scaffold
-
@faasjs/pg- [Break] Rename the
@faasjs/pgCLI command fromtyped-pgtofaasjs-pg.
- [Break] Rename the
-
@faasjs/pg- [Feature] Bring the former
typed-pgpackage into the FaasJS monorepo as@faasjs/pg, including the PostgreSQL query builder, schema builder, migrator, andtyped-pgCLI.
- [Feature] Bring the former
-
@faasjs/pg-dev- [Feature] Bring the former
typed-pg-devpackage into the FaasJS monorepo as@faasjs/pg-dev, includingTypedPgVitestPluginand the PGlite-backed Vitest test helpers.
- [Feature] Bring the former
-
@faasjs/core- [Fix] Block static file and server route traversal outside configured roots before loading files from user-controlled paths.
- [Fix] Return HTTP 400 with an explicit invalid-JSON error when an
application/jsonrequest body cannot be parsed, instead of silently falling back to partial params handling. - [Fix] Stop documenting legacy no-op
HttpConfigroute and deploy keys in@faasjs/core, and keep the public HTTP plugin config focused on the fields the current runtime actually consumes. - [Fix] Stop silently generating ephemeral HTTP session secrets when
cookie.session.secretis missing, and fail session initialization explicitly so misconfiguration shows up before restart-driven logouts. - [Fix] Only call
Server.middleware()'snext()callback when FaasJS leaves the request unhandled, avoiding duplicate dispatch after FaasJS has already written a response.
-
@faasjs/node-utils- [Feature] Add
isPathInsideRootto normalize root containment checks, including symlink-aware validation for root-scoped file access.
- [Feature] Add
-
create-faas-app- [Feature] Generate a unique random
cookie.session.secretin scaffoldedsrc/faas.yamlinstead of shipping the shared placeholder value.
- [Feature] Generate a unique random
-
@faasjs/react- [Break] Remove the
@faasjs/reactrouting and bootstrap helpers, including therouting,auto-pages, andclient-entrysubpath exports.
- [Break] Remove the
-
faasjs- [Break] Require jsdom/browser tests to use the
.ui.test.*suffix, rename the shared UI test setup file tovitest.ui.setup.ts, and update the related contributor/testing docs. - [Feature] Reorganize the docs site into guidelines and specs, publish matching English and Chinese pages, and add documentation-sync guidance for contributors.
- [Fix] Exclude
packages/**/template/**from test coverage collection.
- [Break] Require jsdom/browser tests to use the
-
@faasjs/react- [Feature] Refactor
useFaasanduseFaasStreamonto shared request lifecycle logic to improve retry, abort, reload, debounce/skip handling, and error management.
- [Feature] Refactor
-
@faasjs/dev- [Feature] Let
FuncWarper.JSONhandlerinferevent.pathfrom the wrapped function filename by default, and document thatpathmaps to the request URL pathname without the query string while still allowing an explicitpathoverride in tests.
- [Feature] Let
-
[Break] Remove cjs exports.
-
@faasjs/core- [Break] Remove
useFunc,usePlugin, anduseHttp. Create functions withnew Func({ plugins, handler })ordefineApi(...)instead, and attach HTTP support withnew Http(...). - [Break] Stop setting and logging the legacy
FaasModeenvironment variable duringServerinitialization. - [Feature] Support loading plugins from
file://module types when resolving named class exports indefineApi.
- [Break] Remove
-
@faasjs/node-utils- [Break] Remove the legacy
FaasMode=remotelogger behavior and rely on terminal capability detection by default, while still allowingFaasLogMode,FORCE_COLOR, andNO_COLORto override the output mode. - [Feature] Resolve relative
file://plugintypevalues infaas.yamlfrom the directory of thefaas.yamlfile. - [Feature] Export
parseYamlas a public API for parsing the supportedfaas.yamlYAML subset in custom Node.js tooling.
- [Break] Remove the legacy
@faasjs/dev- [Feature] Add
faas run <file>to execute local TypeScript files with@faasjs/node-utils/register-hookspreloaded and auto load.env.
- [Feature] Add
-
@faasjs/node-utils- [Break] Split generic helpers out of
@faasjs/node-utilsinto@faasjs/utils, and stop exportingdeepMerge,streamToString,streamToObject,stringToStream, andobjectToStreamfrom@faasjs/node-utils.
- [Break] Split generic helpers out of
-
@faasjs/utils- [Feature] Add a new cross-runtime utility package and export
deepMerge,streamToString,streamToObject,stringToStream, andobjectToStream.
- [Feature] Add a new cross-runtime utility package and export
-
@faasjs/core- [Break] Remove
FaasPluginEventMapand relatedInferPluginEventutilities, and move HTTP request helpers from theHttpinstance to injected handler fields viaDefineApiInject. - [Feature] Export
HttpResponseBody,HttpSetBody,HttpSetContentType,HttpSetHeader, andHttpSetStatusCodefor typed HTTP handler injections. - [Fix] Isolate HTTP request state per invocation so concurrent requests do not leak params, cookies, sessions, or response mutations.
- [Break] Remove
-
@faasjs/dev- [Feature] Add test helpers back to
@faasjs/dev, includingtest,FuncWarper, typedJSONhandler, cookie/session mocking, and compressedReadableStreamdecoding.
- [Feature] Add test helpers back to
-
@faasjs/react- [Break] Remove
Formcomponent.
- [Break] Remove
-
@faasjs/ant-design- [Break] Replace
Form's oldsubmit.torequest API with a dedicatedfaasprop, and keepsubmitfocused on built-in submit button options such astextandbuttonProps. - [Feature] Add
FormFaasPropswithtransformValues, functionalparams, andonSuccess/onError/onFinallylifecycle hooks for the built-in submit flow.
- [Break] Replace
-
@faasjs/types- [Fix] Fix response type.
-
@faasjs/dev- [Break] Remove built-in
faas lintcommand for now because the Vite lint toolchain is still unstable.
- [Break] Remove built-in
-
@faasjs/ant-design- [Fix] Fix
useApptype.
- [Fix] Fix
-
faasjs- [Break] Remove built-in Knex support, including
@faasjs/coreKnex APIs,faas knexCLI, Knex-based examples, scaffolded migration defaults, and related active docs/snippets.
- [Break] Remove built-in Knex support, including
-
@faasjs/node-utils- [Fix] Resolve relative imports with existing suffixes to
.tsfiles when the exact target is missing.
- [Fix] Resolve relative imports with existing suffixes to
-
@faasjs/dev- [Feature] Add TypeScript type checking to
faas lintviatsc --noEmit. - [Feature] Add oxfmt to
faas lint.
- [Feature] Add TypeScript type checking to
-
@faasjs/node-utils- [Feature] Add
registerNodeModuleHooksto install module-resolve hooks before startup imports. - [Feature] Add
@faasjs/node-utils/register-hookspreload entry fornode --import.
- [Feature] Add
-
create-faas-app- [Feature] Scaffold
startscript withnode --import @faasjs/node-utils/register-hooks server.ts.
- [Feature] Scaffold
@faasjs/core- [Fix] Fix knex type.
-
@faasjs/core- [Feature] Add
DefineApiInjectso plugins can augmentdefineApihandler data fields. - [Feature] Add typed
cookieandsessionfields todefineApihandler data. - [Feature] Use tsconfig-aware runtime loading in
Serverto support path aliases and extensionless imports.
- [Feature] Add
-
@faasjs/dev- [Break]
faas typesnow generates API type declarations only (noFaasEventsoutput). - [Feature] Restart Faas server on source changes in Vite with module-version cache busting.
- [Feature] Improve
FuncWarpergenerics soJSONhandlerbody infers from function params.
- [Break]
-
@faasjs/node-utils- [Feature] Add
LoadPackageOptions(root,tsconfigPath,version) toloadPackage. - [Feature] Add tsconfig-aware ESM resolving, extensionless import support, and version-token cache busting in
loadPackage.
- [Feature] Add
-
@faasjs/types- [Break] Remove
FaasEvents,FaasEventPaths, andFaasEvent.
- [Break] Remove
-
@faasjs/core- [Feature] Add
CronJobfeature. - [Feature] Auto mount CronJob when server listen.
- [Feature] Auto load
.envwhen initializingServer.
- [Feature] Add
-
@faasjs/dev- [Feature] Auto load
.envforfaas types,faas knex, andfaas lintcommands.
- [Feature] Auto load
-
@faasjs/node-utils- [Feature] Add
loadEnvFileIfExistshelper for loading.envfrom a target root.
- [Feature] Add
-
faasjs- [Break] Merge
@faasjs/lintto@faasjs/dev. - [Break] Remove
@faasjs/request. - [Break] Merge
@faasjs/func,@faasjs/http,@faasjs/knexto@faasjs/core. - [Break] Merge
@faasjs/loggerto@faasjs/node-utils. - [Break] Merge
@faasjs/browserto@faasjs/react.
- [Break] Merge
-
@faasjs/dev- [Feature] All cli tools be merged in
faascli. - [Feature] New linter and formatter based on
oxlint.
- [Feature] All cli tools be merged in
-
@faasjs/core- [Break] Rename
defineFunctodefineApi. - [Break]
defineApirequiredhttpconfig.
- [Break] Rename
@faasjs/knex- [Feature] Add
KnexSchemafor db migration.
- [Feature] Add
-
faasjs- [Break] Remove
@faasjs/loadand@faasjs/deep_merge, and merge their APIs into@faasjs/node-utils. - [Break] Remove
faasjs, all tsconfig files moved to@faasjs/types.
- [Break] Remove
-
@faasjs/node-utils- [Feature] Add Node-side utility package with
deepMerge, load helpers, and stream helpers (streamToText,streamToObject,streamToString).
- [Feature] Add Node-side utility package with
-
@faasjs/dev- [Break] Remove PGlite helpers (
createPgliteKnex,mountFaasKnex,unmountFaasKnex). - [Feature] Re-export stream helpers from
@faasjs/node-utils.
- [Break] Remove PGlite helpers (
-
@faasjs/knex- [Break] Move PGlite helpers from
@faasjs/devto@faasjs/knex. - [Break]
client: pgliteonly acceptsconnectionas string (when provided) and rejectsconnection_*env fragments. - [Feature] Add native
client: pglitesupport. - [Feature] Default
client: pgliteto in-memory whenconnectionis missing, ignorepool, and create parent directories automatically for path connections.
- [Break] Move PGlite helpers from
-
create-faas-app- [Feature] Scaffold knex defaults with
production: pg,development: pglite(persisted at./.pglite_dev), andtesting: pglitein-memory.
- [Feature] Scaffold knex defaults with
-
@faasjs/dev- [Break] Read local server config from
faas.yaml(<staging>.server) and remove customviteFaasJsServeroptions. - [Break] Remove
faas typesCLI options--src,--output, and--staging. - [Feature] Add
generateFaasTypesandfaas typesCLI to generate action/event types from.func.tsroutes andfaas.yaml. - [Feature] Add
typesoption toviteFaasJsServerwith startup generation and watched regeneration for.func.tsandfaas.yaml. - [Fix] Fix knex exporter.
- [Break] Read local server config from
-
@faasjs/load- [Feature] Validate
faas.yamlkey structure when loading config and reject removedtypesconfig.
- [Feature] Validate
-
create-faas-app- [Feature] Add default
serversection to scaffoldedsrc/faas.yaml.
- [Feature] Add default
-
@faasjs/func- [Feature] Add
FaasPluginEventMapandInferPluginEventtype utilities for plugin-driven event inference.
- [Feature] Add
-
@faasjs/http- [Feature] Export
SessionContenttype. - [Feature] Register
httpplugin event shape viaFaasPluginEventMapaugmentation.
- [Feature] Export
-
@faasjs/types- [Feature] Add
FaasEvents,FaasEventPaths, andFaasEventfor event type inference.
- [Feature] Add
-
@faasjs/react- [Feature] Export
FormInputand related helper types (FormInputProps,InferFormInputProps,InferRuleOption,StateSetters,StatesWithSetters).
- [Feature] Export
-
@faasjs/request- [Feature] Export
Mocktype forsetMockhandler signatures.
- [Feature] Export
-
faasjs- [Break] Remove
@faasjs/cloud_functionpackage. - [Break] Rename
@faasjs/viteto@faasjs/dev. - [Break] Remove
@faasjs/testpackage and merge it into@faasjs/dev.
- [Break] Remove
-
@faasjs/func- [Feature] Add
defineFuncto define business logic directly and auto-load plugins fromfunc.config.plugins. - [Fix] Normalize
.func.tsfilename parsing from stack.
- [Feature] Add
-
@faasjs/dev- [Break] Rename
@faasjs/viteto@faasjs/dev. - [Feature] Add PGlite helpers for testing and development database setup.
- [Feature] Merge testing helpers (
test,FuncWarper,streamToString) from@faasjs/test.
- [Break] Rename
-
create-faas-app- [Break] Replace scaffold dependency from
@faasjs/viteto@faasjs/dev. - [Break] Replace scaffold dependency from
@faasjs/testto@faasjs/dev.
- [Break] Replace scaffold dependency from
-
@faasjs/http- [Break] Remove
useHttpFunc.
- [Break] Remove
-
faasjs- [Break] Remove
@faasjs/clipackage.
- [Break] Remove
-
create-faas-app- [Break] Switch scaffold to SPA-first structure with
vite.config.ts,server.tsandsrc/pages/**. - [Feature] Scaffold example page, API and test files aligned with zero-mapping route convention.
- [Break] Switch scaffold to SPA-first structure with
-
@faasjs/vite- [Break] Remove
commandandportoptions fromviteFaasJsServer, keeprootandbase. - [Feature] Run Faas API in-process with
@faasjs/serverduring Vite development. - [Fix] Normalize base-path routing before handing requests to FaasJS server.
- [Break] Remove
-
faasjs- [Break] Remove
@faasjs/redispackage.
- [Break] Remove
-
@faasjs/browser- [Feature] Support stream response with
streamoption. - [Feature]
setMocksupport response as argument directly.
- [Feature] Support stream response with
-
@faasjs/react- [Break] Remove
whyDidYouRenderfrom components. - [Feature] Add
useFaasStreamhook to handle streaming response.
- [Break] Remove
-
@faasjs/ant-design- [Break] Remove
whyDidYouRenderfrom components.
- [Break] Remove
-
@faasjs/http- [Break] Replace 201 status code with 204 for empty response body.
-
@faasjs/logger- [Fix] Disable Transport in vitest.
-
@faasjs/vite- [Fix] Disable in vitest.
-
@faasjs/test- [Feature] Export
streamToString.
- [Feature] Export
-
@faasjs/server- [Refactor] Simplify Response body handling logic.
-
@faasjs/http- [Feature] Add ReadableStream support to response body.
-
@faasjs/test- [Feature] Support auto read stream and decompress for http response.
-
faasjs- [Break] Remove
@faasjs/ts-transformpackage. - [Break] Remove Bun support from documentation and examples.
- [Break] Remove
images/bunDocker image.
- [Break] Remove
-
@faasjs/types- [Break] Remove
ReactServerActiontype and related Server Actions support. - [Fix] Update biome ignore comment for empty interface.
- [Fix] Remove Server Actions tests.
- [Break] Remove
-
@faasjs/browser- [Break] Remove Server Actions handling logic.
-
@faasjs/react- [Break] Remove Server Actions support from feature list.
- [Break] Upgrade react version to 19.
- [Feature] Export
FaasActionUnionTypetype. - [Refactor] Simplify
FaasReactClientInstancetype definitions usingtypeof. - [Fix] Update type definitions to use
FaasActionUnionTypeconsistently. - [Fix] Change
reloadreturn type fromResponse<T>toFaasData<T>.
-
@faasjs/ant-design- [Fix] Upgrade antd version to 6.
- [Break] Remove
StyleProvidersupport fromAppcomponent. - [Fix] Fix type casting in
Descriptioncomponent.
-
@faasjs/server- [Break] Remove
.func.tsxfile support. - [Fix] Update documentation to remove tsx references.
- [Break] Remove
-
@faasjs/load- [Break] Remove
tsxfile support.
- [Break] Remove
-
@faasjs/cli- [Fix] Lock commander version to >=14.0.0.
-
create-faas-app- [Fix] Lock commander version to >=14.0.0.
-
@faasjs/logger- [Fix] Allow message's type to be unknown.
-
@faasjs/vite- [Fix] Fix server base path.
@faasjs/ant-design- [Fix] Upgrade antd to 6.x.
@faasjs/react- [Fix] Fix
equalcompare function.
- [Fix] Fix
@faasjs/lint- [Fix] Fix
@faasjs/lintto use@biomejs/biomev2.
- [Fix] Fix
-
@faasjs/jest- [Break] Remove
@faasjs/jest.
- [Break] Remove
-
@faasjs/next- [Break] Remove
@faasjs/next. - [Feature] Add next.js example to examples/nextjs.
- [Break] Remove
-
@faasjs/vite- [Feature] New
@faasjs/vitefor improved development experience and integration with Vite.
- [Feature] New
-
@faasjs/server- [Break] All header names are lowercase.
- [Break] 3rd of middleware argument changes to
MiddlewareContext. - [Feature] Enhanced port binding notifications.
- [Feature] Add
beforeHandletoServer. - [Feature] The
staticHandler'snotFoundoption supports string path as fallback path.
-
@faasjs/cli- [Feature] Add
faas devcommand to start a development server.
- [Feature] Add
-
@faasjs/cloud_function- [Fix] Support
export const func = useFunc(...)syntax.
- [Fix] Support
@faasjs/ant-design- [Feature] Using Ant Design's message component as the default error notification when API calls fail, providing a consistent and user-friendly error feedback mechanism.
- [Fix] Fix styleProviderProps defaults.
@faasjs/server- [Fix] Fix
middlewareto handle option request.
- [Fix] Fix
-
@faasjs/server- [Feature] Add
middlewaretoServer.
- [Feature] Add
-
faasjs- [Fix] Fix
tsconfig.react.json.
- [Fix] Fix
-
@faasjs/react- [Fix] Fix reload error.
@faasjs/server- [Feature] Add
getRouteFilesto get all route files.
- [Feature] Add
-
Remove unused dependencies: lodash, typescript.
-
@faasjs/logger- [Feature] Add
FaasLogTransportenvironment variable to enable/disable transports.
- [Feature] Add
@faasjs/logger- [Feature] Added browser compatibility, allowing the logger to be used directly in browser environments.
-
@faasjs/func- [Feature] Support
export const func = useFunc(...)syntax.
- [Feature] Support
-
@faasjs/load- [Feature]
loadPackagesupportdefaultNames.
- [Feature]
@faasjs/ant-design- [Feature] Replace upperFirst with idToTitle for title generation consistency.
- [Feature] Export
FaasDataWrapperReffrom@faasjs/react. - [Fix] Use nullish coalescing for title assignment in Description, Table, and Tabs components.
@faasjs/logger- [Feature] Add
disableTransport. - [Fix] Add length limit to formatter.
- [Feature] Add
-
@faasjs/types,@faasjs/browser,@faasjs/reactand@faasjs/ant-design- [Feature] Add
FaasActionUnionTypetype and changeFaasActionto infer action's type.
- [Feature] Add
-
@faasjs/reactand@faasjs/ant-design- [Feature] Add
reftoFaasDataWrapper.
- [Feature] Add
-
@faasjs/ant-design- [Feature] Add
useThemeToken. - [Feature] Don't render table and description column when children or render is null.
- [Fix] Fix
tableRender. - [Fix] Fix
UnionFaasItemProps.
- [Feature] Add
@faasjs/ant-design- [Fix] Fix Form's
hiddenbug.
- [Fix] Fix Form's
@faasjs/ant-design- [Fix] Fix Form's
ifbug.
- [Fix] Fix Form's
-
faasjs- [Feature] tsconfig templates add
exactOptionalPropertyTypes,strictNullChecksandnoEmit.
- [Feature] tsconfig templates add
-
@faasjs/server- [Feature] Add
stripPrefixtostaticHandler. - [Feature]
cachecan be a string as cacheKey tostaticHandler.
- [Feature] Add
-
@faasjs/lint- [Feature] Change
useExhaustiveDependenciestowarnby default.
- [Feature] Change
-
faasjs- [Feature] Add tsconfig templates, you can use
faasjs/tsconfig.base,faasjs/tsconfig.reactandfaasjs/tsconfig.buildin your project's tsconfig.
- [Feature] Add tsconfig templates, you can use
-
@faasjs/ant-design- [Feature] Auto disable BrowserRouter when not in browser.
-
@faasjs/browser- [Feature] Extend
ResponseErrorto support string or Error as parameter.
- [Feature] Extend
-
@faasjs/server- [Feature] Add
onStarttoServer.
- [Feature] Add
-
@faasjs/server- [Break] Remove cache option, cache is always working, for develop, please use
tsx watchinstead.
- [Break] Remove cache option, cache is always working, for develop, please use
-
@faasjs/test- [Break] Don't support filename as argument, only support Func.
-
@faasjs/load- [Feature] Add
detectNodeRuntimeandloadPackagefor dynamic load .func.ts file.
- [Feature] Add
Happy New Year! 🎉
-
[Break] Convert all packages to esm.
-
[Break] Remove
@faasjs/mongo,@faasjs/vue-plugin. -
[Break] Replace jest with vitest.
-
@faasjs/server- [Feature] Add logger to server's handler.
- [Feature] Stop logger transport when server close.
-
@faasjs/logger- [Break] Move
@faasjs/logger/transportto@faasjs/logger. - [Break] Move all transports api to
getTransport.
- [Break] Move
@faasjs/logger- [Feature] Using
__hidden__to hide argument for message. - [Fix] Hidden duration argument.
- [Feature] Using
@faasjs/logger- [Feature] Add labels and extra to logger.
-
@faasjs/logger- [Feature] Move transport to
@faasjs/logger/transport.
- [Feature] Move transport to
-
@faasjs/server- [Feature] Add
onClose.
- [Feature] Add
-
@faasjs/logger- [Fix] Fix freezed existing logger.
-
@faasjs/server- [Feature] Add cache to staticHandler.
@faasjs/logger- [Feature] Add
Transport.
- [Feature] Add
-
@faasjs/func- [Feature] Add
nameFuncfor improve logger. - [Feature] Update logger.
- [Feature] Add
-
@faasjs/server- [Fix] Fix staticHandler's name.
-
@faasjs/load- [Feature] Update logger.
@faasjs/server- [Feature] Monitor
SIGTERMandSIGINTto exit smoothly. - [Feature] Improve server logger.
- [Feature] Monitor
-
@faasjs/server- [Feature] Add
useMiddlewareanduseMiddlewares. - [Feature] Add
staticHandler. - [Fix] Output all error message.
- [Feature] Add
-
@faasjs/load- [Fix] Remove unused
loadTs.
- [Fix] Remove unused
-
@faasjs/react- [Break] Upgrade react to 19.
- [Feature] Add
useStateRefhook. - [Feature] Improve
FormContainerperformance. - [Fix] Rename FormButton's
disabledtosubmitting. - [Fix] Fix form errors.
-
@faasjs/ant-design- [Break] Upgrade react to 19.
-
@faasjs/http- [Break] Remove validator.(Recommend to use zod instead)
@faasjs/react- [Fix] Fix custom input.
@faasjs/react- [Feature] Add headless form.
- [Feature] Add display name to improve debugging.
- [Feature] Add
initializeStatestocreateSplittingContext. - [Feature] Add
usePrevioushook. - [Fix] Fix
equalerror.
@faasjs/react- [Fix] Export
useSplittingState.
- [Fix] Export
@faasjs/server- [Feature] Support for Response.
-
@faasjs/react- [Fix] Fix
createSplittingContexttype. - [Fix] Fix AsyncFunction for
equal.
- [Fix] Fix
-
@faasjs/ant-design- [Fix] Fix
ConfigProvider's language handling to support server renderer.
- [Fix] Fix
-
@faasjs/browser- [Feature] Simplify mock responses in tests and update Response constructor.
- [Feature] Add
lengthtogenerateId.
-
@faasjs/react- [Feature] Support special type for createSplittingContext's provider and use.
-
@faasjs/lint- [Fix] Disable biome for
.astrofiles.
- [Fix] Disable biome for
-
@faasjs/http- [Feature] Add
useHttpFunc.
- [Feature] Add
@faasjs/react- [Feature] Add
useSplittingState. - [Feature] Add
memotocreateSplittingContext'sProvider.
- [Feature] Add
@faasjs/types- [Feature] Add
InferFaasAction.
- [Feature] Add
- Move
dependenciestopeerDependencies.
-
@faasjs/server- [Feature] Add raw request and response to
event.
- [Feature] Add raw request and response to
-
@faasjs/browser- [Fix] Fix url.
-
@faasjs/react- [Fix] Fix faas.
-
@faasjs/react- [Feature] Add custom compare function
equaland hooks:useEqualMemoize,useEqualEffect,useEqualMemoanduseEqualCallback. - [Feature] Using new compare function to improve all components and hooks' performance.
- [Feature] Add custom compare function
-
@faasjs/knex- [Feature] Client can be a npm package with
npm:prefix.
- [Feature] Client can be a npm package with
-
@faasjs/func- [Feature] Improve logger.
-
@faasjs/nextjs- [Feature] Export logger to context.
-
[Break] Remove
@faasjs/deployer,@faasjs/tencentcloud. -
[Break] Upgrade node version to 22.
-
@faasjs/browser- [Break]
baseURLis optional and must be end with/. - [Feature]
actioncan be a react server action.
- [Break]
-
@faasjs/react- [Break]
domainrename tobaseURL. - [Feature]
actioncan be a react server action. - [Fix] Fix types.
- [Break]
-
@faasjs/vue-plugin- [Break]
domainrename tobaseURL.
- [Break]
-
@faasjs/server- [Feature] Disable code transformation in Bun.
-
Add deprecated notice to below packages:
@faasjs/deployer@faasjs/load@faasjs/tencentcloud
-
Add deprecated notice to
@faasjs/http'sValidator.
-
@faasjs/react- [Fix] Fix
withFaasData's type.
- [Fix] Fix
-
@faasjs/ant-design- [Fix] Fix
withFaasData's type.
- [Fix] Fix
-
@faasjs/react- [Feature] Add
withFaasData.
- [Feature] Add
-
@faasjs/ant-design- [Feature] Add
withFaasData. - [Feature]
Link's button can be boolean. - [Fix] Fix
FaasActiontypes.
- [Feature] Add
-
@faasjs/react- [Feature] Add
OptionalWrapper.
- [Feature] Add
-
@faasjs/ant-design- [Feature]
App'sstyleProviderPropsandbrowserRouterPropscan be disabled byfalse. - [Fix] Fix
Form'sinitialValuestoPartial<Values>.
- [Feature]
@faasjs/ant-design- [Fix] Fix form items type.
- [Feature] Add
exportsto all packages'package.json. - [Feature] Release new package:
@faasjs/lint.
@faasjs/react- [Feature] Auto generate default FaasReactClient, not throw error when not initialized.
@faasjs/react- [Feature] Rename
createSplitedContexttocreateSplittingContext. - [Feature] Add more document to
createSplittingContext.
- [Feature] Rename
-
@faasjs/react- [Fix]
createSplitedContext's defaultValue can be null.
- [Fix]
-
@faasjs/ant-design- [Fix] Use
React.Dispatch<SetStateAction>to define modal and drawer types.
- [Fix] Use
@faasjs/react- [Feature] Optimize
createSplitedContext.
- [Feature] Optimize
-
@faasjs/func- [Feature] Add
FuncParamsTypeandFuncReturnType.
- [Feature] Add
-
create-faas-app- [Feature] Simplify options.
-
@faasjs/react- [Feature] Add
createSplitedContext.
- [Feature] Add
-
@faasjs/ant-design- [Feature] Simplify
AppwithcreateSplitedContext.
- [Feature] Simplify
@faasjs/react- [Break] Remove
@preact/signals-react.
- [Break] Remove
-
@faasjs/react- [Fix] Fix loading's render issue.
-
@faasjs/ant-design- [Fix] Fix Table's loading state.
@faasjs/jest- [Fix] Fix dependences, remove
@faasjs/test.
- [Fix] Fix dependences, remove
-
create-faas-app- [Feature] Support Bun.
- [Fix] Fix example file.
-
@faasjs/logger- [Feature] Refactor Logger class initialization.
-
@faasjs/react- [Feature] Add
useConstant.
- [Feature] Add
-
@faasjs/ant-design- [Feature] Reduce
Appre-render times.
- [Feature] Reduce
@faasjs/ant-design- [Feature] Support why-did-you-render.
- [Feature] Drawer and Modal support function as change handler.
-
@faasjs/knex- [Fix] Fix transaction return value.
-
@faasjs/logger- [Fix] Fix error log outputs.
-
@faasjs/knex- [Feature] Add
commitandrollbackevents totransaction. - [Feature] Improve logger.
- [Feature] Add
-
@faasjs/request- [Feature] Improve json parse.
-
@faasjs/redis- [Feature] Add lock success log.
- [Fix] Fix logger label.
-
@faasjs/request- [Feature] Display requestId in log.
- [Fix] Fix downloadFile and downloadStream's logger.
-
@faasjs/ant-design- [Fix] Fix
Tabs's item's type define.
- [Fix] Fix
-
@faasjs/logger- [Feature] Add
FaasLogMode.
- [Feature] Add
-
@faasjs/request,@faasjs/redis,@faasjs/server- [Fix] Use internal logger.
-
@faasjs/knex- [Fix] Improve log format.
-
@faasjs/request- [Feature] Add default timeout (5000 as 5s).
-
@faasjs/func- [Feature] Improve logger.
@faasjs/ant-design- [Fix] Fix transfer array types.
-
@faasjs/http- [Feature] Lowercase header names.
-
@faasjs/server- [Feature] Lowercase header names.
- [Feature] Add all headers to Access-Control-Allow-Headers.
- [Feature] Add Access-Control-Expose-Headers.
-
@faasjs/browser- [Feature] Add
headerstobeforeRequest.
- [Feature] Add
-
[Feature] Release first stable version.
-
@faasjs/react- [Feature] Export
useSignals.
- [Feature] Export
Beta
-
@faasjs/react- [Feature] Upgrade
@preact/signal-reactto^2.0.0.
- [Feature] Upgrade
-
@faasjs/redis- [Feature] Improve locking log.
-
@faasjs/ant-design- [Fix] Fix
Tableitems re-render issue.
- [Fix] Fix
-
@faasjs/server- [Feature] Support deep path default function.
@faasjs/ant-design- [Fix] Fix time input.
-
@faasjs/knex- [Feature] Improve logger.
-
@faasjs/react- [Feature] Add
useSignalState.
- [Feature] Add
-
@faasjs/ant-design- [Break] Change ConfigProvider's config to theme.
- [Feature] Add FaasClientOptions to ConfigProvider.
-
@faasjs/request- [Feature] Update logger.
-
@faasjs/ant-design- [Feature] Add FaasJS's ConfigProvider to App.
-
@faasjs/request- [Feature] Support gzip and br encoding.
-
@faasjs/eslint-config-recommended- [Break] Remove package.
-
@faasjs/eslint-config-react- [Break] Remove package.
-
@faasjs/eslint-config-vue- [Break] Remove package.
-
@faasjs/linter- [Break] Remove package.
-
@faasjs/ant-design- [Feature] Add ErrorBoundary to App.
@faasjs/ant-design- [Feature] Table's columns support
filterDropdown: falseandsorter: false.
- [Feature] Table's columns support
@faasjs/react- [Feature] Add
signalfeature, based on @preact/signals-react.
- [Feature] Add
-
@faasjs/redis- [Feature] Remove unnecessary types.
-
@faasjs/logger- [Fix] Fix logger size.
@faasjs/request- [Feature] When request failed, return
ResponseErrorinstead ofError.
- [Feature] When request failed, return
- [Feature] Improve dependencies.
-
@faasjs/func- [Feature] Improve logger for mono mode.
-
@faasjs/http- [Feature] Improve logger for mono mode.
@faasjs/knex- [Feature]
transactionaddoptions: { trx: Knex.Transaction }(Thanks contributor: @Witt). - [Feature] Export
originKnexandOriginKnex.
- [Feature]
@faasjs/test- [Break]
jest.setup.jsmoved to@faasjs/jest.
- [Break]
@faasjs/react- [Feature]
skipcan be a function.
- [Feature]
@faasjs/server- [Feature] Improve logger.
@faasjs/linter- [Feature] Add
@faasjs/linterbased on biome.
- [Feature] Add
@faasjs/http- [Fix] Fix clone params.
@faasjs/http- [Feature] Add
data.event.paramsas cloned params.
- [Feature] Add
-
@faasjs/browser- [Feature] Add
setMockfor testing.
- [Feature] Add
-
@faasjs/ant-design- [Feature] Add
onClicktoLink. - [Fix] Avoid
Linkreturn null.
- [Feature] Add
@faasjs/ant-design- [Fix] Fix
Linkglobal style.
- [Fix] Fix
@faasjs/ant-design- [Fix] Fix
Linkstyle. - [Fix] Fix
LinkonClick bug.
- [Fix] Fix
@faasjs/ant-design- [Feature] Add
copyabletoLink.
- [Feature] Add
@faasjs/react- [Feature] Export
reloadTimefromuseFaas.
- [Feature] Export
@faasjs/react- [Feature] Add
debouncetouseFaas.
- [Feature] Add
-
@faasjs/ant-design- [Fix] Fix Descriptions' renderTitle.
-
@faasjs/server- [Feature] Add
onError.
- [Feature] Add
-
@faasjs/http- [Fix] Fix params parse.
-
@faasjs/react- [Feature]
ErrorBoundary's onError be opitonal.
- [Feature]
-
@faasjs/knex- [Feature] Make logger be public.
@faasjs/react- [Feature] add
ErrorBoundary.
- [Feature] add
@faasjs/cloud_function- [Feature] Add request_id to invoked funciton.
@faasjs/ant-design- [Fix] Fix Descriptions' renderTitle.
-
@faasjs/ant-design- [Feature] Upgrade antd version to ~5.8.0.
-
@faasjs/request- [Feature] Update error message.
-
@faasjs/server- [Feature] Add
X-FaasJS-Timing-Pending,X-FaasJS-Timing-Processing,X-FaasJS-Timing-Totalto header.
- [Feature] Add
-
@faasjs/http- [Fix] Fix cookie and session's logger.
@faasjs/react- [Feature] Ignore React Native's fetch abort.
@faasjs/eslint-config-recommended- [Feature] Add more rules.
@faasjs/server- [Fix] Fix Access-Control-Allow-Headers.
@faasjs/browser&@faasjs/server&@faasjs/http- [Feature] Add new
X-FaasJS-Request-Idheader.
- [Feature] Add new
@faasjs/ant-design- [Feature] Display radio when options length less than 11.
@faasjs/server- [Feature] Split process with path.
@faasjs/react- [Feature] Add auto retry to
useFaas.
- [Feature] Add auto retry to
-
@faasjs/knex- [Feature] Add json convert to pg.
-
@faasjs/logger- [Feature] Add FaasLogSize.
-
@faasjs/request- [Feature] Output debug logger for mock.
-
@faasjs/ant-design- [Feature] Export faas functions.
@faasjs/ant-design- [Fix] Fix null item.
@faasjs/ant-design- [Fix] Fix Tabs' label.
@faasjs/ant-design- [Fix] Fix item type.
-
@faasjs/ant-design- [Fix] Fix Table extra.
-
@faasjs/react- [Fix] Fix params.
-
@faasjs/react- [Fix] Fix action missing.
-
@faasjs/request- [Feature] Display url in error message.
@faasjs/react- [Feature] Export
setParams.
- [Feature] Export
@faasjs/ant-design- [Feature] Add
Tabscomponent.
- [Feature] Add
@faasjs/ant-design- [Feature] Improve dropdown render.
- [Fix] Fix table loading.
@faasjs/ant-design- [Feature] Add date picker to date and time items.
@faasjs/ant-design- [Fix] Fix boolean filter.
@faasjs/ant-design- [Fix] Fix filter.
@faasjs/ant-design- [Feature] Use Select as filters.
- [Fix] Fix filterDropdown.
@faasjs/knex- [Feature] Update pool config.
-
@faasjs/ant-design- [Fix] Fix null value.
-
@faasjs/redis- [Fix] Fix disconnect.
@faasjs/ant-design- [Feature] Add BrowserRouter to App.
@faasjs/ant-design- [Fix] Fix App style.
@faasjs/ant-design- [Feature] Add
Appcomponent.
- [Feature] Add
@faasjs/knex- [Feature] Add default pg config.
@faasjs/ant-design- [Fix] Fix time sorter.
@faasjs/redis- [Feature] Add lock and unlock.
@faasjs/request- [Feature] Return Error.
@faasjs/ant-design- [Fix] Fix boolean filter.
@faasjs/test- [Feature] Add
.tsto filename.
- [Feature] Add
@faasjs/ant-design- [Feature] Add extra to list.
- [Fix] Fix FaasData.
- [Feature] Use peerDependence.
-
@faasjs/ant-design- [Remove] Remove ErrorBoundary.
- [Fix] Remove unused log.
-
@faasjs/request- [Fix] Improve parse.
@faasjs/ant-design- [Feature] Add block to Link.
- [Fix] Fix link style.
@faasjs/ant-design- [Feature] Add type
UnionFaasItem. - [Feature] Add loading to wrapper.
- [Feature] Add children to Loading.
- [Feature] Add type
@faasjs/redis- [Feature] Add multi and pipeline.
@faasjs/http- [Feature] Export cookie and session.
@faasjs/ant-design- [Feature] Add async to submit.
- [Feature] Export Form.List, Form.ErrorList and Form.Provider.
- [Feature] Add
LoadingandFaasDataWrapper.
@faasjs/ant-design- [Fix] Fix empty filter.
@faasjs/ant-design- [Fix] Fix filter.
@faasjs/ant-design- [Feature] Add options to FaasDataTable.
- [Feature] Add children to FaasDataWrapper.
@faasjs/http- [Fix] Fix params.
@faasjs/logger- [Fix] Increase default log size.
@faasjs/ant-design- [Fix] Fix link text.
@faasjs/ant-design- [Feature] Update major types to interfaces.
@faasjs/cloud_function- [Fix] Fix local mode's path issue.
@faasjs/func- [Feature] Let useify plugin returns plugin instance when it mounts.
@faasjs/http- [Fix] Don't initialize cookie and session before mount.
@faasjs/ant-design- [Fix] Fix link with button.
@faasjs/react- [Fix] Auto cancel request when component unmount.
@faasjs/ant-design- [Feature] Add debug logs.
@faasjs/logger- [Feature] Improve log outputs.
@faasjs/cli- [Fix] Rollback to use
lodash.
- [Fix] Rollback to use
@faasjs/server- [Fix] Rollback to use
lodash.
- [Fix] Rollback to use
create-faas-app- [Fix] Rollback to use
lodash.
- [Fix] Rollback to use
@faasjs/ant-design- [Fix] Fix
ifin FormItem.
- [Fix] Fix
@faasjs/ant-design- [Fix] Fix i18n for Table.
@faasjs/ant-design- [Feature] Add null to table's options.
@faasjs/ant-design- [Break] Upgrade Ant Design to 5.x.
- [Break] Use
lodash-esinstead oflodash.
- [Feature] Replace peerDependencies with dependencies.
@faasjs/ant-design- [Feature] Convert string to dayjs instance automatically when type is date or time.
- [Fix] Fix extendTypes warning.
@faasjs/knex- [Fix] Fix query's typescript definition.
@faasjs/redis- [Fix] Fix logger.
@faasjs/func- [Fix] Fix logger for testing.
@faasjs/knex- [Fix] Fix logger.
- [Break] Add request_id to all logs.
- [Break] Add
node >= 16.0.0topackage.json.
create-faas-app- [Feature] Update script and files.
@faasjs/test- [Fix] Fix the empty config issue.
@faasjs/func- [Fix] usePlugin will add mount automatically.
@faasjs/aws- [Break] Remove
@faasjs/awspackage.
- [Break] Remove
@faasjs/react- [Feature] Export more types from
@faasjs/types.
- [Feature] Export more types from
@faasjs/func- [Feature] Update documents.
- [Remove] Remove export's config.
@faasjs/knex- [Fix] Fix query function params's type.
@faasjs/request- [Feature] Add English documents.
@faasjs/http- [Fix] Fix validator.
@faasjs/ant-design- [Feature] Support React 18.x.
@faasjs/jest- [Feature] Support jest 28.x.
create-faas-app- [Break] Remove default provider.
@faasjs/eslint-recommended- [Feature] Remove slow rules.
@faasjs/ant-design- [Break] Remove
react-usedependency.
- [Break] Remove
@faasjs/http- [Feature] Add originBody to all response.
- [Fix] Fix response.
@faasjs/knex- [Break] Use
better-sqlite3as sqlite adapter.
- [Break] Use
@faasjs/ant-design- [Feature] Add
afterItemstoForm.
- [Feature] Add
@faasjs/ant-design- [Fix] Fix
filterDropdown.
- [Fix] Fix
@faasjs/ant-design- [Feature] Update i18n.
@faasjs/jest- [Feature] Add new package
@faasjs/jest.
- [Feature] Add new package
@faasjs/ant-design- [Feature] Add
objectandobject[]toFormItem.
- [Feature] Add
@faasjs/server- [Feature] Add default route.
@faasjs/server- [Feature] Support tsx file.
@faasjs/ant-design- [Fix] Fix submit for
Form.
- [Fix] Fix submit for
@faasjs/ant-design- [Feature] Add
beforeItemstoForm. - [Feature] Support pure string as children.
- [Feature] Add
@faasjs/ant-design- [Feature] Add
submitTotoForm.
- [Feature] Add
@faasjs/ant-design- [Feature] Add
childrentoTitle.
- [Feature] Add
@faasjs/ant-design- [Fix] Fix antd paths.
@faasjs/ant-design- [Feature] Add
h1toTitle. - [Feature] Export dayjs components.
- [Feature] Add
@faasjs/ant-design- [Feature] Add DatePicker to
FormItem.
- [Feature] Add DatePicker to
@faasjs/graphql-server- [Break] Remove package
@faasjs/graphql-server.
- [Break] Remove package
Happy Chinese New Year! :tiger: :firecracker:
@faasjs/browser- [Break] Rename
FaasDatatoFaasDataWrapper. - [Break] Rename
elementtorender. - [Feature] Add
dataandsetDatatouseFaasandFaasDataWrapper. - [Feature] Add module to package.json.
- [Feature] Export
FaasDataWrapperdirectly, it will use default client.
- [Break] Rename
@faasjs/ant-design- [Feature]
Tablesupports ajax mode.
- [Feature]
@faasjs/ant-design- [Feature] Add
Config. - [Feature] Add
Title. - [Feature] Add
Routes.
- [Feature] Add
@faasjs/http- [Feature] Add regexp rule. (Thanks contributor: @Germini).
@faasjs/ant-design- [Feature] Add
DraweranduseDrawer. - [Feature] Add
dataandsetDatatoFaasDataWrapper.
- [Feature] Add
@faasjs/eslint-config-recommended- [Feature] Add
*.mjsto files.
- [Feature] Add
@faasjs/ant-design- [Feature] Add
optionstobaseItemProps.
- [Feature] Add
@faasjs/knex- [Feature] upgrade to
knexv1.0.0. - [Feature] use
@vscode/sqlite3instead ofsqlite3.
- [Feature] upgrade to
@faasjs/ant-design- [Feature] Add
optionstoDescriptionandTable. - [Feature] Add
Blank. - [Feature] Add
filtertobooleaninTable.
- [Feature] Add
@faasjs/server- [Feature] use
randomBytesto generate requestId. - [Feature] add
queryStringto event.
- [Feature] use
@faasjs/ant-design- [Feature] Add
faasDatatoTableandDescription.
- [Feature] Add
@faasjs/react- [Feature] Add
getClient.
- [Feature] Add
@faasjs/ant-design- [Feature] Add
extendtoForm,DescriptionandTable.
- [Feature] Add
@faasjs/ant-design- [Feature] Add
rendertoDescription. - [Feature] Add submit options to
Form.
- [Feature] Add
- [Remove]
@faasjs/loggerremove default export. - [Remove]
@faasjs/requestremove default export. - [Remove]
@faasjs/deep_mergeremove default export.
@faasjs/ant-design- [Feature] Add
maxCounttoFormItem. - [Feature] Add
string[]andnumber[]tooptions.
- [Feature] Add
- [Feature]
@faasjs/ant-designaddoptionsas a select toFormItem.
- [Feature] Add
@faasjs/ts-transform.
- [Fix]
@faasjs/browserfix cookie.
- [Feature]
@faasjs/ant-designaddinputtoFormItem. - [Feature]
@faasjs/ant-designexportuseForm.
- [Fix]
@faasjs/loadfix node resolve issue. - [Feature] replace
ts-nodewithswc.
- [Feature] use
tsupto build packages. - [Feature]
@faasjs/testremovevm2.
- [Feature] Add
@faasjs/typestofaasjs. - [Feature] Add
@faasjs/ant-design.
- [Feature]
@faasjs/graphql-serverupgrade api. - [Feature] replace
@sucrase/jest-pluginwith@swc/jest.
- [Fix]
@faasjs/reactfix types.
- [Fix]
@faasjs/browserfixdataandonError.
- [Feature]
@faasjs/browserreplaceXMLHttpRequestwithfetch.
- [Feature]
@faasjs/httpexportValidatorConfig. - [Feature]
@faasjs/reactaddFaasActions.
- [Feature]
@faasjs/reactaddFaasData.
- [Feature]
@faasjs/react中useFaas新增导出setLoading、setPromise、setData和setError参数,用于自定义数据加载。
- [Feature]
@faasjs/browser中beforeRequest配置项允许传入异步函数。 - [Feature]
@faasjs/server内置CORS支持。
- [Feature]
@faasjs/server优化单体应用模式下的日志输出。 - [Feature]
@faasjs/http新增http.body属性,用于获取原始请求体。 - [Feature]
@faasjs/http简化日志输出。
- [Feature]
faasjs默认依赖包移除@faasjs/tencentcloud,使用腾讯云的服务须手动添加依赖。 - [Feature]
@faasjs/browser、@faasjs/react和@faasjs/vue-plugin编译版本升级到es2017。
- [新增]
@faasjs/aws新增 AWS 适配器。
- [Feature]
@faasjs/redis使用ioredis替代redis。 - [Feature]
@faasjs/tencentcloud优化重复代码。 - [Feature]
@faasjs/cli优化日志提示。 - [修复]
@faasjs/tencentcloud修正打包时未将 .d.ts 等文件移除的问题。
- [Feature]
@faasjs/func新增代码包启动计时(此时间为冷启动的一部分)。
- [Feature]
@faasjs/eslint-config-recommended移除eslint-plugin-jest。
- [Feature]
@faasjs/http优化 ts 定义。
- [Feature] 将项目的 ts 编译设置为
strict模式。
- [Feature]
@faasjs/test修正FuncWarper为正确的拼写。
- [Feature]
@faasjs/func优化部分 ts 定义。 - [Feature]
@faasjs/cloud_function优化部分 ts 定义。
- [Feature]
@faasjs/http对于小于 100 字节的内容不压缩。
- [Feature]
@faasjs/redis新增getJSON和setJSON方法。 - [Feature]
vscode/faasjs-snippets新增http validator代码块。
- [Feature] 采用
npm替代yarn,并将部分关联依赖改为peerDependencies。
- [移除]
@faasjs/kafka。 - [修正]
@faasjs/react修正加载错误。
- [移除]
@faasjs/sql移除,使用@faasjs/knex代替。 - [Feature] VS Code 插件
faasjs-snippets添加更多代码片段。 - [Feature]
@faasjs/cloud_function将config参数改为public。
- [Feature]
@faasjs/browser支持 CDN。 - [Feature]
@faasjs/react支持 CDN。 - [Feature]
@faasjs/vue-plugin支持 CDN。
- [Feature]
@faasjs/deep_merge导出deepMerge方法。 - [Feature]
@faasjs/logger导出Logger类。
- [Feature]
@faasjs/tencentcloud将本地 mock 功能移到@faasjs/cloud_function。
- [修正]
@faasjs/tencentcloud环境变量不再强制覆盖 region。
- [Feature]
@faasjs/react新增reload方法。
- [Feature]
@faasjs/func添加filename属性。
- [Feature]
@faasjs/tencentcloud优化并导出request方法。
- [Feature]
@faasjs/redis导出get和set方法。
- [修正]
@faasjs/cli修正部署时内存泄露的问题。
- [修正]
@faasjs/tencentcloud修正日志输出。
- [修正]
@faasjs/http修正HttpError的问题。
- [Feature] 常用函数通过 export 直接导出。
- [修正]
@faasjs/tencentcloud使用最新的环境变量。
- [Feature]
@faasjs/cloud_function优化 invoke 数据。
- [Feature]
@faasjs/eslint-config-recommended优化代码风格规范。 - [Feature]
@faasjs/mongo支持mongodb新版本。
- [Feature]
@faasjs/tencentcloud优化时间签名。
- [Feature]
@faasjs/graphql-server支持apollo-server-core新版本。
- [Feature]
@faasjs/eslint-config-recommended优化代码风格规范。
- [Feature]
@faasjs/cli部署命令如果使用-c参数,默认读取最近的 commit 日志。 - [Feature]
@faasjs/tencentcloud优化日志。 - [删除] 删除
@faasjs/nuxt插件。
- [Feature]
@faasjs/server退出时自动关闭连接。
- [Feature]
@faasjs/load使用@rollup/plugin-typescript替代 rpt2。
- [Feature]
@faasjs/cli新增commit参数,批量部署被修改的云函数。
- [Feature]
@faasjs/tencentcloud优化腾讯云接口。 - [Feature]
@faasjs/tencentcloud配置优先级调整为:环境变量 > 代码配置项 > yaml 配置项。
- [Feature]
@faasjs/cli提速 ts-node,编译时不检查 ts 定义。
- [Feature]
@faasjs/http优化 ts 定义。
- [Feature]
@faasjs/http优化 ts 定义。
- [Feature]
@faasjs/test使用 vm2 加载测试云函数。
- [Feature]
@faasjs/cli仅在启动 server 时引入 ts-node。 - [修复]
@faasjs/cli修正部署大量云函数时内存泄露的问题。 - [Feature] 示例新增
jwt项目示例。
- [Feature]
@faasjs/browser新增beforeRequest参数。 - [修复]
@faasjs/cli修复部分入参无效的问题。
- [Feature]
@faasjs/http优化beforeValid。
- [移除] 为了简化和统一数据库读写,移除
@faasjs/typeorm和@faasjs/sequelize。 - [Feature]
@faasjs/http新增beforeValid,用于构建包含自定义请求校验的 http 插件。
- [Feature]
@faasjs/knex优化 transaction 的 ts 定义。
- [Feature]
@faasjs/cli部署时对文件名进行检查。 - [Feature]
@faasjs/cli部署命令添加ar参数,默认自动重试 3 次。 - [Feature]
@faasjs/knex部署时检查适配器依赖项是否添加。 - [修复]
@faasjs/tencentcloud修复部分情况下依赖项错误的问题。
- [修复]
@faasjs/cloud_function修复插件排序错误的问题。 - [修复]
@faasjs/cloud_function修复插件名字错误的问题。
- [Feature]
@faasjs/cli部署失败时,优化错误提示。 - [Feature]
@faasjs/cli新增 -w 参数,设置并发数。
- [Feature]
@faasjs/cli部署多个云函数时,自动根据 CPU 数量进行多进程部署。 - [Feature]
@faasjs/tencentcloud优化多进程部署时的日志显示。 - [Feature]
@faasjs/http测试环境下禁用缓存。
- [Feature]
@faasjs/cloud_function和@faasjs/browseraction 自动转小写。
- [Feature]
@faasjs/cli支持部署失败时重试。
- [Feature]
@faasjs/request新增 parse 配置项。
- [Feature]
@faasjs/knex优化 knex 的 ts 定义。 - [Feature]
@faasjs/graphql优化 graphql 依赖项。
- [修复]
@faasjs/tencentcloud修复云函数插件某些情况下未加载的问题。
- [新增]
@faasjs/eslint-config-react。
- [修复]
@faasjs/cli修复日志等级错误的问题。
- [Feature]
@faasjs/tencentcloud优化打包机制。
- [Feature]
@faasjs/tencentcloud更新网关发布接口。
- [Feature]
@faasjs/load升级 js-yaml 版本。 - [Feature]
@faasjs/load更新内置库。 - [Feature]
@faasjs/typeorm支持useTypeORM。
- [Feature]
@faasjs/cloud_function优化日志输出。
- [Feature]
@faasjs/create-faas-app优化命令行。
- [修复]
@faasjs/knex修复 raw 的 ts 定义。
- [Feature]
@faasjs/eslint-config-vue优化规则。 - [Feature]
@faasjs/http优化 ts 定义。
- [Feature]
@faasjs/cloud_functionconfig 支持传入一个 function。
- [Feature]
@faasjs/eslint-config-vue优化规则。
- [修复]
@faasjs/load修复重复引用文件的问题。 - [Feature]
@faasjs/requestdebug 模式下显示更详细的日志。
- [新增] 新增
@faasjs/kafka。
- [修复]
@faasjs/knex修复 knex 连接。
- [修复]
@faasjs/test补充 headers 的 ts 定义。 - [Feature]
@faasjs/logger优化插件的日志显示。
- [修复]
@faasjs/cloud_function修复本地调试时没 context 时的报错。
- [Feature]
@faasjs/react新增返回promise对象。
- [Feature]
@faasjs/http压缩后添加 originBody 以便日志查看。 - [Feature]
@faasjs/cloud_function移除 context 中的 function 等无法序列化的内容。
- [Feature]
@faasjs/http默认使用 brotli 压缩。 - [修复]
@faasjs/http修复没有 body 时也压缩的 bug。
- [Feature]
@faasjs/http支持 gzip 压缩。 - [删除] 禁用并删除
@faasjs/cos-secrets,请使用 CFS 替代。
- [Feature] 优化 ts 定义。
- [Feature]
@faasjs/request优化日志。
- [Feature]
@faasjs/request新增 pfx 和 passphrase 配置项。
- [修复] 修复日志 bug。
- [修复] 修复函数式编程接口的 bug。
- [Feature]
@faasjs/tencentcloud更新云函数配置项。
- [Feature]
@faasjs/react新增onError配置项。
- [Feature] 更新 ts 定义。
- [修复]
@faasjs/server多个请求时排队处理。
- [Feature] 优化 ts 定义及相关测试用例。
- [Feature] 优化日志输出格式。
- [Feature]
@faasjs/redis支持useRedis。
- [新增]
@faasjs/knex。 - [Feature] 优化 useFunc 及 usePlugin。
- [Feature]
@faasjs/tencentcloud更新云API v3。
- [Feature]
@faasjs/tencentcloud优化触发器更新机制。
- [新增] 新增
@faasjs/react,提供faas和useFaas两种风格的接口。
- [修复]
@faasjs/server修复没有响应内容时的报错。
- [修复]
create-faas-app删除旧的 babel 配置,改成 ts-jest。 - [修复] 修复示例项目的 package.json。
- [Feature]
@faasjs/func优化 ts 支持。 - [修复]
@faasjs/server修正没有响应内容时的出错。
- [Feature]
@faasjs/server优化无缓存情况下的热加载。
- [Feature]
@faasjs/server优化无缓存情况下的热加载。 - [Feature]
@faasjs/tencentcloud将 Node.js 默认版本升级到 12.16。 - [Feature]
@faasjs/func优化 ts 支持。
- [Feature]
@faasjs/server优化缓存。
- [Feature]
@faasjs/logger云函数环境下,删除日志中的换行符。
- [Feature]
@faasjs/func优化日志显示和 ts 类型。
- [Feature]
@faasjs/test支持直接测试云函数,而非云函数文件。
- [Feature]
@faasjs/eslint-config-recommended优化规则。
- [Feature]
@faasjs/test中mount方法支持传入一个初始化后执行的函数。
- [Feature]
@faasjs/test新增mount方法,JSONHandler方法支持 cookie 和 session 入参。
- [Feature]
@faasjs/cos-secrets支持密钥文件。 - [Feature]
@faasjs/tencentcloud禁用腾讯云内置的旧版request。
- [修复]
@faasjs/func强制设定context.callbackWaitsForEmptyEventLoop = false。 - [Feature]
@faasjs/tencentcloud禁用腾讯云内置的旧版tencentcloud-sdk-nodejs。
- [Feature]
@faasjs/tencentcloud升级默认 Node.js 版本为10.15。 - [修复]
@faasjs/tencentcloud修正腾讯云新错误代码导致无法发布的问题。
- [Feature]
@faasjs/eslint-config-vue移除plugin:security/recommended。
- [Feature]
@faasjs/cli适配 Windows 环境。
- [Feature]
@faasjs/server添加 sourceIp。
- [Feature]
@faasjs/server优化日志展示。 - [Feature]
@faasjs/tencentcloud优化依赖库打包机制。
- [Feature]
@faasjs/http添加 HTTP 方法定义。 - [Feature]
@faasjs/load优化打包时排除内置库的逻辑。 - [新增] 新增
@faasjs/sequelize。 - [Feature]
@faasjs/http、@faasjs/server新增 headerX-SCF-RequestId。
- [Feature]
@faasjs/cloud_function在云函数环境中使用内网域名提升性能。
- [Feature]
faasjs移除依赖项:@faasjs/browser, @faasjs/sql, @faasjs/redis。 - [新增]
@faasjs/mongo用于适配 mongodb。 - [Feature] 优化了云函数的日志输出。
- [Feature]
@faasjs/http配置项新增path和ignorePathPrefix设置。
- [修复]
@faasjs/cli修复当 tsconfig 中未使用 paths 功能时出错的问题。 - [Feature]
@faasjs/typeorm新增Connection, Repository, SelectQueryBuilder, getRepository的输出。
- [Feature]
@faasjs/cli支持 tsconfig 的 paths 功能。 - [修复]
@faasjs/typeorm修复单体应用模式下连接出错的问题
- [修复]
@faasjs/cos-secrets修复嵌套全局变量名错误的问题。
- [Feature]
@faasjs/eslint-config-recommended补充空格相关的样式设定。 - [Feature]
@faasjs/cos-secrets本地模式下会读取本地文件。 - [Feature]
@faasjs/sql支持从环境变量读取配置信息。 - [Feature]
@faasjs/typeorm支持从环境变量读取配置信息。 - [Feature]
@faasjs/redis支持从环境变量读取配置信息。 - [Feature]
@faasjs/server出错信息以 json 格式返回。
- [新增]
@faasjs/cos-secrets,一个基于 COS 的密钥解决方案。 - [Feature] 将文档移入
docs文件夹。 - [Feature] 将示例移入
examples文件夹。
- [Feature]
@faasjs/tencentcloud腾讯云故障,禁用别名功能。
- [Feature]
@faasjs/graphql-server允许schemas参数为函数,且支持异步函数。 - [Feature]
@faasjs/graphql-server导出变量新增GraphQLSchemaModule。
- [修复]
@faasjs/typeorm修复配置项错误。 - [修复]
@faasjs/tencentcloud修复部署时打包依赖项的错误。
- [新增] 新增
@faasjs/typeorm。 - [Feature]
@faasjs/sql单元测试新增 mysql 和 postgresql 的测试。
- [Feature]
@faasjs/tencentcloud云函数新增层和死信队列接口,COS 增加文件夹名。 - [Feature]
@faasjs/load关闭 rollup 的警告信息。
- [Feature]
@faasjs/graphql-server内置@faasjs/http。 - [Feature]
@faasjs/tencentcloud云函数环境变量新增FaasLog=debug。
- [Feature]
@faasjs/tencentcloud新增单元测试。 - [Feature]
@faasjs/request新增file和downloadStream参数。 - [Feature]
@faasjs/graphql-server规范化配置项,并将invokeData作为 context。
- [Feature]
@faasjs/eslint-config-recommended更新 eslint rules。
- [Feature] 恢复腾讯云的别名功能。
- [Feature] 修复和优化 travis-ci。
- [Feature]
faasjs不再内置@faasjs/graphql-server,需手动添加使用。
- [修复]
@faasjs/load修复打包时遇到内置模块报错的问题。 - [Feature]
@faasjs/eslint-config-recommended更新 eslint rules。
- [Feature]
@faasjs/test将jest添加为依赖项。
- [Feature]
@faasjs/funchandler 参数改为可选项。 - [新增]
@faasjs/graphql-server试验性支持 graphQL。
- [Feature]
@faasjs/tencentcloud优化了部署云函数时的日志输出。
- [Feature]
@faasjs/tencentcloud补全已正式发布的云函数配置项。
- [Feature]
faasjs将 Sql 适配包从faasjs中移除。 - [Feature]
@faasjs/eslint-config-recommended更新 eslint rules。
- [修复]
@faasjs/tencentcloud修复由于禁用别名功能造成的 BUG。
- [Feature]
@faasjs/tencentcloud由于腾讯云故障,暂时禁用别名功能。
- [修复]
@faasjs/tencentcloud修复腾讯云部署 BUG。 - [Feature]
@faasjs/tencentcloud腾讯云云函数内存默认从 128 降低为 64。 - [Feature]
@faasjs/tencentcloud默认环境变量新增 NODE_ENV,值为部署环境的名字。
- [修复] 修复错误的版本号。
- [Feature]
@faasjs/load移除 loadNpmVersion。
- [修复]
@faasjs/tencentcloudAPI 网关 BUG。 - [Feature]
@faasjs/func云函数支持 callback。
- [修复]
@faasjs/tencentcloudAPI 网关 BUG。 - [Feature]
@faasjs/tencentcloud提升打包速度。
- [修复]
@faasjs/tencentcloud修复云函数命名错误。 - [Feature]
@faasjs/server本地请求入参 method 改名为 httpMethod,增加 path 参数。
- [修复]
@faasjs/load修复 rollup 配置。 - [修复] 修复 FaasJS 项目自动化测试配置。
- [Feature]
@faasjs/http移除无用的依赖项。 - [Feature]
@faasjs/tencentcloud优化打包配置。
- [修复] 在
faasjs中补上依赖项@faasjs/http。
- [Feature] 优化 FaasJS 项目打包配置。
- [Feature] 优化 FaasJS 项目的代码规范测试和自动化测试。
- [修复]
@faasjs/tencentcloud修复云函数部署时未完成部署就删除了 COS 代码包的问题。
- [Feature] 更新 VS Code 配置项以适应新版 ESlint。
- [Feature]
@faasjs/tencentcloud更新云函数时会等待其更新生效后才进行后续步骤。 - [Feature]
@faasjs/tencentcloud使用本地 node_modules 文件加速部署。
- [Feature]
@faasjs/logger性能优化,并移除测试用的 lastOuput 属性。 - [Feature]
@faasjs/server移除 response 的日志输出以优化性能。 - [Feature]
@faasjs/http直接使用 request_id 作为响应头 X-Request-Id 的值。 - [修复]
@faasjs/http使用 = 作为路径前缀避免模糊匹配。 - [删除] 移除周刊。
- [修复]
@faasjs/loggertimeEnd 出错时的错误信息从 error 降级为 warn。
- [Feature] 新增性能测试用例。
- [修复]
@faasjs/loggertimeEnd 的 key 重复或未知时,报错信息从 error 降级为 warn。
- [新增]
@faasjs/httpcookie 新增sameSite选项。 - [Feature] FaasJS 项目新增代码测试覆盖率。
2019-10-21
- [Feature] 使用 lerna 管理 FaasJS 核心库。
- [Feature]
@faasjs/request新增 timeout 和 auth 选项。 - [修复] 修正
@faasjs/http遇到返回值为 null 时的错误。
2019-10-16
- [新增] 示例项目新增 knex。
2019-10-15
- [Feature] 将 FaasJS 所有库都并入了 faasjs/faasjs 项目中,便于统一管理和更新。
2019-10-13
- [新增] FaasJS 周刊 开始试运行。
2019-10-11
- [Feature] 教程中添加新加入的命令行指令。
- [新增] 官网新增 支持 FaasJS。
- [修复]
@faasjs/func当 handler 没有返回时出现的一个判断异常。
2019-10-09
- [新增] 命令行工具新增
yarn new func指令,用于快速创建云函数文件及其测试脚本,具体用法可见yarn new -h。 - [Feature]
create-faas-app创建的项目中加入.vscode/settings.json文件,用于优化 VS Code 下的编程体验。
2019-10-08
- [新增] 命令行工具
create-faas-app用于快速创建 FaasJS 项目,可直接通过npx create-faas-app使用。
2019-09-30
- [发布] 结束
Alpha阶段,开始Beta公测阶段。
Alpha
2019-04-13
- [发布] FaasJS
Alpha阶段开发开始。