v1.4.0 #2115
Replies: 1 comment 2 replies
-
|
Congrats on the release 🎉 Happy to be able to delete my own versions getCookie and copyRecord helpers, and looking forward to the dev server improvements and many papercut-fixes :-) Here are some of my own upgrade notes, maybe some of this could be mentioned in MigrationsBefore, I would By adding devShells.ihp-migrate = pkgs.mkShell {
buildInputs = [
pkgs.ghc.ihp-migrate
];
};in Maybe there's already something like this builtin? (In any case, Guide/database-migrations.markdown needs updating.) Package managementBefore, version overrides went in So before adding $ nix flake metadata nixpkgs
Resolved URL: github:NixOS/nixpkgs/nixpkgs-unstable
Locked URL: github:NixOS/nixpkgs/c6a788f552b7b7af703b1a29802a7233c0067908
Description: A collection of packages for the Nix package manager
Revision: c6a788f552b7b7af703b1a29802a7233c0067908
Last modified: 2025-09-03 16:58:13
Fingerprint: 3e05021e9dd32512ef43eb88791de71e5e822d62db4d9db7aa5fe41348da26cdThe hit fork on https://github.com/NixOS/nixpkgs and open https://github.com/YOURUSER/nixpkgs/tree/c6a788f552b7b7af703b1a29802a7233c0067908 and click the tag/branch selector and give it a name like The you can shallow clone (nixpkgs is big, shallow is faster) from that commit, and give it some new name for your changes: Now you can edit # nixpkgs.follows = "ihp/nixpkgs"; # Overridden to upgrade HPDF:
nixpkgs.url = "github:YOURUSER/nixpkgs?rev=f1a3f4a14f65dde8450c80cf57132a87f0f06b45";and (I guess Guide/package-management.markdown needs updating with something like this.) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Highlights
ihp-ide,ihp-ssc,ihp-migrate,ihp-sitemap).createRecordDiscardResult,copyRecord,queryUnionList,orderByAscJoinedTable.Major Changes
createRecordDiscardResult(complementsupdateRecordDiscardResult) for cases where the result is not needed (e.g. scheduling jobs).copyRecordfor easier duplication of database records.ihp-ide,ihp-ssc,ihp-migrate,ihp-sitemap) for cleaner dependency boundaries.warp-systemd, added healthcheck endpoint, and improved socket activation.Minor Changes
Nix / Deployment
rtsFlags,optimizationLevel,appName.nix buildvia caching ofGenerated.Types.IHP_MIGRATION_DIR).ihpsource to reduce closure size.mkGhcCompiler.system.stateVersionautomatically (configured in project’sflake.nix).Job Runner
ResourceTfor job worker scheduling to avoid leaks.DataSync
useCount, customnewRecordBehaviour, support for event triggers, React 18useSyncExternalStore.large_pg_notificationstable when not needed.HSX / View Layer
uncheckedHsxandcustomHsx.SQL / Query Layer
filterWhereInCaseInsensitive,queryUnionList,orderByAscJoinedTable/orderByDescJoinedTable.Storage
IHP_STORAGE_DIR.storeFileFromPath.storagePrefixnow returns base URL.createTemporaryDownloadUrlFromPath.Miscellaneous
assetPath.withPGListener.mainInParentDirectory.IHP OpenAI
promptfield.response_format, Anthropiccache_control, Google Gemini.extraHeaders,finish_reason,usagein streaming responses.maxTokens,temperature,presencePenalty,frequencyPenaltytoMaybe.reasoningEffortandparallelToolCalls.system_fingerprintis now optional.Documentation
validateFieldIOand scheduled job execution withrunAt.New Contributors
Full Changelog: v1.3.0...v1.4.0
This discussion was created from the release v1.4.0.
Beta Was this translation helpful? Give feedback.
All reactions