-
Notifications
You must be signed in to change notification settings - Fork 94
Comparing changes
Open a pull request
base repository: Unstructured-IO/unstructured-api
base: 0.0.70
head repository: Unstructured-IO/unstructured-api
compare: main
- 11 commits
- 17 files changed
- 4 contributors
Commits on Jun 17, 2024
-
build: replace rockylinux with chainguard/wolfi as a base image (#423)
### Summary Updates the Dockerfile to use the Chainguard wolfi-base image to reduce CVEs. Also adds a step in the docker publish job that scans the images and checks for CVEs before publishing. ### Testing Run `make docker-build` and `make docker-start-api`, then try: ``` from unstructured.partition.api import partition_via_api elements = partition_via_api( filename=filename, api_url="http:https://localhost:8000/general/v0/general", api_key="<API-KEY>", strategy="hi_res", ) print("\n\n".join([str(el) for el in elements])) ```
Configuration menu - View commit details
-
Copy full SHA for 2bdd52a - Browse repository at this point
Copy the full SHA 2bdd52aView commit details
Commits on Jun 20, 2024
-
fix: build and push workflow failing due to missing
-f
option `buil……dx build` command (#425) I noticed that images on main branch are failing to build (and push) due to missing `-f` parameter in `docker buildx build`. By default it expects `Dockerfile` to exist, but we only have `Dockerfile-amd64` and `Dockerfile-arm64` ![image](https://github.com/Unstructured-IO/unstructured-api/assets/64484917/4527165a-909e-498d-b0ee-8bba4b1a13e4) --------- Co-authored-by: christinestraub <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e8c6fa9 - Browse repository at this point
Copy the full SHA e8c6fa9View commit details
Commits on Jun 21, 2024
-
fix: update SHA for the base images (both architectures) after `base-…
…images` repo update (#427) build and publish CI steps are failing, because the base images have changed in quay (their SHAs) ![image](https://github.com/Unstructured-IO/unstructured-api/assets/64484917/fc4e9aac-0820-4c90-9ad9-68cc6d9aad03) ![image](https://github.com/Unstructured-IO/unstructured-api/assets/64484917/fafe2ca4-dab2-4610-a26b-a7a4d56723a5)
Configuration menu - View commit details
-
Copy full SHA for 80a6627 - Browse repository at this point
Copy the full SHA 80a6627View commit details -
fix: revert to rockylinux SHA that works (arm64) (#428)
unnecessary SHA update introduced in #427 that needs to be reverted
Configuration menu - View commit details
-
Copy full SHA for d3564b6 - Browse repository at this point
Copy the full SHA d3564b6View commit details -
fix: re-add
DOCKER_IMAGE
env var inTest image
step (#429)shell syntax error occurs in docker-publish.yml workflow
Configuration menu - View commit details
-
Copy full SHA for 5b604b2 - Browse repository at this point
Copy the full SHA 5b604b2View commit details -
fix: invalid env var setting in
docker-publish
workflow (#430)bug introduced in previous PR causing build failure on main
Configuration menu - View commit details
-
Copy full SHA for 2f482e8 - Browse repository at this point
Copy the full SHA 2f482e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7acffe - Browse repository at this point
Copy the full SHA d7acffeView commit details
Commits on Jun 24, 2024
-
build(deps): bump dependency versions (#434)
### Summary Bumps dependency versions for the API. Closes #432.
Configuration menu - View commit details
-
Copy full SHA for d5a878f - Browse repository at this point
Copy the full SHA d5a878fView commit details
Commits on Jun 28, 2024
-
fix/Fix MS Office filetype errors and harden docker smoketest (#436)
# Changes **Fix for docx and other office files returning `{"detail":"File type None is not supported."}`** After moving to the wolfi base image, the `mimetypes` lib no longer knows about these file extensions. To avoid issues like this, let's add an explicit mapping for all the file extensions we care about. I added a `filetypes.py` and moved `get_validated_mimetype` over. When this file is imported, we'll call `mimetypes.add_type` for all file extensions we support. **Update smoke test coverage** This bug snuck past because we were already providing the mimetype in the docker smoke test. I updated `test_happy_path` to test against the container with and without passing `content_type`. I added some missing filetypes, and sorted the test params by extension so we can see when new types are missing. # Testing The new smoke test will verify that all filetypes are working. You can also `make docker-build && make docker-start-api`, and test out the docx in the sample docs dir. On `main`, this file will give you the error above. ``` curl 'http:https://localhost:8000/general/v0/general' \ --form 'files=@"fake.docx"' ```
Configuration menu - View commit details
-
Copy full SHA for 6710df0 - Browse repository at this point
Copy the full SHA 6710df0View commit details
Commits on Jul 9, 2024
-
build(deps): bump to
unstructured==0.14.10
(#438)### Summary Bumps to `unstructured==0.14.10`.
Configuration menu - View commit details
-
Copy full SHA for 35d5b37 - Browse repository at this point
Copy the full SHA 35d5b37View commit details
Commits on Jul 10, 2024
-
build: move
arm64
image towolfi-base
(#433)### Summary Updates the `arm64` image to use `wolfi-base` instead of `rockylinux` and consolidates the `amd64` and `arm64` images into the same Dockerfile. As of this PR, the `amd64` and `arm64` images for the API are at parity. ### Testing Successful docker build on the feature branch can be seen in [this job](https://github.com/Unstructured-IO/unstructured-api/actions/runs/9875409234/job/27272072089).
Configuration menu - View commit details
-
Copy full SHA for a2d5a5a - Browse repository at this point
Copy the full SHA a2d5a5aView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 0.0.70...main