hledger/hledger-web/CHANGES.md

435 lines
12 KiB
Markdown
Raw Normal View History

2018-11-26 08:06:33 +03:00
User-visible changes in hledger-web.
See also the hledger changelog.
2017-12-31 05:20:41 +03:00
2020-06-22 22:24:01 +03:00
# ce4de7ae
2020-06-21 17:25:51 +03:00
# 1.18.1 2020-06-21
2020-06-21 04:24:15 +03:00
- fix some doc typos (Martin Michlmayr)
2020-06-07 22:45:55 +03:00
# 1.18 2020-06-07
2020-04-20 00:45:07 +03:00
- The filter query is now preserved when clicking a different account
in the sidebar. (Henning Thielemann)
2020-06-07 02:53:41 +03:00
- Hyperlinks are now more robust when there are multiple journal
files, eg links from register to journal now work properly.
(#1041) (Henning Thielemann)
2020-06-06 01:18:23 +03:00
2020-06-07 02:53:41 +03:00
## add form
2020-06-06 01:18:23 +03:00
2020-06-07 02:53:41 +03:00
- Fixed a 2016 regression causing too many rows to be added by
keypresses in the last amount field or CTRL-plus (#422, #1059).
2020-04-20 00:45:07 +03:00
2020-06-07 02:53:41 +03:00
- Always start with four rows when opened.
2020-03-26 04:42:26 +03:00
2020-06-07 02:53:41 +03:00
- Drop unneeded C-minus/C-plus keys & related help text.
2020-03-26 04:42:26 +03:00
2020-03-20 00:09:37 +03:00
2020-03-20 00:07:53 +03:00
# 1.17.1 2020-03-19
- require newer Decimal, math-functions libs to ensure consistent
rounding behaviour, even when built with old GHCs/snapshots.
hledger uses banker's rounding (rounds to nearest even number, eg
0.5 displayed with zero decimal places is "0").
2020-03-19 02:17:13 +03:00
# 1.17 2020-03-01
2020-01-14 21:08:50 +03:00
2020-03-02 03:44:28 +03:00
- Fonts have been improved on certain platforms. (David Zhang)
2020-01-14 21:08:50 +03:00
2020-03-02 03:44:28 +03:00
- IPv6 is supported (Amarandus) (#1145)
2020-01-14 21:08:50 +03:00
2020-03-02 03:44:28 +03:00
- The --host option can now take a local hostname (Amarandus) (#1145)
2020-01-14 21:08:50 +03:00
2020-03-02 03:44:28 +03:00
- New --socket option to run hledger-web over an AF_UNIX socket file. (Carl Richard Theodor Schneider)
This allows running multiple instances of hledger-web on the same
system without having to manually choose a port for each instance,
which is helpful for running individual instances for multiple
users. In this scenario, the socket path is predictable, as it can
be derived from the username.
2020-01-14 21:08:50 +03:00
2020-03-02 03:44:28 +03:00
- The edit and upload forms now normalise line endings, avoiding parse
errors (#1194). Summary of current behaviour:
2020-01-14 21:08:50 +03:00
2020-03-02 03:44:28 +03:00
- hledger add and import commands will append with (at least some)
unix line endings, possibly causing the file to have mixed line
endings
- hledger-web edit and upload forms will write the file with
the current system's native line endings, ie changing all
line endings if the file previously used foreign line endings.
- Numbers in JSON output now provide a floating point Number
representation as well as our native Decimal object representation,
since the later can sometimes contain 255-digit integers. The
floating point numbers can have up to 10 decimal digits (and an
unbounded number of integer digits.)
Experimental, suggestions needed. (#1195)
2020-01-14 21:08:50 +03:00
# 1.16.2 2020-01-14
2020-01-14 21:08:50 +03:00
- add support for megaparsec 8 (#1175)
2020-01-14 21:08:50 +03:00
- fix add form completions (#1156)
2020-01-14 21:08:50 +03:00
2019-12-03 19:33:00 +03:00
# 1.16.1 2019-12-03
2019-12-03 19:25:37 +03:00
- Drop unnecessary json (#1190), mtl-compat dependencies
2019-12-02 19:59:58 +03:00
- use hledger 1.16.1, fixing GHC 8.0/8.2 build
2019-12-02 19:59:58 +03:00
2019-12-01 20:59:01 +03:00
# 1.16 2019-12-01
2019-12-01 20:59:01 +03:00
- add support for GHC 8.8, base-compat 0.11 (#1090).
For now, hledger-web needs an unreleased version of json.
2019-12-01 20:59:01 +03:00
- drop support for GHC 7.10
2019-12-01 20:59:01 +03:00
- Weeks in the add form's date picker now start on Mondays (#1109)
(Timofey Zakrevskiy)
2019-12-01 20:59:01 +03:00
- The --cors option allows simple cross-origin requests to hledger-web
(Alejandro García Montoro)
2019-09-13 18:31:54 +03:00
2019-12-01 20:59:01 +03:00
- The test suite has been disabled for now.
2019-09-13 18:31:54 +03:00
2019-09-01 18:41:33 +03:00
# 1.15 2019-09-01
2019-08-19 14:03:54 +03:00
- --serve-api disables the usual server-side web UI (leaving only the API routes)
2019-08-19 14:03:54 +03:00
- register page: account names are hyperlinked
2019-07-11 09:22:04 +03:00
- ?sidebar= now hides the sidebar, same as ?sidebar=0
2019-07-11 09:22:04 +03:00
2019-07-25 12:48:08 +03:00
- fix "_create_locale could not be located" error on windows 7 (#1039)
2019-05-04 00:59:12 +03:00
- use hledger 1.15
2019-03-21 02:09:25 +03:00
2019-03-21 01:39:12 +03:00
# 1.14.1 2019-03-20
- /accounts JSON: return all accounts, not just top-level ones (#985)
Accounts are returned as a flat list, in tree order, with asubs fields empty.
- use hledger 1.14.2
2019-03-02 04:43:27 +03:00
# 1.14 2019-03-01
- serve the same JSON-providing routes as in hledger-api:
```
/accountnames
/transactions
/prices
/commodities
/accounts
/accounttransactions/ACCT
```
And allow adding a new transaction by PUT'ing JSON (similar to the
output of /transactions) to /add. This requires the `add` capability
(which is enabled by default). Here's how to test with curl:
```
$ curl -s http://127.0.0.1:5000/add -X PUT -H 'Content-Type: application/json' --data-binary @in.json; echo
```
(#316)
- fix unbalanced transaction prevention in the add form
- fix transaction-showing tooltips (#927)
- manual updates: document --capabilities/--capabilities-header and
editing/uploading/downloading.
- use hledger 1.14
2019-02-02 03:57:52 +03:00
# 1.13 (2019/02/01)
2019-01-26 22:30:54 +03:00
2019-02-02 03:57:52 +03:00
- use hledger 1.13
2019-01-26 22:30:54 +03:00
2018-12-02 03:29:54 +03:00
# 1.12 (2018/12/02)
- fix duplicate package.yaml keys warned about by hpack
2018-12-02 03:29:54 +03:00
- use hledger 1.12
2018-12-02 03:29:54 +03:00
2018-10-06 22:36:20 +03:00
# 1.11.1 (2018/10/06)
- use hledger 1.11.1
2018-10-06 22:36:20 +03:00
2018-10-01 09:05:26 +03:00
# 1.11 (2018/9/30)
- use hledger 1.11
2018-10-01 09:05:26 +03:00
2018-06-30 23:57:06 +03:00
# 1.10 (2018/6/30)
- multiple -f options, and --auto, work again
2018-06-30 23:57:06 +03:00
- view, add, edit permissions can be set at CLI or by Sandstorm HTTP header
2018-06-30 23:57:06 +03:00
- the edit form has been revived, for whole-journal editing
2018-06-30 23:57:06 +03:00
- the journal can now be uploaded and downloaded
2018-06-30 23:57:06 +03:00
- the e key toggles empty accounts in the sidebar
2018-06-30 23:57:06 +03:00
- use hledger-lib 1.10
2018-06-30 23:57:06 +03:00
2018-04-29 21:56:46 +03:00
# 1.9.2 (2018/4/30)
- use hledger-lib 1.9.1
2018-04-29 21:56:46 +03:00
# 1.9.1 (2018/4/13)
- fix compilation with yesod < 1.6
2018-04-29 21:56:46 +03:00
2018-03-31 14:15:16 +03:00
# 1.9 (2018/3/31)
2018-03-28 20:25:01 +03:00
- support ghc 8.4, latest deps
2018-03-28 20:25:01 +03:00
- when the system text encoding is UTF-8, ignore any UTF-8 BOM prefix
found when reading files
- -E/--empty toggles zeroes at startup (with opposite default to cli)
2018-03-28 20:25:01 +03:00
2017-12-31 05:20:41 +03:00
# 1.5 (2017/12/31)
- add form account fields now suggest implied and declared account names also
2017-12-31 05:20:41 +03:00
- add form date field now uses a datepicker (Eli Flanagan)
2017-12-31 05:20:41 +03:00
- don't write a session file at startup, don't require a writable working directory
2017-12-31 05:20:41 +03:00
- support -V/--value, --forecast, --auto
2015-02-27 18:02:31 +03:00
- remove upper bounds on all but hledger* and base (experimental)
2017-09-27 05:22:30 +03:00
# 1.4 (2017/9/30)
- a @FILE argument reads flags & args from FILE, one per line
2017-09-30 19:52:15 +03:00
- enable --pivot and --anon options, like hledger CLI (#474) (Jakub Zárybnický)
2017-09-27 05:22:30 +03:00
- web: Make "Add transaction" button tabbable (#430) (Jakub Zárybnický)
2017-09-27 05:22:30 +03:00
- accept -NUM as a shortcut for --depth NUM
2017-09-27 05:22:30 +03:00
- deps: drop oldtime flag, require time 1.5+, remove ghc < 7.6 support
2017-09-27 05:22:30 +03:00
2017-08-25 19:14:11 +03:00
# 1.3.2 (2017/8/25)
- remove unnecessary bound to satisfy hackage server
2017-08-25 19:14:11 +03:00
2017-08-25 18:00:54 +03:00
# 1.3.1 (2017/8/25)
- allow megaparsec 6 (#594, Simon Michael, Hans-Peter Deifel)
2017-08-25 18:00:54 +03:00
- allow megaparsec-6.1 (Hans-Peter Deifel)
2017-08-25 18:00:54 +03:00
- restore upper bounds on hledger packages
2017-08-25 18:00:54 +03:00
2017-07-01 00:26:36 +03:00
# 1.3 (2017/6/30)
Depends on hledger\[-lib\] 1.3, see related changelogs.
2017-07-01 00:26:36 +03:00
2017-06-20 18:40:35 +03:00
# 1.2 (2017/3/31)
Accounts with ? in name had empty registers (fixes #498) (Bryan Richter)
Allow megaparsec 5.2 (fixes #503)
2016-12-31 22:24:12 +03:00
# 1.1 (2016/12/31)
- add --host option (#429)
2016-12-31 22:24:12 +03:00
This came up in the context of Docker, but it seems it wasn't
possible for hledger-web to serve remote clients directly (without
a proxy) because of 127.0.0.1 being hardcoded. That can now be
changed with --host=IPADDR. Also, the default base url uses this
address rather than a hard-coded "localhost".
2016-12-31 22:24:12 +03:00
- rename --server to --serve
The --server flag sounded too close in meaning to --host so
I've renamed it to --serve. The old spelling is still accepted,
but deprecated and will be removed in the next release.
# 1.0.1 (2016/10/27)
- allow megaparsec 5.0 or 5.1
# 1.0 (2016/10/26)
## ui
- use full width on large screens, hide sidebar on small screens, more standard bootstrap styling (#418, #422) (Dominik Süß)
2016-10-27 17:43:44 +03:00
- show the sidebar by default (#310)
- fix the add link's tooltip
- when the add form opens, focus the first field (#338)
- leave the add form's date field blank, avoiding a problem with tab clearing it (#322)
- use transaction id instead of date in transaction urls (#308) (Thomas R. Koll)
- after following a link to a transaction, highlight it (Thomas R. Koll)
- misc. HTML/CSS/file cleanups/fixes (Thomas R. Koll)
## misc
- startup is more robust (#226).
Now we exit if something is already using the specified port,
and we don't open a browser page before the app is ready.
- termination is more robust, avoiding stray background threads.
We terminate the server thread more carefully on exit, eg on control-C in GHCI.
- more robust register dates and filtering in some situations (see hledger-ui notes)
- reloading the journal preserves options, arguments in effect (#314).
The initial query specified by command line arguments is now preserved
when the journal is reloaded. This does not appear in the web UI, it's
like an invisible extra filter.
- show a proper not found page on 404
- document the special \`inacct:\` query (#390)
2015-10-31 00:02:24 +03:00
0.27 (2015/10/30)
2015-10-26 16:09:57 +03:00
- Fix keyboard shortcut for adding a transaction (Carlos Lopez-Camey)
2015-10-26 16:09:57 +03:00
- Clear the form when clicking 'Add a transaction' (just like the shortcut) (Carlos Lopez-Camey)
2015-10-26 16:09:57 +03:00
- Disallow -f- (reading from standard input) which currently doesn't work (#202)
2015-10-26 16:09:57 +03:00
- Fix broken links when using --base-url (#235)
2015-10-26 16:09:57 +03:00
- Fix the --file-url option (#285)
2015-10-26 16:09:57 +03:00
- Show fewer "other accounts" in the account register: to reduce
clutter in the "other accounts" field, if there are both real and
virtual postings to other accounts, show only the accounts posted to
by real postings.
2015-02-27 18:02:31 +03:00
2015-07-13 03:39:04 +03:00
0.26 (2015/7/12)
2015-05-14 23:39:54 +03:00
- make the j keybinding respect --base-url (fixes #271)
- respect command line options (fixes #225)
- include the unminified jquery source again (#161)
- fix build breakage from #165 (fixes #268)
- fix a js error breaking add form in browsers other than firefox (#251, Carlos Lopez-Camey <c.lopez@kmels.net>)
- drop deprecated network-conduit dependency
2015-05-14 23:39:54 +03:00
2015-04-08 05:52:00 +03:00
0.25 (2015/4/7)
2015-04-08 03:14:44 +03:00
- GHC 7.10 compatibility (#239)
2015-02-27 18:02:31 +03:00
- fix the add form when there are included files (#234)
2015-02-27 18:02:31 +03:00
NB to make this work, the add form now shows the full file path of
the main and included journal files.
- improve add form validation (#223, #234)
2015-02-27 18:02:31 +03:00
All add form errors are displayed as form errors, not internal
server errors, and when there are errors the add form is redisplayed
(form inputs are not preserved, currently).
- keep the add button right-aligned when pressing ctrl - on the add form
2015-02-27 18:02:31 +03:00
2015-03-15 22:55:45 +03:00
0.24.1 (2015/1/10)
2015-02-27 18:02:31 +03:00
- add missing modules to fix cabal tests (#232)
2014-04-28 11:51:02 +04:00
0.24 (2014/12/25)
2014-06-25 01:51:09 +04:00
General:
- fix: add missing hs/js files to package
- the web UI has been streamlined, dropping the raw and entries views and
the edit form
- the help dialog has been improved
2014-06-13 03:19:18 +04:00
- keyboard shortcuts are now available
- the sidebar can be toggled open or closed (press s)
Journal view:
- layout tweaks for less truncation of descriptions and account names
Register view:
- fix: don't show all zero amounts when searching by account within an
account register view
- chart improvements: show zero balances with correct commodity; show
accurate balance at all dates; show transaction events & tooltips;
show zero/today lines & background colors
Add form:
- parses data more strictly and gives better errors (eg #194)
- allows any number of postings, not just two
- after adding a transaction, goes back to the journal
- keyboard shortcut (a) allows quick access
Dependencies:
- allow warp 3*, wai-handler-launch 3*
- require yesod 1.4* (fixes #212)
- js updated (jquery, bootstrap, flot), added (typeahead, cookie, hotkeys),
removed (select2)
2014-12-25 11:03:11 +03:00
0.23.3 (2014/9/12)
- remove warp, wai-handler-launch upper bounds (fixes #205)
2014-06-13 03:19:18 +04:00
2014-05-09 01:32:06 +04:00
0.23.2 (2014/5/8)
- depend on latest hledger
2014-05-09 01:32:06 +04:00
0.23.1 (2014/5/7)
- depend on latest hledger
2014-05-09 01:32:06 +04:00
2014-05-01 19:14:36 +04:00
0.23 (2014/5/1)
2014-04-28 11:51:02 +04:00
- The --static-root flag has been renamed to --file-url.
- hledger-web now builds with Cabal's default -O, not -O2,
so may be a little quicker/less memory-hungry to install.
2014-05-01 19:14:36 +04:00
0.22.8 (2014/4/29)
- allow shakespeare 2.* (#179)
2014-04-28 11:51:02 +04:00
0.22.7 (2014/4/17)
- add Peter Simons' patch fixing Data.Conduit.Network HostIPv4 error (#171)
0.22.6 (2014/4/16)
- depend on hledger\[-lib\] 0.22.2
0.22.5 (2014/4/15)
- allow http-client 0.3.*, fixing cabal install again with GHC <= 7.6 (not yet 7.8)
- use pretty-show only with GHC 7.4+, fixing GHC 7.2 (fixes #155)
- allow warp 2.1, fixing cabal install
0.22.4 (2014/2/10)
- Fix: include the right unminified version of jquery.url.js (1.1) to avoid js breakage
0.22.3 (2014/2/10)
- Fix: version number reported by --version
0.22.2 (2014/2/10)
- new option --static-root to set the base url for static files
- allow blaze-html 0.7 (#159)
- Fix: include unminified source of all javascript to help packagers (#161)
- Fix: work around clang-related build failures with OS X mavericks/XCode 5
0.22.1 (2014/1/6) and older
2014-04-09 03:00:41 +04:00
See http://hledger.org/release-notes or doc/RELNOTES.md.