Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2024-15 #5570

Merged
merged 26 commits into from
Apr 14, 2024
Merged

Release 2024-15 #5570

merged 26 commits into from
Apr 14, 2024

Conversation

avaek
Copy link
Contributor

@avaek avaek commented Apr 8, 2024

Manual release steps

  • Update common env files in Bitwarden to match properties is in example files (@alexd-bes)

Features ⭐

  • RN-1242: Allow export of entity hierarchies

Tweaks ⚖️

  • MDEV-229: Add maintenance entity type
  • MDEV-230: Add larval_sample entity type
  • RN-1225: Override with local env if exists

Bug fixes 🐛

  • RN-1054: VizBuilder now give results in the correct date range

Infrastructure and maintenance 🛠️

rohan-bes and others added 19 commits March 26, 2024 14:11
Release 2024-13: master -> dev
* don’t render `schemas.ts` diffs by default

* exclude Markdown from repo language stats

* mark `models.ts` as generated
Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.17.1...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Export hierarchies

* Run yarn

* Export with entity hierarchy name instead of code

---------

Co-authored-by: Andrew <vanbeekandrew@gmail.com>
* adjust `PreviewOptions`’ date picking logic

* make start/end dates deselectable again

* query API with only date, no time

* circumvent unpredictable Yup date coercion

* move `getIsoDate` to tsutils

* reusable `ISO_DATE_PATTERN` constant

* refactor datepicker change handlers

* `getIsoDate` → `getIsoDateString`

* finish renaming `getIsoDate` → `getIsoDateString`

* add missing import (and flip a ternary)

* assume valid input

avoids typing issues where return type could be `null`

* prettier

* fix string slicing bug

* fix tests

* remove `tsutils` dep from `admin-panel`

Importing from `tsutils` to front-end packages is problematic

* remove erroneous `export`

* update lockfile

* more robust `getIsoDateString`

* refactor change handlers

* organise imports

* more robust `convertDateToIsoString `

* fix date picker picking previous day from selected

* comment date correcting helper function

* clearer comment

* use datetime helper

* tidy up import

* fix header comment reference

* simplify explainer comment

---------

Co-authored-by: Andrew <vanbeekandrew@gmail.com>
…5509)

* remove legacy `requestCountryAccess` endpoint

* remove handling of legacy param

* attempt fixing test

* remove dangling options object property

* use correct endpoint
* Set default env vars

* WIP

* WIP

* Update configureEnv.js

* Update mergeEnvForDB.sh

* Update mergeEnvForDB.sh

* Rename env vars and fix scripts

* Make sure tests work

* Add configure env logic to web-config-server

* Put server-utils before data-api in getInternalDependencies

* Remove install of dotenv from packages that don't need it

* Get script paths

* Test

* Correct paths

* Update scripts/bash/mergeEnvForDB.sh

Co-authored-by: Jasper Lai <33956381+jaskfla@users.noreply.github.com>

* Remove auth env example

* Remove auth and db from having env files

* Add quotation marks

* remove comma

* Update packages/data-table-server/jest.setup.ts

Co-authored-by: Jasper Lai <33956381+jaskfla@users.noreply.github.com>

* Update packages/data-table-server/.env.example

Co-authored-by: Jasper Lai <33956381+jaskfla@users.noreply.github.com>

* Merge

* Update env handling

* Don't download types package

---------

Co-authored-by: Jasper Lai <33956381+jaskfla@users.noreply.github.com>
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.4.5 to 4.5.3.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.3/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.5.3/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
mark lockfile as generated
* bump `knex` to 3.1.0

* remove unused `@ts-expect-error`

* selectively upgrade `knex` version

* update copyright message

* organise imports

* organise imports

* experiment: bump `knex` for `database`

* comment rationale for `#>>`

* parameterise query helper

Co-authored-by: Rohan Port <59544282+rohan-bes@users.noreply.github.com>

* use shallow copy

* fox knex binding

---------

Co-authored-by: Rohan Port <59544282+rohan-bes@users.noreply.github.com>
remove admin-panel dependency on tsutils
Co-authored-by: Rohan Port <rohan@bes.au>
… checking code (#5558)

refactor: Removed un-used 'Viz Builder User' permissions checking code

Co-authored-by: Rohan Port <rohan@bes.au>
@avaek avaek mentioned this pull request Apr 8, 2024
1 task
alexd-bes and others added 7 commits April 8, 2024 16:56
… var (#5573)

* fix(environment): use requireEnv and catch errors when missing an env var

* Updated .env vars needed for tests

* PR Fixups

* Fixed build issues

---------

Co-authored-by: Rohan Port <rohan@bes.au>
fix `/report` endpoint date param validation
@avaek avaek merged commit fcc7897 into master Apr 14, 2024
45 checks passed
@avaek avaek deleted the release-2024-15 branch April 14, 2024 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants