diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 6d32a334..55c65b89 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.36.1" + ".": "1.37.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index ce94ab3b..2b3f53ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,109 @@ # Changelog +## [1.37.0](https://github.com/danielo515/obsidian-modal-form/compare/v1.36.1...1.37.0) (2024-01-06) + + +### Features + +* ability to add a custom class name to the form body ([28d81b9](https://github.com/danielo515/obsidian-modal-form/commit/28d81b950b3cb91fc85fffad596aa34d78ccd755)), closes [#125](https://github.com/danielo515/obsidian-modal-form/issues/125) +* ability to order select options ([#64](https://github.com/danielo515/obsidian-modal-form/issues/64)) ([b955726](https://github.com/danielo515/obsidian-modal-form/commit/b955726bf3d44ea258ed2656ae746af3ab5e710b)) +* add multi-line text area ([1cf1559](https://github.com/danielo515/obsidian-modal-form/commit/1cf155951b1c38af59abb84cf16e6c852bd87abd)), closes [#46](https://github.com/danielo515/obsidian-modal-form/issues/46) +* added a get method for result data fixes [#129](https://github.com/danielo515/obsidian-modal-form/issues/129) ([ddee8a8](https://github.com/danielo515/obsidian-modal-form/commit/ddee8a84b255f2193a9267786a80611382bdd046)) +* added tests ([1230a34](https://github.com/danielo515/obsidian-modal-form/commit/1230a3477209141870856a2b7804bec5cc92c9c0)) +* allow any value in multi-select dataview ([fa9da3d](https://github.com/danielo515/obsidian-modal-form/commit/fa9da3d5197a13a14a9ed5be819f1f611736677b)), closes [#54](https://github.com/danielo515/obsidian-modal-form/issues/54) +* allow pick/omit in Result helpers ([1c5bd5f](https://github.com/danielo515/obsidian-modal-form/commit/1c5bd5f09a2525ffcdb9226834730b044a3aee6c)), closes [#101](https://github.com/danielo515/obsidian-modal-form/issues/101) +* **API:** example form takes options ([d204786](https://github.com/danielo515/obsidian-modal-form/commit/d204786fb088924c6fbecb7ec8f2ffefc365267c)) +* **core:** throttle error messages ([60157bd](https://github.com/danielo515/obsidian-modal-form/commit/60157bd1a8b63eeaa8fdf7d02fc31d7fe6936af7)) +* create new notes from forms using templates ([2a5d1bc](https://github.com/danielo515/obsidian-modal-form/commit/2a5d1bcc26c7577313806865fe1f77d5c4cd5dcb)) +* dataview input type ([22b8949](https://github.com/danielo515/obsidian-modal-form/commit/22b8949bbde2deeb417c89921ec4531b03af4ed2)) +* dataview query preview in FormBuilder ([0a5b4cd](https://github.com/danielo515/obsidian-modal-form/commit/0a5b4cd69ec740a25b3d61a85325fb6297c9ed45)) +* dataview rendering method for FormValue ([86839ce](https://github.com/danielo515/obsidian-modal-form/commit/86839ce89f31def1dac365e175dc30b38d0dcaeb)) +* default values support for most input types ([f8415a3](https://github.com/danielo515/obsidian-modal-form/commit/f8415a32554f1add8b50e667a7ca9664232ee2e1)) +* detect invalid data on data.json ([91aa99c](https://github.com/danielo515/obsidian-modal-form/commit/91aa99c1c899f2831999318d377b7dee01b642a7)), closes [#98](https://github.com/danielo515/obsidian-modal-form/issues/98) +* document block input builder ([ec1d44b](https://github.com/danielo515/obsidian-modal-form/commit/ec1d44bae6e6e5f823a0d9f9715a7883d341358a)) +* document how to make more convenient opening forms ([0c70eae](https://github.com/danielo515/obsidian-modal-form/commit/0c70eaeb633ff9e16953819c252d8149428cafdd)), closes [#145](https://github.com/danielo515/obsidian-modal-form/issues/145) +* duplicate form ([7a0f1c6](https://github.com/danielo515/obsidian-modal-form/commit/7a0f1c6000d309c447fc4cb7e345dbf0f435944e)), closes [#20](https://github.com/danielo515/obsidian-modal-form/issues/20) +* **editor:** create dataview inputs ([75f71f1](https://github.com/danielo515/obsidian-modal-form/commit/75f71f1438afeab75dbeef179e41521244896797)) +* Enable Ctrl+Enter form submission ([#60](https://github.com/danielo515/obsidian-modal-form/issues/60)) ([7f72122](https://github.com/danielo515/obsidian-modal-form/commit/7f721222733e93f0c6d600bf55c0a203135e20df)) +* Export form as JSON button ([#29](https://github.com/danielo515/obsidian-modal-form/issues/29)) ([defc86c](https://github.com/danielo515/obsidian-modal-form/commit/defc86c654b80ebb071e1eaa8b715f962e41c044)) +* **form-editor:** UI to set fields as required ([c77c340](https://github.com/danielo515/obsidian-modal-form/commit/c77c34017096368b9ab7f6448bb0576826545b35)) +* **form-runtime:** the form is now reactive ([ad82789](https://github.com/danielo515/obsidian-modal-form/commit/ad827897712376c1640ccd7cd0e4648c3d1b6f5c)) +* FormResult is now a proxy, so you can access the contained result values safely and directly ([3f4a611](https://github.com/danielo515/obsidian-modal-form/commit/3f4a6113d7d2a1dcaf19cea85546cb8046ff0d27)) +* **input:** new input folder suggester ([2102619](https://github.com/danielo515/obsidian-modal-form/commit/2102619376c5e3483815f73bfbd5a78a2f3ed65b)), closes [#148](https://github.com/danielo515/obsidian-modal-form/issues/148) +* **inputs:** dataview can be used as source for multi-select ([cd39785](https://github.com/danielo515/obsidian-modal-form/commit/cd39785d68fb78444db1d230f55c71907d218b6a)), closes [#50](https://github.com/danielo515/obsidian-modal-form/issues/50) +* **input:** tag suggest input, initial version ([9f0d8af](https://github.com/danielo515/obsidian-modal-form/commit/9f0d8af170448a2d5593ae47b786316bf7b7a23d)), closes [#118](https://github.com/danielo515/obsidian-modal-form/issues/118) +* keep the form header always visible ([216d9b4](https://github.com/danielo515/obsidian-modal-form/commit/216d9b40a9ebfcc4ca208a5d0ba326cd73c755d5)), closes [#11](https://github.com/danielo515/obsidian-modal-form/issues/11) +* limitedForm api ([b0acb29](https://github.com/danielo515/obsidian-modal-form/commit/b0acb29e85dc806bbf3ff04391c42c220bfcb178)), closes [#39](https://github.com/danielo515/obsidian-modal-form/issues/39) +* make the dataview input more fuzzy ([1971fdc](https://github.com/danielo515/obsidian-modal-form/commit/1971fdc096efce969d2f139b8c67279188418326)) +* migrate between form format versions ([b4e6c96](https://github.com/danielo515/obsidian-modal-form/commit/b4e6c963ad7359ca094b5fc92658e50976bbd18a)), closes [#92](https://github.com/danielo515/obsidian-modal-form/issues/92) +* multi select UI builder ([3eff7a8](https://github.com/danielo515/obsidian-modal-form/commit/3eff7a89c7177faa47940c16d04f97f5d72a3a21)) +* multi-select fixed can allow unknown values ([dcefe7c](https://github.com/danielo515/obsidian-modal-form/commit/dcefe7c44c2ea97726c1e779ba47a2c511b54feb)) +* multi-select v1 ([e3ee492](https://github.com/danielo515/obsidian-modal-form/commit/e3ee49281f39ed6708cdd48f8bba527e74d5584b)) +* option to have a global shortcut to modal form ([d262a0e](https://github.com/danielo515/obsidian-modal-form/commit/d262a0e2bb6a5173611226fe284afeb090ce8695)) +* preview form from the editor ([2d8e2d6](https://github.com/danielo515/obsidian-modal-form/commit/2d8e2d6aec99f27a30e86ffc49312a2876e5195e)), closes [#17](https://github.com/danielo515/obsidian-modal-form/issues/17) +* real time query preview with errors ([41a7dec](https://github.com/danielo515/obsidian-modal-form/commit/41a7dec8d9abccb761d48f878c38e55614002b3a)) +* result value helpers for better user experience ([57f2c1b](https://github.com/danielo515/obsidian-modal-form/commit/57f2c1b1ef7b4f6376c5a8b5e15dcdae6ff68626)) +* safely parse and execute code blocks functions ([a09f72f](https://github.com/danielo515/obsidian-modal-form/commit/a09f72f409d3bc3249534654b4887fe95596e376)) +* safer parsing of functions ([4d6ee27](https://github.com/danielo515/obsidian-modal-form/commit/4d6ee27040215d5f74327303311b252899c2036c)) +* scroll to elements on the list ([f9804a7](https://github.com/danielo515/obsidian-modal-form/commit/f9804a7dde5ba46b045f4f4ad41eacb4b6e3fd22)) +* scroll to new fields in the editor ([ce3ece5](https://github.com/danielo515/obsidian-modal-form/commit/ce3ece5da6fc42b295eee06d7295891ce20622ba)) +* shortcut methods for the ResultValue helper ([00ba405](https://github.com/danielo515/obsidian-modal-form/commit/00ba405744cdb91d31d091f05018244e125bbdb4)) +* show better errors ([8202d37](https://github.com/danielo515/obsidian-modal-form/commit/8202d378cac76f6a3f49058c78e9988daa5432e6)) +* show errors when form has any invalid field ([54e9eaf](https://github.com/danielo515/obsidian-modal-form/commit/54e9eaf4a0827958fc7f7e312b928d793e026963)) +* show result preview ([7425df1](https://github.com/danielo515/obsidian-modal-form/commit/7425df13425c5e957dc9a9f1cc2a8f2bcb1d1c5f)) +* specific field/input error reporting methods ([3bfd22d](https://github.com/danielo515/obsidian-modal-form/commit/3bfd22d7c2da0511ee2fc82859de0a9e2b37f045)) +* tags input allow any value to be selected, even if it does not exist yet ([1834bf5](https://github.com/danielo515/obsidian-modal-form/commit/1834bf5f6cdb4833d8a332abeda721deabfd5bf6)) +* **template:** add support for frontmatter command in templates ([059891c](https://github.com/danielo515/obsidian-modal-form/commit/059891c6ca80040a0e5a47c6d04cdb3bb8a7e220)) +* text document block. Allows to render a text in the form using the current form values ([1949e03](https://github.com/danielo515/obsidian-modal-form/commit/1949e03b241d6b67ac10465669843102cf4bb001)) +* **validation:** better UI for notify errors of form ([2a609ae](https://github.com/danielo515/obsidian-modal-form/commit/2a609ae2b434e9db13b0d3f6909cae98fab380a4)) + + +### Bug Fixes + +* accept empty option values for now ([6293dad](https://github.com/danielo515/obsidian-modal-form/commit/6293dade57e451bc68162d5a07db2664fecbfd1f)) +* add a link to the docs in the settings ([704aa99](https://github.com/danielo515/obsidian-modal-form/commit/704aa99805c1dd36f7e5f16df8d12ec94e3a1022)), closes [#58](https://github.com/danielo515/obsidian-modal-form/issues/58) +* add aliases for Result methods fixes [#122](https://github.com/danielo515/obsidian-modal-form/issues/122) ([d6f755c](https://github.com/danielo515/obsidian-modal-form/commit/d6f755cea44195b3bfb77d1996ededc8356334bc)) +* add tests for result class and helpers ([e4eea18](https://github.com/danielo515/obsidian-modal-form/commit/e4eea189d168fb80000ca722630334c018f6fd04)) +* add version to the form definition ([c7fdd77](https://github.com/danielo515/obsidian-modal-form/commit/c7fdd777f9f1fbce4402a58000ecea1a84d0af52)) +* big bundle size ([e5f566e](https://github.com/danielo515/obsidian-modal-form/commit/e5f566ea8411be7fa7c06efaddca125b7799ec34)) +* creation of unique note name ([b40b2c3](https://github.com/danielo515/obsidian-modal-form/commit/b40b2c355311a3bcb67ddf1c94ce15636cb74b95)) +* dataview input was not filtering ([8202d37](https://github.com/danielo515/obsidian-modal-form/commit/8202d378cac76f6a3f49058c78e9988daa5432e6)) +* dataview list format is now correct ([e4eea18](https://github.com/danielo515/obsidian-modal-form/commit/e4eea189d168fb80000ca722630334c018f6fd04)) +* do not close existing leafs, reuse instead ([b00b6b8](https://github.com/danielo515/obsidian-modal-form/commit/b00b6b8d407371450bf4ab0f88cf1fd68f36855f)), closes [#36](https://github.com/danielo515/obsidian-modal-form/issues/36) +* do not use innerHTML ([8ae7d5b](https://github.com/danielo515/obsidian-modal-form/commit/8ae7d5be014840ddb8e19619097af7ad1d9bccc2)) +* ensure order of fixed select ([62b407e](https://github.com/danielo515/obsidian-modal-form/commit/62b407ea50b39c873d3f83e86ff9e502a88a6d22)), closes [#61](https://github.com/danielo515/obsidian-modal-form/issues/61) +* ensure types in svelte at build ([fbe03d3](https://github.com/danielo515/obsidian-modal-form/commit/fbe03d36bdf70551c73c3ce12150e6cdae2264b9)) +* filtering in multi with uppercase ([fac67ea](https://github.com/danielo515/obsidian-modal-form/commit/fac67ea1199b2db9d27e4df0010e959e939927ab)) +* fix the versioning, I hope ([7bb7d7d](https://github.com/danielo515/obsidian-modal-form/commit/7bb7d7da9b58c1a7055d3178b4528f346ea62edd)) +* **form-runtime:** show an asterisk when fields are required ([b578ace](https://github.com/danielo515/obsidian-modal-form/commit/b578ace00564c99f2dcbddee81047b98f4f097f9)), closes [#198](https://github.com/danielo515/obsidian-modal-form/issues/198) +* forms can not be renamed ([ab2e20d](https://github.com/danielo515/obsidian-modal-form/commit/ab2e20d5a6f8b76d3ed4685c2a4fddcb9c3ce261)), closes [#108](https://github.com/danielo515/obsidian-modal-form/issues/108) +* functional form engine ([ab99b0e](https://github.com/danielo515/obsidian-modal-form/commit/ab99b0e1c211ad94683b6bafd19bf58edc946c74)) +* inline help for dataview ([d7e0630](https://github.com/danielo515/obsidian-modal-form/commit/d7e06304aca1c0b9b9a9a7b5540d58289493266b)) +* **input:** if folder does not exist, the form does not fail ([0d5afbd](https://github.com/danielo515/obsidian-modal-form/commit/0d5afbd399a6635c77534c3fb0e9b2838ee22040)), closes [#90](https://github.com/danielo515/obsidian-modal-form/issues/90) +* **input:** multi-select refocus on enter ([6f8d2ca](https://github.com/danielo515/obsidian-modal-form/commit/6f8d2cadfde5d1df6882e7f12bafd843a697ce94)) +* make multi-select static work ([fa5987a](https://github.com/danielo515/obsidian-modal-form/commit/fa5987a93ae7ef7bc6aea60f6273bbcb6e78fcc1)), closes [#63](https://github.com/danielo515/obsidian-modal-form/issues/63) +* make sure the editor always has the right height ([53f10b3](https://github.com/danielo515/obsidian-modal-form/commit/53f10b3a2451efd347855e486f46aa64eaaeeec3)), closes [#38](https://github.com/danielo515/obsidian-modal-form/issues/38) +* ManageForms view is now reactive thanks to stores ([040f8f5](https://github.com/danielo515/obsidian-modal-form/commit/040f8f504c282876b7798da00db3ddda9f8a1c9f)) +* multi select was not including the values ([1885834](https://github.com/danielo515/obsidian-modal-form/commit/1885834ded85f09deac185e2a3b2d91502585504)) +* open the main view in a new tab ([b00b6b8](https://github.com/danielo515/obsidian-modal-form/commit/b00b6b8d407371450bf4ab0f88cf1fd68f36855f)) +* pipelines install ([2c9a17f](https://github.com/danielo515/obsidian-modal-form/commit/2c9a17f62a017f2b190b1abf99cfb1a0e015c4d6)) +* preettier invalid form view in form manager ([b256a1a](https://github.com/danielo515/obsidian-modal-form/commit/b256a1a9d831f935f7c3ea1b191eae49cd567416)) +* prevent chalk to be loaded in bundle ([37e4508](https://github.com/danielo515/obsidian-modal-form/commit/37e450895d30863b7f1aac33c071f1f5abd55cc9)) +* proper colors for save and close ([4c6d495](https://github.com/danielo515/obsidian-modal-form/commit/4c6d495a8b0e550b9f117e5d340885a8052f55c9)) +* proper duplicate scroll ([28cebd4](https://github.com/danielo515/obsidian-modal-form/commit/28cebd42d0b50d968b4fa2678425d4a378f9dd00)) +* properly clone elements ([667ebe0](https://github.com/danielo515/obsidian-modal-form/commit/667ebe0d94526803dbad6d62069c36757355dbe5)), closes [#51](https://github.com/danielo515/obsidian-modal-form/issues/51) +* release process ([790d84d](https://github.com/danielo515/obsidian-modal-form/commit/790d84d83200243b01ca6080575e3aabda663ff5)) +* release-bot ([0586068](https://github.com/danielo515/obsidian-modal-form/commit/0586068e6b69a3659fd27377510b0de3eeba6387)) +* remove all trace of text input suggest ([68cace2](https://github.com/danielo515/obsidian-modal-form/commit/68cace2135ac38d66027d1f620f34eda700e82df)) +* remove deprecated usages of app ([343ff57](https://github.com/danielo515/obsidian-modal-form/commit/343ff573ae7ed4710b3f3290bf752dee84e7aaae)) +* remove leading # in tags ([556b769](https://github.com/danielo515/obsidian-modal-form/commit/556b7699d544ec67f286e01f41104075f7b2f6a8)) +* separate input builder for select ([e75a1f4](https://github.com/danielo515/obsidian-modal-form/commit/e75a1f43f7e7e674806ae9771d9c9155a8a0e7cc)), closes [#75](https://github.com/danielo515/obsidian-modal-form/issues/75) +* set a default value for inputs of type select ([2c514b1](https://github.com/danielo515/obsidian-modal-form/commit/2c514b1095edf37e37151ca89f2ea10b440db446)), closes [#45](https://github.com/danielo515/obsidian-modal-form/issues/45) +* text-area initial value ([f21b783](https://github.com/danielo515/obsidian-modal-form/commit/f21b783cfefc9485a8f7748539076bb7d0def2b8)) +* toggles always have a value ([72cfc3e](https://github.com/danielo515/obsidian-modal-form/commit/72cfc3e65624a31d4a200301465aa9044e908357)) +* type check also svelte files ([903b9bf](https://github.com/danielo515/obsidian-modal-form/commit/903b9bfc680666b1d9d1e71196bdd732504b7083)) +* type narrow on svelte ([c46dc40](https://github.com/danielo515/obsidian-modal-form/commit/c46dc400dee5bc2df704d0c95a5577a298f517a8)) + ## [1.36.1](https://github.com/danielo515/obsidian-modal-form/compare/1.36.0...1.36.1) (2024-01-06) diff --git a/manifest.json b/manifest.json index 5134c52e..d38da8b9 100644 --- a/manifest.json +++ b/manifest.json @@ -7,5 +7,5 @@ "authorUrl": "https://danielo.es", "fundingUrl": "https://www.buymeacoffee.com/danielo515", "isDesktopOnly": false, - "version": "1.36.1" + "version": "1.37.0" } \ No newline at end of file diff --git a/package.json b/package.json index 6a1e0572..81584a4e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-modal-form", - "version": "1.36.1", + "version": "1.37.0", "description": "Define forms for filling data that you will be able to open from anywhere you can run JS", "main": "main.js", "scripts": { diff --git a/versions.json b/versions.json index d48dfe0e..4222169e 100644 --- a/versions.json +++ b/versions.json @@ -49,5 +49,6 @@ "1.34.0": "0.15.0", "1.35.0": "0.15.0", "1.36.0": "0.15.0", - "1.36.1": "0.15.0" + "1.36.1": "0.15.0", + "1.37.0": "0.15.0" } \ No newline at end of file