* fix: handle calendar boundaries in date comparisons * feat: add a single-date filter to the dashboard API * feat: send the viewer timezone with dashboard data requests * refactor: share dashboard filter controls and target settings * feat: configure dashboard filter conditions on date fields * feat: add the Date filter to the dashboard widget picker Implement the single-date mode of #6886. * fix: restore dragging dashboard filters by their titles * feat: persist the dashboard date filter display format * feat: choose how dashboard filter dates are displayed * test: align numeric filter checks with shared dashboard controls * style: format the dashboard date filter component test * fix: accept fixed UTC offsets in dashboard date filters * fix: expose dashboard filter dates as ISO strings in formulas * fix: seed dashboard conditions with compatible operators * feat: expose date ranges in dashboard formulas and viewer selections * feat: configure inclusive date range conditions for dashboard targets * feat: persist and dispatch inclusive dashboard date ranges * docs: describe date range selections in the dashboard dispatch API * feat: select and configure dashboard date ranges * fix: let viewers clear each dashboard date range endpoint * fix: preserve unfinished dashboard date range bounds on refresh * fix: refresh public dashboards after a date filter mode change * test: group dashboard date filter mode transitions * fix: warn about incompatible date range formula operands * fix: convert dashboard date defaults from the saved widget * fix: keep dashboard filter controls aligned when a condition has a warning * fix: clear incompatible dashboard conditions when switching date modes * fix: show cleared date conditions without warnings or redundant saves * fix: ignore empty dashboard date conditions after switching modes * fix: ignore dashboard date conditions without a single date and simplify mode switch clearing --------- Co-authored-by: peter_baserow <peter@baserow.io>
Changelog Generator
This util allows you to generate changelog entries without causing merge conflicts.
Getting started
All changelog commands run from the repo root via just:
Add a new entry
just changelog add
The command will ask you for the required information to create a new changelog entry.
The entry will then be added to the unreleased folder as a .json file.
You can edit any .json file directly as well, the commands only exist to simplify
your workflow.
Make a release
just changelog release <name-of-the-release>
The command will do the following:
- Move all log entries from
unreleasedto the new release folder - Add a meta entry to the
releases.jsonfile - Generate a new
changelog.md
After you made a release you can move the changelog.md file to the root of the project.
Additional commands
Purge
just changelog purge
This command will delete:
- generated
changelog.md entriesdirectoryreleases.json
Be careful when running purge since it will delete these files permanently!
Generate
just changelog generate
This command will generate a new changelog.md file without making a new release.
FAQ
Why do we need this tool?
Before we used this tool we just added changelog entries manually to the changelog.md
which lead to us having regular merge conflicts when multiple people would add a log
of the same type during the same release cycle. Those conflicts were annoying and
ate up pipeline minutes.
Can you edit the logs manually?
Yes, every log file and any meta files are editable and can be edited if a mistake was made during the generation process.
Can you edit the changelog.md file manually?
No. The changelog.md file is generated automatically and should never be edited directly. Any change you make to the file will be deleted when it's regenerated.
What determines the order of the releases in the changelog?
The order is determined by the order of the releases inside releases.json. If you wish
to change the order you will have to move the release inside the releases array to
the desired position.
Should I commit my changelog entries?
Yes, every changelog entry should be committed as part of your MR.
Can I add bullet points to my entry?
Yes, you can. If you need to add bullet points for when new templates are created for
example, you can do so by adding your bullet point strings to the bullet_points list
of a changelog entry.
You can only do this by directly editing the .json file at the moment since it's a
fringe use case and wouldn't make sense to add as a prompt when creating the entry
via the CLI.
What should I do if I need to make changes to an existing release?
If you have generated a new release, and you notice afterwards that you meant to change
one of the entries before making the release you can change the content of the changelog
entry in the JSON file directly and then run just changelog generate