DJ Mountney
0045d9212e
Bundle loot-core types into the API ( #2053 )
...
* Bundle loot-core types into the API
So we can have loot-core be the source of truth
for some types that get passed through
- Improves downstream development with API by including types
- Use path aliases for dist vs dev tsconfigs
- Convert api index to typescript as example
- Permit ts-ignore for issues with our version of typescript
---------
Co-authored-by: Matiss Janis Aboltins <matiss@mja.lv >
2024-01-20 10:30:23 -08:00
Matiss Janis Aboltins
ae3be13aa8
🔥 removing unused variables (batch 1) ( #2255 )
2024-01-19 23:02:21 +00:00
Matiss Janis Aboltins
f33bce41ea
♻️ (typescript) enable strict mode everywhere ( #2230 )
2024-01-15 08:24:33 +00:00
DJ Mountney
761b3c6a16
Tests: Add api tests for payees and transactions ( #2168 )
...
* Tests: Add api CRUD tests for payees and transactions
2024-01-09 11:20:06 -08:00
Matiss Janis Aboltins
7ace8c52dd
🔧 (electron) release electron app to app store (osx) ( #2182 )
2024-01-09 18:54:57 +00:00
Joel Jeremy Marquez
84a9269ae4
ESLint no-default-exports 1 ( #2115 )
...
* ESLint no-default-imports part 1
* Release notes
* Remove Notes.tsx default export
* Fix Notes imports
2024-01-06 09:06:26 -08:00
Matiss Janis Aboltins
02aff1acbe
🔖 (24.1.0) Mobile split transactions ( #2177 )
2024-01-06 09:56:10 +00:00
iOSLife
af9efa09f0
API – Return Hidden for Category and CategoryGroup ( #2062 )
2023-12-15 18:09:14 +00:00
DJ Mountney
3680d45814
Add API category tests ( #2036 )
2023-12-05 20:08:48 +00:00
DJ Mountney
8b20169b59
Add some initial api tests for budgets and accounts ( #1991 )
2023-12-02 20:42:53 +00:00
Matiss Janis Aboltins
da03acc394
🔖 (23.12.0) darkmode, transaction locking, mobile updates and more ( #2003 )
2023-12-02 19:26:02 +00:00
Stefan Hall
29f323e721
Validates minimum node version to 18.12.0 for @actual-app/api npm package ( #1980 )
2023-11-28 19:19:18 +00:00
DJ Mountney
b4fd6e86ed
Create category rules for ynab imports ( #1944 )
2023-11-23 08:36:15 +00:00
Joel Jeremy Marquez
881999bcfe
ESLint prefer-const ( #1956 )
2023-11-22 11:12:22 -08:00
Stefan Hall
4761e9ce2f
Specify minimum node version for @actual-app/api nom package ( #1934 )
2023-11-20 18:37:38 +00:00
Matiss Janis Aboltins
08c80b6f58
⬆️ (yarn) upgrade to v4 and better-sqlite3 to v9.1.1 ( #1902 )
2023-11-14 08:34:12 +00:00
Matiss Janis Aboltins
246e0d76c1
⬆️ (better-sqlite3) upgrade to 8.6.0 to fix electron export crash ( #1643 )
2023-09-03 21:57:12 +01:00
Matiss Janis Aboltins
4a9b30d4d5
🔖 (23.8.1) fix nYNAB import, mobile colors and other smaller fixes ( #1475 )
...
- web: https://github.com/actualbudget/actual/pull/1475
- server: https://github.com/actualbudget/actual-server/pull/240
- docs: https://github.com/actualbudget/docs/pull/260
2023-08-07 18:53:22 +01:00
Matiss Janis Aboltins
5f92920195
🔖 (23.8.0) stability improvements and new experimental features ( #1444 )
...
- web: https://github.com/actualbudget/actual/pull/1444
- server: https://github.com/actualbudget/actual-server/pull/238
- docs: https://github.com/actualbudget/docs/pull/257
2023-08-02 20:33:20 +01:00
Jed Fox
a99e88b46c
Update node-fetch in the API to fix connection drop issue ( #1397 )
2023-07-29 05:24:51 -07:00
Matiss Janis Aboltins
91474f1f0c
🐛 fix sync: add back 'accounts.type' column ( #1317 )
...
Closes #1296
After this is merged I'll do an API release which will also solve
https://github.com/actualbudget/actual/issues/1303
2023-07-09 16:13:30 +01:00
Jed Fox
1733179bfb
Remove redundant UUID wrapper module, update uuid package to 9.x ( #1216 )
...
I noticed that:
- The web and electron versions of our `uuid` module both looked exactly
the same…
- …and deferred to the `uuid` package…
- …and the async version just called the sync API.
So now we will just use the `uuid` package directly everywhere.
2023-06-28 12:24:24 -04:00
Jed Fox
ed50e2b392
Run ESLint at the top level once ( #1202 )
...
This significantly speeds up `yarn lint` for me. It also ensures we’re
listing all source files in the project, including the `.eslintrc` files
and any other files that may be present.
2023-06-26 15:32:56 -04:00
Jed Fox
9aea091f53
Update links to point to new domain ( #1129 )
...
Depends on https://github.com/actualbudget/docs/pull/202 .
2023-06-15 06:46:04 +01:00
Jed Fox
02f1fe48c6
Stop mixing platform-specific code ( #1114 )
...
Bundle sizes are unchanged but now we no longer pull in the
Electron-specific FS code on the web version
2023-06-09 16:06:18 -04:00
Jed Fox
6de6ad661d
Sync more often when using the API ( #1075 )
2023-06-02 15:34:42 -04:00
Matiss Janis Aboltins
a0dfb8afbd
🔖 (23.6.0) category hiding and filters for reports ( #1087 )
...
Web: https://github.com/actualbudget/actual/pull/1087
Server: https://github.com/actualbudget/actual-server/pull/207
Docs: https://github.com/actualbudget/docs/pull/179
---------
Co-authored-by: Jed Fox <git@jedfox.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-01 20:58:42 +01:00
Matiss Janis Aboltins
353474dacd
🔖 (6.0.1) api ( #1057 )
...
<!-- Thank you for submitting a pull request! Make sure to follow the
instructions to write release notes for your PR — it should only take a
minute or two:
https://github.com/actualbudget/docs#writing-good-release-notes -->
2023-05-24 18:44:14 +01:00
Jed Fox
fafd162db0
Export api/methods.js at the top level again ( #1054 )
...
This allows using the API as documented. In #877 , I think this was
unintentionally converted to be a named export.
2023-05-22 18:20:09 -04:00
Jed Fox
d400ebfda0
Fix the API (again) ( #1002 )
2023-05-16 14:56:24 -04:00
Matiss Janis Aboltins
f913d99c9f
🔖 (23.5.0) various improvements ( #993 )
2023-05-04 18:23:08 +01:00
Jed Fox
646d0d90a4
Remove unused payee rules feature ( #985 )
...
Fixes #615 . I would appreciate double-checking that I didn’t
accidentally delete anything that is important.
Since I’m removing the related API methods, this is technically a
breaking change (even if people would have no reason to remove this
stuff), so we should probably do a major release of the API package.
2023-05-02 14:08:05 -04:00
Alberto Gasparin
5dec98e754
Migrate core to TS p2 ( #889 )
...
Another batch of files from `loot-core` migrated to TS (loose mode)
2023-04-12 11:09:42 -04:00
Alberto Gasparin
cd00da76ef
Convert commonjs to esm ( #877 )
...
This PR converts everything (aside from electron) from CommonJS to ESM.
It is needed to reduce the changes that will happen during the migration
to Typescript (as TS does not play nice with CJS).
Basically:
- rewrite `require()` to `import`
- rewrite `module.exports` to `exports`
- introduce `ts-node` to run importers so we can convert them to TS too
Lastly, sorry for this larg-ish PR, not my preference but when I tried
to reduce its scope, I would end up with mixed commons/esm that was even
more tricky to handle.
2023-04-10 20:40:40 +01:00
Matiss Janis Aboltins
7e33cda7b2
🔖 (api) 5.1.2 ( #880 )
...
<!-- Thank you for submitting a pull request! Make sure to follow the
instructions to write release notes for your PR — it should only take a
minute or two:
https://github.com/actualbudget/docs#writing-good-release-notes -->
2023-04-09 19:29:44 +01:00
Jed Fox
bf05b759aa
Remove duplicate migration and default-db.sqlite files ( #870 )
...
These files will be automatically recreated by `yarn build:api`,
`yarn build:browser`, and `yarn start:browser`, so we don’t need
them in the repo.
2023-04-09 14:21:59 -04:00
Matiss Janis Aboltins
7abbdcc5bb
🔖 (5.1.1) api ( #873 )
2023-04-07 21:11:12 +01:00
Jed Fox
5d559afe30
Enable linting for all packages ( #861 )
...
<!-- Thank you for submitting a pull request! Make sure to follow the
instructions to write release notes for your PR — it should only take a
minute or two:
https://github.com/actualbudget/docs#writing-good-release-notes -->
2023-04-06 15:49:43 -04:00
Matiss Janis Aboltins
0bae379c17
🔖 (5.1.0) upgrade better-sqlite3 to v8.2 ( #735 )
...
A new release for `api` too so we could start using `better-sqlite3` v8
in `actual-server`.
2023-03-09 19:31:00 +00:00
Jed Fox
a56f295185
Upgrade better-sqlite3 to the latest version ( #714 )
...
* Sort transactions by date in updateCategoryRules
* Update better-sqlite3 to 7.5.0
* Update better-sqlite3 to v8
2023-02-28 16:40:33 -05:00
Jed Fox
93a1f8a944
Updates to the @actual-budget/api package ( #464 )
...
* Make it easier to build the bundle.api.js for the API
* Remove budgetId parameter, move config to top level of API
* that’s a breaking change
* Add support for signing into the server in init()
* Add api.downloadBudget(syncId, { password }) method
* Fix lint errors
* Refactor: extract out getSyncError
* api/download-budget: sync if possible instead of downloading
* Don’t bother with fetching remote files and installing key if the file is local
* *groupId
* FIx lint issues
* Remove extra close+reopen
* Refactor out duplicate load-budget logic
* Trailing commas
2023-02-23 23:01:05 -05:00
Matiss Janis Aboltins
f4ad715b7a
🔖 (api) 4.1.6: node-fetch upgrade ( #610 )
2023-02-02 21:40:34 +00:00
Matiss Janis Aboltins
df5012a4ca
⬆️ upgrade node-fetch to ^2.6.9 ( #609 )
2023-02-02 21:25:34 +00:00
shall0pass
e18fc0efc7
Merge branch 'actualbudget:master' into replaceUrls
2022-12-12 10:57:43 -06:00
shall0pass
3f5ea96059
replaced urls with github.io links
2022-12-12 10:23:40 -06:00
James Long
3edf947145
Accidentally only build the sourcemap for API bundle
2022-12-08 15:59:12 -05:00
James Long
b34dfb15b2
@actual-app/api 4.1.4
2022-12-08 15:55:29 -05:00
James Long
8b1c5777ad
Include the API bundle when publishing
2022-12-08 15:55:05 -05:00
James Long
94c195abb9
Fix API version
2022-12-03 23:34:31 -05:00
James Long
7c1c9bf03a
Ignore API bundle
2022-12-03 23:32:57 -05:00