Skip to content

Latest commit

 

History

History
789 lines (321 loc) · 32.3 KB

CHANGELOG.md

File metadata and controls

789 lines (321 loc) · 32.3 KB

0.1.72 (2024-04-17)

Bug Fixes

  • improve error message upon wrong tsconfig.json configuration (fix #100) (18ec0ce)
  • let user decide stack trace size (5b299a8)
  • update @brillout/vite-plugin-server-entry (4581bfa)

0.1.71 (2024-02-07)

Bug Fixes

  • improve error messages & docs for config.telefuncUrl (fix #63) (1585b66)
  • soft-deprecate setting config over Vite plugin (#63) (2657f86)

0.1.70 (2024-01-07)

Bug Fixes

  • update @brillout/vite-plugin-server-entry (d17d6dc)

0.1.69 (2024-01-07)

Bug Fixes

  • update @brillout/vite-plugin-import-build -> @brillout/vite-plugin-server-entry (8f9e77a)

0.1.68 (2024-01-01)

Bug Fixes

0.1.67 (2023-12-22)

Bug Fixes

  • serialize manifest instead of emitting it (a085605)
  • update @brillout/vite-plugin-import-build (2b0f70b)

0.1.66 (2023-12-12)

Bug Fixes

  • update @brillout/vite-plugin-import-build (8f03c81)

0.1.65 (2023-12-11)

Bug Fixes

0.1.64 (2023-11-15)

Bug Fixes

  • don't use tsconfig.json outside of appRootDir (74590a2)

0.1.63 (2023-11-13)

Bug Fixes

0.1.62 (2023-09-30)

Bug Fixes

  • support manually importing dist/server/importBuild.cjs (01b9ea5)

0.1.61 (2023-09-21)

Bug Fixes

  • convert config.telefuncFiles to posix paths before validating (fix #90) (e16c585)
  • remove assertion that fails on windows (#90) (b9d7d0c)
  • update @brillout/import (#90) (f0e8bad)

0.1.60 (2023-09-11)

Bug Fixes

0.1.59 (2023-09-04)

Bug Fixes

  • improve prop paths in serialization error messages (update @brillout/json-serializer) (92ae904)

0.1.58 (2023-07-01)

Bug Fixes

  • fix types for /react-streaming export (fix #76) (7c84233)

0.1.57 (2023-06-22)

Bug Fixes

  • simplify shield() generation (fix #75) (f57cf11)

0.1.56 (2023-06-14)

Bug Fixes

  • improve telefunction key assertion (099a212)

0.1.55 (2023-06-14)

Bug Fixes

  • remove problematic filePath assert() (3910b18)
  • update @brillout/vite-plugin-import-build (ded2d80)

0.1.54 (2023-06-01)

Bug Fixes

  • tolerate + prefix in collocation convention (13a3545)

0.1.53 (2023-04-28)

Bug Fixes

  • use ts-morph project.getSourceFile() instead of glob pattern matching (fix #71) (3412ce5)

0.1.52 (2023-03-14)

Bug Fixes

  • update @brillout/vite-plugin-import-build (4b94a83)
  • update @brillout/vite-plugin-import-build (fix #66) (80f7d56)

0.1.51 (2023-03-05)

Bug Fixes

  • expose error thrown by telefunctions at httpResponse.err (fix #64) (bd68427)

0.1.50 (2023-02-25)

Bug Fixes

  • update @brillout/vite-plugin-import-build (cb850e4)

0.1.49 (2023-02-24)

Bug Fixes

  • update @brillout/vite-plugin-import-build (6763668)
  • update @brillout/vite-plugin-import-build (bda7a10)

0.1.48 (2023-02-17)

Bug Fixes

  • update @brillout/vite-plugin-import-build (17ea11a)

0.1.47 (2023-02-14)

Bug Fixes

  • update @brillout/vite-plugin-import-build (ec5b090)
  • update @brillout/vite-plugin-import-build (90320f4)

0.1.46 (2023-02-09)

Bug Fixes

  • update @brillout/vite-plugin-import-build (#61) (a07be9f)

0.1.45 (2023-02-09)

Bug Fixes

  • improve error message when client/server out-of-sync (21fb6ed)
  • improve naming convention warnings (#61) (c886472)
  • show posix paths for naming convention warnings (29d3853)
  • update @brillout/vite-plugin-import-build (#61) (ce67cc0)
  • update @brillout/vite-plugin-import-build (#61) (cd4d619)
  • update @brillout/vite-plugin-import-build (fix workaround) (d17c18e)

0.1.44 (2023-02-07)

Bug Fixes

  • convert SvetelteKit provided paths to posix paths (#59) (64b2623)
  • update @brillout/vite-plugin-import-build (#59) (947cc61)

0.1.43 (2023-02-02)

Bug Fixes

  • ensure telefunctionReturn is initialized (fix #58) (aa7d82e)

0.1.42 (2023-01-30)

Bug Fixes

  • update vite-plugin-import-build (20641d9)

0.1.41 (2023-01-17)

Bug Fixes

  • remove unnecessary and problematic getOutDirs() (6bce954)
  • update @brillout/vite-plugin-import-build (8f5cff2)

0.1.40 (2022-11-24)

Bug Fixes

  • don't set outDir when used with Astro (withastro/astro#5211) (6ed9990)

0.1.39 (2022-11-18)

Bug Fixes

  • improve error message upon third-party Vite plugin conflicting with Telefunc (98cec22)
  • remove dangling log (6201ca0)

0.1.38 (2022-11-18)

Bug Fixes

  • manually add Telefunc's rollup input (146fee9)

0.1.37 (2022-11-17)

Bug Fixes

  • ensure gobalContext is globally shared (7dc059d)
  • ensure Telefunc's Vite server middleware is last (21998d3)
  • improve error message upon using Telefunc for SSR (4d17fae)
  • set build.outDir only if necessary (#54) (db069d2)
  • skip checking outDir upon preview (7629b18)

0.1.36 (2022-11-14)

Bug Fixes

  • implement context argument (d3a6d63)

0.1.35 (2022-11-14)

Bug Fixes

  • normalize rollupOptions.input (fd034ed)
  • remove @brillout/json-serializer from optimizeDeps.exclude (fix #53) (11f6ed6)

0.1.34 (2022-11-12)

Bug Fixes

  • avoid importBuild var collision (7d67401)
  • improve HTTP response upon telefunction not found (4ffe81f)

0.1.33 (2022-11-07)

Bug Fixes

  • implement onAbort() and soft-deprecate onTelefunctionRemoteCallError() (ff15341)
  • rename telefuncConfig to config (01695da)
  • simplify handling of isomorphic code (5457a30)

0.1.32 (2022-11-03)

Bug Fixes

  • let Vite discover nested dependency upon pre-optimizing (164afd3)
  • update @brillout/json-serializer (755a8ba)

0.1.31 (2022-11-03)

Features

  • allow server config to be defined with vite.config.js (41440e2)

0.1.30 (2022-11-03)

Bug Fixes

  • workaround Vite bug that wrongfully pre-optimizes telefunc module (7ead64b)

0.1.29 (2022-11-02)

Bug Fixes

  • add naming convention warnings (37ab2bf)
  • fix wrong error message (e8d5b45)
  • improve dynamic loading of modules (972f8c2)
  • improve wrong config error messages (d6b5998)
  • improve wrong usage message (2fa05d5)

Performance Improvements

  • lazy-load telefunc files (87ec5d2)

0.1.28 (2022-10-26)

Bug Fixes

  • stop assuming UserConfig.build.outDir to be a posix path (013c2fc)

0.1.27 (2022-10-24)

Bug Fixes

  • add shield() codegen to webpack loaders (fix #35) (79cb772)
  • improve DX upon server errors (4321598)
  • improve shield() gen logs (adf13ed)
  • improve shield() generation (de0996e)
  • remove superfluous isProduction config and improve isProduction() check (a166c58)
  • use strings instead of symbols as keys (bdbd31e)

Performance Improvements

  • [Vite] lazy load .telefunc.js files (dcf1423)

0.1.26 (2022-10-10)

Bug Fixes

  • gracefully handle .telefunc.js non-function exports (9eacb25)
  • improve DX around erroneous context setup (a33d89b)
  • improve error handling (1dc21e2)
  • improve error message upon telefunction not found (cb6f7a8)
  • improve error message upon wrong getContext() usage (0a0ac4e)

Features

  • add SSR context support React hooks (17e79d8)
  • new React hook useData() enabling using Telefunc for SSR data fetching (7d8a757)

Performance Improvements

  • stop auto-generating shiled() in dev (32a3008)

0.1.25 (2022-09-05)

Bug Fixes

  • improve config.build.outDir handling (c639a34)
  • support ReScript (3d5b646)
  • support Vite 3 and latest vite-plugin-ssr version (0a75971)

Features

0.1.24 (2022-08-02)

Bug Fixes

  • [shield() auto generator] support latest TypeScript version (a9fba17)

0.1.23 (2022-07-31)

Bug Fixes

  • dist/server/package.json generation (fix #33) (ccfc607)
  • add worker exports (#32) (d6c70e8)
  • tolerate missing __dirname (fix #32) (73f3862)
  • treat Object.ceate(null) as plain JavaScript object (4c3c163)

0.1.22 (2022-05-10)

Features

0.1.21 (2022-04-30)

Bug Fixes

  • improve shield error message (4188010)

0.1.20 (2022-04-22)

Features

0.1.19 (2022-03-07)

Bug Fixes

0.1.18 (2022-03-05)

Bug Fixes

  • isFileAlreadyTransformed check and move it to separate fn (e26b015)

0.1.17 (2022-03-03)

Bug Fixes

  • allow .telefunc.js ESM files to be loaded directly (0f14491)
  • fix erroneous Vite stack assumption (91ba118)
  • improve error message (13011de)
  • support client resolving for legacy toolchains (4f3d414)
  • support Expo/Metro resolver (6ede743)

Features

  • allow user to manually provide the telefunc files with telefuncConfig.telefuncFiles (b47f0d9)
  • telefunc babel plugin (c8e46df)

0.1.16 (2022-02-28)

Bug Fixes

  • remove tests from npm package (c10c501)

Features

  • telefuncConfig.httpHeaders (28993e1)

0.1.15 (2022-02-18)

Bug Fixes

  • fix @vercel/ncc bundling (2d5532c)

0.1.14 (2022-02-17)

Bug Fixes

0.1.13 (2022-02-17)

Bug Fixes

  • avoid duplicated code in importBuild.js (eae771e)
  • improve deploy DX (ddba37e)
  • improve error message (adedcdf)
  • improve no telefunc file found error (51fff0a)
  • improve server-side test [cloudfalre workers] (e847c10)
  • relative window path (102b2a9)
  • remove etag generation [cloudflare workers] (850acb7)
  • remove eval usage for cloudfalre workers (ca2401c)
  • warn user upon wrong telefunc() usage (e0a5987)

Reverts

  • remove unused generated dist/server/package.json (b72e908)

0.1.12 (2022-02-13)

Bug Fixes

  • add @brillout/json-s to pre-bundling (edb37a4)
  • remove unecessary optimizeDeps.exclude entries (c324a18)

Features

0.1.11 (2022-02-13)

Bug Fixes

  • automatically retrieve viteDevServer (d8af512)
  • improve error message upon wrong configuration (ff19628)
  • improve overall bundler handling logic (c12ed9b)

0.1.10 (2022-02-10)

Features

  • allow users to directly use the webpack loader without framework (aeeeed6)

0.1.9 (2022-02-09)

Bug Fixes

  • do not use require.resolve() in dev (614a1e8)

0.1.8 (2022-02-08)

Bug Fixes

  • circumvent moduleExists() Vite bug (32da7fd)

0.1.7 (2022-02-05)

Bug Fixes

  • improve DX around not found telefunction (c40a378)

0.1.6 (2022-02-03)

Bug Fixes

  • improve DX around malformed Telefunc request in dev (c4b2dd7)
  • improve DX upon wrong HTTP request body (f8751f0)
  • improve telefunction's human readable name (c8dd213)
  • warn user when telefunction has no shield() (dc08539)

0.1.5 (2022-02-01)

Bug Fixes

  • improve DX upon wrong shield() usage (9f8527b)

Features

  • allow shield() arguments to be passed in reversed order: shield([ t.type.string ], myTelefunction) (1f3368f)

0.1.4 (2022-01-29)

Bug Fixes

  • include node/vite/importTelefuncFiles.ts in npm package (fix #16) (3eeafa3)

0.1.3 (2022-01-28)

Bug Fixes

  • catch problematic Abort() typos (d887886)
  • ensure telefunctions to not throw a primitve as error (14698fc)
  • improve DX upon serialization failure (5656511)
  • reduce npm pcakage size (e8643f8)
  • register remote call error listeners on the global scope (19e5b26)

0.1.2 (2022-01-25)

Bug Fixes

  • improve TelefunctionError type (41a572a)
  • make error handling consistent between remote call and SSR call (10edb6a)

0.1.1 (2022-01-24)

Bug Fixes

  • enable isomorphic imports by refactoring source code file structure and adopting new TS/ESM/CJS strategy (d0c182d)
  • warn user upon incorrect usage of isomorphic imports (72700ca)

Telefunc (new 2021/2022 version) 0.1.0

Initial release.

Telefunc (old 2020 version) 0.0.26

See github.com/brillout/telefunc-old.

Wildcard API v0.5.3

See github.com/brillout/wildcard-api.