- add dep to `uglify-js` in dev-tool
- rush update
- replace "uglifyjs" with "dev-tool run vendored yglifyjs"
- remove dependency to "uglifyjs" in sdk packages
***NO_CI***
- apply lint:fix results
- revert fixes that are not related to consistent-type-imports and cases error
- regenerate .api.md files
- format
- update core-comparison diff
also remove dependency on `@microsoft/api-extractor` as we already move to
`dev-tool run extract-api` which calls api-extractor Api instead.
***NO_CI***
***NO_CI***
- replace version to "~5.6.2"
- rush update
- add `"skipLibCheck": true` for several packages that are affected by https://github.com/vitest-dev/vitest/issues/4688
- [formrecognizer] help TypeScript to understand with more explicit type
- [schema-registry-{avro,json}] skip lib check due to lru-cache issue with the Iterator TReturn change
https://github.com/isaacs/node-lru-cache/issues/348
- [eslint-plugin] github-source-headers rule should use "MIT License".
This change updates our linter rule and the whole repository to have consistent
license header.
***NO_CI***
- remove "All rights reserved." from header
- "MIT license" => "MIT License"
- Regeneration done
- Tests in sync with latest src
- Live tests ✅
- Migrated to ESM and vitest
- Added new tests for the new features
- Added custom code to support
- the "completed" poller status for batch analysis
`/documentModels/{modelId}:analyzeBatch`
- getting operation id from the poller
- and the new `/documentModels/{modelId}/analyzeResults/{resultId}/pdf`
and
`/documentModels/{modelId}/analyzeResults/{resultId}/figures/{figureId}`
methods
Previously dev-tool has been fixed to generate correct include path in samples
tsconfig.json but samples were not updated.
This PR fixes the samples tsconfig.json in one run; otherwise with the recent
branch protection policy changes, when individual packages re-publish samples,
js-core team would have to approve the tsconfig.json changes.
***NO_CI***
which only extends from tsconfig.json. There might be more customization for
packages in the early days but not any more.
This PR removes it and updates packages to extends tsconfig.json directly
***NO_CI***
## Regenerating with 2024-02-29-preview service version with typespec.
## 1.0.0-beta.2 (2024-03-05)
### New Features
- Added support for the "retry-after" header in long-running operations,
including `/documentModels/{modelId}:analyze`, `/documentModels:build`,
and `/documentClassifiers:build`.
- `BuildDocumentClassifierContent` now includes a new property:
`baseClassifierId`.
- `DocumentClassifierDetailsOutput` now includes a new property:
`baseClassifierId`.
- Introduced a new property, `warnings`, in `DocumentModelDetailsOutput`
and `DocumentClassifierDetailsOutput`. This property represents an array
of objects with `code`, `message`, and `target`.
- `DocumentFieldOutput` now includes a new property:
`valueSelectionGroup`.
- Added a new member, `"completed"`, to `OperationDetails#status`.
### Breaking Changes
- The `@azure-rest/ai-document-intelligence` Rest Level Client Library,
previously known as Form Recognizer, now targets the Azure AI Document
Intelligence service API version `"2024-02-29-preview"`. Please be aware
that support for `2023-10-31-preview` has been discontinued.
### Packages impacted by this PR
- @azure-rest/ai-document-intelligence
### Issues associated with this PR
### Describe the problem that is addressed by this PR
Removes the ESM module and updates to ES2020
### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?
### Are there test cases added in this PR? _(If not, why?)_
### Provide a list of related PRs _(if any)_
### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_
### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)
This change migrates every package to the latest major version of
identity in order to ensure we can catch any regressions earlier in the
development process.
I chose to upgrade the samples' package.json as well - but happy to
revert that if there are objections.
***NO_CI***
***NO_CI***
Latest versions of prettier now correctly formats `tsconfig.json`, which results
in differences with previous version of 3.1.1 in pnpm-lock.yaml. This is failing
the automated rush update pipeline because `check-format` fails with version
3.2.4.
This includes changes of
- bumping prettier version to ^3.2.4
- running `rush format`
***NO_CI***
- remove dev dependency `prettier` from non-tool packages when possible and
update them to run vendored prettier for `check-format` and `format` scripts
- upgrade rest of packages to prettier v3
- run `rush format` for all rush packages
This is a follow-up to https://github.com/Azure/azure-sdk-for-js/pull/28127 to
move the rest of repo to prettier v3.
As requested by La Januari, updating the changelog for `1.0.0-beta.1`
version to also convey the service updates and breaking changes as we
move from
- "2023-07-31" service API version(and older versions) to
"2023-10-31-preview" service API version
- And from `@azure/ai-form-recognizer` to
`@azure-rest/ai-document-intelligence`
- And the rebranding
---------
Co-authored-by: Paul Hsu <bojunehsu@gmail.com>
This PR
- [x] Code generated from Typespec
- [x] Changelog
- [x] Port all the Tests from FR
- [x] Push recordings to assets repo
- [x] Samples-dev, JS, and TS
- [x] Readme
- [x] Readme getting started samples
- [x] Sample.env
- [x] CI
- [x] Live test pipeline
- [x] test-resources.json
Future PR
- [ ] Browser tests
- [ ] AAD (service doesn't support yet for this preview)
- [ ] Add back API REF link