Skip to content

Merge branch hotfix/3.0.1 into develop #1078

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

Merged
merged 5 commits into from
May 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changes/v3.0.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## [v3.0.1](https://github.com/ansidev/leetcode-blog/compare/v3.0.0...v3.0.1) (2025-05-01)

### Bug Fixes

- error while rendering page `/rss.xml`

Full Changelog: [v3.0.0...v3.0.1](https://github.com/ansidev/leetcode-blog/compare/v3.0.0...v3.0.1)
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).

## [v3.0.1](https://github.com/ansidev/leetcode-blog/compare/v3.0.0...v3.0.1) (2025-05-01)

### Bug Fixes

- error while rendering page `/rss.xml`

Full Changelog: [v3.0.0...v3.0.1](https://github.com/ansidev/leetcode-blog/compare/v3.0.0...v3.0.1)

## [v3.0.0](https://github.com/ansidev/leetcode-blog/compare/v2.2.7...v3.0.0) (2025-05-01)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "leetcode-blog",
"description": "Solutions for LeetCode problems - Written by ansidev",
"type": "module",
"version": "3.0.0",
"version": "3.0.1",
"license": "MIT",
"packageManager": "[email protected]",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/pages/rss.xml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import rss from '@astrojs/rss'
import type { APIContext } from 'astro'
import { getCollection } from 'astro:content'

import siteConfig from '@/configs/site'
import siteConfig from '@/configs/site.ts'

const { title, description } = siteConfig

export const get = async ({ site }: APIContext) => {
export const GET = async ({ site }: APIContext) => {
if (site === undefined || site.toString().length === 0) {
return {
body: ''
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"extends": "astro/tsconfigs/strictest",
"compilerOptions": {
"module": "Node16",
"moduleResolution": "Node16",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"strict": true,
"verbatimModuleSyntax": true,
"baseUrl": ".",
Expand Down