-
Notifications
You must be signed in to change notification settings - Fork 7
Release 2.5.0 #37
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
Open
Yukaii
wants to merge
20
commits into
master
Choose a base branch
from
release/2.5.0
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Release 2.5.0 #37
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Member
Yukaii
commented
May 27, 2025
- chore; type addition
- Add retry logic with exponential backoff to API client
- feat: expand client options type and add credit check with retry logic
- fix: resolve test conflicts with retry logic …
- security: update dependencies to fix vulnerabilities
- feat: add etag support to getNote method
- feat: extend etag support to createNote and update methods
- chore: update CI workflow to include develop branch for push and pull request triggers (chore: update CI workflow to include develop branch for push and pull request triggers #34)
- chore: add GitHub Actions workflow for publishing to NPM (chore: add GitHub Actions workflow for publishing to NPM #35)
- docs: enhance README with advanced features including retry configuration, response data handling, and ETag support
- chore: update package configuration for ESM support and add Rollup for building
- fix: resolve issues in ESM build process and improve Rollup configuration
- docs: update README to include build step for HackMD API package and clarify installation instructions
- chore: add ESLint configuration and update dependencies for TypeScript support
- docs: add usage examples for Node.js in README to facilitate quick start with HackMD API
- chore: update version to 2.5.0 in package.json and package-lock.json
Add retry logic with exponential backoff to API client
- Remove test.only to run all tests - Create dedicated client instance with retry disabled for rate limit tests - Fix Jest exit issues with proper cleanup - Remove debug console.log statements
- Update axios from 0.25.0 to 1.8.4 - Update msw from 1.0.1 to 2.7.3 - Refactor mock server implementation to use MSW v2 API - Update API client to use new axios types - Fix type issues in headers handling
- Add etag field to RequestOptions type - Implement conditional requests with If-None-Match header - Add proper handling of 304 Not Modified responses - Extract etag from response headers - Include etag in response data when requested - Add comprehensive test coverage for etag functionality
* Add etag support to createNote method * Add etag support to updateNoteContent method * Add etag support to updateNote method * Organize tests by API method * Improve test naming for clarity
Add ETag Support to HackMD API Client
merge Master into develop
… request triggers (#34)
…tion, response data handling, and ETag support
…clarify installation instructions
…art with HackMD API
docs: add example repository and update documentation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.